<cxl>
Who do you usually add to a gemspec's authors array? Anyone who has every contributed to the code, only the original author, the original author + current maintainers? What's the best practice here?
John_Ivan__ has quit [Remote host closed the connection]
John_Ivan__ has joined #ruby
crankharder has joined #ruby
caleb has quit [Remote host closed the connection]
hwrd has quit [Remote host closed the connection]
Bounga has quit [Remote host closed the connection]
srushe has quit [Remote host closed the connection]
KOTP has quit [Write error: Connection reset by peer]
alexisg has quit [Remote host closed the connection]
slondr has quit [Remote host closed the connection]
graemefawcett has quit [Remote host closed the connection]
matta has quit [Remote host closed the connection]
g_sg has quit [Remote host closed the connection]
pjaspers has quit [Remote host closed the connection]
tsujp has quit [Remote host closed the connection]
Bounga has joined #ruby
graemefawcett has joined #ruby
tsujp has joined #ruby
slondr has joined #ruby
hwrd has joined #ruby
caleb has joined #ruby
pjaspers has joined #ruby
KOTP has joined #ruby
srushe has joined #ruby
g_sg has joined #ruby
matta has joined #ruby
alexisg has joined #ruby
<crankharder>
does anyone have any good opereational experience running a gemstash/geminabox for your organization to act as a gem cache -- effectively replacing the vendor/cache which grows in size (and git commit history) out of control over time? Ours is 3.1G right now - which is nuts. The only reason we have it is to protect us against rubygems.org outages (which are rare) which could conceiveably block a
<crankharder>
deploy. If you're running a gem cache server - how/where do you run it and make it availalble to your team/servers? Thanks!
nirvdrum has quit [Quit: nirvdrum]
crankharder has quit [Ping timeout: 268 seconds]
mexen has quit [Quit: Connection closed for inactivity]
shokohsc2 has joined #ruby
shokohsc has quit [Ping timeout: 240 seconds]
shokohsc2 is now known as shokohsc
crankharder has joined #ruby
nirvdrum has joined #ruby
markong has joined #ruby
John_Ivan_ has joined #ruby
John_Ivan__ has quit [Ping timeout: 268 seconds]
alexisg has quit [Remote host closed the connection]
KOTP has quit [Remote host closed the connection]
hwrd has quit [Remote host closed the connection]
pjaspers has quit [Remote host closed the connection]
g_sg has quit [Remote host closed the connection]
tsujp has quit [Remote host closed the connection]
matta has quit [Write error: Broken pipe]
slondr has quit [Remote host closed the connection]
Bounga has quit [Remote host closed the connection]
srushe has quit [Write error: Broken pipe]
graemefawcett has quit [Remote host closed the connection]
caleb has quit [Remote host closed the connection]
nirvdrum has quit [Quit: nirvdrum]
<isene>
I have two arrays containing strings; A and B. I want to remove all elements from A that does not match (regex match) any of the elements in B. How?
graemefawcett has joined #ruby
Bounga has joined #ruby
matta has joined #ruby
srushe has joined #ruby
KOTP has joined #ruby
slondr has joined #ruby
hwrd has joined #ruby
alexisg has joined #ruby
caleb has joined #ruby
g_sg has joined #ruby
caleb has quit [Changing host]
caleb has joined #ruby
tsujp has joined #ruby
pjaspers has joined #ruby
crespire has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
crankharder has joined #ruby
<isene>
Fumbling around and trying this to no luck: c = a.select { |e| b.each{ |f| e =~ /#{f}/ } }
<isene>
Which I hoped would only return elements in a that matches elements in b
howdoi has quit [Quit: Connection closed for inactivity]
m_antis has joined #ruby
m_antis has quit [Ping timeout: 265 seconds]
m_antis has joined #ruby
m_antis has quit [Client Quit]
m_antis has joined #ruby
m_antis has quit [Read error: Connection reset by peer]
m_antis has joined #ruby
Guest42 has joined #ruby
Guest42 has quit [Quit: Client closed]
<cxl>
Ok I'm confused about semantic versioning and prereleases. The semver standard says it should be <major>.<minor>.<patch>-<pre>. This is what everyone is using. But, for ruby gems, it seems like the convention is to use a `.` as the <pre> separator... What happens if I release a gem version 1.2.3-pre1 instead of the conventional 1.2.3.pre.1? Will it break bundler?
ur5us has joined #ruby
<adam12>
cxl: Should be fine.
<adam12>
Actually, I don't know 100% and relying on memory for this.
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
meimei has joined #ruby
pounce has joined #ruby
ygniukas has joined #ruby
<ygniukas>
Hey have anyone an idea what would be the cleanest way to fix this. Have to migrate old ruby to ruby3 and all the tests.. many of the tests used `uri.escape` I fixed most of them with `uri.join` but there is few failing because query has a space in it. Manually changing spaces for '%20' fixes the problem and all the parsers i found does + instead
<ygniukas>
of space. Is there something that would fix this that i might be missing?