s3_config 0.1.1 → 0.1.2

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: 778a5e7ca679476ec5d9e4c753a314899e8684ac
4
- data.tar.gz: e968f60a39d9eb5f412ae2a2e4b5896e1911d2f6
3
+ metadata.gz: 6b2ae834c3846614bdc21b5583fb8805da16fb1d
4
+ data.tar.gz: 15f920f9301fb00f2cbfe5997daf849504b73db8
5
5
  SHA512:
6
- metadata.gz: 859819057c87ff3a9eed95caf7d1d1c1e4b975a78aa27fef3cbb0a843970bbc75364d554418985588113be2d31f2e683e09378a2be43b2d5a96daf3a577e6cf0
7
- data.tar.gz: cc510e7933bc6858bcb855f544864d3a9a685c28cadb4e52a1c7c006ab57617ae5229a178d446b190a5c70da8a906fd922907f5c4d32ec65833d6854b3cc299e
6
+ metadata.gz: 0bec3e8eddbef626fb738d63e6382fdc90f65fa047cd82b30da08e1f376e272f585ac525f2b1ae4f6e69d2356d12a083ff134e8387050b570d77acb1918390c6
7
+ data.tar.gz: c3c3644b50d1d001139410d693fa760854f3fbe32d5c1c5f96f43069ca2c3c222818d75c43c54e1ba68ee07515b4bfe8900a3f27f7e1eb90a88f92ac93ebb4aa
data/.rbenv-vars.example CHANGED
@@ -1,3 +1,3 @@
1
1
  AWS_ACCESS_KEY_ID=FILL_ME_IN
2
- AWS_ACCESS_KEY_SECRET=FILL_ME_IN
2
+ AWS_SECRET_ACCESS_KEY=FILL_ME_IN
3
3
  S3_CONFIG_BUCKET=FILL_ME_IN
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Setup
22
22
 
23
- `AWS_ACCESS_KEY_ID`, `AWS_ACCESS_KEY_SECRET`, and `S3_CONFIG_BUCKET` must be defined in your ENV.
23
+ `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and `S3_CONFIG_BUCKET` must be defined in your ENV.
24
24
 
25
25
  ## Usage
26
26
 
@@ -87,7 +87,7 @@ module S3Config
87
87
  private
88
88
 
89
89
  def client
90
- @s3 ||= Aws::S3::Client.new(access_key_id: ::ENV.fetch("AWS_ACCESS_KEY_ID"), secret_access_key: ::ENV.fetch("AWS_ACCESS_KEY_SECRET"), region: ::ENV.fetch("AWS_REGION", "us-east-1"))
90
+ @s3 ||= Aws::S3::Client.new(region: ::ENV.fetch("AWS_REGION", "us-east-1"))
91
91
  end
92
92
 
93
93
  def bucket
data/lib/s3_config/cli.rb CHANGED
@@ -9,7 +9,7 @@ module S3Config
9
9
  def validate_installed!
10
10
  unless S3Config.adapter.new.valid?
11
11
  error "Not installed!"
12
- error "`AWS_ACCESS_KEY_ID`, `AWS_ACCESS_KEY_SECRET`, and `S3_CONFIG_BUCKET` must be defined in your ENV."
12
+ error "`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and `S3_CONFIG_BUCKET` must be defined in your ENV."
13
13
  false
14
14
  else
15
15
  true
@@ -1,3 +1,3 @@
1
1
  module S3Config
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zane Shannon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-20 00:00:00.000000000 Z
11
+ date: 2016-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk