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 +8 -8
- data/.travis.yml +8 -0
- data/Gemfile +11 -3
- data/Gemfile.lock +2 -0
- data/README.rdoc +11 -1
- data/VERSION +1 -1
- data/rds-rotate-db-snapshots.gemspec +7 -9
- data/test/helper.rb +4 -4
- data/test/test_rds-rotate-db-snapshots.rb +2 -2
- metadata +5 -18
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzA0MjU0NzIzOTQ5OGUyOGM3Mjc2NWJmZjY0ZmViNWY3NDFjY2QwMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWFmYWZlZTdhZWQ0ODUxNjljNGJhMGI1NDM2MmZkZjI5NDJkYTAwNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTAwYmViYTRkOTVmMmY0MDJkNjc0YmFjZmRlNTBkOWNjYWQ0OWVkYmU3ZjY0
|
10
|
+
ODQ4MTY5MjU2ZmEzYTZjMWFkM2EwNWY2NWJhN2I0YmE2ODgwN2EzZGM3YjRm
|
11
|
+
MjNjNDM2MGJlMWNhY2E5NzViM2I2OTNlNjdhNDliM2ZiM2ViYmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDlkNWNlZGVjMTZkYjE3OGM2YmMyNjBiMTI5YTgxNzEzOTJjNmY3ZGIxODA1
|
14
|
+
M2M4ZTE0M2JiYzdjODE1MWUyZDJkNThkMWQ3ZDIzODA0ZDliOTdiMWViZWVj
|
15
|
+
M2I0YzMzM2ZkOWIyOGUwM2JiNGI3NzQ3ZWUyNmQxNjI5YWY5ZTY=
|
data/.travis.yml
ADDED
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
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
|
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
|
+
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.
|
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.
|
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-
|
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
|
17
|
+
class Minitest::Test
|
18
18
|
end
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
require_relative 'helper'
|
2
2
|
|
3
|
-
class TestRdsRotateDbSnapshots < Test
|
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.
|
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-
|
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:
|
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:
|
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
|