easy_admin_ui 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OTY0OGYxOTcxMzU3YzNkZWU3MmQ0ODVhMzE0MzAxN2RlZGZlNjgzYg==
5
+ data.tar.gz: !binary |-
6
+ NzUzMzc3MTdhMTU3YzVlYzY3NWMzYWU2MDliZWY0YmNlZWZmODM5OA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ OGY3MTYwYjc1YjFlYWNlNGFjNDIwMjI3OTUyMmY4ODQ1YTJiZmRjY2MzOGIz
10
+ MTM5ZDRkOGJkZTczOGE3NTdkMTJlMGRlMGMyYTY4MTM0NmE3YjI2NjUyMjc1
11
+ MDMwMWM2OWRiNmQ0NmNiOWYzODM5YWJmYjQ3Mzc3ZDE2MDc0MjE=
12
+ data.tar.gz: !binary |-
13
+ ODhlZWE1YmUxNWJjOWY2ZTgwMzFhZDU1MzY0YjY4ZGQwZDlmZDZkZmJhNjUw
14
+ ODhhYWU0MjAwNWI5ZTk3MzNlMjY0ZmVhMzA2MzdkNzczNTViN2U4NjdhMDUz
15
+ MDE5NTg1ZmZlN2Q5YzNmOTFkNzFhNTU4Y2UzMWM3NWUzZTNiZTM=
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ *.tmproj
2
+ pkg
3
+ .bundle
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+ gemspec
3
+
4
+ gem "rake"
5
+
6
+ group :test do
7
+ gem "rspec", "~> 2.12"
8
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,79 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ easy_admin_ui (0.6.1)
5
+ formtastic (>= 2.2.1)
6
+ kaminari (>= 0.12.4)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (3.2.13)
12
+ activemodel (= 3.2.13)
13
+ activesupport (= 3.2.13)
14
+ builder (~> 3.0.0)
15
+ erubis (~> 2.7.0)
16
+ journey (~> 1.0.4)
17
+ rack (~> 1.4.5)
18
+ rack-cache (~> 1.2)
19
+ rack-test (~> 0.6.1)
20
+ sprockets (~> 2.2.1)
21
+ activemodel (3.2.13)
22
+ activesupport (= 3.2.13)
23
+ builder (~> 3.0.0)
24
+ activesupport (3.2.13)
25
+ i18n (= 0.6.1)
26
+ multi_json (~> 1.0)
27
+ builder (3.0.4)
28
+ diff-lcs (1.2.1)
29
+ erubis (2.7.0)
30
+ formtastic (2.2.1)
31
+ actionpack (>= 3.0)
32
+ geminabox (0.10.1)
33
+ builder
34
+ httpclient (>= 2.2.7)
35
+ sinatra
36
+ hike (1.2.1)
37
+ httpclient (2.3.3)
38
+ i18n (0.6.1)
39
+ journey (1.0.4)
40
+ kaminari (0.14.1)
41
+ actionpack (>= 3.0.0)
42
+ activesupport (>= 3.0.0)
43
+ multi_json (1.7.2)
44
+ rack (1.4.5)
45
+ rack-cache (1.2)
46
+ rack (>= 0.4)
47
+ rack-protection (1.5.0)
48
+ rack
49
+ rack-test (0.6.2)
50
+ rack (>= 1.0)
51
+ rake (10.0.4)
52
+ rspec (2.13.0)
53
+ rspec-core (~> 2.13.0)
54
+ rspec-expectations (~> 2.13.0)
55
+ rspec-mocks (~> 2.13.0)
56
+ rspec-core (2.13.1)
57
+ rspec-expectations (2.13.0)
58
+ diff-lcs (>= 1.1.3, < 2.0)
59
+ rspec-mocks (2.13.0)
60
+ sinatra (1.3.6)
61
+ rack (~> 1.4)
62
+ rack-protection (~> 1.3)
63
+ tilt (~> 1.3, >= 1.3.3)
64
+ sprockets (2.2.2)
65
+ hike (~> 1.2)
66
+ multi_json (~> 1.0)
67
+ rack (~> 1.0)
68
+ tilt (~> 1.1, != 1.3.0)
69
+ tilt (1.3.6)
70
+
71
+ PLATFORMS
72
+ ruby
73
+
74
+ DEPENDENCIES
75
+ bundler (>= 1.3.2)
76
+ easy_admin_ui!
77
+ geminabox
78
+ rake
79
+ rspec (~> 2.12)
data/README.md ADDED
@@ -0,0 +1,97 @@
1
+ # easy_admin_ui
2
+
3
+ A very simple admin UI. If you need something more fancy look at ActiveScaffold.
4
+
5
+ ## Requirements
6
+
7
+ * Ruby >= 1.9
8
+ * Rails 3.1 or later. (Not tested with Rails 4.x)
9
+ * formtastic
10
+ * kaminari
11
+
12
+ Requires jQuery.
13
+
14
+ ## To Do
15
+
16
+ Some things are currently hardwired. It assumes you have your controllers below
17
+ admin/. I.e. admin_users_path.
18
+
19
+ ## Installation
20
+
21
+ $ gem install easy_admin_ui
22
+
23
+ ## How to use
24
+
25
+ In your controller:
26
+
27
+ class Admin::UsersController < ActionController::Base
28
+ easy_admin :per_page => 50,
29
+ :order => 'created_at',
30
+ :page_title => 'Users',
31
+ :columns => ['Login', ['Email', 'my_nowrap_class'], 'Name', 'Created'],
32
+ :show_actions => true,
33
+ :skip_new => true,
34
+ :include => '
35
+ after :create do
36
+ # Stuff you want to do after create.
37
+ end'
38
+ end
39
+
40
+ The model is infered by the make_resourceful plugin which is why we don't need
41
+ to specify it here. However, the object(s) returned will be named @item or
42
+ @items (for :index).
43
+
44
+ Then you need a partial below users/ named '_user.html.erb':
45
+
46
+ <%=
47
+ table_row(:id => "tr_user_#{user.id}", :class => "#{cyc = cycle("even", "odd")}",
48
+ :cells => [
49
+ user.login,
50
+ [user.email, 'my_nowrap_class'],
51
+ date_hm(user.created_at),
52
+ ],
53
+ :actions => [
54
+ admin_edit_link(user),
55
+ admin_delete_link_with_confirmation(user)
56
+ ])
57
+ -%>
58
+
59
+ To add a class to your table cells just pass an array as done with the user.email
60
+ field in the above example.
61
+
62
+ You need to provide the _form.html.erb partials yourself.
63
+
64
+ You can always override the default templates by providing templates yourself.
65
+
66
+ ## Optional Partials
67
+
68
+ Sometimes you'll need extra stuff on your page such as a form filter for the
69
+ records. You can use the following optional partials to add functionality.
70
+
71
+ Index page only:
72
+
73
+ _index_after_title.html.erb
74
+ _index_after_table.html.erb
75
+
76
+ New/edit pages:
77
+
78
+ _modify_after_title.html.erb
79
+ _modify_after_form.html.erb
80
+
81
+ If these exist the more specific partials below will not be rendered.
82
+
83
+ Edit page only:
84
+
85
+ _edit_after_title.html.erb
86
+ _edit_after_form.html.erb
87
+
88
+ New page only:
89
+
90
+ _new_after_title.html.erb
91
+ _new_after_form.html.erb
92
+
93
+ Will be included on all actions no matter if other partials were present or
94
+ not:
95
+
96
+ _after_title.html.erb
97
+ _after.html.erb
data/Rakefile CHANGED
@@ -1,30 +1,6 @@
1
- require 'rubygems'
2
- require 'rake'
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
3
 
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "easy_admin_ui"
8
- gem.summary = "Easy Admin UI."
9
- gem.description = "Very simple DRY admin UI."
10
- gem.email = "martin@wulffeld.org"
11
- gem.homepage = "http://github.com/wulffeld/easy_admin_ui"
12
- gem.authors = ["Martin Moen Wulffeld"]
13
- gem.add_dependency(%q<kaminari>, ">= 0.12.4")
14
- gem.add_dependency(%q<formtastic>, ">= 2.2.1")
15
- end
16
- Jeweler::GemcutterTasks.new
17
- rescue LoadError
18
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
- end
20
-
21
- desc "New release"
22
- task :new_release do |t|
23
- `rake version:bump:patch`
24
- `rake gemspec`
25
- `git commit -am "Preparing new release."`
26
- `rm -f pkg/*`
27
- `rake build`
28
- `rake release`
29
- `cat VERSION`
4
+ RSpec::Core::RakeTask.new(:spec) do |spec|
5
+ spec.pattern = FileList['spec/**/*_spec.rb']
30
6
  end
