File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Data shown by using jsoneditor.js from http://jsoneditoronline.org
99
1010Add this line to your application's Gemfile:
1111
12- gem 'activeadmin_json_editor', '~> 0.0.10 '
12+ gem 'activeadmin_json_editor', '~> 0.0.11 '
1313
1414And then execute:
1515
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
1818
1919 spec . required_rubygems_version = '>= 1.3.6'
2020 spec . add_development_dependency 'bundler' , '~> 1.5'
21- spec . add_dependency 'railties' , '>= 3 .0'
21+ spec . add_dependency 'railties' , '>= 7 .0'
2222 # spec.add_development_dependency "rake", "~> 0"
2323 # spec.add_dependency "active_admin", "~> 1.0.0"
2424 spec . add_dependency 'ace-rails-ap'
Original file line number Diff line number Diff line change 55module ActiveAdmin
66 module JsonEditor
77 class Engine < ::Rails ::Engine
8- config . assets . precompile += %w( img/jsoneditor-icons.png )
8+ initializer "activeadmin_json_editor.assets" do |app |
9+ if app . config . respond_to? ( :assets )
10+ app . config . assets . precompile += %w( img/jsoneditor-icons.png )
11+ end
12+ end
913
1014 rake_tasks do
1115 task 'assets:precompile' do
Original file line number Diff line number Diff line change 11module ActiveAdmin
22 module JsonEditor
3- VERSION = '0.0.10 ' . freeze
3+ VERSION = '0.0.11 ' . freeze
44 end
55end
You can’t perform that action at this time.
0 commit comments