datocms / ruby-datocms-client

Ruby client for the DatoCMS API.
https://www.datocms.com/docs/content-management-api/using-the-ruby-client
MIT License
20 stars 14 forks source link

rails 5 compat #6

Closed ahoward closed 7 years ago

ahoward commented 7 years ago

we're trying to use dato on a rails 5 project and

site (master)*$ bundle update
Fetching https://github.com/datocms/ruby-datocms-client
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    dato was resolved to 0.1.28, which depends on
      activesupport (= 4.2.7.1)

    rails (>= 5.0.0.1, ~> 5.0.0) was resolved to 5.0.0.1, which depends on
      activejob (= 5.0.0.1) was resolved to 5.0.0.1, which depends on
        globalid (>= 0.3.6) was resolved to 0.3.7, which depends on
          activesupport (>= 4.1.0)

    jbuilder (~> 2.5) was resolved to 2.6.0, which depends on
      activesupport (< 5.1, >= 3.0.0)

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

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

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

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

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

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

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

    rails (>= 5.0.0.1, ~> 5.0.0) was resolved to 5.0.0.1, which depends on
      actionpack (= 5.0.0.1) was resolved to 5.0.0.1, which depends on
        rails-dom-testing (~> 2.0) was resolved to 2.0.1, which depends on
          activesupport (< 6.0, >= 4.2.0)

    rails (>= 5.0.0.1, ~> 5.0.0) was resolved to 5.0.0.1, which depends on
      sprockets-rails (>= 2.0.0) was resolved to 3.2.0, which depends on
        activesupport (>= 4.0)
ahoward commented 7 years ago

i think dato would work just fine here (rails 5) so letting versions float up would be awesome

stefanoverna commented 7 years ago

@ahoward released 0.1.29

ahoward commented 7 years ago

rawk.

you need to see my new static site generator ;-)

stefanoverna commented 7 years ago

ahaha, drop us an email and show us what you got then 😃

ahoward commented 7 years ago

https://gist.github.com/ahoward/f1b7b390fe3e16dd399ae76515272df4

one file. just works. TM.

stefanoverna commented 7 years ago

already used to staticize an old rails app we had to close.. works great, loving it, thanks! :)