@@ -1,73 +1,26 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'easy_admin_ui/version'
5
4
 
6
- Gem::Specification.new do |s|
7
- s.name = "easy_admin_ui"
8
- s.version = "0.6.0"
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "easy_admin_ui"
7
+ spec.version = EasyAdminUi::VERSION
8
+ spec.authors = ["Martin Moen Wulffeld"]
9
+ spec.email = ["martin@wulffeld.org"]
10
+ spec.description = %q{Very simple DRY admin UI.}
11
+ spec.summary = %q{Easy Admin UI.}
12
+ spec.homepage = "http://github.com/wulffeld/easy_admin_ui"
13
+ spec.license = "MIT"
9
14
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Martin Moen Wulffeld"]
12
- s.date = "2012-11-07"
13
- s.description = "Very simple DRY admin UI."
14
- s.email = "martin@wulffeld.org"
15
- s.extra_rdoc_files = [
16
- "README"
17
- ]
18
- s.files = [
19
- "README",
20
- "Rakefile",
21
- "VERSION",
22
- "app/assets/images/easy_admin_ui/classify.png",
23
- "app/assets/images/easy_admin_ui/connect.png",
24
- "app/assets/images/easy_admin_ui/delete.png",
25
- "app/assets/images/easy_admin_ui/disconnect.png",
26
- "app/assets/images/easy_admin_ui/pencil.png",
27
- "app/assets/images/easy_admin_ui/show.png",
28
- "app/assets/stylesheets/easy_admin_ui/easy_admin_ui.sass",
29
- "app/helpers/easy_admin_ui/easy_admin_ui_helper.rb",
30
- "app/views/easy_admin_ui/destroy.js.erb",
31
- "app/views/easy_admin_ui/edit.html.erb",
32
- "app/views/easy_admin_ui/index.html.erb",
33
- "app/views/easy_admin_ui/new.html.erb",
34
- "app/views/easy_admin_ui/show.html.erb",
35
- "config/initializers/make_resourceful.rb",
36
- "easy_admin_ui.gemspec",
37
- "lib/easy_admin_ui.rb",
38
- "lib/easy_admin_ui/core_ext.rb",
39
- "lib/easy_admin_ui/rails/engine.rb",
40
- "lib/easy_admin_ui/tasks.rb",
41
- "lib/resourceful/base.rb",
42
- "lib/resourceful/builder.rb",
43
- "lib/resourceful/default/accessors.rb",
44
- "lib/resourceful/default/actions.rb",
45
- "lib/resourceful/default/callbacks.rb",
46
- "lib/resourceful/default/responses.rb",
47
- "lib/resourceful/default/urls.rb",
48
- "lib/resourceful/maker.rb",
49
- "lib/resourceful/response.rb",
50
- "lib/resourceful/serialize.rb",
51
- "tasks/easy_admin_ui.rake"
52
- ]
53
- s.homepage = "http://github.com/wulffeld/easy_admin_ui"
54
- s.require_paths = ["lib"]
55
- s.rubygems_version = "1.8.16"
56
- s.summary = "Easy Admin UI."
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(spec)/})
18
+ spec.require_paths = ["lib"]
57
19
 
58
- if s.respond_to? :specification_version then
59
- s.specification_version = 3
20
+ spec.add_development_dependency "bundler", ">= 1.3.2"
21
+ spec.add_development_dependency "rake"
22
+ spec.add_development_dependency "geminabox"
60
23
 
61
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
62
- s.add_runtime_dependency(%q<kaminari>, [">= 0.12.4"])
63
- s.add_runtime_dependency(%q<formtastic>, [">= 2.2.1"])
64
- else
65
- s.add_dependency(%q<kaminari>, [">= 0.12.4"])
66
- s.add_dependency(%q<formtastic>, [">= 2.2.1"])
67
- end
68
- else
69
- s.add_dependency(%q<kaminari>, [">= 0.12.4"])
70
- s.add_dependency(%q<formtastic>, [">= 2.2.1"])
71
- end
24
+ spec.add_dependency "kaminari", ">= 0.12.4"
25
+ spec.add_dependency "formtastic", ">= 2.2.1"
72
26
  end
73
-
@@ -52,6 +52,14 @@ module EasyAdminUi
52
52
  end
53
53
  end
54
54
 
55
+ response_for :create do |format|
56
+ format.html do
57
+ flash[:notice] = 'Created!'
58
+ redirect_to :action => :index
59
+ end
60
+ format.js
61
+ end
62
+
55
63
  [:edit, :update_fails].each do |edit_action|
