easy_admin_ui 0.5.14 → 0.5.15
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 +4 -4
- data/Gemfile.lock +11 -25
- data/lib/easy_admin_ui/core_ext.rb +5 -2
- data/lib/easy_admin_ui/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e38fcfd682a0b1fc632cb443ff02decc6faa95d
|
|
4
|
+
data.tar.gz: b003ce97fa5539dcb4cbb440955cea06f9babe5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bc6ba5ddaf031d79e2d4d6ae4f3e9e15e548f6f5d09805ab19a0574f06adc3f764bf922c110e13704395ad009fb360c99ae5be53f0fb1acc514e4ae17615b3b
|
|
7
|
+
data.tar.gz: 09ca8d8f67284104d0cd97f16699f8ae209bb11948dc19ac225837626627eb7c91da06b3c678766c55f1184ca0060d4df71d0b188f69169d0cfdf12a8e2709ac
|
data/Gemfile.lock
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
easy_admin_ui (0.5.
|
|
4
|
+
easy_admin_ui (0.5.15)
|
|
5
5
|
formtastic (>= 1.2.3)
|
|
6
6
|
kaminari (>= 0.12.4)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actionpack (3.2.
|
|
12
|
-
activemodel (= 3.2.
|
|
13
|
-
activesupport (= 3.2.
|
|
11
|
+
actionpack (3.2.15)
|
|
12
|
+
activemodel (= 3.2.15)
|
|
13
|
+
activesupport (= 3.2.15)
|
|
14
14
|
builder (~> 3.0.0)
|
|
15
15
|
erubis (~> 2.7.0)
|
|
16
16
|
journey (~> 1.0.4)
|
|
@@ -18,11 +18,11 @@ GEM
|
|
|
18
18
|
rack-cache (~> 1.2)
|
|
19
19
|
rack-test (~> 0.6.1)
|
|
20
20
|
sprockets (~> 2.2.1)
|
|
21
|
-
activemodel (3.2.
|
|
22
|
-
activesupport (= 3.2.
|
|
21
|
+
activemodel (3.2.15)
|
|
22
|
+
activesupport (= 3.2.15)
|
|
23
23
|
builder (~> 3.0.0)
|
|
24
|
-
activesupport (3.2.
|
|
25
|
-
i18n (
|
|
24
|
+
activesupport (3.2.15)
|
|
25
|
+
i18n (~> 0.6, >= 0.6.4)
|
|
26
26
|
multi_json (~> 1.0)
|
|
27
27
|
builder (3.0.4)
|
|
28
28
|
diff-lcs (1.2.1)
|
|
@@ -35,33 +35,20 @@ GEM
|
|
|
35
35
|
sinatra
|
|
36
36
|
hike (1.2.3)
|
|
37
37
|
httpclient (2.3.3)
|
|
38
|
-
i18n (0.6.
|
|
38
|
+
i18n (0.6.5)
|
|
39
39
|
journey (1.0.4)
|
|
40
|
-
|
|
41
|
-
kaminari (0.13.0)
|
|
40
|
+
kaminari (0.14.1)
|
|
42
41
|
actionpack (>= 3.0.0)
|
|
43
42
|
activesupport (>= 3.0.0)
|
|
44
|
-
|
|
45
|
-
multi_json (1.7.2)
|
|
43
|
+
multi_json (1.8.2)
|
|
46
44
|
rack (1.4.5)
|
|
47
45
|
rack-cache (1.2)
|
|
48
46
|
rack (>= 0.4)
|
|
49
47
|
rack-protection (1.5.0)
|
|
50
48
|
rack
|
|
51
|
-
rack-ssl (1.3.3)
|
|
52
|
-
rack
|
|
53
49
|
rack-test (0.6.2)
|
|
54
50
|
rack (>= 1.0)
|
|
55
|
-
railties (3.2.13)
|
|
56
|
-
actionpack (= 3.2.13)
|
|
57
|
-
activesupport (= 3.2.13)
|
|
58
|
-
rack-ssl (~> 1.3.2)
|
|
59
|
-
rake (>= 0.8.7)
|
|
60
|
-
rdoc (~> 3.4)
|
|
61
|
-
thor (>= 0.14.6, < 2.0)
|
|
62
51
|
rake (10.0.4)
|
|
63
|
-
rdoc (3.12.2)
|
|
64
|
-
json (~> 1.4)
|
|
65
52
|
rspec (2.13.0)
|
|
66
53
|
rspec-core (~> 2.13.0)
|
|
67
54
|
rspec-expectations (~> 2.13.0)
|
|
@@ -79,7 +66,6 @@ GEM
|
|
|
79
66
|
multi_json (~> 1.0)
|
|
80
67
|
rack (~> 1.0)
|
|
81
68
|
tilt (~> 1.1, != 1.3.0)
|
|
82
|
-
thor (0.18.1)
|
|
83
69
|
tilt (1.3.6)
|
|
84
70
|
|
|
85
71
|
PLATFORMS
|
|
@@ -3,7 +3,7 @@ module EasyAdminUi
|
|
|
3
3
|
def self.included(base)
|
|
4
4
|
base.extend ClassMethods
|
|
5
5
|
end
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
module ClassMethods
|
|
8
8
|
def easy_admin(admin_options = {})
|
|
9
9
|
self.easy_options = admin_options
|
|
@@ -11,10 +11,11 @@ module EasyAdminUi
|
|
|
11
11
|
|
|
12
12
|
make_resourceful do
|
|
13
13
|
actions :all
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
response_for :index do |format|
|
|
16
16
|
format.html do
|
|
17
17
|
@options = self.easy_options
|
|
18
|
+
|
|
18
19
|
override = File.join('app/views', self.controller_path, 'index.html.erb')
|
|
19
20
|
if @items.blank? && params[:page] && params[:page].to_i > 1
|
|
20
21
|
redirect_to :action => :index
|
|
@@ -30,6 +31,8 @@ module EasyAdminUi
|
|
|
30
31
|
|
|
31
32
|
response_for :show do |format|
|
|
32
33
|
format.html do
|
|
34
|
+
@options = self.easy_options
|
|
35
|
+
|
|
33
36
|
override = File.join(controller_full_path, 'show.html.erb')
|
|
34
37
|
if File.exists?(override)
|
|
35
38
|
render :template => override.gsub('app/views', '')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy_admin_ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Moen Wulffeld
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
143
143
|
version: '0'
|
|
144
144
|
requirements: []
|
|
145
145
|
rubyforge_project:
|
|
146
|
-
rubygems_version: 2.0.
|
|
146
|
+
rubygems_version: 2.0.3
|
|
147
147
|
signing_key:
|
|
148
148
|
specification_version: 4
|
|
149
149
|
summary: Easy Admin UI.
|