rails-scheduler 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b0504556de96d86a33a6f9cff12695b636ddfcc9
4
+ data.tar.gz: 023aa24f8a6c6cd64e6caaf6a2ad2f5db4161ea7
5
+ SHA512:
6
+ metadata.gz: 774736280bd080513a928abbabf3713a734cf6126f5e485e2d66cc434e6280d21bbd5ddcc192e9f3c2a68ff74c9cdce0bb495558bcb39c5815e1d1cc28ab8a0b
7
+ data.tar.gz: 54408a94aa4070f96772cc1a554953e7d9f102917a2a03171c51546bcd4739c1954c7475d81c212d8fc703bfe6b44d6548f4390f8e5cf2eca4dc7a940792e4db
@@ -1,6 +1,5 @@
1
1
  rvm:
2
- - 1.8.7
3
- - 1.9.2
2
+ - 1.9.3
4
3
  env:
5
4
  - DB=mysql
6
5
  before_script:
@@ -9,13 +9,13 @@ module Scheduler
9
9
 
10
10
  validates_presence_of :interval,
11
11
  :if => lambda { |record|
12
- [ :weekly ].include? record.frequency_sym
12
+ [ :weekly, :monthly ].include? record.frequency_sym
13
13
  }
14
14
 
15
15
  validates_numericality_of :days,
16
16
  :greater_than => 0,
17
17
  :if => lambda { |record|
18
- [ :weekly ].include? record.frequency_sym
18
+ [ :weekly, :monthly ].include? record.frequency_sym
19
19
  }
20
20
 
21
21
  scope :between, lambda { |start_time, end_time|
@@ -1,3 +1,3 @@
1
1
  module Scheduler
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Antonio Tapiador del Dujo
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-09 00:00:00.000000000 Z
11
+ date: 2013-05-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.1.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.1.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: recurrence
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,36 +41,32 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: mysql2
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: factory_girl
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
- description: ! 'Scheduler support: daily, weekly and montly repetitions'
69
+ description: 'Scheduler support: daily, weekly and montly repetitions'
79
70
  email:
80
71
  - atapiador@dit.upm.es
81
72
  executables: []
@@ -144,32 +135,25 @@ files:
144
135
  - test/unit/event_test.rb
145
136
  homepage: https://github.com/atd/rails-scheduler
146
137
  licenses: []
138
+ metadata: {}
147
139
  post_install_message:
148
140
  rdoc_options: []
149
141
  require_paths:
150
142
  - lib
151
143
  required_ruby_version: !ruby/object:Gem::Requirement
152
- none: false
153
144
  requirements:
154
- - - ! '>='
145
+ - - '>='
155
146
  - !ruby/object:Gem::Version
156
147
  version: '0'
157
- segments:
158
- - 0
159
- hash: 842586223
160
148
  required_rubygems_version: !ruby/object:Gem::Requirement
161
- none: false
162
149
  requirements:
163
- - - ! '>='
150
+ - - '>='
164
151
  - !ruby/object:Gem::Version
165
152
  version: '0'
166
- segments:
167
- - 0
168
- hash: 842586223
169
153
  requirements: []
170
154
  rubyforge_project:
171
- rubygems_version: 1.8.24
155
+ rubygems_version: 2.0.0
172
156
  signing_key:
173
- specification_version: 3
157
+ specification_version: 4
174
158
  summary: Provide a Rails application with support for scheduled events
175
159
  test_files: []