cloudwatch_scheduler 0.1.0 → 0.1.1

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: 2a274f2f21104f2b1be5dc1ef1bfc663a97d4641
4
- data.tar.gz: 45e256394378397e208f67fe6bd3091a366cf838
3
+ metadata.gz: 489a16912e4011e40977230fa10995b58205dea4
4
+ data.tar.gz: 3fa5b91597ce8e09eee845e8dd01f98d58d536f8
5
5
  SHA512:
6
- metadata.gz: 160a54b0c376e707fe3458aaa0568a66c57cbb5e89d0621bfc31f3bd9f14380684fc6ee5d37cd4d572e2e2efa2961af47e59b83fc9d927fd1c4dc04fdca35fbf
7
- data.tar.gz: c0b463e6b2040da8fbcb004dbd6cc9cc8fee8612953925bc603fcf5ef81fd87286e9fde249c0f2f1f3cba43d09a4063053760133889927495b4a06f55c4bd55a
6
+ metadata.gz: bcb2b4012316280163716c6ddfe9cb06a6245d3f36212a4f0007f3a1d776fffa0040db4eb27e8afe514e19f20a3f8a468258aa87af12a040e7f02381c1e46f0f
7
+ data.tar.gz: f4cfbc6cb9e9eb869455dc2812dbe714448590ef4bab040875f3d9b8dfbb8882843437ee040aaa1e94de658b27c2e05ce18b63c9d6fd50fa87090992d5ac3b78
@@ -49,7 +49,7 @@ module CloudwatchScheduler
49
49
  rule: task.rule_name,
50
50
  targets: [
51
51
  {
52
- id: task.rule_name + "Target",
52
+ id: SecureRandom.uuid,
53
53
  arn: queue_arn,
54
54
  input: task.event_data.to_json
55
55
  }
@@ -5,7 +5,8 @@ namespace :cloudwatch_scheduler do
5
5
  desc "Create AWS Cloudwatch Event Rules for all defined tasks"
6
6
  task :setup => :environment do
7
7
  Aws.config[:logger] = Logger.new(STDOUT)
8
- require Rails.root.join("config/cloudwatch_scheduler")
8
+ require Rails.root.join("config/cloudwatch_schedule").to_s
9
+
9
10
  config = CloudwatchScheduler.global
10
11
  CloudwatchScheduler::Provisioner.new(config).provision
11
12
  end
@@ -1,3 +1,3 @@
1
1
  module CloudwatchScheduler
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwatch_scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Sadauskas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-02 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk