right_scraper 5.2.5 → 5.2.6

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: 1154c162499f75a8304bcbb3ce686e071750be25
4
- data.tar.gz: 817e562768facce3d8d56f82fd2cc152a99d3c33
3
+ metadata.gz: 5d0f4743b9708a7db530addd398b01bc074a9269
4
+ data.tar.gz: 368b95e3ce17f4685ced0b5b14c5be9f56412ba7
5
5
  SHA512:
6
- metadata.gz: 3c9b09ecb6077caddb0d14e6c7f707c51e6610cb594789f4fe42ef5837eb8281762ae17699fe35ca2c01a44c747d5e7cf1d2148c8e92418da714c60b7dd0d750
7
- data.tar.gz: e8bbe7fcd4f632cab82457ff09daf93c8ab8f65731e3be4ce1b741a07b25154a031f194f9021b46cac4d8f9404384c19dc5a36ed2746677b86066db9c9d545b8
6
+ metadata.gz: f28c16cf5fb7beb57b4be3bc5981726cc556a82892724203f6ca8da5bca9fb30b06239bdb1b9d1f633a99c829c131e30bdd121eea65a9073e60c74e0f848c660
7
+ data.tar.gz: e4d92e9cca35788d7af0c571f0275bce7979471ddcb2074c6e1abd19456282e46510a87623c02843e471b1d0eaaa96322b013e5704be929ea5c6db03b6c860ee
@@ -59,6 +59,7 @@ begin
59
59
  # order to run scanners subsequently.
60
60
  %w(first_credential second_credential).each { |k| repository.delete(k) }
61
61
  repository['tag'] = retrieved[:repository].revision # send back commit SHA, if any, for comparison
62
+ repository['repository_hash'] = retrieved[:repository].repository_hash
62
63
  retrieved[:repository] = repository
63
64
  retrieved[:warnings] = main.warnings unless main.warnings.empty?
64
65
  $stdout.puts(::JSON.generate(retrieved))
@@ -72,8 +72,8 @@ module RightScraper::Resources
72
72
  def to_hash
73
73
  {
74
74
  repository: repository,
75
- metadata: ::JSON.dump(metadata), # pass these as opaque JSON blobs to
76
- manifest: ::JSON.dump(manifest), # be unmarshaled only by from_hash
75
+ resource_hash: resource_hash, # location of cookbook manifest in S3
76
+ metadata: ::JSON.dump(metadata), # pass as opaque JSON blob
77
77
  pos: pos
78
78
  }
79
79
  end
@@ -23,7 +23,7 @@
23
23
 
24
24
  module RightScraper
25
25
  # for gemspec, etc.
26
- GEM_VERSION = '5.2.5'
26
+ GEM_VERSION = '5.2.6'
27
27
 
28
28
  # (Fixnum) protocol versioning scheme; prepended to hashes to
29
29
  # prevent collisions.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.5
4
+ version: 5.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raphael Simon