<phaul>
One caveat with symbols (which fit this purpose of being hash keys 99.9% of the time) is that they are never freed. So don't do it in a long lived process that allocated keys dynamically
<pengin>
will do, thanks for the link
<havenwood>
phaul: but these days dynamically created symbols are freed!
zacts has quit [Ping timeout: 255 seconds]
<phaul>
really, I didn't know. thank havenwood TIL
<pengin>
is there a best practice around using symbols vs strings as hash keys for instance?
<phaul>
ah. thanks for the info havenwood
skryking has quit [Ping timeout: 246 seconds]
<havenwood>
pengin: Symbols make the most elegant Hash keys.
skryking has joined #ruby
bikes has joined #ruby
<SeepingN>
yeah: use sysmbols. done. ;)
<SeepingN>
I believe there are calls that can "convert" text into symbols in case you're bulding one of those dynamic lists based on input
fphilipe has quit [Ping timeout: 248 seconds]
pengin has quit [Remote host closed the connection]
renich has quit [Ping timeout: 244 seconds]
wald0 has quit [Quit: Lost terminal]
christiandsg has joined #ruby
bikes has quit [Ping timeout: 258 seconds]
christiandsg has quit [Ping timeout: 245 seconds]
djellemah has joined #ruby
Swyper has quit [Remote host closed the connection]
bikes has joined #ruby
rafadc has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Swyper has joined #ruby
iNs has quit [Remote host closed the connection]
tf2ftw has joined #ruby
iNs has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
orbyt_ has joined #ruby
Wolland has joined #ruby
lambdapanda has joined #ruby
<lambdapanda>
hi! where can I learn about the current adoption status of ruby in the industry? I'm curious because I don't see a lot of job postings that require ruby knowledge
<Wolland>
It really depends on the area/state
<lambdapanda>
oh interesting
<lambdapanda>
didn't know location was a factor
Swyper has joined #ruby
<Wolland>
Absolutely
<Wolland>
Check west coast vs Midwest job postings.
<Wolland>
My area seem to be all .net and MS based platforms. Because of Boeing, Citi group, Etc.
<Wolland>
Also not that many startups.
<lambdapanda>
I haven't really been following ruby but I get the feeling it had a bigger following a few years ago. has it been dwindling down due to js frameworks?
Swyper has quit [Remote host closed the connection]
<Wolland>
I am not sure.
Swyper has joined #ruby
<Wolland>
It’s an environment with a constant change, new things pop up and vanish
<lambdapanda>
I see
<lambdapanda>
I've been drawn to Ruby due to the Destroy All Software screencasts
<Wolland>
You can check github activity on Ruby and other projects. That should be some sort of an indication
<Wolland>
Ruby is pleasant.
<lambdapanda>
yeah it looks like so much fun to code with it
<Wolland>
If that’s what does it for you 😏
<lambdapanda>
hehe
fphilipe has joined #ruby
<lambdapanda>
are there any similar screencasts to learn from?
<Wolland>
It’s been a while. I am a bit out of the loop.
<Wolland>
There are definitely plenty of resources, depending on your learning style.
<lambdapanda>
I liked the Destroy All Software screencasts because they go beyond the basics
<lambdapanda>
and they're practical
<lambdapanda>
but yeah I'll keep looking
<Wolland>
I used to like Railscasts but I think he stopped making them long ago?
<lambdapanda>
sadly Destroy All Software doesnt seem to be active either
bikes has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
renich has joined #ruby
duderonomy has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
rafadc has joined #ruby
octos has joined #ruby
Swyper has quit [Remote host closed the connection]
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
haxx0r has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
Puffball_ has joined #ruby
Puffball has quit [Read error: Connection reset by peer]
renich has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djellemah has quit [Quit: Leaving]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
christiandsg has joined #ruby
renich has joined #ruby
christiandsg has quit [Ping timeout: 245 seconds]
cropcircle has joined #ruby
octos has quit [Remote host closed the connection]
tf2ftw has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
AJA4350 has quit [Quit: AJA4350]
esrse has joined #ruby
esp32_prog has joined #ruby
obzidian has joined #ruby
fphilipe has joined #ruby
esp32_prog has quit [Ping timeout: 258 seconds]
doodlebug has quit [Remote host closed the connection]
obzidian has quit [Ping timeout: 257 seconds]
tdy has joined #ruby
obzidian has joined #ruby
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
<IGnorAND>
I have a Class Room which has a certain amount of beds. I want to keep track when beds get added/removed. Do I make a Table room with column name and a Table BedTransactions with bed:references count:integer?
fphilipe has quit [Ping timeout: 252 seconds]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
hightower2 has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
graft has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
jenrzzz has quit [Ping timeout: 246 seconds]
cd has quit [Quit: cd]
houhouli_ has quit [Remote host closed the connection]
brool has quit [Ping timeout: 258 seconds]
zeamp has quit [Quit: ze]
zeamp has joined #ruby
graft has quit [Ping timeout: 258 seconds]
Tempesta has quit [Remote host closed the connection]
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has joined #ruby
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
xfbs has joined #ruby
haxx0r has quit [Remote host closed the connection]
Cyrus has quit [Ping timeout: 252 seconds]
meinside has joined #ruby
spacesuitdiver has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
Kestrel-029 has joined #ruby
doodlebug has joined #ruby
Cyrus has joined #ruby
christiandsg has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sagax has joined #ruby
christiandsg has quit [Ping timeout: 245 seconds]
Puffball_ has left #ruby [#ruby]
ricekrispie has joined #ruby
ricekrispie2 has quit [Ping timeout: 244 seconds]
christiandsg has joined #ruby
kyrylo has joined #ruby
Nebros has joined #ruby
ur5us_ has quit [Remote host closed the connection]
renich has quit [Ping timeout: 246 seconds]
dhollinger has quit [Ping timeout: 252 seconds]
Nebros has quit [Ping timeout: 256 seconds]
vondruch has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Nebros has joined #ruby
Azure has joined #ruby
CrazyEddy has quit [Ping timeout: 268 seconds]
fphilipe has quit [Ping timeout: 259 seconds]
conta has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
CrazyEddy has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
fphilipe has joined #ruby
dhollinger has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
syndikate has joined #ruby
christiandsg has quit [Remote host closed the connection]
<jhass>
marz_d`ghostman: in Ruby we tend to prefer modules for these kind of cases
_whitelogger has joined #ruby
<marz_d`ghostman>
jhass: I see, so I'll have the module inheret the first class then use it as a Mixin?
ur5us has joined #ruby
yqt has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tj_ has joined #ruby
<jhass>
marz_d`ghostman: you cannot have a module inherit a class, only include other modules. You'd have your descendants inherit Podio::Item directly and include the module
tj__ has joined #ruby
<marz_d`ghostman>
jhass: Hmmm. I was meaning to inherit podio::item's methods but also PodioAbstractItem's.
<jhass>
yes that's what I understood
<jhass>
if Podio::Item is your class, maybe it could be a module too
tj_ has quit [Ping timeout: 245 seconds]
BH23 has joined #ruby
tj_ has joined #ruby
tj__ has quit [Ping timeout: 258 seconds]
deepredsky has joined #ruby
<marz_d`ghostman>
jhass: It'a gem my app is dependent on. Makes it tricky to test since my class depends on it
ellcs has joined #ruby
ctxt has joined #ruby
<marz_d`ghostman>
I can't see an isolated way to test PodioAbstractItem's fetch_all_items method given it class Podio::Item's method. Hmmm, maybe mock/stub Podio and expect that it is invoked.
<jhass>
well I suspected your example is just that, because it seems rather pointless tbh
<jhass>
stubbing external dependencies is right, but when that ends up the test just verifying a particular implementation rather than any behavior I just skip those tests
teclator has quit [Quit: No Ping reply in 180 seconds.]
teclator has joined #ruby
tj_ has quit [Remote host closed the connection]
banisterfiend has joined #ruby
tj_ has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
ctxt has quit [Quit: Page closed]
tj__ has joined #ruby
tj_ has quit [Ping timeout: 258 seconds]
m_antis has joined #ruby
GodFather has joined #ruby
tj__ has quit [Quit: Leaving]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
BH23 has quit [Ping timeout: 258 seconds]
esp32_pr1g has joined #ruby
banisterfiend has quit [Ping timeout: 246 seconds]
hightower2 has quit [Read error: Connection reset by peer]
esp32_prog has quit [Ping timeout: 244 seconds]
hightower3 has joined #ruby
ur5us has quit [Remote host closed the connection]
_axx has joined #ruby
esp32_prog has joined #ruby
esp32_pr1g has quit [Ping timeout: 245 seconds]
NL3limin4t0r has joined #ruby
esp32_prog has quit [Ping timeout: 244 seconds]
esp32_prog has joined #ruby
conta has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
BH23 has joined #ruby
conta has joined #ruby
Jonopoly has joined #ruby
Swyper has quit [Remote host closed the connection]
xco has quit [Quit: xco]
Nicmavr has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
Swyper has joined #ruby
BH23 has quit [Ping timeout: 246 seconds]
Swyper has quit [Remote host closed the connection]
<phaul>
dont include MyHelper in MyModule. remove privateness on the helpermethod but make it module_function or class side method. Call it by explicitly calling it on the module. : MyHelper.helpermethod
<phaul>
this way things that explicitly qualifiy helpermethod with Myhelper. can use it. You can make MyHelper a private constant so it's not visible ooutside of MyModule
<ryouba>
wow!!!
<ryouba>
module_function is COOL!
<ryouba>
thank you phaul :D
<phaul>
yw
<phaul>
&ri private_constant, for making MyHelper private in MyModule
helpa has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
Xiti` has joined #ruby
BrianWGray has joined #ruby
jtdowney1 has joined #ruby
Alison`8 has joined #ruby
deepredsky has joined #ruby
rafadc_ has joined #ruby
KramerC_ has joined #ruby
m27frogy_ has joined #ruby
helpa has joined #ruby
darkphnx4805 has joined #ruby
bvdw has joined #ruby
Some-body_ has joined #ruby
helpa has quit [Remote host closed the connection]
thunderbirdtr_ has joined #ruby
Xeago_ has joined #ruby
MuffinPimp_ has joined #ruby
DTZUZO_ has joined #ruby
spiette_ has joined #ruby
DTZUZU2 has joined #ruby
rubydoc_ has joined #ruby
dionysus69_ has joined #ruby
APK has joined #ruby
fmccann_ has joined #ruby
contradictioned_ has joined #ruby
edwardly_ has joined #ruby
edwardly_ has quit [Changing host]
edwardly_ has joined #ruby
miah_ has joined #ruby
Fridtjof_ has joined #ruby
lubekpl_ has joined #ruby
nirix_ has joined #ruby
adam12_ has joined #ruby
rheddry has joined #ruby
arand_ has joined #ruby
raddazong has joined #ruby
helpa has joined #ruby
asio_ has joined #ruby
helpa has quit [Remote host closed the connection]
gigetoo_ has joined #ruby
camilasan_ has joined #ruby
matti_ has joined #ruby
helpa has joined #ruby
Prira_ has joined #ruby
r3m_ has joined #ruby
mnem has joined #ruby
leftylin1 has joined #ruby
canton7_ has joined #ruby
slackmare has quit [Ping timeout: 245 seconds]
Jello_Raptor_ has joined #ruby
djdduty_ has joined #ruby
kaleido_ has joined #ruby
j416_ has joined #ruby
Ekho- has joined #ruby
arthurnn_ has joined #ruby
aspiers_ has joined #ruby
ellcs has quit [*.net *.split]
cow[moo] has quit [*.net *.split]
dionysus69 has quit [*.net *.split]
DTZUZO has quit [*.net *.split]
ua_ has quit [*.net *.split]
Cyrus has quit [*.net *.split]
sauvin has quit [*.net *.split]
pwnd_nsfw has quit [*.net *.split]
m27frogy has quit [*.net *.split]
adam12 has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
djdduty has quit [*.net *.split]
r3m has quit [*.net *.split]
Xeago has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
zululee_ has quit [*.net *.split]
lubekpl has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
jtdowney has quit [*.net *.split]
fmccann has quit [*.net *.split]
Prira has quit [*.net *.split]
arand has quit [*.net *.split]
contradictioned has quit [*.net *.split]
madhatter has quit [*.net *.split]
canton7 has quit [*.net *.split]
arthurnn has quit [*.net *.split]
asio has quit [*.net *.split]
xlued has quit [*.net *.split]
j416 has quit [*.net *.split]
go|dfish has quit [*.net *.split]
matti has quit [*.net *.split]
Alison` has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
nirix has quit [*.net *.split]
Brian-W-Gray has quit [*.net *.split]
SanguineAnomaly has quit [*.net *.split]
miah has quit [*.net *.split]
KramerC has quit [*.net *.split]
Xeago_ is now known as Xeago
canton7_ is now known as canton7
dionysus69_ is now known as dionysus69
KramerC_ is now known as KramerC
Some-body_ is now known as DarthGandalf
Jello_Raptor_ is now known as Jello_Raptor
arthurnn_ is now known as arthurnn
j416_ is now known as j416
cca has joined #ruby
lxsameer has quit [*.net *.split]
thunderbirdtr has quit [*.net *.split]
rafadc has quit [*.net *.split]
gigetoo has quit [*.net *.split]
spiette has quit [*.net *.split]
edwardly has quit [*.net *.split]
Ekho has quit [*.net *.split]
aspiers has quit [*.net *.split]
DTZUZU has quit [*.net *.split]
cadeskywalker has quit [*.net *.split]
camilasan has quit [*.net *.split]
Xiti has quit [*.net *.split]
bvdw9 has quit [*.net *.split]
rubydoc has quit [*.net *.split]
leftylink has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
AKPWD has quit [*.net *.split]
mnemon has quit [*.net *.split]
ryouba has quit [*.net *.split]
kaleido has quit [*.net *.split]
levifig has quit [*.net *.split]
nowz has quit [*.net *.split]
varesa has quit [*.net *.split]
mclee has quit [*.net *.split]
foxxx0 has quit [*.net *.split]
darkphnx480 has quit [*.net *.split]
depesz has quit [*.net *.split]
edwardly_ is now known as edwardly
MuffinPimp_ is now known as MuffinPimp
gigetoo_ is now known as gigetoo
aspiers_ is now known as aspiers
xlued has joined #ruby
zululee_ has joined #ruby
cgfbee has quit [Excess Flood]
facest has joined #ruby
faces has quit [Remote host closed the connection]
SanguineAnomaly has joined #ruby
Rapture has joined #ruby
<cca>
Hello, I'm new to ruby. Is there a way to display all the available methods of an object for example a test table =[1, 2] test.methods does not display anything to me
irdr has quit [Remote host closed the connection]
cgfbee has joined #ruby
<phaul>
&>> table = [1, 2] ; table.methods
<rubydoc_>
# => [:to_h, :include?, :at, :fetch, :last, :union, :difference, :push, :append, :pop, :shift, :unshift,... check link for more (https://carc.in/#/r/6yc3)
irdr has joined #ruby
kapilp has quit [Quit: Connection closed for inactivity]
<phaul>
I'm not sure what test is in your code, probably a method?
go|dfish has joined #ruby
lxsameer has joined #ruby
cadeskywalker has joined #ruby
nowz has joined #ruby
ellcs has joined #ruby
sauvin has joined #ruby
mclee has joined #ruby
<cca>
@phaul I use ruby 2.5.5.5 I think that's why it doesn't work.
ryouba has joined #ruby
ua_ has joined #ruby
roger_rabbit has joined #ruby
depesz has joined #ruby
<phaul>
I don't think so. what's test in your code? and why do you have it there? why not just table =
mnem is now known as mnemon
foxxx0 has joined #ruby
Cyrus has joined #ruby
i1nfusion has joined #ruby
<cca>
#phaul Okay, it works. Thank you.
<phaul>
np
jeremycw has joined #ruby
rubydoc_ has quit [Remote host closed the connection]
rubydoc has joined #ruby
<ryouba>
phaul: seems i got disconnected. did you answer that last message?
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
<phaul>
hm. I don't know how to fix that. private_constant only prevents you from using MyModule::Myhelper, but if MyHelper is already in sight due to the include MyModule then it's not hidden
<phaul>
but you have to be explicit at least about including it in MyClass, so it's not that bad
varesa_ has joined #ruby
<phaul>
private_constant is a not that old invention, originally ruby wasn't designed with private modules / private classes in mind
spacesuitdiver has joined #ruby
<phaul>
although it becomes a bit phylosophical because everything is always callable via send anyways
brool has joined #ruby
<ryouba>
well, you either get loads of power or you get loads of protection, but you don't really get both at the same time. seems greater than just programming.
<ryouba>
s/greater/larger/ ... sorry, not a native speaker
<havenwood>
ryouba: privateness is usually focused on the public interface of instances, and you can get at neither the private method nor private constant directly - so that's working well
<ryouba>
phaul: i tried using MyModule.modmethod in the class, since you pointed that out, but to no avail. where does my thinking go wrong here?
<ryouba>
as in, instead of "include MyModule"
yasumi2136 has joined #ruby
<phaul>
well, including and using class side methods on the module are different , they are not interchangable
<phaul>
although module_function adds support for both
doodleb49 has quit [Read error: Connection reset by peer]
tf2ftw has joined #ruby
<phaul>
havenwood: I was surprised that private_constants leak out to things that include the module that defined them.
<ryouba>
ah, so you didn't mean to imply that it would be possible to use the Module method on the Class without include'ing it first
<havenwood>
ryouba: Do you want `myobj.modmethod` to work?
<havenwood>
phaul: yeah, isn't that a it bizarre. it's like module_function behavior.
<ryouba>
havenwood: no, i was just playing around with the new toys that phaul suggested and was getting confused.
<havenwood>
ryouba: module_function would make #modmethod only available inside of the including class, but not expose it as a public method
yasumi2136 has quit [Client Quit]
doodlebug has joined #ruby
<havenwood>
ryouba: compare when you do or don't put a module_function in MyModule. Right now #modmethod is exposed publicly on the including class instance.
<havenwood>
ryouba: the private constant isn't visible from outside the class
<ryouba>
ah, right!
<ryouba>
updated
<ryouba>
it's not like total privacy but it *is* like nice folding screens in the room
cca has quit [Quit: Page closed]
ellcs has quit [Ping timeout: 246 seconds]
<ryouba>
slightly inconsistent that you can't say `private_constant MySubModule` like you can say `module_function blah`. and interesting that it's module_*function* instead of module_*method*.
<phaul>
ryouba: it's function as in "functionality". Meaning a bunch of methods defined on the instance side and on the class side of the module. Not function as in functional programming.
<phaul>
although the docs there also mix the terms so idk
morozovm has joined #ruby
morozovm has quit [Read error: Connection reset by peer]
<phaul>
anyways it defines multiple methods
doodlebug has quit [Ping timeout: 276 seconds]
<ryouba>
yes, that part (that it defines multiple methods) is quite consistent
<phaul>
except it also calls methods function
<phaul>
s
m17 has joined #ruby
<phaul>
idk. maybe it refers to the pair of defined methods as the "function" as a single entity.
<Nebros>
i have installed opal and tryed with opal --compile pathfinder.rb > pathfinder.js to create my needed js. it was clear that i get an error no file found... where can i give the path to the file or where do i have to put in this file? :)
cthulchu_ has joined #ruby
doodleb69 has quit [Read error: Connection reset by peer]
<Jonopoly>
So i'm doing automation with ruby
doodlebug has joined #ruby
<Jonopoly>
And need to avoid sleep as much as possible
<Jonopoly>
I'm using Ruby and Selenium is it possible to wrap something in a try/catch
<Jonopoly>
like Try: $wait.until { $driver.find_element(:xpath => "//span[@class='searchCode']") }
<Jonopoly>
Wait 1 second then try again (if fails 3 times then print Failed x times"
Dbugger has joined #ruby
Ekho- is now known as Ekho
apparition has quit [Quit: Bye]
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
octos has quit [Ping timeout: 258 seconds]
teclator has quit [Ping timeout: 268 seconds]
catbusters has joined #ruby
blackmesa1 has joined #ruby
fphilipe has quit [Ping timeout: 244 seconds]
orbyt_ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass>
Jonopoly: you might want to take a look at capybara which provides such primitives (wait for condition with timeout)
Cthulu201 has joined #ruby
tf2ftw has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
blackmesa1 has quit [Ping timeout: 252 seconds]
kapilp has joined #ruby
<NL3limin4t0r>
ryouba: The only reason `module_function def blah` works is because defining a method returns a symbol of that method and `module_function` accepts a symbol or string.
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
esp32_prog has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
esp32_prog has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
Wolland has joined #ruby
xco has joined #ruby
hiroaki has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
doodlebug has quit [Ping timeout: 272 seconds]
doodlebug has joined #ruby
ovnimancer has quit [Ping timeout: 258 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cliluw has joined #ruby
nowhereman has joined #ruby
alem0lars has quit [Remote host closed the connection]
sameerynho has joined #ruby
tf2ftw has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yqt has quit [Ping timeout: 258 seconds]
<cjohnson>
Can somebody do me a favor and install the xdg gem version 2.2.4 and see if you have an index.rb file?
<cjohnson>
ls ~/.rbenv/versions/2.4.6/lib/ruby/gems/2.4.0/gems/xdg-2.2.4/lib/xdg/
<cjohnson>
I don't have one, but the xdg.rb file is doing require_relative 'xdg/index'
<cjohnson>
Seems like the github repo last change is 7 years ago so I'm rather confused why this is happening for me lol
tdy has quit [Ping timeout: 248 seconds]
AJA4350 has joined #ruby
tdy has joined #ruby
hiroaki has quit [Ping timeout: 250 seconds]
<cjohnson>
Well that's interesting, 2.2.4 was pushed today...
mikecmpbll has joined #ruby
<cjohnson>
How do I see where it came from?
schneider has quit [Ping timeout: 250 seconds]
blackmesa1 has quit [Ping timeout: 258 seconds]
Kestrel-029 has joined #ruby
kapilp has quit [Quit: Connection closed for inactivity]
r3m_ is now known as r3m
Nicmavr has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 258 seconds]
hiroaki has joined #ruby
<xco>
i’m working on two gems. in one gem i have an error “undefined method `downcase' for nil:NilClass” which i’m aware of. in the second them there’s no error. it works fine but any time i do “gem push” i get the warning for the first gem with the error in it. so even in the folder of the clean gem the warning shows and i can’t push it. any ideas? please?
brool has quit [Ping timeout: 258 seconds]
<jidar>
cjohnson: interesting
<jidar>
cjohnson: ‼️ Development of this project has been transfered here: https://github.com/bkuhlmann/xdg. This will be the last version supported within the 2.2.x series. Be aware major breaking changes will be introduced in the upcoming 3.0.0 release (2019-06-01).
<jidar>
so there ya go
<cjohnson>
Yeah that's 3.0.0 though, the broken version is 2.2.4
<cjohnson>
I made an issue on his new github, I suspect it was a mistake
<cjohnson>
From what I can see, the master branch of hte original repository listed 2.2.4 in the HISTORY.md, but no 2.2.4 was ever pushed up to rubygems
<jidar>
> xdg (2.2.4)
<cjohnson>
I suspect he took control, saw a mismatch, pushed up without testing that it actually worked and then intended to move forward with his 3.x refactor
lubekpl_ has quit [Quit: WeeChat 1.9.1]
<cjohnson>
Probably the 2.2.4 version just needs to be yanked, or fixed
<cjohnson>
I meant that no 2.2.4 had ever been pushed up until today
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
wildermind has joined #ruby
mikecmpbll has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
ur5us has joined #ruby
sphenxes has quit [Quit: Leaving]
graft has quit [Ping timeout: 246 seconds]
ur5us has quit []
troulouliou_div2 has joined #ruby
fphilipe has quit [Ping timeout: 264 seconds]
tdy has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
Xeago has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
sameerynho has quit [Ping timeout: 248 seconds]
brool has joined #ruby
ellcs has quit [Ping timeout: 250 seconds]
graft has quit [Client Quit]
mikecmpbll has quit [Quit: inabit. zz.]
reber has quit [Read error: Connection reset by peer]
fphilipe has joined #ruby
esp32_prog has joined #ruby
troulouliou_div2 has quit [Ping timeout: 244 seconds]