You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an immediate need for a no-op date gem due to it being a transitive dependency of many libraries, including time 0.2.0.
Could we push an empty -java platform gem for the most recent date release? We will prioritize dealing with this appropriately after the US Thanksgiving holiday.
@hsbt Sorry to always ping you but I can't tell who maintains this library. Can you help us get an empty date gem released, so JRuby 9.4 users will be able to run latest net-ftp and time gems (at least)?
[] jruby $ gem install time
Fetching date-3.3.1-java.gem
Fetching time-0.2.0.gem
Successfully installed date-3.3.1-java
Successfully installed time-0.2.0
Parsing documentation for date-3.3.1-java
Installing ri documentation for date-3.3.1-java
Parsing documentation for time-0.2.0
Installing ri documentation for time-0.2.0
Done installing documentation for date, time after 0 seconds
2 gems installed
Thanks, seems to be working fine (at least for gem installs) - we don't use activemailer or net-imap from rails so can't validate the wider functionality of date equivalents under JRuby, but this is good so far - thanks!
Part of us moving the JRuby code into the gem will be getting all tests passing. It's a tall order but that's the plan and hopefully we can do it in the next few months.
Activity
headius commentedon Nov 23, 2022
We have an immediate need for a no-op
dategem due to it being a transitive dependency of many libraries, includingtime0.2.0.Could we push an empty
-javaplatform gem for the most recentdaterelease? We will prioritize dealing with this appropriately after the US Thanksgiving holiday.headius commentedon Nov 23, 2022
@hsbt Sorry to always ping you but I can't tell who maintains this library. Can you help us get an empty
dategem released, so JRuby 9.4 users will be able to run latest net-ftp and time gems (at least)?hsbt commentedon Nov 24, 2022
@headius 👋
I'm not sure what's mean no-op on date gem. In my understanding,
spec.filesandspec.extensionare empty both. Can you submit a PoC for this?headius commentedon Dec 9, 2022
@hsbt Yes that is basically it; it would satisfy the gem dependency but not install any of the extension code.
We may be able to move our date implementation into this gem at some point but it is rather entwined with JRuby core right now.
headius commentedon Dec 9, 2022
An alternative would be releasing a time gem with -java that does not depend on date.
No-op gem for JRuby for now
headius commentedon Dec 9, 2022
@hsbt I have pushed #81 to stub out the gem on JRuby. Can we get a 3.3.1 release with this soon (ASAP if possible)?
chadlwilson commentedon Dec 9, 2022
I assume this is related to ruby/net-imap#84 (logged there for others' benefit, but may be a wontfix)
headius commentedon Dec 9, 2022
@chadlwilson Yeah it's the same issue. The no-op gem should fix this everywhere for now.
hsbt commentedon Dec 9, 2022
@chadlwilson @headius I released date-3.3.1 and date-3.3.1-java that is empty package. Can you try it?
headius commentedon Dec 9, 2022
@hsbt It looks like it's working!
chadlwilson commentedon Dec 9, 2022
Thanks, seems to be working fine (at least for gem installs) - we don't use activemailer or net-imap from rails so can't validate the wider functionality of
dateequivalents under JRuby, but this is good so far - thanks!headius commentedon Dec 9, 2022
Part of us moving the JRuby code into the gem will be getting all tests passing. It's a tall order but that's the plan and hopefully we can do it in the next few months.
nobu commentedon Nov 27, 2024
Probably we can close this for now.
Re-open if needed 😺 .
headius commentedon Dec 4, 2024
We will still want to merge our Date logic with CRuby but for now having the stub is good enough.