vault-tools 0.5.10 → 0.5.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vault-tools (0.5.9)
4
+ vault-tools (0.5.11)
5
5
  aws-sdk
6
6
  fernet (= 2.0.rc2)
7
7
  heroku-api
@@ -41,6 +41,7 @@ module Vault
41
41
  def write(format, opts)
42
42
  obj = s3.buckets[bucket_for(format, opts)].objects[path_for(opts)]
43
43
  obj.write(opts[:contents])
44
+ obj
44
45
  end
45
46
 
46
47
  # Get an instance of the S3 client to work with
@@ -1,5 +1,5 @@
1
1
  module Vault
2
2
  module Tools
3
- VERSION = '0.5.10'
3
+ VERSION = '0.5.11'
4
4
  end
5
5
  end
@@ -42,9 +42,10 @@ class StatementStoreTest < Vault::TestCase
42
42
 
43
43
  # Write to S3 updating expectation
44
44
  expected = {"bar" => 3}
45
- inv.write_json(start_time: '2014-10-01', stop_time: '2014-11-01',
46
- user_hid: 'user9@heroku.com', version: 2,
47
- contents: expected)
45
+ obj = inv.write_json(start_time: '2014-10-01', stop_time: '2014-11-01',
46
+ user_hid: 'user9@heroku.com', version: 2,
47
+ contents: expected)
48
+ assert obj.is_a? StubbedS3::FakeFile
48
49
 
49
50
  # There after write
50
51
  doc = inv.get_json(start_time: '2014-10-01', stop_time: '2014-11-01',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vault-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.5.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: