cloudwatch_scheduler 0.1.3 → 0.2.0

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: 6f788aa6461074ec7c55b83dc9f10c84408d1f3d
4
- data.tar.gz: baedcdae487ccd21cfd5ff189037fd206c8ff123
3
+ metadata.gz: c3183453dc1c48f38c6641ab643b1844af3a332a
4
+ data.tar.gz: 32eb14607883c5d211a4a2eb3378d2b4462c752f
5
5
  SHA512:
6
- metadata.gz: dfae1713f9cb7bf24bfdc6bb205b9af4e1231509519be9a6432988c2dff24dbeb3b457a17c97bb06e534b7ae03f53f9e36d78971d82f8bf99dbf09cddc8894d7
7
- data.tar.gz: 645ff03c2f48086d5b29799a277522dca105537d0c8309ff66e80178bbb2d5bd8eb49c1130abf08a1192cfb9e913ea2ae1d729f65ca6cc67acbda16404356193
6
+ metadata.gz: 978bae65952825ea50e4cea4dd022185d670113f18725bd0957417cbf3238c6008c3c4c0b371319868ff2000f771ea790244730b0c45e9530a269ce843deae0b
7
+ data.tar.gz: 3202b5c20bb86e1f323b5b74d7136d92586cb9b05081598e2d288d13bc7ab436671c27e4ce656c7d0f0a882597a98fe05598ca002f9dcbe98c42a3f99699904f
@@ -13,6 +13,9 @@ module CloudwatchScheduler
13
13
  CloudwatchScheduler::Job.queue_name,
14
14
  ActiveJob::QueueAdapters::ShoryukenAdapter::JobWrapper
15
15
  )
16
+
17
+ # Load the configuration
18
+ require Rails.root.join("config/cloudwatch_schedule").to_s
16
19
  end
17
20
 
18
21
  rake_tasks do
@@ -49,7 +49,7 @@ module CloudwatchScheduler
49
49
  rule: task.rule_name,
50
50
  targets: [
51
51
  {
52
- id: SecureRandom.uuid,
52
+ id: task.rule_name,
53
53
  arn: queue_arn,
54
54
  input: task.event_data.to_json
55
55
  }
@@ -1,3 +1,3 @@
1
1
  module CloudwatchScheduler
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwatch_scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Sadauskas