cryo 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cryo.rb +3 -3
- data/lib/cryo/version.rb +1 -1
- metadata +3 -3
data/lib/cryo.rb
CHANGED
@@ -10,19 +10,19 @@ Dir.glob(File.join(File.dirname(__FILE__),'**/*.rb')).sort.each do |file|
|
|
10
10
|
end
|
11
11
|
|
12
12
|
|
13
|
-
class Cryo
|
13
|
+
class Cryo
|
14
14
|
|
15
15
|
include Utils
|
16
16
|
# HOST = `hostname`.chomp!
|
17
17
|
attr_accessor :options, :s3, :md5, :sns, :logger, :key
|
18
18
|
|
19
19
|
def initialize(options={})
|
20
|
-
get_utc_timestamp # save start time for backup
|
21
|
-
|
22
20
|
self.options = options
|
23
21
|
self.logger = Logger.new(STDERR)
|
24
22
|
logger.level = Logger::DEBUG
|
25
23
|
|
24
|
+
get_utc_timestamp # save start time for backup
|
25
|
+
|
26
26
|
@database = Database.create(options) \
|
27
27
|
unless options[:type] == 'list' or options[:type] == 'get'
|
28
28
|
@store = Store.create(options.merge(type: 's3',time: @time))
|
data/lib/cryo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cryo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 1.8.
|
145
|
+
rubygems_version: 1.8.23
|
146
146
|
signing_key:
|
147
147
|
specification_version: 3
|
148
148
|
summary: Tool for snapshotting data, backing it up, verifying it, cycling it, and
|