dachinat / nextcloud

Nextcloud OCS and WebDAV API wrapper for Ruby.
https://rubygems.org/gems/nextcloud
MIT License
17 stars 17 forks source link

Not working for Activesupport >5.x #30

Open jensb opened 1 year ago

jensb commented 1 year ago

I am trying to use the gem with a Ruby on Rails 7 app. This fails:

$ bundle
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    nextcloud was resolved to 1.3.2, which depends on
      activesupport (~> 5.1)

    rails (~> 7.0.4) was resolved to 7.0.4, which depends on
      activesupport (= 7.0.4)

Is this an intentional restriction, or can we just change ActiveSupport requirements to "any"?

jensb commented 1 year ago

See also https://github.com/dachinat/nextcloud/pull/29. Can we merge this?

hdbreaker commented 9 months ago

Hi, any way to do this? I need this gem in Ruby 6 and it does not work...

jensb commented 9 months ago

I don't know. I eventually gave up and used the HTTParty gem to call the Nextcloud API endpoints manually.