s3-wrapper 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ea2f51f491d9026afee758db3e811e7a3e47540
4
- data.tar.gz: 07507769240ee196fdb98f071b8d86897de6d2fa
3
+ metadata.gz: c6258f8acaa5bb21e2156c3d1d3cacf6d64cff22
4
+ data.tar.gz: e7b5a2010a84e668dc9e7424b15b3890507770d0
5
5
  SHA512:
6
- metadata.gz: 8742a60dcddf948726fd007fe27a134e8e082d7242b1dda4d8a445fd34c89dbb1bd0ac13c8a8b03a24a535b7529b3994dca5ec0ba5549da9dcb51829d9e1a67c
7
- data.tar.gz: 1b0b97123e6a8bee99187961c83cd4aba431e2097dc9f20c8e2f10d9a403516cf3ce7b134f7394e3642d76c136a9c718f2be102a43cf63441958c05a3790bfd1
6
+ metadata.gz: 656d944ece153cef673562037fa5a287b7affabcf6f96f4c4597f617c67b19836295143eeca4a6a80e78270a736b8578ee94a86009ff508b1d41721a1d277e88
7
+ data.tar.gz: 77f07bc139a83b62ab0c4a612f0e6920657b67b55711dc81d03cbd919205fef43b57f9abe154bb1f3617d06ec65c74b32444b30822021b6eb1a9d3389025ff4d
data/.gitignore CHANGED
@@ -14,3 +14,4 @@
14
14
  *.a
15
15
  mkmf.log
16
16
  *swp
17
+ .s3-wrapper.rc
@@ -46,7 +46,7 @@ class S3Wrapper
46
46
  def self.read_config(name)
47
47
  config = {}
48
48
  begin
49
- config = File.open(CONFIG_FILE) { |f| YAML.load(f) }
49
+ config = File.open(ENV['HOME'] + '/' + CONFIG_FILE) { |f| YAML.load(f) }
50
50
  rescue
51
51
 
52
52
  end
@@ -56,7 +56,7 @@ class S3Wrapper
56
56
  end
57
57
 
58
58
  def self.write_config(config)
59
- open(CONFIG_FILE, 'w+') { |f| YAML.dump(config, f) }
59
+ open(ENV['HOME'] + '/' + CONFIG_FILE, 'w+') { |f| YAML.dump(config, f) }
60
60
  end
61
61
  end
62
62
  end
@@ -1,3 +1,3 @@
1
1
  class S3Wrapper
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3-wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Blomberg