recurring_select 1.3.1 → 2.0.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84784bc9af2cf66a090ed2e53cc2765d86464f1d
|
4
|
+
data.tar.gz: 1b17b0e4791b8191e7e317a6e5db1b3df2125ca8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a94d46fd1dbe66c5bed8bfdd00f95e32fae19315900af068459ff64eeae7559416dd287541e0d365cd85dc837cae2eace2755dae2abc429e1b3c23460cf574d
|
7
|
+
data.tar.gz: 49591456cfa0166f70edd93901a755ca546be8a00c3c92be23db230670f16f19e104794ba52ad2b5f29fc5754229f2af5fd5426b9be77297eb733871fb95b025
|
File without changes
|
File without changes
|
data/lib/recurring_select.rb
CHANGED
@@ -7,14 +7,15 @@ module RecurringSelect
|
|
7
7
|
if params.is_a? IceCube::Rule
|
8
8
|
params
|
9
9
|
else
|
10
|
-
if params.is_a?(String)
|
11
|
-
|
10
|
+
params = JSON.parse(params, quirks_mode: true) if params.is_a?(String)
|
11
|
+
if params.nil?
|
12
|
+
nil
|
13
|
+
else
|
14
|
+
params = params.symbolize_keys
|
15
|
+
rules_hash = filter_params(params)
|
16
|
+
IceCube::Rule.from_hash(rules_hash)
|
12
17
|
end
|
13
18
|
|
14
|
-
params = params.symbolize_keys
|
15
|
-
rules_hash = filter_params(params)
|
16
|
-
|
17
|
-
IceCube::Rule.from_hash(rules_hash)
|
18
19
|
end
|
19
20
|
end
|
20
21
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurring_select
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jobber
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-09-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -60,14 +60,14 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '4.0'
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
70
|
+
version: '4.0'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: coffee-rails
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,8 +155,8 @@ files:
|
|
155
155
|
- app/assets/javascripts/recurring_select.js.coffee
|
156
156
|
- app/assets/javascripts/recurring_select/fr.js.coffee
|
157
157
|
- app/assets/javascripts/recurring_select_dialog.js.coffee.erb
|
158
|
-
- app/assets/stylesheets/jquery-mobile-rs.
|
159
|
-
- app/assets/stylesheets/recurring_select.
|
158
|
+
- app/assets/stylesheets/jquery-mobile-rs.scss
|
159
|
+
- app/assets/stylesheets/recurring_select.scss
|
160
160
|
- app/assets/stylesheets/utilities.scss
|
161
161
|
- app/helpers/recurring_select_helper.rb
|
162
162
|
- app/middleware/recurring_select_middleware.rb
|
@@ -187,9 +187,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
version: '0'
|
188
188
|
requirements: []
|
189
189
|
rubyforge_project:
|
190
|
-
rubygems_version: 2.
|
190
|
+
rubygems_version: 2.2.2
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: A select helper which gives you magical powers to generate ice_cube rules.
|
194
194
|
test_files: []
|
195
|
-
has_rdoc:
|