crono 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b85c183d68cf3cce233251f0bac774bb25d8888b
4
- data.tar.gz: 602b7873a09cdf579f06c8754a65bec346b1075c
3
+ metadata.gz: a9660f893cd0651c8ba42035cf1aa7ffcd3b5bf2
4
+ data.tar.gz: 8061bc8671ac7028a2fa5e809b7c8514ca42882a
5
5
  SHA512:
6
- metadata.gz: 781ce51c899302fa0f988c9bc36e858309270ae9340fa8a936d76c8f20608f94cb608901a709068bf315bccae758e337248d4da0da424fc3656378b5a150cb50
7
- data.tar.gz: 4b97ef0ad230aa338932d7cc7dc7a0688b1d02d093a8762afed2917418a7deacab9e536ff520241d865510a148e2a934ae3c7a2b2d9336483e4e31fadea00007
6
+ metadata.gz: 78ec65fafc3e3f4d1b58c939286991cdf52d687a8e7174f38f3d2ca7cae45b08601c275f0f4a4b2dd0e87fc4d351a2d0d1fc20fc12ad9aa880f500b351c847c6
7
+ data.tar.gz: 6ececad5653b20ee789086f2de26aff1b4679e28cd762c5ddab7d80fa72fde61c22f88953df46b49a67a0ebb56f30c4bada52014e0d05d251f66a3d48046c2ca
data/Changes.md CHANGED
@@ -1,3 +1,29 @@
1
+ 1.0.3
2
+ -----------
3
+ - "every 1 week" jobs now displaying on Rails 5 as "1 week" not as "7 days"
4
+ - Liberal gem dependencies to support both Rails 4 and Rails 5
5
+
6
+
7
+ 1.0.2
8
+ -----------
9
+ - Fix table_name_suffix/prefix issue: https://github.com/plashchynski/crono/issues/33
10
+
11
+
12
+ 1.0.1
13
+ -----------
14
+ - Fix job saving
15
+
16
+
17
+ 1.0.0
18
+ -----------
19
+ - Rails 5 support (thanks to @adamico)
20
+ - Possibility to schedule jobs with arguments (thanks to @preisanalytics)
21
+ - Added :within option to run only within given time interval (thanks to @lhz)
22
+ - daemon gem support (thanks to @preisanalytics) https://github.com/plashchynski/crono/pull/37
23
+ - Support multiple nodes (thanks to @Natural-Intelligence)
24
+ - Fixed DB connection pool issue (thanks to @ChandravatiSG)
25
+
26
+
1
27
  0.9.1
2
28
  -----------
3
29
  - Add ability to define minimal time between job executions to support multiple corno nodes, so two different nodes will not execute the same job
@@ -1,42 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- crono (1.0.2)
4
+ crono (1.0.3)
5
5
  activerecord (>= 4.0)
6
6
  activesupport (>= 4.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.2.6)
12
- activesupport (= 4.2.6)
13
- builder (~> 3.1)
14
- activerecord (4.2.6)
15
- activemodel (= 4.2.6)
16
- activesupport (= 4.2.6)
17
- arel (~> 6.0)
18
- activesupport (4.2.6)
11
+ activemodel (5.0.0)
12
+ activesupport (= 5.0.0)
13
+ activerecord (5.0.0)
14
+ activemodel (= 5.0.0)
15
+ activesupport (= 5.0.0)
16
+ arel (~> 7.0)
17
+ activesupport (5.0.0)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
19
  i18n (~> 0.7)
20
- json (~> 1.7, >= 1.7.7)
21
20
  minitest (~> 5.1)
22
- thread_safe (~> 0.3, >= 0.3.4)
23
21
  tzinfo (~> 1.1)
24
- arel (6.0.3)
25
- builder (3.2.2)
22
+ arel (7.0.0)
26
23
  byebug (9.0.5)
24
+ concurrent-ruby (1.0.2)
27
25
  daemons (1.2.3)
28
26
  diff-lcs (1.2.5)
29
27
  haml (4.0.7)
30
28
  tilt
31
29
  i18n (0.7.0)
32
- json (1.8.3)
33
30
  minitest (5.9.0)
34
31
  rack (1.6.4)
35
32
  rack-protection (1.5.3)
36
33
  rack
37
34
  rack-test (0.6.3)
38
35
  rack (>= 1.0)
39
- rake (10.5.0)
36
+ rake (11.2.2)
40
37
  rspec (3.4.0)
41
38
  rspec-core (~> 3.4.0)
42
39
  rspec-expectations (~> 3.4.0)
@@ -56,7 +53,7 @@ GEM
56
53
  tilt (>= 1.3, < 3)
57
54
  sqlite3 (1.3.11)
58
55
  thread_safe (0.3.5)
59
- tilt (2.0.2)
56
+ tilt (2.0.5)
60
57
  timecop (0.8.1)
61
58
  tzinfo (1.2.2)
62
59
  thread_safe (~> 0.1)
@@ -71,11 +68,11 @@ DEPENDENCIES
71
68
  daemons
72
69
  haml
73
70
  rack-test
74
- rake (~> 10.0)
75
- rspec (~> 3.0)
71
+ rake (>= 10.0)
72
+ rspec (>= 3.0)
76
73
  sinatra
77
74
  sqlite3
78
- timecop (~> 0.7)
75
+ timecop (>= 0.7)
79
76
 
80
77
  BUNDLED WITH
81
78
  1.11.2
data/README.md CHANGED
@@ -18,7 +18,7 @@ Currently, there is no such thing as Ruby Cron for Rails. Well, there's [Wheneve
18
18
 
19
19
  ## Requirements
20
20
 
21
- Tested with latest MRI Ruby (2.3, 2.2, 2.1 and 2.0) and Rails 3.2+
21
+ Tested with latest MRI Ruby (2.3, 2.2, 2.1 and 2.0) and Rails 3.2+ (including Rails 5).
22
22
  Other versions are untested but might work fine.
23
23
 
24
24
 
@@ -195,6 +195,11 @@ Use the `capistrano-crono` gem ([github](https://github.com/plashchynski/capistr
195
195
  Feel free to create [issues](https://github.com/plashchynski/crono/issues)
196
196
 
197
197
 
198
+ ## Known Issues
199
+
200
+ * Is not compatible with the `protected_attributes` gem. See: [https://github.com/plashchynski/crono/issues/43](https://github.com/plashchynski/crono/issues/43)
201
+
202
+
198
203
  ## License
199
204
 
200
205
  Please see [LICENSE](https://github.com/plashchynski/crono/blob/master/LICENSE) for licensing details.
@@ -21,10 +21,10 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_runtime_dependency 'activesupport', '>= 4.0'
23
23
  spec.add_runtime_dependency 'activerecord', '>= 4.0'
24
- spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'rake', '>= 10.0'
25
25
  spec.add_development_dependency 'bundler', '>= 1.0.0'
26
- spec.add_development_dependency 'rspec', '~> 3.0'
27
- spec.add_development_dependency 'timecop', '~> 0.7'
26
+ spec.add_development_dependency 'rspec', '>= 3.0'
27
+ spec.add_development_dependency 'timecop', '>= 0.7'
28
28
  spec.add_development_dependency 'sqlite3'
29
29
  spec.add_development_dependency 'byebug'
30
30
  spec.add_development_dependency 'sinatra'
@@ -1,3 +1,3 @@
1
1
  module Crono
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crono
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dzmitry Plashchynski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-25 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -42,14 +42,14 @@ dependencies:
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  - !ruby/object:Gem::Dependency
@@ -70,28 +70,28 @@ dependencies:
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: timecop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.7'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.7'
97
97
  - !ruby/object:Gem::Dependency