blocknotes / activeadmin_active_resource

Active Admin + Active Resource: to use a REST API in place of a local database as data source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility with Active Admin 2

filipewl opened this issue · comments

Hey!

I tried using this gem with an Active Admin (AA) 2.3.1 (as of now the most recent version is 2.6.0) app and got this warning about the gem depending on AA ~> 1.0:

> bundle install

Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.....
Bundler could not find compatible versions for gem "activeadmin":
  In snapshot (Gemfile.lock):
    activeadmin (= 2.3.1)

  In Gemfile:
    activeadmin

    activeadmin_active_resource was resolved to 0.1.3, which depends on
      activeadmin (~> 1.0)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

I relaxed the version to ~> 2.0 (1) in my local gem setup and it worked.

(1):

spec.add_runtime_dependency 'activeadmin', '~> 1.0'

Is it okay to bump it?

Hey @filipewl.
Sorry for replying so late.
Added supports ActiveAdmin 2.X finally.