Adrain_Kunze has quit [Remote host closed the connection]
Ashly_Konopelski has joined #rubygems
adkron has joined #rubygems
dvu has joined #rubygems
bbrowning has quit [Ping timeout: 245 seconds]
dvu has quit [Ping timeout: 245 seconds]
davispuh has quit [Ping timeout: 245 seconds]
dvu has joined #rubygems
huoxito has quit [Remote host closed the connection]
adkron has quit [Ping timeout: 258 seconds]
dvu has quit [Ping timeout: 272 seconds]
Ashly_Konopelski has quit [Remote host closed the connection]
dvu has joined #rubygems
Albert87 has joined #rubygems
dvu has quit [Ping timeout: 246 seconds]
dvu has joined #rubygems
dvu_ has joined #rubygems
dvu has quit [Ping timeout: 272 seconds]
Albert87 has quit [K-Lined]
lsegal has joined #rubygems
dvu_ has quit [Remote host closed the connection]
huoxito has joined #rubygems
huoxito has quit [Ping timeout: 246 seconds]
huoxito has joined #rubygems
huoxito has quit [Remote host closed the connection]
jkline has joined #rubygems
jkline has quit [Quit: jkline]
robotblake has joined #rubygems
jkline has joined #rubygems
jkline has quit [Client Quit]
huoxito has joined #rubygems
huoxito has quit [Ping timeout: 258 seconds]
robotblake has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has joined #rubygems
workmad3 has joined #rubygems
elia has quit [Client Quit]
elia has joined #rubygems
tbuehlmann has joined #rubygems
workmad3 has quit [Ping timeout: 260 seconds]
Svtee has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
glfplvlw has joined #rubygems
tbuehlmann has quit [Ping timeout: 258 seconds]
glfplvlw is now known as tbuehlmann
workmad3 has joined #rubygems
tbuehlmann has quit [Remote host closed the connection]
huoxito has joined #rubygems
tbuehlmann has joined #rubygems
huoxito has quit [Ping timeout: 258 seconds]
gidogeek has joined #rubygems
<gidogeek>
Hi, quick questoin, is this valid for my gemspec ? or should I write that differently ``` s.add_dependency 'mail', ['~> 2.5', '>= 2.5.4', '~> 2.6'] ```
<workmad3>
gidogeek: that looks like it should be '>= 2.5.4', '< 2.7'
<gidogeek>
Thanks workmad3, although 2.7 doesn't exist (yet) is that important ?
<workmad3>
err... < 3 even
<workmad3>
gidogeek: no... version constraints don't care whether a version is released yet or not... it would be somewhat problematic if that was a requirement :)
<gidogeek>
ok thanks :)
<gidogeek>
Just out of curiousty, the syntax I had initially would work? or would that actually cause problems ? cause the way I wrote it I expect it to support 2.5.x (where x >= 4) and 2.6.x
<gidogeek>
would it parse it like that ?
<workmad3>
gidogeek: no
<workmad3>
gidogeek: ~> 2.5 would read as '>= 2.5' '< 3'
<workmad3>
gidogeek: and the corresponding '~> 2.5.4', '~> 2.6' would read as '>= 2.5.4', '< 2.6', '>= 2.6', '< 3'... which would likely cause issues as it's pretty hard to find a version that would satisfy all of those constraints ;)
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<gidogeek>
thanks a lot workmad3seems I misunderstood the meaning of the '~>'
<gidogeek>
workmad3
jottr has joined #rubygems
tcopeland has quit [Quit: Leaving.]
<workmad3>
gidogeek: I think your misunderstanding was on what happens when you give '~>' an x.y version as opposed to an x.y.z version... ~> x.y.z means '>= x.y.z and < x.(y + 1)'... ~> x.y means '>= x.y and < (x + 1)'... ~> x is essentially meaningless :)
<gidogeek>
yup that's correct
<gidogeek>
that's where I made the mistake :0
<workmad3>
gidogeek: it's pretty common to make that mistake the first few times you're trying to reason through ~> :)
jhass|off is now known as jhass
Svte has joined #rubygems
jottr has quit [Ping timeout: 260 seconds]
jottr has joined #rubygems
jottr has quit [Ping timeout: 272 seconds]
jottr has joined #rubygems
tcopeland has joined #rubygems
dwknoxy has joined #rubygems
workmad3 is now known as wm3|away
adkron has joined #rubygems
redmenace has quit [Ping timeout: 260 seconds]
huoxito has joined #rubygems
redmenace has joined #rubygems
Svte has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bbrowning has joined #rubygems
wm3|away has quit [Ping timeout: 246 seconds]
seanlinsley has quit [Quit: seanlinsley]
mkristian has joined #rubygems
wm3|away has joined #rubygems
seanlinsley has joined #rubygems
wm3|away is now known as workmad3
iinzng has quit [Read error: Connection reset by peer]
iinzng has joined #rubygems
iinzg has joined #rubygems
iinzng has quit [Ping timeout: 250 seconds]
mkristian has quit [Quit: bye]
seanlinsley has quit [Quit: seanlinsley]
seanlinsley has joined #rubygems
Svte has joined #rubygems
bbrowning has quit [Remote host closed the connection]
Svte has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Svte has joined #rubygems
havenwood has joined #rubygems
dvu has joined #rubygems
jitendravyas has joined #rubygems
martinisoft has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
Svte has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]