adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
weaksauce has quit [*.net *.split]
lad has quit [*.net *.split]
oft_gegong has quit [*.net *.split]
factor has quit [*.net *.split]
kaivai has quit [*.net *.split]
Rounin has quit [*.net *.split]
joast has quit [*.net *.split]
menace has quit [*.net *.split]
havenwood has quit [*.net *.split]
dostoyevsky2 has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
jmcgnh has quit [*.net *.split]
dostoyevsky2 has joined #ruby
menace has joined #ruby
factor has joined #ruby
lad has joined #ruby
kaivai has joined #ruby
NightMonkey has joined #ruby
oft_gegong has joined #ruby
<oft_gegong> why can't I be a ruby developer?
joast has joined #ruby
gr33n7001 has quit [Ping timeout: 245 seconds]
jmcgnh has joined #ruby
gr33n7001 has joined #ruby
oft_gegong has quit [Quit: Leaving]
<nakilon> * oft_gegong walked out of the bar
kiki_lamb has joined #ruby
<leftylink> hmm, I should think about what my favourite part of ruby is
mrkz_c has quit [Quit: Connection closed for inactivity]
<nakilon> I know only the least favorite one
<aestheti1> I like 2.hours
<aestheti1> I also like seattle style
gggp_ has joined #ruby
<nakilon> I don't think 2.hours is ruby
<aestheti1> well the ability to reopen Fixnum or whatever
<leftylink> okay so I guess mine is Enumerable stuff. I guess I don't really think of it as a favourite part though because I don't usually think of things that way
<leftylink> I was about to say my favourite part is the evertyhing-is-an-expression thing but I guess abusing that makes the code harder to read, so I should not say it is my favourite part
<leftylink> like uh
<aestheti1> module Enumerable is a great acheivement of developer ergonomics
<leftylink> pandabot: rb i = 5; while (i += 1) <= 9; print i end
<pandabot> 6789nil - https://carc.in/#/r/bv7j
<leftylink> would call that abuse of everything-is-an-expression
<nakilon> is it your bot?
<leftylink> pandabot was originally made to support pink pandas, but it has since moved on to do other things and it never seemed necessary to change its name
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
mrkz_c has joined #ruby
sagax has joined #ruby
grawlinson has quit [Quit: SIGTERM]
joenoon has quit [Ping timeout: 240 seconds]
caleb has quit [Ping timeout: 240 seconds]
entel_ has quit [Ping timeout: 240 seconds]
joenoon has joined #ruby
caleb has joined #ruby
entel_ has joined #ruby
grawlinson has joined #ruby
Oxfuxxx has quit [Ping timeout: 240 seconds]
Oxfuxxx has joined #ruby
goepsilongo has quit [Ping timeout: 240 seconds]
reset has quit [Quit: reset]
kiki_lamb has quit [Read error: Connection reset by peer]
kiki_lamb has joined #ruby
jpw has joined #ruby
jpw_ has joined #ruby
jpw has quit [Ping timeout: 256 seconds]
jpw has joined #ruby
jpw_ has quit [Ping timeout: 252 seconds]
jpw_ has joined #ruby
jpw has quit [Ping timeout: 252 seconds]
gr33n7001 has quit [Quit: WeeChat 3.2]
Oxfuxxx has quit [Ping timeout: 252 seconds]
lunarkitty has joined #ruby
Oxfuxxx has joined #ruby
gggp_ has quit [Quit: Leaving]
gggp has joined #ruby
gggp has quit [Remote host closed the connection]
gggpkm has joined #ruby
ur5us has joined #ruby
jpw has joined #ruby
jpw_ has quit [Ping timeout: 245 seconds]
_ht has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
jpw has quit [Remote host closed the connection]
jpw has joined #ruby
Andrew is now known as AhkilKumar
AhkilKumar is now known as Andrew
lunarkitty has quit [Quit: Connection closed for inactivity]
_aeris_ has joined #ruby
aeris has quit [Ping timeout: 276 seconds]
_aeris_ is now known as aeris
jpw has quit [Remote host closed the connection]
jetchisel has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
gr33n7007h has joined #ruby
hololeap has joined #ruby
jetchisel has quit [Ping timeout: 250 seconds]
jpw has joined #ruby
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
TCZ has joined #ruby
menace has quit [Quit: menace]
Oxfuxxx has quit [Ping timeout: 256 seconds]
TCZ has quit [Quit: ...]
goepsilongo has joined #ruby
gggpkm has quit [Ping timeout: 256 seconds]
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
weird_error has joined #ruby
TCZ has joined #ruby
reset has joined #ruby
kiki_lamb has quit [Ping timeout: 256 seconds]
Oxfuxxx has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 245 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 250 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
Oxfuxxx has quit [Ping timeout: 256 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 245 seconds]
goepsilongo has quit [Quit: Konversation terminated!]
Skyfire has joined #ruby
TCZ has quit [Quit: ...]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
flooose has joined #ruby
kiki_lamb has joined #ruby
ferr_ has joined #ruby
kiki_lamb has quit [Ping timeout: 245 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 250 seconds]
kiki_lamb has joined #ruby
Oxfuxxx has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
flooose has quit [Ping timeout: 240 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 245 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
weird_error has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 240 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 245 seconds]
Guest82_ has joined #ruby
kiki_lamb has joined #ruby
<hololeap> https://rubygems.org/gems/solargraph/versions/0.43.0 -- This shows the license as MIT
<hololeap> `gem specification -b solargraph` -- This shows: licenses: []
<hololeap> how do I retrieve the license of a gem using the `gem` command?
kiki_lamb has quit [Ping timeout: 240 seconds]
<hololeap> ok, it's in the gemfile if I run `gem unpack`
<hololeap> now, how do I output this gemfile as YAML?
<hololeap> `gem specification ./solargraph.gemspec` doesn't work
jpw has quit [Remote host closed the connection]
kiki_lamb has joined #ruby
Guest82_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kiki_lamb has quit [Ping timeout: 256 seconds]
ferr_ is now known as fercell
<hololeap> dhruvasagar: that only seems to work if the gem is installed. in this case, that's not what I want since I'm developing a tool to convert gemfiles into something else with similar metadata
<hololeap> I just want to output the license of a gemfile as YAML without installing the gem
kiki_lamb has joined #ruby
<hololeap> `gem spec -r GEM` seems to work, but for some reason the license info is missing
<hololeap> oh, I figured it out. I need to run `gem spec` on the .gem file, not the .gemspec file :p
weaksauce has joined #ruby
flooose has joined #ruby
Oxfuxxx has quit [Ping timeout: 252 seconds]
howdoi has joined #ruby
_ht has quit [Remote host closed the connection]
SuperLag has quit [Ping timeout: 245 seconds]
lunarkitty has joined #ruby
<nakilon> maybe a bug 21:29:37 <hololeap> `gem specification -b solargraph` -- This shows: licenses: []
<nakilon> for my gem it shows [] for remote and MIT for local
<nakilon> I don't understand the rubygems/server.rb -- latest_specs clearly dump only the [name, version, platform] and I see it in the .gz file that is mentioned if you get the specs with -V
<nakilon> but I don't see how it retrieves the specific gem full spec
<nakilon> maybe it is "# * "/quick/" - Individual gemspecs" but it isn't printed by -V
<nakilon> I see the version in https://rubygems.org/api/v2/rubygems/.../versions/....json, but I can't figure out the marshal link, this one is wrong https://api.rubygems.org/quick/Marshal.4.8/....gemspec.rz
<weaksauce> nakilon what are you trying to figure out?
<nakilon> hm, it's in "def fetch_spec", needed to add -#{gem version}
<nakilon> weaksauce the bug
<nakilon> both gzip and zcat say "zcat: unknown compression format" _<>
<nakilon> alright, Marshal.load(Gem.inflate File.read "/Users/nakilon/Downloads/....gemspec.rz").license => nil
Rounin has joined #ruby
<nakilon> while the rubygems JSON API works, so I suppose it's a bug in their rubygems server
bdnelson has joined #ruby
<nakilon> oh I know why it does not print the second GET -- it's cached: local_spec = File.join cache_dir, spec_file_name
<nakilon> since no one yet told me I'm missing something )
lunarkitty has quit [Quit: Connection closed for inactivity]
havenwood has joined #ruby
lunarkitty has joined #ruby