56
64
  response_for edit_action do |format|
57
65
  format.html do
@@ -65,6 +73,14 @@ module EasyAdminUi
65
73
  end
66
74
  end
67
75
 
76
+ response_for :update do |format|
77
+ format.html do
78
+ flash[:notice] = 'Updated!'
79
+ redirect_to :action => :index
80
+ end
81
+ format.js
82
+ end
83
+
68
84
  response_for :destroy do |format|
69
85
  format.js do
70
86
  render :template => 'easy_admin_ui/destroy'
@@ -0,0 +1,10 @@
1
+ module EasyAdminUi
2
+ class EasyAdminUiEngine < ::Rails::Engine
3
+ initializer "easy_admin_ui.engine" do |app|
4
+ ActionController::Base.class_eval do
5
+ self.class_attribute :easy_options
6
+ end
7
+ ActionController::Base.send(:include, EasyAdminUi::CoreExt)
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,3 @@
1
+ module EasyAdminUi
2
+ VERSION = '0.6.1'
3
+ end
data/lib/easy_admin_ui.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  require 'easy_admin_ui/core_ext'
2
2
 
3
- require 'easy_admin_ui/rails/engine'
3
+ require 'easy_admin_ui/engine'
metadata CHANGED
@@ -1,48 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_admin_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
5
- prerelease:
4
+ version: 0.6.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Martin Moen Wulffeld
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-07 00:00:00.000000000 Z
11
+ date: 2013-03-29 00:00:00.000000000 Z
13
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.3.2
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.3.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: geminabox
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
14
55
  - !ruby/object:Gem::Dependency
15
56
  name: kaminari
16
- requirement: &2168473480 !ruby/object:Gem::Requirement
17
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
18
58
  requirements:
19
59
  - - ! '>='
20
60
  - !ruby/object:Gem::Version
21
61
  version: 0.12.4
22
62
  type: :runtime
23
63
  prerelease: false
24
- version_requirements: *2168473480
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: 0.12.4
25
69
  - !ruby/object:Gem::Dependency
26
70
  name: formtastic
27
- requirement: &2168472740 !ruby/object:Gem::Requirement
28
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
29
72
  requirements:
30
73
  - - ! '>='
31
74
  - !ruby/object:Gem::Version
32
75
  version: 2.2.1
33
76
  type: :runtime
34
77
  prerelease: false
35
- version_requirements: *2168472740
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.2.1
36
83
  description: Very simple DRY admin UI.
37
- email: martin@wulffeld.org
84
+ email:
85
+ - martin@wulffeld.org
38
86
  executables: []
39
87
  extensions: []
40
- extra_rdoc_files:
41
- - README
88
+ extra_rdoc_files: []
42
89
  files:
43
- - README
90
+ - .gitignore
91
+ - Gemfile
92
+ - Gemfile.lock
93
+ - README.md
44
94
  - Rakefile
45
- - VERSION
46
95
  - app/assets/images/easy_admin_ui/classify.png
47
96
  - app/assets/images/easy_admin_ui/connect.png
48
97
  - app/assets/images/easy_admin_ui/delete.png
@@ -60,8 +109,9 @@ files:
60
109
  - easy_admin_ui.gemspec
61
110
  - lib/easy_admin_ui.rb
62
111
  - lib/easy_admin_ui/core_ext.rb
63
- - lib/easy_admin_ui/rails/engine.rb
112
+ - lib/easy_admin_ui/engine.rb
64
113
  - lib/easy_admin_ui/tasks.rb
114
+ - lib/easy_admin_ui/version.rb
65
115
  - lib/resourceful/base.rb
66
116
  - lib/resourceful/builder.rb
67
117
  - lib/resourceful/default/accessors.rb
@@ -74,27 +124,27 @@ files:
74
124
  - lib/resourceful/serialize.rb
75
125
  - tasks/easy_admin_ui.rake
