reyes 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/reyes +3 -2
  3. data/lib/reyes/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61f01a35645369440547b1f18ab9e54198517333
4
- data.tar.gz: 0d7c52cabb36d1ef701a25675ba90b59dbf8bdd5
3
+ metadata.gz: 87d2b4742ca4301e834e9a4d6c752f77e927641d
4
+ data.tar.gz: 5a1eb6724469ac979c13630fda028b0640b6d215
5
5
  SHA512:
6
- metadata.gz: 1313dc3e0fb2409af321068d736147a979e9e6cfe34e637c7b2b330cc67f3a5324fe5eacbc2d44a8c9565ffab96f4332e9b307dc579778c19ea64c190d568dee
7
- data.tar.gz: 8bc4378ef1719eeb5d48fc571255bb7364d5c15b2f89a588d2bae33bf411dcf50f41d9bfa02e749280f7d8174d1d1dfaa44877798466af68f73baa20b39b5ab8
6
+ metadata.gz: 90d88464ac17c3468d8eb575edde219b9f0e4b649ef74b3a7528bc30e68289c408a87bbb12b01e6e151dfde2aea7f1983f46aad19a2d1f94b9d8b020605ec8ae
7
+ data.tar.gz: 44dd2a640696262099fffb5f9a3d209d1693b939ac611ad8246a1410a6744bee725fe5e8c18aa40b69af39007d4b1db93d69dc101beef505f9a93721ff5a2eb1
data/bin/reyes CHANGED
@@ -57,14 +57,15 @@ def command_upload(options)
57
57
  aws = Reyes::AwsManager.new(options[:config])
58
58
  wrapper = Reyes::PgpWrapper.new(options[:config])
59
59
 
60
- data = aws.generate_fake_data_json
60
+ data_obj = aws.generate_fake_data
61
+ data = JSON.pretty_generate(data_obj)
61
62
 
62
63
  armoured_data = wrapper.clearsign(data)
63
64
 
64
65
  s3 = Reyes::S3Loader.new(aws, options[:config])
65
66
 
66
67
  if options[:archive]
67
- timestamp = data.fetch('metadata').fetch('generated_stamp')
68
+ timestamp = data_obj.fetch('metadata').fetch('generated_stamp')
68
69
  archive_name = "#{Socket.gethostname}/#{timestamp}"
69
70
  s3.archive_rules(armoured_data, archive_name)
70
71
  end
data/lib/reyes/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Reyes
2
2
  # The Reyes version number
3
- VERSION = '1.2.4' unless defined?(self::VERSION)
3
+ VERSION = '1.2.5' unless defined?(self::VERSION)
4
4
 
5
5
  # Number defining the JSON serialization format
6
6
  JSON_FORMAT_VERSION = 2 unless defined?(self::JSON_FORMAT_VERSION)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reyes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Brody