iamninja_ has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby-lang
fujimura has joined #ruby-lang
daves has quit [Quit: Page closed]
fujimura has quit [Ping timeout: 250 seconds]
revath has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
haraoka has joined #ruby-lang
fujimura has joined #ruby-lang
revath has quit [Ping timeout: 256 seconds]
Seanzie has joined #ruby-lang
danzilio has quit [Quit: Baiii!]
Vols has quit [Quit: Leaving]
dhjondoh has joined #ruby-lang
cornerma1 has joined #ruby-lang
revath has joined #ruby-lang
cornerman has quit [Ping timeout: 248 seconds]
cornerma1 is now known as cornerman
kfpratt has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
dhjondoh has quit [Remote host closed the connection]
nedp_ has joined #ruby-lang
bruno- has quit [Ping timeout: 255 seconds]
nedp has quit [Ping timeout: 265 seconds]
LMity has joined #ruby-lang
Missphoenix has quit [Quit: Leaving]
haraoka has quit [Ping timeout: 256 seconds]
AlexAltea has joined #ruby-lang
baweaver has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
LMity has quit [Ping timeout: 255 seconds]
tkuchiki has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby-lang
Miphix has joined #ruby-lang
hal_9000 has quit [Ping timeout: 264 seconds]
Technodrome has quit [Quit: Technodrome]
baweaver has quit [Read error: Connection reset by peer]
baweaver has joined #ruby-lang
hal_9000 has joined #ruby-lang
iamninja_ has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby-lang
haraoka has joined #ruby-lang
baweaver has quit [Ping timeout: 245 seconds]
dhjondoh has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
Technodrome has joined #ruby-lang
lytol has joined #ruby-lang
dhjondoh has quit [Quit: dhjondoh]
AlexAltea has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
gwendall has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
arBmind has joined #ruby-lang
revath has quit [Ping timeout: 264 seconds]
|jemc| has quit [Ping timeout: 252 seconds]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
jwaldrip__ has quit [Quit: Be back later ...]
jwaldrip__ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
jwaldrip__ has quit [Client Quit]
fusillicode has joined #ruby-lang
stan has joined #ruby-lang
x44x45x41x4E has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
araujo has quit [Read error: Connection reset by peer]
jwaldrip__ has quit [Ping timeout: 245 seconds]
araujo has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
gwendall has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
jwaldrip__ has joined #ruby-lang
ta has joined #ruby-lang
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
relix has joined #ruby-lang
kerunaru has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 250 seconds]
revath has joined #ruby-lang
fujimura has quit [Ping timeout: 252 seconds]
x44x45x41x4E has quit [Ping timeout: 244 seconds]
jwaldrip__ has joined #ruby-lang
x44x45x41x4E has joined #ruby-lang
chinmay_dd has joined #ruby-lang
revath has quit [Ping timeout: 256 seconds]
fujimura has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
rippa has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
SylarRuby has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
solars has joined #ruby-lang
RickHull has left #ruby-lang [#ruby-lang]
jwaldrip__ has joined #ruby-lang
yfeldblum has joined #ruby-lang
lytol has quit [Remote host closed the connection]
jwaldrip__ has quit [Ping timeout: 245 seconds]
jwaldrip__ has joined #ruby-lang
k3asd` has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
Bertg has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby-lang
revath has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
segy has quit [Ping timeout: 246 seconds]
jwaldrip__ has quit [Ping timeout: 245 seconds]
segy has joined #ruby-lang
hhatch has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
vuxil has joined #ruby-lang
JohnBat26 has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
ta has quit [Remote host closed the connection]
jwaldrip__ has joined #ruby-lang
x44x45x41x4E has quit [Remote host closed the connection]
jwaldrip__ has quit [Ping timeout: 245 seconds]
jwaldrip__ has joined #ruby-lang
ta has joined #ruby-lang
brownbathrobe has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
jolg42 has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
Guest20 has joined #ruby-lang
brownbathrobe has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
marr has joined #ruby-lang
nedp_ has quit [Remote host closed the connection]
haraoka has quit [Read error: Connection reset by peer]
revath has quit [Ping timeout: 244 seconds]
elia_ has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 264 seconds]
<yorickpeterse>
morning
x44x45x41x4E has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
OnBrokenWings has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
revath has joined #ruby-lang
OnBrokenWings has quit [Quit: Leaving]
jwaldrip__ has joined #ruby-lang
cpt_yossarian has quit [Read error: Connection reset by peer]
_OnBrokenWings_ has joined #ruby-lang
OnBrokenWings has joined #ruby-lang
_OnBrokenWings_ has quit [Client Quit]
OnBrokenWings has quit [Remote host closed the connection]
OnBrokenWings has joined #ruby-lang
OnBrokenWings has quit [Remote host closed the connection]
OnBrokenWings has joined #ruby-lang
mikecmpb_ has joined #ruby-lang
mikecmpbll has quit [Read error: Connection reset by peer]
OnBrokenWings has quit [Client Quit]
jwaldrip__ has quit [Ping timeout: 245 seconds]
revath has quit [Ping timeout: 252 seconds]
OnBrokenWings has joined #ruby-lang
OnBrokenWings has quit [Remote host closed the connection]
OnBrokenWings has joined #ruby-lang
OnBrokenWings has quit [Client Quit]
OnBrokenWings has joined #ruby-lang
lapide_viridi has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
lloyd is now known as Lloyd
arBmind has quit [Quit: Leaving.]
OnBrokenWings has quit [Quit: Leaving]
OnBrokenWings has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
OnBrokenWings has quit [Remote host closed the connection]
OnBrokenWings has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
jwaldrip__ has joined #ruby-lang
OnBrokenWings has quit [Quit: Leaving]
OnBrokenWings has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
jwaldrip__ has quit [Ping timeout: 245 seconds]
revath has joined #ruby-lang
OnBrokenWings has quit [Client Quit]
OnBrokenWings has joined #ruby-lang
SkramX_ has quit [Ping timeout: 276 seconds]
OnBrokenWings has quit [Client Quit]
OnBrokenWings has joined #ruby-lang
SkramX_ has joined #ruby-lang
wizonesolutions has quit [Ping timeout: 265 seconds]
OnBrokenWings has quit [Remote host closed the connection]
OnBrokenWings has joined #ruby-lang
AlexAltea has joined #ruby-lang
wizonesolutions has joined #ruby-lang
OnBrokenWings has quit [Client Quit]
OnBrokenWings has joined #ruby-lang
OnBrokenWings has left #ruby-lang [#ruby-lang]
jwaldrip__ has joined #ruby-lang
OnBrokenWings has joined #ruby-lang
OnBrokenWings has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
dhjondoh has joined #ruby-lang
bruno- has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
intinig has joined #ruby-lang
<ljarvis>
moin
Mon_Ouie has joined #ruby-lang
<apeiros>
möin
<tbuehlmann>
moin
AlxAltea has joined #ruby-lang
OnBrokenWings has joined #ruby-lang
bruno- has quit [Ping timeout: 252 seconds]
tosbourn has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
gwendall_ has joined #ruby-lang
AlexAltea has quit [Ping timeout: 256 seconds]
jwaldrip__ has quit [Ping timeout: 245 seconds]
jwaldrip__ has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
gwendall_ has quit [Ping timeout: 272 seconds]
rikkipitt has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
jwaldrip__ has quit [Ping timeout: 245 seconds]
jwaldrip__ has joined #ruby-lang
skade has joined #ruby-lang
joast has quit [Ping timeout: 245 seconds]
rikkipitt has quit [Ping timeout: 250 seconds]
dzejrou has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
cpt_yossarian has joined #ruby-lang
OnBrokenWings has quit [Quit: Leaving]
OnBrokenWings has joined #ruby-lang
rikkipitt has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
gwendall has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
jwaldrip__ has quit [Ping timeout: 245 seconds]
vuxil has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby-lang
Bertg has quit [Remote host closed the connection]
Bertg has joined #ruby-lang
rikkipitt has quit [Ping timeout: 246 seconds]
jwaldrip__ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 250 seconds]
gwendall has joined #ruby-lang
rikkipitt has joined #ruby-lang
OnBrokenWings has quit [Quit: Leaving]
Technodrome has quit [Quit: Technodrome]
AlxAltea has quit [Ping timeout: 265 seconds]
jwaldrip__ has quit [Ping timeout: 245 seconds]
revath has quit [Ping timeout: 272 seconds]
dzejrou has quit [Ping timeout: 250 seconds]
jwaldrip__ has joined #ruby-lang
<ljarvis>
ORLY IPv6
Torrieri has quit [Read error: Connection reset by peer]
Torrieri has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 245 seconds]
jwaldrip__ has joined #ruby-lang
dorei has joined #ruby-lang
jwaldrip__ has quit [Ping timeout: 246 seconds]
skade has quit [Quit: Computer has gone to sleep.]
jwaldrip__ has joined #ruby-lang
drbrain has quit [Ping timeout: 256 seconds]
bcardarella_ has quit [Ping timeout: 256 seconds]
moogumbo has quit [Ping timeout: 256 seconds]
drbrain has joined #ruby-lang
bnagy_ has quit [Ping timeout: 256 seconds]
jwaldrip__ has quit [Ping timeout: 245 seconds]
bnagy has joined #ruby-lang
moogumbo has joined #ruby-lang
bcardarella_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
mlangenberg has joined #ruby-lang
<mlangenberg>
When testing interactions with the AWS::S3 gem, do you prefer to stub the actual HTTP request? Or work with Aws.config[:stub_responses] = true? If the latter, how do you set expectations on that object?
<mlangenberg>
This whole stubbed responses does not seem very useful to me. If you upload an object in S3 and discard the response, how do you know if it has been called, even when using Aws::ClientStubs?
matti has joined #ruby-lang
<yorickpeterse>
mlangenberg: we typically stub things ourselves
<yorickpeterse>
The AWS stubbing doesn't work when creating data IIRC
<yorickpeterse>
so we do something like
<yorickpeterse>
def bucket; s3_client_thing.buckets[bucket_name_something]; end and then stub our "bucket" method
jwaldrip__ has quit [Ping timeout: 245 seconds]
revath has joined #ruby-lang
jwaldrip__ has joined #ruby-lang
kith_ has joined #ruby-lang
<mlangenberg>
yorickpeterse: Isn't it easier to stub s3_client_thing (e.g. the Aws::S3::Client)? So expectations such as .put_object and .get_object can be set?
kith has quit [Ping timeout: 250 seconds]
revath has quit [Ping timeout: 245 seconds]
mlangenberg has quit [Ping timeout: 246 seconds]
dzejrou has joined #ruby-lang
<yorickpeterse>
Not if you use a pattern like this: bucket = s3_client.buckets[bucket_name]
<yorickpeterse>
since s3_client.buckets returns a new instance every time you'd have to use something like AWS::S3::BucketsCollection.any_instance.stub(:[]).and_return(...)
joaomdmoura has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
relix has joined #ruby-lang
relix has quit [Client Quit]
momomomomo has quit [Ping timeout: 255 seconds]
Sirupsen has joined #ruby-lang
Sirupsen has quit [Client Quit]
relix has joined #ruby-lang
gwendall has joined #ruby-lang
alestuber has joined #ruby-lang
Sirupsen has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
alestuber has quit [Ping timeout: 264 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cpt_yossarian has quit [Ping timeout: 244 seconds]
momomomomo has joined #ruby-lang
voxxit[away] is now known as voxxit
momomomomo has quit [Client Quit]
b_hoffman has quit [Quit: b_hoffman]
postmodern has joined #ruby-lang
joaomdmoura has joined #ruby-lang
banister has joined #ruby-lang
amroo has quit [Quit: amroo]
voxxit is now known as voxxit[away]
chinmay_dd has quit [Ping timeout: 256 seconds]
voxxit[away] is now known as voxxit
alestuber has joined #ruby-lang
ogpastaling has joined #ruby-lang
deg is now known as Guest92559
ruby-lang360 has joined #ruby-lang
apt-get_ has joined #ruby-lang
intinig has joined #ruby-lang
<ruby-lang360>
'sup?
ogpastaling has quit [Remote host closed the connection]
<jhass>
mmh, tomato soup
sarkyniin has quit [Ping timeout: 264 seconds]
chinmay_dd has joined #ruby-lang
yfeldblum has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
intinig has quit [Ping timeout: 272 seconds]
caseypatrickdris has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
b_hoffman has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
alestuber has quit [Ping timeout: 265 seconds]
cpt_yossarian has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
b_hoffman has quit [Ping timeout: 245 seconds]
symm- has joined #ruby-lang
alestuber has joined #ruby-lang
danzilio has joined #ruby-lang
RobertBirnie has joined #ruby-lang
malconis has quit [Ping timeout: 265 seconds]
palar has joined #ruby-lang
ogpastaling has joined #ruby-lang
momomomomo has joined #ruby-lang
malconis has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
<ruby-lang360>
full of pretty girls here, I can see
<ruby-lang360>
anyone wanna help me sort out a ruby idiom?
b_hoffman has joined #ruby-lang
<toretore>
ruby-lang360: don't ask to ask; just ask
<ruby-lang360>
cool! :D
momomomomo_ has joined #ruby-lang
solars has quit [Ping timeout: 265 seconds]
riotjones has joined #ruby-lang
<ruby-lang360>
def self.get_business_days(starting_day) resp = [] begin resp << starting_day if is_business_day(starting_day) starting_day += 1 end until resp.size == 2 resp end
<jhass>
ruby-lang360: see /topic
momomomomo has quit [Ping timeout: 276 seconds]
momomomomo_ is now known as momomomomo
joaomdmoura has joined #ruby-lang
<ruby-lang360>
I'd like to get this without declaring an empty array to start with
riotjone_ has quit [Ping timeout: 255 seconds]
<ruby-lang360>
but I can't figure out how
<ruby-lang360>
so it's an ugly loop, because I have to loop through the days, and fill it with two business days
<jhass>
ruby-lang360: please post it properly formatted to gist.github.com
<ruby-lang360>
and then that return value at the end, oh my!
<havenwood>
RickHull: i've done that same thing :P
<havenwood>
RickHull: If you `make update` before `sudo make install` with ruby-install installation you'll get latest versions/checksum (in the meantime until it's automated)
chadwtaylor has quit [Ping timeout: 250 seconds]
<RickHull>
hm, i don't totally follow
<RickHull>
you mean for the downloaded / compiled src ruby?
<havenwood>
RickHull: from the ruby-install root directory, if you `make update` it will sync with the latest from the ruby-versions repository - otherwise it's using whatever was synced over with the last release of ruby-install.
<havenwood>
RickHull: TL;DR: Fetch latest versions by installing ruby-install with: make update && sudo make install