recurring_select 1.2.0 → 1.2.1.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -17,7 +17,7 @@ Usage
17
17
  Basic selector:
18
18
 
19
19
  Load the gem:
20
- `gem 'recurring_select`
20
+ `gem 'recurring_select'`
21
21
 
22
22
  Require assets
23
23
  Desktop view
@@ -86,7 +86,6 @@ $.fn.recurring_select.texts = {
86
86
  weeks_on: "week(s) on"
87
87
  months: "month(s)"
88
88
  years: "year(s)"
89
- first_day_of_week: 1
90
89
  day_of_month: "Day of month"
91
90
  day_of_week: "Day of week"
92
91
  cancel: "Cancel"
@@ -95,4 +94,4 @@ $.fn.recurring_select.texts = {
95
94
  first_day_of_week: 0
96
95
  days_first_letter: ["S", "M", "T", "W", "T", "F", "S" ]
97
96
  order: ["1st", "2nd", "3rd", "4th"]
98
- }
97
+ }
@@ -5,10 +5,10 @@ require_relative "utilities/tag_ext"
5
5
  module RecurringSelectHelper
6
6
  module FormHelper
7
7
  def select_recurring(object, method, default_schedules = nil, options = {}, html_options = {})
8
- if defined?(RecurringSelectHelper::RecurringSelectTag)
8
+ if Rails::VERSION::STRING.to_f >= 4.0
9
9
  # === Rails 4
10
10
  RecurringSelectTag.new(object, method, self, default_schedules, options, html_options).render
11
- elsif defined?(RecurringSelectHelper::InstanceTag)
11
+ else
12
12
  # === Rails 3
13
13
  InstanceTag.new(object, method, self, options.delete(:object)).to_recurring_select_tag(default_schedules, options, html_options)
14
14
  end
@@ -9,7 +9,7 @@ module RecurringSelectHelper
9
9
  end
10
10
  end
11
11
 
12
- if defined?(ActionView::Helpers::Tags::Base)
12
+ if Rails::VERSION::STRING.to_f >= 4.0
13
13
  # === Rails 4
14
14
  class RecurringSelectTag < ActionView::Helpers::Tags::Base
15
15
  include RecurringSelectHelper::FormOptionsHelper
@@ -32,7 +32,7 @@ module RecurringSelectHelper
32
32
  end
33
33
  end
34
34
 
35
- elsif defined?(ActionView::Helpers::InstanceTag)
35
+ else
36
36
  # === Rails 3
37
37
  class InstanceTag < ActionView::Helpers::InstanceTag
38
38
  include RecurringSelectHelper::FormOptionsHelper
@@ -1,3 +1,3 @@
1
1
  module RecurringSelect
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1.rc1"
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recurring_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
5
- prerelease:
4
+ version: 1.2.1.rc1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jobber
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-07-03 00:00:00.000000000 Z
14
+ date: 2013-08-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ! '>='
22
22
  - !ruby/object:Gem::Version
23
- version: '3.1'
23
+ version: '3.2'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  requirements:
29
29
  - - ! '>='
30
30
  - !ruby/object:Gem::Version
31
- version: '3.1'
31
+ version: '3.2'
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: jquery-rails
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ! '>='
38
38
  - !ruby/object:Gem::Version
39
- version: '0'
39
+ version: '3.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  requirements:
45
45
  - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3.0'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: ice_cube
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -52,7 +52,7 @@ dependencies:
52
52
  requirements:
53
53
  - - ! '>='
54
54
  - !ruby/object:Gem::Version
55
- version: '0.8'
55
+ version: '0.11'
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ! '>='
62
62
  - !ruby/object:Gem::Version
63
- version: '0.8'
63
+ version: '0.11'
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: sass-rails
66
66
  requirement: !ruby/object:Gem::Requirement
@@ -100,7 +100,7 @@ dependencies:
100
100
  requirements:
101
101
  - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 0.5.2
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
@@ -108,23 +108,71 @@ dependencies:
108
108
  requirements:
109
109
  - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: 0.5.2
112
+ - !ruby/object:Gem::Dependency
113
+ name: bundler
114
+ requirement: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
119
+ version: 1.3.5
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ! '>='
126
+ - !ruby/object:Gem::Version
127
+ version: 1.3.5
128
+ - !ruby/object:Gem::Dependency
129
+ name: rspec-rails
130
+ requirement: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ! '>='
134
+ - !ruby/object:Gem::Version
135
+ version: '2.14'
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '2.14'
112
144
  - !ruby/object:Gem::Dependency
113
145
  name: rspec
114
146
  requirement: !ruby/object:Gem::Requirement
115
147
  none: false
116
148
  requirements:
117
- - - '='
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '2.14'
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '2.14'
160
+ - !ruby/object:Gem::Dependency
161
+ name: rake
162
+ requirement: !ruby/object:Gem::Requirement
163
+ none: false
164
+ requirements:
165
+ - - ! '>='
118
166
  - !ruby/object:Gem::Version
119
- version: 2.13.0
167
+ version: 0.9.6
120
168
  type: :development
121
169
  prerelease: false
122
170
  version_requirements: !ruby/object:Gem::Requirement
123
171
  none: false
124
172
  requirements:
125
- - - '='
173
+ - - ! '>='
126
174
  - !ruby/object:Gem::Version
127
- version: 2.13.0
175
+ version: 0.9.6
128
176
  description: This gem provides a useful interface for creating recurring rules for
129
177
  the ice_cube gem.
130
178
  email:
@@ -170,9 +218,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
218
  required_rubygems_version: !ruby/object:Gem::Requirement
171
219
  none: false
172
220
  requirements:
173
- - - ! '>='
221
+ - - ! '>'
174
222
  - !ruby/object:Gem::Version
175
- version: '0'
223
+ version: 1.3.1
176
224
  requirements: []
177
225
  rubyforge_project:
178
226
  rubygems_version: 1.8.25