<
plujon>
A smaller instance of the same problem occurs with the gem 'net-protocol' because it depends on the 'timeout' gem.
<
plujon>
By pinning mail to version 2.7.1 or 2.7.2, the dependency on net-protocol is avoided, thus avoiding the problem.
dionysus69 has quit [Quit: dionysus69]
ur5us_ has joined #ruby
bedboa50 has joined #ruby
Zygoph54 has joined #ruby
bedboa50 has quit [Ping timeout: 268 seconds]
Zygoph54 has quit [Ping timeout: 268 seconds]
Linux_Kerio has quit [Ping timeout: 248 seconds]
palati0 has joined #ruby
canvas45 has joined #ruby
mollerup has joined #ruby
palati0 has quit [Ping timeout: 268 seconds]
molle has quit [Ping timeout: 248 seconds]
dodeca27 has joined #ruby
wk has quit [Ping timeout: 276 seconds]
canvas45 has quit [Ping timeout: 268 seconds]
<
ox1eef_>
Glad you found a solution.
dodeca27 has quit [Ping timeout: 268 seconds]
ur5us_ has quit [Ping timeout: 252 seconds]
wk has joined #ruby
FullMetalStacker has quit [Remote host closed the connection]
tomtmym has quit [Quit: Gone.]
razetime has joined #ruby
razetime has quit [Quit: See You Space Cowboy]
moldorcoder7 has quit [Ping timeout: 276 seconds]
Linux_Kerio has joined #ruby
Sankalp has quit [Ping timeout: 268 seconds]
defectiverobot has joined #ruby
helge has quit [Ping timeout: 268 seconds]
helge has joined #ruby
defectiverobot has quit [Remote host closed the connection]
crespire has quit [Read error: Connection reset by peer]
crespire has joined #ruby
Sankalp has joined #ruby
wk has quit [Ping timeout: 248 seconds]
plujon has quit [Ping timeout: 268 seconds]
Vonter has joined #ruby
sidetracking has quit [Quit: Client closed]
grenierm has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
wk has joined #ruby
wk has quit [Ping timeout: 276 seconds]
wk has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.8]
wk has quit [Ping timeout: 248 seconds]
gr33n7007h has joined #ruby
pounce has quit [Remote host closed the connection]
meimei has quit [Remote host closed the connection]
meimei has joined #ruby
pounce has joined #ruby
_ht has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
Vonter has quit [Quit: WeeChat 3.8]
Vonter has joined #ruby
teclator has joined #ruby
hightower2 has quit [Remote host closed the connection]
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
crespire1 has joined #ruby
grenierm has quit [Ping timeout: 260 seconds]
jvalleroy has joined #ruby
teclator has quit [Ping timeout: 255 seconds]
razetime has joined #ruby
wk has joined #ruby
wk has quit [Ping timeout: 276 seconds]
razetime has quit [Remote host closed the connection]
ur5us_ has joined #ruby
MalusVulgaris has joined #ruby
kadir has joined #ruby
MalusVulgaris has quit [Ping timeout: 255 seconds]
ur5us_ has quit [Ping timeout: 255 seconds]
niv has joined #ruby
Exa has quit [Quit: see ya!]
Exa has joined #ruby
MalusVulgaris has joined #ruby
niv has joined #ruby
Exa has quit [Quit: see ya!]
Exa has joined #ruby
molle has joined #ruby
mollerup has quit [Ping timeout: 276 seconds]
molle has quit [Client Quit]
moldorcoder7 has joined #ruby
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
___nick___ has joined #ruby
tomtmym has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
niv has joined #ruby
markong has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
kadir has left #ruby [ERC 5.5 (IRC client for GNU Emacs 30.0.50)]
___nick___ has joined #ruby
___nick___ has quit [Read error: Connection reset by peer]
___nick___ has joined #ruby
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has joined #ruby
MalusVulgaris has quit [Quit: MalusVulgaris]
MalusVulgaris has joined #ruby
niv has joined #ruby
MalusVulgaris has quit [Quit: MalusVulgaris]
MalusVulgaris has joined #ruby
wk has joined #ruby
markong has quit [Ping timeout: 276 seconds]
wk has quit [Ping timeout: 248 seconds]
defectiverobot has joined #ruby
defectiverobot has quit [Ping timeout: 255 seconds]
c10l7 has quit [Quit: See ya! o/]
MalusVulgaris has quit [Quit: MalusVulgaris]
c10l7 has joined #ruby
ewsdev has joined #ruby
ewsdev has quit [Client Quit]
c10l7 has quit [Read error: Connection reset by peer]
c10l73 has joined #ruby
niv has joined #ruby
niv has joined #ruby
maroloccio has joined #ruby
niv has joined #ruby
nirvdrum has joined #ruby
maroloccio has quit [Quit: WeeChat 3.7.1]
wk has joined #ruby
markong has joined #ruby
wk has quit [Ping timeout: 276 seconds]
defectiverobot has joined #ruby
defectiverobot_ has joined #ruby
defectiverobot has quit [Read error: Connection reset by peer]
defectiverobot_ has quit [Remote host closed the connection]
Starfoxxes has quit [Ping timeout: 255 seconds]
Starfoxxes has joined #ruby
nirvdrum has quit [Read error: Connection reset by peer]
nirvdrum_ has joined #ruby
seydar has joined #ruby
<
seydar>
Anyone have a good idiom for `l = MyObject.new; l.attribute = 45; l`?
<
seydar>
like when i'm in a method and i want to return the object but modify it first
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
seydar has quit [Quit: leaving]
<
ox1eef_>
l = Object.new.tap { _1.attribute = 45 }
<
ox1eef_>
Of course that's assuming there's an attribute= method.
<
adam12>
I'll generally tap with instance.
<
adam12>
MyObject.new.tap do |instance|; instance.attribute = 45; end
<
adam12>
(I give it the name instance)
<
adam12>
Even better, extend your object if it's yours, with your own method that's not new.tap. Maybe add `build` that yields self?
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
<
ox1eef_>
Numbered parameters are nice because they put the diffilcult task of naming things in the dust bin :p
markong has quit [Ping timeout: 255 seconds]
weaksauce has quit [*.net *.split]
swaggboi has quit [*.net *.split]
jhass has quit [*.net *.split]
Byteflux has quit [*.net *.split]
finsternis has quit [*.net *.split]
joast has quit [*.net *.split]
micro has quit [*.net *.split]
myappie has quit [*.net *.split]
mweckbecker has quit [*.net *.split]
petru has quit [*.net *.split]
lembron has quit [*.net *.split]
kapil_ has quit [*.net *.split]
devz3ro has quit [*.net *.split]
ccooke has quit [*.net *.split]
thomas25 has quit [*.net *.split]
pjaspers has quit [*.net *.split]
g_sg has quit [*.net *.split]
eof has quit [*.net *.split]
matta has quit [*.net *.split]
alexisg has quit [*.net *.split]
KOTP has quit [*.net *.split]
Bounga has quit [*.net *.split]
graemefawcett has quit [*.net *.split]
kapil has joined #ruby
mweckbecker has joined #ruby
Byteflux has joined #ruby
petru has joined #ruby
ccooke has joined #ruby
KOTP has joined #ruby
weaksauce has joined #ruby
jhass has joined #ruby
graemefawcett has joined #ruby
Bounga has joined #ruby
matta has joined #ruby
alexisg has joined #ruby
swaggboi has joined #ruby
summerisle has joined #ruby
g_sg has joined #ruby
pjaspers has joined #ruby
micro has joined #ruby
myappie has joined #ruby
finsternis has joined #ruby
thomas25 has joined #ruby
___nick___ has quit [Quit: No Ping reply in 180 seconds.]
___nick___ has joined #ruby
stirl has joined #ruby
_ht has quit [Quit: _ht]
hightower2 has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.8]
stirl has quit [Remote host closed the connection]
m_antis has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
m_antis has quit [Ping timeout: 248 seconds]
criter94 has joined #ruby
criter94 has quit [Remote host closed the connection]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Linux_Kerio has quit [Ping timeout: 255 seconds]
markong has joined #ruby
m_antis has joined #ruby
joast has joined #ruby
m_antis has joined #ruby
tomtmym has quit [Quit: Gone.]
John_Ivan__ has quit [Quit: Phantom of the future.]
perrierjouet has joined #ruby