rds-rotate-db-snapshots 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTNjZTBjNWQ3ZjA3ZTRiYmU2NzM2ZWNkYTBiN2QyZGZmYjFmNGYyMw==
4
+ NzA0MjU0NzIzOTQ5OGUyOGM3Mjc2NWJmZjY0ZmViNWY3NDFjY2QwMA==
5
5
  data.tar.gz: !binary |-
6
- OWQzZTBhMmRiYmE4NmNjNjkzMDJjNzkzZTRmYWFmNTc2NDY0NjQ3NQ==
6
+ ZWFmYWZlZTdhZWQ0ODUxNjljNGJhMGI1NDM2MmZkZjI5NDJkYTAwNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDQ5ZTA0ZTFkOWM5OWYyYTMwMDY5MDM2OGY3ODRkOWNmMDc4ODI2NzgzYWQy
10
- ZDI0MWY5ZGZiOTE1ZWUwZjdmZjE2MjA1MGM1NTg4ZmIyZDk5ZTlhZDA5NmU4
11
- N2RkYThmNzVmYWJhNzg3YWQ3MzkyYTVlOTAyZTIxMDllNjA5Yzg=
9
+ ZTAwYmViYTRkOTVmMmY0MDJkNjc0YmFjZmRlNTBkOWNjYWQ0OWVkYmU3ZjY0
10
+ ODQ4MTY5MjU2ZmEzYTZjMWFkM2EwNWY2NWJhN2I0YmE2ODgwN2EzZGM3YjRm
11
+ MjNjNDM2MGJlMWNhY2E5NzViM2I2OTNlNjdhNDliM2ZiM2ViYmU=
12
12
  data.tar.gz: !binary |-
13
- ODQ4YjgxNzNlZjEzYWRkMDM4ZjZmM2Y3MTQ3NjliMGFjMDRjZmJiMmJhN2Q0
14
- OTY3NWZjYTg4NTkzYjMwODhkYTVmZmMxNzVjNzJlNjA1MzBmOTJjYTE3YmY0
15
- Zjc2ZjIxOGQ1Zjg3OWFhY2IyMDY0MWNkY2UyM2IyNDMzYjc4ODk=
13
+ ZDlkNWNlZGVjMTZkYjE3OGM2YmMyNjBiMTI5YTgxNzEzOTJjNmY3ZGIxODA1
14
+ M2M4ZTE0M2JiYzdjODE1MWUyZDJkNThkMWQ3ZDIzODA0ZDliOTdiMWViZWVj
15
+ M2I0YzMzM2ZkOWIyOGUwM2JiNGI3NzQ3ZWUyNmQxNjI5YWY5ZTY=
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.1
5
+ #- ruby-head
6
+ - jruby
7
+ #- jruby-head
8
+ - rbx-2
data/Gemfile CHANGED
@@ -4,9 +4,17 @@ gem 'aws-sdk', '>= 1.51.0'
4
4
 
5
5
  # Add dependencies to develop your gem here.
6
6
  # Include everything needed to run rake, tests, features, etc.
7
- group :development do
8
- gem 'shoulda'
7
+ group :development, :test do
9
8
  gem 'bundler'
10
- gem 'jeweler'
11
9
  gem 'simplecov'
12
10
  end
11
+
12
+ group :development do
13
+ gem 'jeweler'
14
+ end
15
+
16
+ group :test do
17
+ gem 'rake'
18
+ gem 'shoulda'
19
+ gem 'minitest'
20
+ end
data/Gemfile.lock CHANGED
@@ -79,5 +79,7 @@ DEPENDENCIES
79
79
  aws-sdk (>= 1.51.0)
80
80
  bundler
81
81
  jeweler
82
+ minitest
83
+ rake
82
84
  shoulda
83
85
  simplecov
data/README.rdoc CHANGED
@@ -1,9 +1,19 @@
1
1
  = rds-rotate-db-snapshots
