cloud_snapshooter 1.0.3 → 1.0.4

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: d5756f2e7ecaa47b816a8fb0e9d7823e9862165d
4
- data.tar.gz: 3cdbb98f17ee3b6eef74798727d341c7cb114fd0
3
+ metadata.gz: fb69d259c6e7b98650877f5868178c739ebd92c5
4
+ data.tar.gz: 472b11c24567520c29c21d82ac20535914e87138
5
5
  SHA512:
6
- metadata.gz: e3012e9580dc0b7ae8a1e471d936c5a366901fc3626bb72b8dad1bdcc8a8d1f4c17a6dd17b0891cca39eb9c2a3bed1aa449f53a4d825cd53a54eb09d2d7d39c9
7
- data.tar.gz: 6bb7494f4c7e6988898c85fb559c4e13b123102adfbf37613d5350f598cbfce03dbf16edcd4f5e9b9ae3aab18db6dfa3ebd5d995d5e097522043354febcd738e
6
+ metadata.gz: 61efd51e72c4175837fadc588dfa5150befadb40ef8bb2fa0020de0b645e13ccbc53be0d0ad22422b09135bbf34190c948ce4f511451af23247e48cb9666ff88
7
+ data.tar.gz: 935d88f4aa4c6ec2f487cba63b7ad739f620e1b44e2ec577954ace4b742066d318ccd79b2a7d9451c679199891db8d3cc4be1fa2b82a9245bf9ea02c7ee13c7a
data/README.md CHANGED
@@ -3,6 +3,9 @@
3
3
  Create cloud snapshot.
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/cloud_snapshooter.svg)](http://badge.fury.io/rb/cloud_snapshooter)
6
+ [![Code Climate](https://codeclimate.com/github/Lorentzca/cloud_snapshooter/badges/gpa.svg)](https://codeclimate.com/github/Lorentzca/cloud_snapshooter)
7
+ [![Dependency Status](https://gemnasium.com/Lorentzca/cloud_snapshooter.svg)](https://gemnasium.com/Lorentzca/cloud_snapshooter)
8
+ [![wercker status](https://app.wercker.com/status/e6cde04dd13908b723df8b5145627369/s "wercker status")](https://app.wercker.com/project/bykey/e6cde04dd13908b723df8b5145627369)
6
9
 
7
10
  ## Installation
8
11
 
@@ -27,8 +30,8 @@ Or install it yourself as:
27
30
  Export environment variable
28
31
 
29
32
  ```bash
30
- $ export AWS_ACCESS_KEY=XXXXXXXX
31
- $ export AWS_SECRET_KEY=YYYYYYYY
33
+ $ export AWS_ACCESS_KEY_ID=XXXXXXXX
34
+ $ export AWS_SECRET_ACCESS_KEY=YYYYYYYY
32
35
  $ export AWS_REGION=ZZZZZZZZ
33
36
  ```
34
37
 
@@ -1,10 +1,6 @@
1
1
  require "aws-sdk"
2
2
 
3
- AWS.config(
4
- :access_key_id => ENV['AWS_ACCESS_KEY'],
5
- :secret_access_key => ENV['AWS_SECRET_KEY'],
6
- :region => ENV['AWS_REGION']
7
- )
3
+ AWS.config(region: ENV['AWS_REGION'])
8
4
 
9
5
  module CloudSnapshooter
10
6
  class Shoot
@@ -1,3 +1,3 @@
1
1
  module CloudSnapshooter
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -2,6 +2,6 @@ require 'spec_helper'
2
2
 
3
3
  describe CloudSnapshooter do
4
4
  it 'has a version number' do
5
- expect(CloudSnapshooter::VERSION).to eq('1.0.3')
5
+ expect(CloudSnapshooter::VERSION).to eq('1.0.4')
6
6
  end
7
7
  end
@@ -0,0 +1,27 @@
1
+ box: wercker/rvm
2
+ # Build definition
3
+ build:
4
+ # The steps that will be executed on build
5
+ # See the Ruby section on the wercker devcenter:
6
+ # http://devcenter.wercker.com/articles/languages/ruby.html
7
+ steps:
8
+ # Uncomment this to force RVM to use a specific Ruby version
9
+ - rvm-use:
10
+ version: 2.1.5
11
+
12
+ # A step that executes `bundle install` command
13
+ - bundle-install
14
+
15
+ # A custom script step, name value is used in the UI
16
+ # and the code value contains the command that get executed
17
+ - script:
18
+ name: echo ruby information
19
+ code: |
20
+ echo "ruby version $(ruby --version) running"
21
+ echo "from location $(which ruby)"
22
+ echo -p "gem list: $(gem list)"
23
+
24
+ # Add more steps here:
25
+ - script:
26
+ name: rspec
27
+ code: bundle exec rspec
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_snapshooter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kota Kunishima
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-23 00:00:00.000000000 Z
11
+ date: 2014-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,7 +76,6 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - ".gitignore"
78
78
  - ".rspec"
79
- - ".travis.yml"
80
79
  - Gemfile
81
80
  - LICENSE.txt
82
81
  - README.md
@@ -89,6 +88,7 @@ files:
89
88
  - spec/cloud_snapshooter/shoot_spec.rb
90
89
  - spec/cloud_snapshooter_spec.rb
91
90
  - spec/spec_helper.rb
91
+ - wercker.yml
92
92
  homepage: https://github.com/Lorentzca/cloud_snapshooter
93
93
  licenses:
94
94
  - MIT
@@ -1,3 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1.5