easy_admin_ui 0.8.2 → 0.8.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17569379ab675c1225e6f2042aa11be7e757f97e
4
- data.tar.gz: a4553de0eff931b34ad73946f66409421c58a364
3
+ metadata.gz: d039fee6a4737d7cf46f64f8fa74a9f377d75921
4
+ data.tar.gz: bf23c6e5c8a1eff00e9e9a54f8d35ab8817d39ad
5
5
  SHA512:
6
- metadata.gz: bf3cc80a1d4511ac93f9f1762a0e9bf5d433a3a2a4fc3c66443c604faa52027e0cfb5f58de43eaa1abca9c35008cca0b1e9946dc44463c76980ab9e0ce8d79f7
7
- data.tar.gz: f476c4e66933615d851f5c2a0dc7f8a1ad3693f2c3c97bb506d4868a9921f508283fdfc1672e3084c7ff4de09339e9ee96f656f33930fcfcbd2f79952b046b57
6
+ metadata.gz: 754523e98dbac5be60334f8edaaab22c92b03547451e390b1f1753101426bf477e5678988dcf451c9fa529f2279fd4fe8ce21a9ed02ba6e1cd19ed620b24c6df
7
+ data.tar.gz: ca3b11131c4baf0e2aea25af9b4732acf74067fa64549e1fbd4ee9647562b2c17891e8bfb381725fa0b029c78b09929fc01cf88d3540924234407aeda7a57c77
data/Gemfile.lock CHANGED
@@ -1,34 +1,34 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy_admin_ui (0.8.2)
4
+ easy_admin_ui (0.8.3)
5
5
  kaminari (>= 0.12.4)