76
126
  homepage: http://github.com/wulffeld/easy_admin_ui
77
- licenses: []
127
+ licenses:
128
+ - MIT
129
+ metadata: {}
78
130
  post_install_message:
79
131
  rdoc_options: []
80
132
  require_paths:
81
133
  - lib
82
134
  required_ruby_version: !ruby/object:Gem::Requirement
83
- none: false
84
135
  requirements:
85
136
  - - ! '>='
86
137
  - !ruby/object:Gem::Version
87
138
  version: '0'
88
139
  required_rubygems_version: !ruby/object:Gem::Requirement
89
- none: false
90
140
  requirements:
91
141
  - - ! '>='
92
142
  - !ruby/object:Gem::Version
93
143
  version: '0'
94
144
  requirements: []
95
145
  rubyforge_project:
96
- rubygems_version: 1.8.16
146
+ rubygems_version: 2.0.2
97
147
  signing_key:
98
- specification_version: 3
148
+ specification_version: 4
99
149
  summary: Easy Admin UI.
100
150
  test_files: []
data/README DELETED
@@ -1,100 +0,0 @@
1
- Description
2
- ===========
3
-
4
- A very simple admin UI. If you need something more fancy look at ActiveScaffold.
5
-
6
- Requirements
7
- ============
8
-
9
- * formtastic
10
- * kaminari
11
-
12
- Rails 3.1 or later.
13
-
14
- Requires jQuery.
15
-
16
- To Do
17
- =====
18
-
19
- Some things are currently hardwired. It assumes you have your controllers below
20
- admin/. I.e. admin_users_path.
21
-
22
- Installation
23
- ============
24
-
25
- $ gem install easy_admin_ui
26
-
27
- How to use
28
- ==========
29
-
30
- In your controller:
31
-
32
- class Admin::UsersController < ActionController::Base
33
- easy_admin :per_page => 50,
34
- :order => 'created_at',
35
- :page_title => 'Users',
36
- :columns => ['Login', ['Email', 'my_nowrap_class'], 'Name', 'Created'],
37
- :show_actions => true,
38
- :skip_new => true,
39
- :include => '
40
- after :create do
41
- # Stuff you want to do after create.
42
- end'
43
- end
44
-
45
- The model is infered by the make_resourceful plugin which is why we don't need
46
- to specify it here. However, the object(s) returned will be named @item or
47
- @items (for :index).
48
-
49
- Then you need a partial below users/ named '_user.html.erb':
50
-
51
- <%=
52
- table_row(:id => "tr_user_#{user.id}", :class => "#{cyc = cycle("even", "odd")}",
53
- :cells => [
54
- user.login,
55
- [user.email, 'my_nowrap_class'],
56
- date_hm(user.created_at),
57
- ],
58
- :actions => [
59
- admin_edit_link(user),
60
- admin_delete_link_with_confirmation(user)
61
- ])
62
- -%>
63
-
64
- To add a class to your table cells just pass an array as done with the user.email
65
- field in the above example.
66
-
67
- You need to provide the _form.html.erb partials yourself.
68
-
69
- You can always override the default templates by providing templates yourself.
70
-
71
- Callbacks
72
- =========
73
-
74
- Index page only:
75
-
76
- _index_after_title.html.erb
77
- _index_after_table.html.erb
78
-
79
- New/edit pages:
80
-
81
- _modify_after_title.html.erb
82
- _modify_after_form.html.erb
83
-
84
- If these exist the more specific partials below will not be rendered.
85
-
86
- Edit page only:
87
-
88
- _edit_after_title.html.erb
89
- _edit_after_form.html.erb
90
-
91
- New page only:
92
-
93
- _new_after_title.html.erb
94
- _new_after_form.html.erb
95
-
96
- Will be included on all actions no matter if other partials were present or
97
- not:
98
-
99
- _after_title.html.erb
100
- _after.html.erb
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.6.0
@@ -1,12 +0,0 @@
1
- module EasyAdminUi
2
- module Rails
3
- class EasyAdminUiEngine < ::Rails::Engine
4
- initializer "easy_admin_ui.engine" do |app|
5
- ActionController::Base.class_eval do
6
- self.class_attribute :easy_options
7
- end
8
- ActionController::Base.send(:include, EasyAdminUi::CoreExt)
9
- end
10
- end
11
- end
12
- end