2
+ {<img src="https://badge.fury.io/rb/rds-rotate-db-snapshots.svg" alt="Gem Version" />}[http://badge.fury.io/rb/rds-rotate-db-snapshots] {<img src="https://travis-ci.org/serg-kovalev/rds-rotate-db-snapshots.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/serg-kovalev/rds-rotate-db-snapshots] {<img src="https://hakiri.io/github/serg-kovalev/rds-rotate-db-snapshots/master.svg" alt="security" />}[https://hakiri.io/github/serg-kovalev/rds-rotate-db-snapshots/master]
2
3
 
3
- Provides a simple way to rotate RDS DB snapshots.
4
+ Provides a simple way to rotate db snapshots in Amazon Relational Database Service (RDS).
5
+
6
+ == Tested on Rubies
7
+ - 1.9.3
8
+ - 2.1
9
+ - jruby
10
+ - rbx-2
4
11
 
5
12
  == Usage
6
13
 
14
+ [Gem installation]
15
+ gem install rds-rotate-db-snapshots
16
+
7
17
  [Usage]
8
18
  rds-rotate-db-snapshots [options] <db_indentifier>
9
19
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rds-rotate-db-snapshots 0.2.1 ruby lib
5
+ # stub: rds-rotate-db-snapshots 0.2.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rds-rotate-db-snapshots"
9
- s.version = "0.2.1"
9
+ s.version = "0.2.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Siarhei Kavaliou"]
14
- s.date = "2014-08-15"
14
+ s.date = "2014-10-02"
15
15
  s.description = "Provides a simple way to rotate RDS DB snapshots with configurable retention periods."
16
16
  s.email = "kovserg@gmail.com"
17
17
  s.executables = ["rds-rotate-db-snapshots"]
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  ]
22
22
  s.files = [
23
23
  ".document",
24
+ ".travis.yml",
24
25
  "Gemfile",
25
26
  "Gemfile.lock",
26
27
  "LICENSE.txt",
@@ -43,23 +44,20 @@ Gem::Specification.new do |s|
43
44
 
44
45
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
46
  s.add_runtime_dependency(%q<aws-sdk>, [">= 1.51.0"])
46
- s.add_development_dependency(%q<shoulda>, [">= 0"])
47
47
  s.add_development_dependency(%q<bundler>, [">= 0"])
48
- s.add_development_dependency(%q<jeweler>, [">= 0"])
49
48
  s.add_development_dependency(%q<simplecov>, [">= 0"])
49
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
50
50
  else
51
51
  s.add_dependency(%q<aws-sdk>, [">= 1.51.0"])
52
- s.add_dependency(%q<shoulda>, [">= 0"])
53
52
  s.add_dependency(%q<bundler>, [">= 0"])
54
- s.add_dependency(%q<jeweler>, [">= 0"])
55
53
  s.add_dependency(%q<simplecov>, [">= 0"])
54
+ s.add_dependency(%q<jeweler>, [">= 0"])
56
55
  end
57
56
  else
58
57
  s.add_dependency(%q<aws-sdk>, [">= 1.51.0"])
59
- s.add_dependency(%q<shoulda>, [">= 0"])
60
58
  s.add_dependency(%q<bundler>, [">= 0"])
61
- s.add_dependency(%q<jeweler>, [">= 0"])
62
59
  s.add_dependency(%q<simplecov>, [">= 0"])
60
+ s.add_dependency(%q<jeweler>, [">= 0"])
63
61
  end
64
62
  end
65
63
 
data/test/helper.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  require 'rubygems'
2
2
  require 'bundler'
3
+ require 'minitest'
4
+ require 'shoulda'
5
+
3
6
  begin
4
7
  Bundler.setup(:default, :development)
5
8
  rescue Bundler::BundlerError => e
@@ -7,12 +10,9 @@ rescue Bundler::BundlerError => e
7
10
  $stderr.puts "Run `bundle install` to install missing gems"
8
11
  exit e.status_code
9
12
  end
10
- require 'test/unit'
11
- require 'shoulda'
12
13
 
13
14
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
15
  $LOAD_PATH.unshift(File.dirname(__FILE__))
15
- require 'rds-rotate-db-snapshots'
16
16
 
17
- class Test::Unit::TestCase
17
+ class Minitest::Test
18
18
  end
@@ -1,6 +1,6 @@
1
- require 'helper'
1
+ require_relative 'helper'
2
2
 
3
- class TestRdsRotateDbSnapshots < Test::Unit::TestCase
3
+ class TestRdsRotateDbSnapshots < Minitest::Test
4
4
  should "probably rename this file and start testing for real" do
5
5
  flunk "hey buddy, you should probably rename this file and start testing for real"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rds-rotate-db-snapshots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siarhei Kavaliou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-15 00:00:00.000000000 Z
11
+ date: 2014-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.51.0
27
- - !ruby/object:Gem::Dependency
28
- name: shoulda
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ! '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: bundler
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -53,7 +39,7 @@ dependencies:
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
- name: jeweler
42
+ name: simplecov
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ! '>='
@@ -67,7 +53,7 @@ dependencies:
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
- name: simplecov
56
+ name: jeweler
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - ! '>='
@@ -91,6 +77,7 @@ extra_rdoc_files:
91
77
  - README.rdoc
92
78
  files:
93
79
  - .document
80
+ - .travis.yml
94
81
  - Gemfile
95
82
  - Gemfile.lock
96
83
  - LICENSE.txt