<galtgendo>
...OK, I think I finally found something useful...
doodleb9 has joined #ruby
doodlebug has quit [Ping timeout: 255 seconds]
cd has joined #ruby
doodleb9 has quit [Read error: Connection reset by peer]
yokel has quit [Ping timeout: 245 seconds]
doodlebug has joined #ruby
AJA4350 has quit [Quit: AJA4350]
yokel has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
interruptinuse has joined #ruby
code_zombie has quit [Quit: Leaving]
<uplime>
I've got some certificates (let's just say they're all PEM encoded right now) in a single file that I can read into a string easily enough, but does anyone have a good way to split it up so I can store each certificate in their own `OpenSSL::X509::Certificate` instance? The only thing I can think of is splitting on "-----\n-----", but that doesn't seem like a very good method
PaulePanter has joined #ruby
Swyper has quit [Remote host closed the connection]
jinie has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brool has joined #ruby
jinie has joined #ruby
_whitelogger has joined #ruby
ausmat has quit []
mangold has joined #ruby
orbyt_ has joined #ruby
spacesuitdiver has joined #ruby
interruptinuse has quit [Quit: ZNC - https://znc.in -- bye bye!]
interruptinuse has joined #ruby
sgen has quit [Remote host closed the connection]
sgen has joined #ruby
zlogan2003 has joined #ruby
zlogan has quit [Ping timeout: 255 seconds]
interruptinuse has quit [Quit: ZNC - https://znc.in -- bye bye!]
t0xik has joined #ruby
rindolf has quit [Ping timeout: 250 seconds]
sgen has quit [Ping timeout: 250 seconds]
<adam12>
uplime: Looks OK to me. Might be the best you can get.
bambanx has quit [Quit: Leaving]
sgen has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcarl43 has joined #ruby
DmitryBochkarev has joined #ruby
orbyt_ has joined #ruby
zlogan2003 has quit [Ping timeout: 245 seconds]
GodFather has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
sgen has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
cschneid has joined #ruby
bmurt has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
valadares has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 246 seconds]
sgen has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
stan has quit [Ping timeout: 268 seconds]
sgen has quit [Ping timeout: 250 seconds]
brool has quit [Ping timeout: 250 seconds]
houhoulis has quit [Remote host closed the connection]
DmitryBochkarev has quit [Ping timeout: 268 seconds]
GodFather has quit [Remote host closed the connection]
mangold has quit [Quit: This computer has gone to sleep]
dysaniak has joined #ruby
<dysaniak>
Anybody know why Random.new(1) sometimes behaves like Random.new?
<dysaniak>
When I define it in a function, it freezes properly, but if I define it outside the scope of the function, it behaves truly randomly.
<dysaniak>
DIY:
<dysaniak>
def foo; Random.new(1).rand; end
<dysaniak>
RAND=Random.new(1); def bar; RAND.rand; end
<dysaniak>
#foo is deterministic, while #bar is random
<dysaniak>
Oh, I get it.
<dysaniak>
Each call to rand increments something. Hence the method-level definition stays locked: it resets the incrementer.
<dysaniak>
Thanks, everyone.
ferr has joined #ruby
mangold has joined #ruby
DmitryBochkarev has joined #ruby
conta has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 268 seconds]
<dysaniak>
exit
dysaniak has quit [Quit: leaving]
sidx64 has joined #ruby
Inline has quit [Quit: Leaving]
mangold has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.4]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mangold has quit [Quit: This computer has gone to sleep]
hightower2 has quit [Ping timeout: 245 seconds]
v01d4lph4 has joined #ruby
terens has quit [Ping timeout: 245 seconds]
al2o3-cr has joined #ruby
terens has joined #ruby
dar123 has quit [Ping timeout: 246 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
jmcgnh_ has joined #ruby
jmcgnh_ is now known as jmcgnh
aufi has joined #ruby
clemens3 has quit [Ping timeout: 250 seconds]
nowhere_man has quit [Ping timeout: 258 seconds]
queip has joined #ruby
andikr has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.4]
alem0lars has joined #ruby
<al2o3-cr>
morning ruby it's a brand new day! ;)
renich has joined #ruby
vondruch has quit [Quit: vondruch]
imadper` is now known as iMadper
iMadper has quit [Changing host]
iMadper has joined #ruby
clemens3 has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
TomyWork has joined #ruby
queip has quit [Ping timeout: 245 seconds]
queip has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwnd_nsfw has joined #ruby
sidx64 has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
aupadhye has joined #ruby
claudiuinberlin has joined #ruby
mikecmpbll has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
crankharder has joined #ruby
ellcs has joined #ruby
hightower2 has joined #ruby
crankharder has quit [Ping timeout: 255 seconds]
schleppel has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
pwnd_nsfw` has joined #ruby
evdubs_ has joined #ruby
ur5us has joined #ruby
evdubs has quit [Ping timeout: 250 seconds]
pwnd_nsfw has quit [Ping timeout: 245 seconds]
renich has quit [Quit: renich]
sidx64 has quit [Ping timeout: 250 seconds]
zlogan2003 has joined #ruby
sidx64 has joined #ruby
_whitelogger has joined #ruby
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has quit [Client Quit]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has quit [Ping timeout: 250 seconds]
vondruch has joined #ruby
reber has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
reber has quit [Remote host closed the connection]
vondruch has quit [Client Quit]
v01d4lph4 has quit [Remote host closed the connection]
vondruch has joined #ruby
mikecmpb_ has joined #ruby
aupadhye has joined #ruby
alem0lars has quit [Remote host closed the connection]
kyrylo has joined #ruby
dhollinger has quit [Ping timeout: 255 seconds]
d10n-work has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
dhollinger has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
pwnd_nsfw has joined #ruby
snickers has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 255 seconds]
ellcs has quit [Remote host closed the connection]
mangold has joined #ruby
alem0lars has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
pwnd_nsfw` has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
pwnd_nsfw has quit [Ping timeout: 245 seconds]
aupadhye has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
conta has quit [Ping timeout: 245 seconds]
esrse has joined #ruby
kapil____ has joined #ruby
conta has joined #ruby
Furai has quit [Remote host closed the connection]
Furai has joined #ruby
aupadhye has joined #ruby
pwnd_nsfw has joined #ruby
lxsameer has joined #ruby
Furai has quit [Quit: WeeChat 2.4]
Furai has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 268 seconds]
AndreYuhai has joined #ruby
yokel has joined #ruby
<AndreYuhai>
Hello there, I want to select a range from the array which will be from the index number 1 to the last index. I've tried this: arr[1..] and this worked on irb, but then RuboCop warns me on RubyMine. Is that expression correct?
terens has quit [Remote host closed the connection]
<al2o3-cr>
AndreYuhai: have you configured `TargetRubyVersion' in rubocop.yml?
<AndreYuhai>
al2o3-cr: no I didn't
<al2o3-cr>
set your ruby version to 2.6.
<AndreYuhai>
al2o3-cr: okay I will just a sec.
tau has joined #ruby
<al2o3-cr>
AndreYuhai: under AllCops btw.
Swyper has joined #ruby
<AndreYuhai>
al2o3-cr: should I create the rubocop.yml file for each project separately? Because I can't find it.
<al2o3-cr>
AndreYuhai: yes, or create .ruby_version file.
<al2o3-cr>
* .ruby-version
cd has quit [Quit: cd]
<al2o3-cr>
AndreYuhai: wait, did you even configure one in the first place?
<AndreYuhai>
al2o3-cr: No I didn't that's why I do not know about it. :D
<al2o3-cr>
hehe, ok np.
<al2o3-cr>
run: rubocop --auto-gen-config
alem0lars has quit [Remote host closed the connection]
esrse has quit [Ping timeout: 268 seconds]
<AndreYuhai>
al2o3-cr: Thank you. Now I've created them but in rubocop.yml it says inherit from rubocop_todo.yml but in todo there is nothing about AllCops
crankharder has joined #ruby
<al2o3-cr>
add it to rubocop_todo.yml
sphenxes has joined #ruby
<al2o3-cr>
Allcops:
<al2o3-cr>
TargetRubyVersion: 2.6
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
sphenxes has quit [Client Quit]
<al2o3-cr>
AndreYuhai: or just create a specific rubocop.yml for each project.
Nicmavr has quit [Read error: Connection reset by peer]
gb_away has joined #ruby
jottr has joined #ruby
Nicmavr has joined #ruby
AJA4350 has quit [Ping timeout: 255 seconds]
AJA4350 has joined #ruby
spiette has joined #ruby
fredolinhares has quit [Quit: WeeChat 1.9.1]
sgen has joined #ruby
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
duderonomy has joined #ruby
rails759 has joined #ruby
<rails759>
hi All
i1nfusion has joined #ruby
i1nfusion1 has joined #ruby
<havenwood>
rails759: hi
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
<rails759>
I installed ruby on rails and I am obtaining this error
<rails759>
An error occurred while installing bootsnap (1.4.2), and Bundler cannot continue. Make sure that gem install bootsnap -v '1.4.2' --source 'https://rubygems.org/' succeeds before bundling.
<rails759>
very good, I am installing the devkit, thank you so much for your help and response
jottr has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ljarvis_ is now known as ljarvis
<havenwood>
Ooh, that's an interesting new experimental feature... the fourquals operator: ====
mangold has quit [Quit: This computer has gone to sleep]
<havenwood>
Ruby 2.4 version bump time! Ruby 2.4.6 was released with a variety of little backported fixes.
<havenwood>
It's ready to go on ruby-install, RVM and ruby-build.
conta has quit [Quit: conta]
gix has joined #ruby
mangold has joined #ruby
aufi has quit [Ping timeout: 245 seconds]
ngw has joined #ruby
<ngw>
hello *, I'm struggling with a problem that I guess is quite easy: I'm using a node.js module to encrypt some variables with Aws kms, variables that I want to decrypt using ruby and obviously the aws-kms module
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ngw has quit [Quit: WeeChat 2.4]
orbyt_ has joined #ruby
renich has joined #ruby
rails759 has quit [Ping timeout: 256 seconds]
mikecmpb_ has quit [Quit: inabit. zz.]
[Butch] has quit [Ping timeout: 245 seconds]
electrofelix has joined #ruby
Swyper has quit [Remote host closed the connection]
Inline has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
Eiam has quit [Ping timeout: 250 seconds]
Swyper has joined #ruby
doodleb1 has quit [Quit: -a- IRC for Android 2.1.48]
doodlebug has joined #ruby
orbyt_ has quit [Ping timeout: 255 seconds]
nowhere_man has quit [Ping timeout: 245 seconds]
andikr has quit [Remote host closed the connection]
clemens3 has quit [Ping timeout: 250 seconds]
nowhere_man has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
sgen has quit [Ping timeout: 250 seconds]
claudiuinberlin has joined #ruby
sgen has joined #ruby
duderonomy has joined #ruby
DmitryBochkarev has quit [Ping timeout: 268 seconds]
nowhere_man has quit [Ping timeout: 250 seconds]
duderonomy has quit [Client Quit]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SuperLag has quit [Ping timeout: 246 seconds]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
terabytes has joined #ruby
sgen has quit [Ping timeout: 250 seconds]
ryouba has left #ruby ["WeeChat 1.6"]
DmitryBochkarev has joined #ruby
SuperLag has joined #ruby
mangold has joined #ruby
mangold has quit [Client Quit]
nowhere_man has joined #ruby
ldnunes has quit [Ping timeout: 246 seconds]
[Butch] has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
galtgendo has quit [Remote host closed the connection]
dinfuehr_ is now known as dinfuehr
ldnunes has joined #ruby
reber has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
hightower2 has quit [Ping timeout: 268 seconds]
sgen has joined #ruby
zachk has joined #ruby
electrofelix has quit [Quit: Leaving.]
conta has joined #ruby
doodlebug has quit [Read error: Connection reset by peer]
JL has joined #ruby
doodlebug has joined #ruby
<JL>
Hi. Does anyone recall the name of the Ruby lessons that took you from simple to more complex Ruby concepts and would check your work. I used it years ago and thought it was excellent. It may have been a Gem but recall it being a Japanese name. It had about 100 lessons and you used the terminal to modify the code it started you with. Thank you.
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 246 seconds]
i1nfusion has joined #ruby
i1nfusion1 has joined #ruby
conta has quit [Quit: conta]
duderonomy has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
<baweaver>
JL: RubyKatas iirc
<baweaver>
Or RubyMonk
<baweaver>
The latter is up and down depending on how much the owners are paying attention
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
i1nfusion1 has joined #ruby
<JL>
baweaver: Thank you. Maybe RubyKatas. It sounds Japanese to me. I'll look google that. I don't think it was RubyMonk because I did the lessons on my own system on the command line.
jenrzzz has joined #ruby
<JL>
It was the RubyKoans! That was driving me crazy.
claudiuinberlin has joined #ruby
DmitryBochkarev has quit [Ping timeout: 245 seconds]