6
6
  rails (>= 4.0.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionmailer (4.1.10)
12
- actionpack (= 4.1.10)
13
- actionview (= 4.1.10)
11
+ actionmailer (4.1.11)
12
+ actionpack (= 4.1.11)
13
+ actionview (= 4.1.11)
14
14
  mail (~> 2.5, >= 2.5.4)
15
- actionpack (4.1.10)
16
- actionview (= 4.1.10)
17
- activesupport (= 4.1.10)
15
+ actionpack (4.1.11)
16
+ actionview (= 4.1.11)
17
+ activesupport (= 4.1.11)
18
18
  rack (~> 1.5.2)
19
19
  rack-test (~> 0.6.2)
20
- actionview (4.1.10)
21
- activesupport (= 4.1.10)
20
+ actionview (4.1.11)
21
+ activesupport (= 4.1.11)
22
22
  builder (~> 3.1)
23
23
  erubis (~> 2.7.0)
24
- activemodel (4.1.10)
25
- activesupport (= 4.1.10)
24
+ activemodel (4.1.11)
25
+ activesupport (= 4.1.11)
26
26
  builder (~> 3.1)
27
- activerecord (4.1.10)
28
- activemodel (= 4.1.10)
29
- activesupport (= 4.1.10)
27
+ activerecord (4.1.11)
28
+ activemodel (= 4.1.11)
29
+ activesupport (= 4.1.11)
30
30
  arel (~> 5.0.0)
31
- activesupport (4.1.10)
31
+ activesupport (4.1.11)
32
32
  i18n (~> 0.6, >= 0.6.9)
33
33
  json (~> 1.7, >= 1.7.7)
34
34
  minitest (~> 5.1)
@@ -36,6 +36,7 @@ GEM
36
36
  tzinfo (~> 1.1)
37
37
  arel (5.0.1.20140414130214)
38
38
  builder (3.1.4)
39
+ concurrent-ruby (1.0.0)
39
40
  diff-lcs (1.2.5)
40
41
  erubis (2.7.0)
41
42
  geminabox (0.12.2)
@@ -45,33 +46,33 @@ GEM
45
46
  sinatra (>= 1.2.7)
46
47
  httpclient (2.3.4.1)
47
48
  i18n (0.7.0)
48
- json (1.8.2)
49
+ json (1.8.3)
49
50
  kaminari (0.16.3)
50
51
  actionpack (>= 3.0.0)
51
52
  activesupport (>= 3.0.0)
52
53
  mail (2.6.3)
53
54
  mime-types (>= 1.16, < 3)
54
- mime-types (2.5)
55
- minitest (5.6.0)
55
+ mime-types (2.99)
56
+ minitest (5.8.3)
56
57
  nesty (1.0.2)
57
58
  rack (1.5.2)
58
59
  rack-protection (1.5.2)
59
60
  rack
60
61
  rack-test (0.6.3)
61
62
  rack (>= 1.0)
62
- rails (4.1.10)
63
- actionmailer (= 4.1.10)
64
- actionpack (= 4.1.10)
65
- actionview (= 4.1.10)
66
- activemodel (= 4.1.10)
67
- activerecord (= 4.1.10)
68
- activesupport (= 4.1.10)
63
+ rails (4.1.11)
64
+ actionmailer (= 4.1.11)
65
+ actionpack (= 4.1.11)
66
+ actionview (= 4.1.11)
67
+ activemodel (= 4.1.11)
68
+ activerecord (= 4.1.11)
69
+ activesupport (= 4.1.11)
69
70
  bundler (>= 1.3.0, < 2.0)
70
- railties (= 4.1.10)
71
+ railties (= 4.1.11)
71
72
  sprockets-rails (~> 2.0)
72
- railties (4.1.10)
73
- actionpack (= 4.1.10)
74
- activesupport (= 4.1.10)
73
+ railties (4.1.11)
74
+ actionpack (= 4.1.11)
75
+ activesupport (= 4.1.11)
75
76
  rake (>= 0.8.7)
76
77
  thor (>= 0.18.1, < 2.0)
77
78
  rake (10.1.1)
@@ -87,9 +88,10 @@ GEM
87
88
  rack (~> 1.4)
88
89
  rack-protection (~> 1.4)
89
90
  tilt (~> 1.3, >= 1.3.4)
90
- sprockets (3.0.2)
91
- rack (~> 1.0)
92
- sprockets-rails (2.2.4)
91
+ sprockets (3.5.2)
92
+ concurrent-ruby (~> 1.0)
93
+ rack (> 1, < 3)
94
+ sprockets-rails (2.3.3)
93
95
  actionpack (>= 3.0)
94
96
  activesupport (>= 3.0)
95
97
  sprockets (>= 2.8, < 4.0)
@@ -108,3 +110,6 @@ DEPENDENCIES
108
110
  geminabox
109
111
  rake
110
112
  rspec (~> 2.12)
113
+
114
+ BUNDLED WITH
115
+ 1.10.6
@@ -1,29 +1,23 @@
1
1
  table.easy
2
- border-collapse: normal
2
+ clear: both
3
+ border-collapse: collapse
3
4
  margin-top: 4px
4
5
  th
5
- font-family: "Helvetica Neue", Arial, sans-serif
6
6
  font-size: 12px
7
7
  line-height: 14px
8
8
  vertical-align: top
9
9
  td
10
- font-family: "Helvetica Neue", Arial, sans-serif
11
10
  font-size: 12px
12
11
  line-height: 14px
13
12
  vertical-align: top
14
13
  p
15
14
  margin: 0 0 10px 0
16
- th.wrap,
17
- td.wrap
18
- white-space: normal
19
15
  thead
20
16
  th
21
17
  background-color: #E6E6E6
22
18
  color: inherit
23
19
  border: 1px solid #FFF
24
20
  padding: 3px
25
- td.textright
26
- text-align: right
27
21
  tbody
28
22
  td
29
23
  &.blank
@@ -48,4 +42,3 @@ table.easy
48
42
  td.datetime
49
43
  width: 110px
50
44
  white-space: nowrap
51
-
@@ -96,12 +96,20 @@ module EasyAdminUi
96
96
  class_eval do
97
97
  def object_parameters
98
98
  if request.post?
99
- respond_to?(:allowed_params) ? allowed_params : create_params
99
+ if respond_to?(:allowed_params)
100
+ return allowed_params
101
+ elsif respond_to?(:create_params)
102
+ return create_params
103
+ end
100
104
  elsif request.patch? || request.put?
101
- respond_to?(:allowed_params) ? allowed_params : update_params
102
- else
103
- {}
105
+ if respond_to?(:allowed_params)
106
+ return allowed_params
107
+ elsif respond_to?(:update_params)
108
+ return update_params
109
+ end
104
110
  end
111
+
112
+ {}
105
113
  end
106
114
 
107
115
  def current_objects
@@ -1,3 +1,3 @@
1
1
  module EasyAdminUi
2
- VERSION = '0.8.2'
2
+ VERSION = '0.8.3'
3
3
  end
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.8.2
4
+ version: 0.8.3
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: 2015-04-25 00:00:00.000000000 Z
11
+ date: 2015-12-19 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.4.5
146
+ rubygems_version: 2.4.5.1
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Easy Admin UI.