rosie-aws 0.1.0 → 0.1.1

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: aa752df0c0386abdb3628da8d9e2dc2cd51939a3
4
- data.tar.gz: 719d1805b688d408c2f3976ed1820a224fe88de0
3
+ metadata.gz: 79fc8a693c4fb8e8c87e20538375aef3e80b4f56
4
+ data.tar.gz: 59332b37d77506057141ea1d03123d51dd1d6e75
5
5
  SHA512:
6
- metadata.gz: 30f7951f777acfed7e37cc05bc0765b9ab2c4e99c3622f76e55b3ffc09bc8c6a960039face9ec8d33561af84e94f5e1db09d957eb4127ce8cc1eef6ac1f9c092
7
- data.tar.gz: 0b7f0aba26781b0527d15421bbd12bf8f357da0f7cee4d78437f9fedf6a33992ae11d649993f5635f0264ef35cd15d323ee1e312fe6725849e89bd4c5decba04
6
+ metadata.gz: aa1e66c7bbb59b611ca5786b40c16b805f9fbf58f35568e493405a1a493365af38b5cdb9ab72c16c585e2550c2013834d3b791667718c1c63cfe0c1dc2b435af
7
+ data.tar.gz: d435bca08ca7ad96f0f8100a26d689d041d1240846a7fe8c60e338b4f1ac4525b112c721ff4e1bd8f68007b85cfd7854364ea5d2f0965fc0b068cbc7c29bed2d
data/README.md CHANGED
@@ -6,12 +6,14 @@ Your easy to use tool to help you clean up your AWS resources
6
6
 
7
7
  ## Installation
8
8
 
9
- $ gem install rosie-aws
9
+ gem install rosie-aws
10
10
 
11
11
  ## Setup
12
- The ```aws-sdk``` requires you to setup the region. To do this, run something like
12
+ The ```aws-sdk``` requires you to have set up your credentials and region using the AWS cli (https://aws.amazon.com/cli/) and running
13
13
 
14
- ```rosie set_region us-east-1```
14
+ aws configure
15
+
16
+ It wil use the credentials set in your ```~/.aws/config``` and ```~/.aws/credentials```.
15
17
 
16
18
  ## Usage
17
19
 
@@ -23,15 +25,11 @@ Commands:
23
25
  rosie clean_beanstalk_application_versions APPLICATION_NAME # Deletes all undeployed elastic beanstalk application versions
24
26
  rosie clean_ecr_images REPO_NAME # Deletes all untagged docker images in your ECR
25
27
  rosie help [COMMAND] # Describe available commands or one specific command
26
- rosie init # Sets up aws settings
27
- rosie set_region REGION # Sets the region to be used in all AWS commands
28
28
  ```
29
29
  ## Development
30
30
 
31
31
  To install this gem onto your local machine, run `rake install`.
32
32
 
33
- To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
34
-
35
33
  ## Contributing
36
34
 
37
35
  Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rosie-aws. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
data/lib/rosie-aws/cli.rb CHANGED
@@ -19,7 +19,7 @@ module RosieAWS
19
19
 
20
20
  private
21
21
  def init_region
22
- AWS.config(AWSConfig.default.config_hash)
22
+ Aws.config.update(AWSConfig.default.config_hash)
23
23
  end
24
24
  end
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module RosieAWS
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/rosie-aws.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require "rosie-aws/version"
2
2
  require "rosie-aws/cli"
3
3
  require "aws-sdk"
4
+ require "aws_config"
4
5
 
5
6
  module RosieAWS
6
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rosie-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nephtali Rodriguez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-09 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler