cloudwatch_scheduler 0.1.2 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,12 @@
1
-
1
+ # frozen_string_literal: true
2
2
 
3
3
  namespace :cloudwatch_scheduler do
4
-
5
4
  desc "Create AWS Cloudwatch Event Rules for all defined tasks"
6
- task :setup => :environment do
5
+ task setup: :environment do
7
6
  Aws.config[:logger] = Logger.new(STDOUT)
8
7
  require Rails.root.join("config/cloudwatch_schedule").to_s
9
8
 
10
9
  config = CloudwatchScheduler.global
11
10
  CloudwatchScheduler::Provisioner.new(config).provision
12
11
  end
13
-
14
12
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module CloudwatchScheduler
2
- VERSION = "0.1.2"
4
+ VERSION = "1.1.1"
3
5
  end
metadata CHANGED
@@ -1,69 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwatch_scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Sadauskas
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-04 00:00:00.000000000 Z
11
+ date: 2021-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: aws-sdk
14
+ name: aws-sdk-cloudwatchevents
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.2'
19
+ version: '1.13'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.2'
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: aws-sdk-sqs
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.10'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rails
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - ">="
32
46
  - !ruby/object:Gem::Version
33
- version: 4.2.0
47
+ version: 5.2.0
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - ">="
39
53
  - !ruby/object:Gem::Version
40
- version: 4.2.0
54
+ version: 5.2.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: shoryuken
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - "~>"
59
+ - - ">="
46
60
  - !ruby/object:Gem::Version
47
61
  version: '2.0'
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - "~>"
66
+ - - ">="
53
67
  - !ruby/object:Gem::Version
54
68
  version: '2.0'
55
69
  - !ruby/object:Gem::Dependency
56
- name: bundler
70
+ name: appraisal
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '1.12'
75
+ version: 2.2.0
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 2.2.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '1.12'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
67
95
  - !ruby/object:Gem::Version
68
96
  version: '1.12'
69
97
  - !ruby/object:Gem::Dependency
@@ -72,14 +100,14 @@ dependencies:
72
100
  requirements:
73
101
  - - "~>"
74
102
  - !ruby/object:Gem::Version
75
- version: '10.0'
103
+ version: '12.0'
76
104
  type: :development
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
- version: '10.0'
110
+ version: '12.0'
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: rspec
85
113
  requirement: !ruby/object:Gem::Requirement
@@ -101,6 +129,7 @@ executables: []
101
129
  extensions: []
102
130
  extra_rdoc_files: []
103
131
  files:
132
+ - ".github/workflows/ci.yml"
104
133
  - ".gitignore"
105
134
  - ".rspec"
106
135
  - ".rubocop.yml"
@@ -113,10 +142,9 @@ files:
113
142
  - bin/console
114
143
  - bin/setup
115
144
  - cloudwatch_scheduler.gemspec
116
- - gemfiles/rails_4.2.gemfile
117
- - gemfiles/rails_4.2.gemfile.lock
118
- - gemfiles/rails_5.0.gemfile
119
- - gemfiles/rails_5.0.gemfile.lock
145
+ - gemfiles/.bundle/config
146
+ - gemfiles/rails_5.2.gemfile
147
+ - gemfiles/rails_6.0.gemfile
120
148
  - lib/cloudwatch_scheduler.rb
121
149
  - lib/cloudwatch_scheduler/configuration.rb
122
150
  - lib/cloudwatch_scheduler/engine.rb
@@ -128,24 +156,23 @@ files:
128
156
  homepage: https://github.com/paul/cloudwatch_scheduler
129
157
  licenses: []
130
158
  metadata: {}
131
- post_install_message:
159
+ post_install_message:
132
160
  rdoc_options: []
133
161
  require_paths:
134
162
  - lib
135
163
  required_ruby_version: !ruby/object:Gem::Requirement
136
164
  requirements:
137
- - - ">="
165
+ - - "~>"
138
166
  - !ruby/object:Gem::Version
139
- version: '0'
167
+ version: '2.5'
140
168
  required_rubygems_version: !ruby/object:Gem::Requirement
141
169
  requirements:
142
170
  - - ">="
143
171
  - !ruby/object:Gem::Version
144
172
  version: '0'
145
173
  requirements: []
146
- rubyforge_project:
147
- rubygems_version: 2.5.1
148
- signing_key:
174
+ rubygems_version: 3.2.15
175
+ signing_key:
149
176
  specification_version: 4
150
177
  summary: Use AWS CloudWatch events to trigger recurring jobs.
151
178
  test_files: []
@@ -1,209 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- cloudwatch_scheduler (0.1.0)
5
- aws-sdk (~> 2.2)
6
- rails (>= 4.2.0)
7
- shoryuken (~> 2.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionmailer (4.2.7)
13
- actionpack (= 4.2.7)
14
- actionview (= 4.2.7)
15
- activejob (= 4.2.7)
16
- mail (~> 2.5, >= 2.5.4)
17
- rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.7)
19
- actionview (= 4.2.7)
20
- activesupport (= 4.2.7)
21
- rack (~> 1.6)
22
- rack-test (~> 0.6.2)
23
- rails-dom-testing (~> 1.0, >= 1.0.5)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- actionview (4.2.7)
26
- activesupport (= 4.2.7)
27
- builder (~> 3.1)
28
- erubis (~> 2.7.0)
29
- rails-dom-testing (~> 1.0, >= 1.0.5)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- activejob (4.2.7)
32
- activesupport (= 4.2.7)
33
- globalid (>= 0.3.0)
34
- activemodel (4.2.7)
35
- activesupport (= 4.2.7)
36
- builder (~> 3.1)
37
- activerecord (4.2.7)
38
- activemodel (= 4.2.7)
39
- activesupport (= 4.2.7)
40
- arel (~> 6.0)
41
- activesupport (4.2.7)
42
- i18n (~> 0.7)
43
- json (~> 1.7, >= 1.7.7)
44
- minitest (~> 5.1)
45
- thread_safe (~> 0.3, >= 0.3.4)
46
- tzinfo (~> 1.1)
47
- appraisal (2.1.0)
48
- bundler
49
- rake
50
- thor (>= 0.14.0)
51
- arel (6.0.3)
52
- awesome_print (1.7.0)
53
- aws-sdk (2.4.4)
54
- aws-sdk-resources (= 2.4.4)
55
- aws-sdk-core (2.4.4)
56
- jmespath (~> 1.0)
57
- aws-sdk-resources (2.4.4)
58
- aws-sdk-core (= 2.4.4)
59
- builder (3.2.2)
60
- celluloid (0.17.3)
61
- celluloid-essentials
62
- celluloid-extras
63
- celluloid-fsm
64
- celluloid-pool
65
- celluloid-supervision
66
- timers (>= 4.1.1)
67
- celluloid-essentials (0.20.5)
68
- timers (>= 4.1.1)
69
- celluloid-extras (0.20.5)
70
- timers (>= 4.1.1)
71
- celluloid-fsm (0.20.5)
72
- timers (>= 4.1.1)
73
- celluloid-pool (0.20.5)
74
- timers (>= 4.1.1)
75
- celluloid-supervision (0.20.6)
76
- timers (>= 4.1.1)
77
- coderay (1.1.1)
78
- concurrent-ruby (1.0.2)
79
- diff-lcs (1.2.5)
80
- erubis (2.7.0)
81
- ffi (1.9.14)
82
- formatador (0.2.5)
83
- globalid (0.3.7)
84
- activesupport (>= 4.1.0)
85
- guard (2.14.0)
86
- formatador (>= 0.2.4)
87
- listen (>= 2.7, < 4.0)
88
- lumberjack (~> 1.0)
89
- nenv (~> 0.1)
90
- notiffany (~> 0.0)
91
- pry (>= 0.9.12)
92
- shellany (~> 0.0)
93
- thor (>= 0.18.1)
94
- guard-compat (1.2.1)
95
- guard-rspec (4.7.3)
96
- guard (~> 2.1)
97
- guard-compat (~> 1.1)
98
- rspec (>= 2.99.0, < 4.0)
99
- hitimes (1.2.4)
100
- i18n (0.7.0)
101
- jmespath (1.3.1)
102
- json (1.8.3)
103
- listen (3.1.5)
104
- rb-fsevent (~> 0.9, >= 0.9.4)
105
- rb-inotify (~> 0.9, >= 0.9.7)
106
- ruby_dep (~> 1.2)
107
- loofah (2.0.3)
108
- nokogiri (>= 1.5.9)
109
- lumberjack (1.0.10)
110
- mail (2.6.4)
111
- mime-types (>= 1.16, < 4)
112
- method_source (0.8.2)
113
- mime-types (3.1)
114
- mime-types-data (~> 3.2015)
115
- mime-types-data (3.2016.0521)
116
- mini_portile2 (2.1.0)
117
- minitest (5.9.0)
118
- nenv (0.3.0)
119
- nokogiri (1.6.8)
120
- mini_portile2 (~> 2.1.0)
121
- pkg-config (~> 1.1.7)
122
- notiffany (0.1.1)
123
- nenv (~> 0.1)
124
- shellany (~> 0.0)
125
- pkg-config (1.1.7)
126
- pry (0.10.4)
127
- coderay (~> 1.1.0)
128
- method_source (~> 0.8.1)
129
- slop (~> 3.4)
130
- rack (1.6.4)
131
- rack-test (0.6.3)
132
- rack (>= 1.0)
133
- rails (4.2.7)
134
- actionmailer (= 4.2.7)
135
- actionpack (= 4.2.7)
136
- actionview (= 4.2.7)
137
- activejob (= 4.2.7)
138
- activemodel (= 4.2.7)
139
- activerecord (= 4.2.7)
140
- activesupport (= 4.2.7)
141
- bundler (>= 1.3.0, < 2.0)
142
- railties (= 4.2.7)
143
- sprockets-rails
144
- rails-deprecated_sanitizer (1.0.3)
145
- activesupport (>= 4.2.0.alpha)
146
- rails-dom-testing (1.0.7)
147
- activesupport (>= 4.2.0.beta, < 5.0)
148
- nokogiri (~> 1.6.0)
149
- rails-deprecated_sanitizer (>= 1.0.1)
150
- rails-html-sanitizer (1.0.3)
151
- loofah (~> 2.0)
152
- railties (4.2.7)
153
- actionpack (= 4.2.7)
154
- activesupport (= 4.2.7)
155
- rake (>= 0.8.7)
156
- thor (>= 0.18.1, < 2.0)
157
- rake (10.5.0)
158
- rb-fsevent (0.9.7)
159
- rb-inotify (0.9.7)
160
- ffi (>= 0.5.0)
161
- rspec (3.5.0)
162
- rspec-core (~> 3.5.0)
163
- rspec-expectations (~> 3.5.0)
164
- rspec-mocks (~> 3.5.0)
165
- rspec-core (3.5.2)
166
- rspec-support (~> 3.5.0)
167
- rspec-expectations (3.5.0)
168
- diff-lcs (>= 1.2.0, < 2.0)
169
- rspec-support (~> 3.5.0)
170
- rspec-mocks (3.5.0)
171
- diff-lcs (>= 1.2.0, < 2.0)
172
- rspec-support (~> 3.5.0)
173
- rspec-support (3.5.0)
174
- ruby_dep (1.3.1)
175
- shellany (0.0.1)
176
- shoryuken (2.0.11)
177
- aws-sdk-core (~> 2)
178
- celluloid (~> 0.16)
179
- slop (3.6.0)
180
- sprockets (3.7.0)
181
- concurrent-ruby (~> 1.0)
182
- rack (> 1, < 3)
183
- sprockets-rails (3.1.1)
184
- actionpack (>= 4.0)
185
- activesupport (>= 4.0)
186
- sprockets (>= 3.0.0)
187
- thor (0.19.1)
188
- thread_safe (0.3.5)
189
- timers (4.1.1)
190
- hitimes
191
- tzinfo (1.2.2)
192
- thread_safe (~> 0.1)
193
-
194
- PLATFORMS
195
- ruby
196
-
197
- DEPENDENCIES
198
- appraisal
199
- awesome_print
200
- bundler (~> 1.12)
201
- guard
202
- guard-rspec
203
- cloudwatch_scheduler!
204
- rails (~> 4.2.0)
205
- rake (~> 10.0)
206
- rspec (~> 3.0)
207
-
208
- BUNDLED WITH
209
- 1.12.5
@@ -1,213 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- cloudwatch_scheduler (0.1.0)
5
- aws-sdk (~> 2.2)
6
- rails (>= 4.2.0)
7
- shoryuken (~> 2.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actioncable (5.0.0)
13
- actionpack (= 5.0.0)
14
- nio4r (~> 1.2)
15
- websocket-driver (~> 0.6.1)
16
- actionmailer (5.0.0)
17
- actionpack (= 5.0.0)
18
- actionview (= 5.0.0)
19
- activejob (= 5.0.0)
20
- mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 2.0)
22
- actionpack (5.0.0)
23
- actionview (= 5.0.0)
24
- activesupport (= 5.0.0)
25
- rack (~> 2.0)
26
- rack-test (~> 0.6.3)
27
- rails-dom-testing (~> 2.0)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.0.0)
30
- activesupport (= 5.0.0)
31
- builder (~> 3.1)
32
- erubis (~> 2.7.0)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
35
- activejob (5.0.0)
36
- activesupport (= 5.0.0)
37
- globalid (>= 0.3.6)
38
- activemodel (5.0.0)
39
- activesupport (= 5.0.0)
40
- activerecord (5.0.0)
41
- activemodel (= 5.0.0)
42
- activesupport (= 5.0.0)
43
- arel (~> 7.0)
44
- activesupport (5.0.0)
45
- concurrent-ruby (~> 1.0, >= 1.0.2)
46
- i18n (~> 0.7)
47
- minitest (~> 5.1)
48
- tzinfo (~> 1.1)
49
- appraisal (2.1.0)
50
- bundler
51
- rake
52
- thor (>= 0.14.0)
53
- arel (7.1.1)
54
- awesome_print (1.7.0)
55
- aws-sdk (2.4.4)
56
- aws-sdk-resources (= 2.4.4)
57
- aws-sdk-core (2.4.4)
58
- jmespath (~> 1.0)
59
- aws-sdk-resources (2.4.4)
60
- aws-sdk-core (= 2.4.4)
61
- builder (3.2.2)
62
- celluloid (0.17.3)
63
- celluloid-essentials
64
- celluloid-extras
65
- celluloid-fsm
66
- celluloid-pool
67
- celluloid-supervision
68
- timers (>= 4.1.1)
69
- celluloid-essentials (0.20.5)
70
- timers (>= 4.1.1)
71
- celluloid-extras (0.20.5)
72
- timers (>= 4.1.1)
73
- celluloid-fsm (0.20.5)
74
- timers (>= 4.1.1)
75
- celluloid-pool (0.20.5)
76
- timers (>= 4.1.1)
77
- celluloid-supervision (0.20.6)
78
- timers (>= 4.1.1)
79
- coderay (1.1.1)
80
- concurrent-ruby (1.0.2)
81
- diff-lcs (1.2.5)
82
- erubis (2.7.0)
83
- ffi (1.9.14)
84
- formatador (0.2.5)
85
- globalid (0.3.7)
86
- activesupport (>= 4.1.0)
87
- guard (2.14.0)
88
- formatador (>= 0.2.4)
89
- listen (>= 2.7, < 4.0)
90
- lumberjack (~> 1.0)
91
- nenv (~> 0.1)
92
- notiffany (~> 0.0)
93
- pry (>= 0.9.12)
94
- shellany (~> 0.0)
95
- thor (>= 0.18.1)
96
- guard-compat (1.2.1)
97
- guard-rspec (4.7.3)
98
- guard (~> 2.1)
99
- guard-compat (~> 1.1)
100
- rspec (>= 2.99.0, < 4.0)
101
- hitimes (1.2.4)
102
- i18n (0.7.0)
103
- jmespath (1.3.1)
104
- listen (3.1.5)
105
- rb-fsevent (~> 0.9, >= 0.9.4)
106
- rb-inotify (~> 0.9, >= 0.9.7)
107
- ruby_dep (~> 1.2)
108
- loofah (2.0.3)
109
- nokogiri (>= 1.5.9)
110
- lumberjack (1.0.10)
111
- mail (2.6.4)
112
- mime-types (>= 1.16, < 4)
113
- method_source (0.8.2)
114
- mime-types (3.1)
115
- mime-types-data (~> 3.2015)
116
- mime-types-data (3.2016.0521)
117
- mini_portile2 (2.1.0)
118
- minitest (5.9.0)
119
- nenv (0.3.0)
120
- nio4r (1.2.1)
121
- nokogiri (1.6.8)
122
- mini_portile2 (~> 2.1.0)
123
- pkg-config (~> 1.1.7)
124
- notiffany (0.1.1)
125
- nenv (~> 0.1)
126
- shellany (~> 0.0)
127
- pkg-config (1.1.7)
128
- pry (0.10.4)
129
- coderay (~> 1.1.0)
130
- method_source (~> 0.8.1)
131
- slop (~> 3.4)
132
- rack (2.0.1)
133
- rack-test (0.6.3)
134
- rack (>= 1.0)
135
- rails (5.0.0)
136
- actioncable (= 5.0.0)
137
- actionmailer (= 5.0.0)
138
- actionpack (= 5.0.0)
139
- actionview (= 5.0.0)
140
- activejob (= 5.0.0)
141
- activemodel (= 5.0.0)
142
- activerecord (= 5.0.0)
143
- activesupport (= 5.0.0)
144
- bundler (>= 1.3.0, < 2.0)
145
- railties (= 5.0.0)
146
- sprockets-rails (>= 2.0.0)
147
- rails-dom-testing (2.0.1)
148
- activesupport (>= 4.2.0, < 6.0)
149
- nokogiri (~> 1.6.0)
150
- rails-html-sanitizer (1.0.3)
151
- loofah (~> 2.0)
152
- railties (5.0.0)
153
- actionpack (= 5.0.0)
154
- activesupport (= 5.0.0)
155
- method_source
156
- rake (>= 0.8.7)
157
- thor (>= 0.18.1, < 2.0)
158
- rake (10.5.0)
159
- rb-fsevent (0.9.7)
160
- rb-inotify (0.9.7)
161
- ffi (>= 0.5.0)
162
- rspec (3.5.0)
163
- rspec-core (~> 3.5.0)
164
- rspec-expectations (~> 3.5.0)
165
- rspec-mocks (~> 3.5.0)
166
- rspec-core (3.5.2)
167
- rspec-support (~> 3.5.0)
168
- rspec-expectations (3.5.0)
169
- diff-lcs (>= 1.2.0, < 2.0)
170
- rspec-support (~> 3.5.0)
171
- rspec-mocks (3.5.0)
172
- diff-lcs (>= 1.2.0, < 2.0)
173
- rspec-support (~> 3.5.0)
174
- rspec-support (3.5.0)
175
- ruby_dep (1.3.1)
176
- shellany (0.0.1)
177
- shoryuken (2.0.11)
178
- aws-sdk-core (~> 2)
179
- celluloid (~> 0.16)
180
- slop (3.6.0)
181
- sprockets (3.7.0)
182
- concurrent-ruby (~> 1.0)
183
- rack (> 1, < 3)
184
- sprockets-rails (3.1.1)
185
- actionpack (>= 4.0)
186
- activesupport (>= 4.0)
187
- sprockets (>= 3.0.0)
188
- thor (0.19.1)
189
- thread_safe (0.3.5)
190
- timers (4.1.1)
191
- hitimes
192
- tzinfo (1.2.2)
193
- thread_safe (~> 0.1)
194
- websocket-driver (0.6.4)
195
- websocket-extensions (>= 0.1.0)
196
- websocket-extensions (0.1.2)
197
-
198
- PLATFORMS
199
- ruby
200
-
201
- DEPENDENCIES
202
- appraisal
203
- awesome_print
204
- bundler (~> 1.12)
205
- guard
206
- guard-rspec
207
- cloudwatch_scheduler!
208
- rails (~> 5.0.0)
209
- rake (~> 10.0)
210
- rspec (~> 3.0)
211
-
212
- BUNDLED WITH
213
- 1.12.5