godmin 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3748a315501cf2ed0ac05f1e4bfcea404241ec79
4
- data.tar.gz: 2c9cace7e611248c393951139f64fa904a06c377
3
+ metadata.gz: e40d76b92a05a93abe96da5571be9c130ffc032b
4
+ data.tar.gz: 9dff03d4ed9a817b8c6bfe790198cde4567eff49
5
5
  SHA512:
6
- metadata.gz: 4ca7b0ba247d456197ec65c328707ef3e2b911a4ec2c941fdb8572ae573b048a92f8ab914fb403fc9f8cd86ff89d4fd63ca1786cb446d4d0f4b989f2c90426c7
7
- data.tar.gz: f2b11cefd01552ad963b10f8aa00053564a3e852443ca62764b259a21a2f250c4fac512fd9666bc9056dad77669c7f85585ec72f2417db5b0a5952e093ddccf5
6
+ metadata.gz: a108a5881c455d848394d2885649091e02d8d7eb67f67b036fe2916b526270e34fade67aa04717755167bb56fe802983ea453ea127cbc691a9e41f5d592503fa
7
+ data.tar.gz: 3c38fac47a5cae6f89e8521380be42c411eb51af12e2160a59f91d8e83df2458aa5c5ad85c1f1a3a79069d16d66da115d897eeb10589243db4ef5e29d7747ccd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.10.2 - 2015-02-16
4
+ Bug fixes
5
+ - Fixes standard resource params for multi-word models
6
+
3
7
  ### 0.10.1 - 2015-02-13
4
8
  Bug fixes
5
9
  - Fixes multi-select selectize issue (https://github.com/varvet/godmin/issues/71)
data/README.md CHANGED
@@ -653,9 +653,8 @@ Godmin comes with a small set of JavaScript components and APIs.
653
653
  Make a [bootstrap-datetimepicker](https://github.com/Eonasdan/bootstrap-datetimepicker) out of a text field:
654
654
 
655
655
  ```ruby
656
- f.datepicker_field :date
657
- f.timepicker_field :date
658
- f.datetimepicker_field :date
656
+ f.date_field :date
657
+ f.datetime_field :date
659
658
  ```
660
659
 
661
660
  If the field is added post page render, it can be initialized manually:
@@ -151,7 +151,7 @@ module Godmin
151
151
  end
152
152
 
153
153
  def resource_params
154
- params.require(resource_class.name.parameterize("_").to_sym).permit(attrs_for_form)
154
+ params.require(resource_class.name.underscore.parameterize("_").to_sym).permit(attrs_for_form)
155
155
  end
156
156
 
157
157
  def redirect_after_create
@@ -1,3 +1,3 @@
1
1
  module Godmin
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: godmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Ljungblad
@@ -10,138 +10,138 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-02-13 00:00:00.000000000 Z
13
+ date: 2015-02-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bcrypt
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 3.1.7
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: 3.1.7
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: bootstrap-sass
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ~>
33
+ - - "~>"
34
34
  - !ruby/object:Gem::Version
35
35
  version: 3.3.3
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: 3.3.3
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: bootstrap_form
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ~>
47
+ - - "~>"
48
48
  - !ruby/object:Gem::Version
49
49
  version: 2.2.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ~>
54
+ - - "~>"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.2.0
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: coffee-rails
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '4.0'
64
- - - <
64
+ - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: '4.2'
67
67
  type: :runtime
68
68
  prerelease: false
69
69
  version_requirements: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - '>='
71
+ - - ">="
72
72
  - !ruby/object:Gem::Version
73
73
  version: '4.0'
74
- - - <
74
+ - - "<"
75
75
  - !ruby/object:Gem::Version
76
76
  version: '4.2'
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: momentjs-rails
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: 2.8.1
84
84
  type: :runtime
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: 2.8.1
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rails
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ~>
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: '4.0'
98
98
  type: :runtime
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: '4.0'
105
105
  - !ruby/object:Gem::Dependency
106
106
  name: sass-rails
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '4.0'
112
112
  type: :runtime
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: '4.0'
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: selectize-rails
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ~>
123
+ - - "~>"
124
124
  - !ruby/object:Gem::Version
125
125
  version: 0.11.2
126
126
  type: :runtime
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ~>
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
132
  version: 0.11.2
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: sqlite3
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - '>='
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '>='
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  description: Godmin is an admin engine for Rails 4+
@@ -151,10 +151,10 @@ executables: []
151
151
  extensions: []
152
152
  extra_rdoc_files: []
153
153
  files:
154
- - .gitignore
155
- - .hound.yml
156
- - .rubocop.yml
157
- - .travis.yml
154
+ - ".gitignore"
155
+ - ".hound.yml"
156
+ - ".rubocop.yml"
157
+ - ".travis.yml"
158
158
  - CHANGELOG.md
159
159
  - Gemfile
160
160
  - MIT-LICENSE
@@ -284,17 +284,17 @@ require_paths:
284
284
  - lib
285
285
  required_ruby_version: !ruby/object:Gem::Requirement
286
286
  requirements:
287
- - - '>='
287
+ - - ">="
288
288
  - !ruby/object:Gem::Version
289
289
  version: '0'
290
290
  required_rubygems_version: !ruby/object:Gem::Requirement
291
291
  requirements:
292
- - - '>='
292
+ - - ">="
293
293
  - !ruby/object:Gem::Version
294
294
  version: '0'
295
295
  requirements: []
296
296
  rubyforge_project:
297
- rubygems_version: 2.4.1
297
+ rubygems_version: 2.2.2
298
298
  signing_key:
299
299
  specification_version: 4
300
300
  summary: Godmin is an admin engine for Rails 4+
@@ -344,3 +344,4 @@ test_files:
344
344
  - test/lib/godmin/policy_finder_test.rb
345
345
  - test/lib/godmin/resolver_test.rb
346
346
  - test/test_helper.rb
347
+ has_rdoc: