simple_scheduler 0.3.2 → 0.3.3

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: a358cd77376b345a14994c068e57b00b92cbfa2f
4
- data.tar.gz: 83f72547e8e74815cd1101931460a7025c88e90d
3
+ metadata.gz: 9784e68f5cb2d387d2ee713095340d95a7cdd22b
4
+ data.tar.gz: 62b6cc33cc637950e3cca84dc7041af19ba4b41d
5
5
  SHA512:
6
- metadata.gz: 7185970ac5c562250d75098c43a04d5eadd326e79c22918098f21815f95b6cbcd3367245894107b098fd83a79a64b04fb9214d498f8c27071aa75935a5cb3e0c
7
- data.tar.gz: 341dffa05af9b000d1e9d47bf013b31d4db95c4293a5335e8adee54c557c02a4b37c41db78c7e9c6dbe5a790aeb388eef090cbbc44d64ab190e0e5d3d75bd9c4
6
+ metadata.gz: 432482eed168b690ce233f3caf550718110d801e3689c45442a701d71293efb269cee17255490ed86c907f272f4bce797aef6f3bf21e6435deabb832654df9c8
7
+ data.tar.gz: 5611d6ae781ccf68bf963a46024db2253a5376c6e22095eb4c20abdd00f6e6e4979f7b3469bf8ba023955ba8c27567421f971004990e64197fb7c4dfa5160a5c
@@ -113,7 +113,7 @@ module SimpleScheduler
113
113
  private
114
114
 
115
115
  def minutes_queued_ahead(last_run_time)
116
- (last_run_time - Time.now) / 1.minute
116
+ (last_run_time - Time.now) / 60
117
117
  end
118
118
 
119
119
  def parse_frequency(every_string)
@@ -1,3 +1,3 @@
1
1
  module SimpleScheduler
2
- VERSION = "0.3.2".freeze
2
+ VERSION = "0.3.3".freeze
3
3
  end
metadata CHANGED
@@ -1,145 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-30 00:00:00.000000000 Z
11
+ date: 2017-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.2'
20
- - - <
21
- - !ruby/object:Gem::Version
22
- version: 5.1.2
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '4.2'
30
- - - <
31
- - !ruby/object:Gem::Version
32
- version: 5.1.2
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: sidekiq
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
- - - '>='
31
+ - - ">="
38
32
  - !ruby/object:Gem::Version
39
33
  version: '4.2'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
- - - '>='
38
+ - - ">="
45
39
  - !ruby/object:Gem::Version
46
40
  version: '4.2'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: appraisal
49
43
  requirement: !ruby/object:Gem::Requirement
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
51
  requirements:
58
- - - '>='
52
+ - - ">="
59
53
  - !ruby/object:Gem::Version
60
54
  version: '0'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: codeclimate-test-reporter
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
- - - '>='
59
+ - - ">="
66
60
  - !ruby/object:Gem::Version
67
61
  version: '0'
68
62
  type: :development
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
- - - '>='
66
+ - - ">="
73
67
  - !ruby/object:Gem::Version
74
68
  version: '0'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: rainbow
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
- - - ~>
73
+ - - "~>"
80
74
  - !ruby/object:Gem::Version
81
75
  version: 2.1.0
82
76
  type: :development
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
- - - ~>
80
+ - - "~>"
87
81
  - !ruby/object:Gem::Version
88
82
  version: 2.1.0
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: rspec-rails
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
- - - '>='
87
+ - - ">="
94
88
  - !ruby/object:Gem::Version
95
89
  version: '0'
96
90
  type: :development
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
- - - '>='
94
+ - - ">="
101
95
  - !ruby/object:Gem::Version
102
96
  version: '0'
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: rubocop
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
- - - '>='
101
+ - - ">="
108
102
  - !ruby/object:Gem::Version
109
103
  version: '0'
110
104
  type: :development
111
105
  prerelease: false
112
106
  version_requirements: !ruby/object:Gem::Requirement
113
107
  requirements:
114
- - - '>='
108
+ - - ">="
115
109
  - !ruby/object:Gem::Version
116
110
  version: '0'
117
111
  - !ruby/object:Gem::Dependency
118
112
  name: simplecov
119
113
  requirement: !ruby/object:Gem::Requirement
120
114
  requirements:
121
- - - '>='
115
+ - - ">="
122
116
  - !ruby/object:Gem::Version
123
117
  version: '0'
124
118
  type: :development
125
119
  prerelease: false
126
120
  version_requirements: !ruby/object:Gem::Requirement
127
121
  requirements:
128
- - - '>='
122
+ - - ">="
129
123
  - !ruby/object:Gem::Version
130
124
  version: '0'
131
125
  - !ruby/object:Gem::Dependency
132
126
  name: simplecov-rcov
133
127
  requirement: !ruby/object:Gem::Requirement
134
128
  requirements:
135
- - - '>='
129
+ - - ">="
136
130
  - !ruby/object:Gem::Version
137
131
  version: '0'
138
132
  type: :development
139
133
  prerelease: false
140
134
  version_requirements: !ruby/object:Gem::Requirement
141
135
  requirements:
142
- - - '>='
136
+ - - ">="
143
137
  - !ruby/object:Gem::Version
144
138
  version: '0'
145
139
  description: |2
@@ -152,17 +146,17 @@ executables: []
152
146
  extensions: []
153
147
  extra_rdoc_files: []
154
148
  files:
149
+ - MIT-LICENSE
150
+ - README.md
151
+ - Rakefile
152
+ - lib/simple_scheduler.rb
155
153
  - lib/simple_scheduler/at.rb
156
154
  - lib/simple_scheduler/future_job.rb
157
155
  - lib/simple_scheduler/railtie.rb
158
156
  - lib/simple_scheduler/scheduler_job.rb
159
157
  - lib/simple_scheduler/task.rb
160
158
  - lib/simple_scheduler/version.rb
161
- - lib/simple_scheduler.rb
162
159
  - lib/tasks/simple_scheduler_tasks.rake
163
- - MIT-LICENSE
164
- - Rakefile
165
- - README.md
166
160
  homepage: https://github.com/simplymadeapps/simple_scheduler
167
161
  licenses:
168
162
  - MIT
@@ -173,17 +167,17 @@ require_paths:
173
167
  - lib
174
168
  required_ruby_version: !ruby/object:Gem::Requirement
175
169
  requirements:
176
- - - '>='
170
+ - - ">="
177
171
  - !ruby/object:Gem::Version
178
172
  version: '0'
179
173
  required_rubygems_version: !ruby/object:Gem::Requirement
180
174
  requirements:
181
- - - '>='
175
+ - - ">="
182
176
  - !ruby/object:Gem::Version
183
177
  version: '0'
184
178
  requirements: []
185
179
  rubyforge_project:
186
- rubygems_version: 2.0.14.1
180
+ rubygems_version: 2.5.2
187
181
  signing_key:
188
182
  specification_version: 4
189
183
  summary: An enhancement for Heroku Scheduler + Sidekiq for scheduling jobs at specific