cassback 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cassback +6 -7
- data/lib/cassback/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1b84e227b8ac885872dca30ef87343ef497d6b1
|
4
|
+
data.tar.gz: b2f0923cc561e07b14c3c316ae86aa091bdd829f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f899bacdc79ae008b9e471cb2d5835dbf31140a68adde2166efed9461f0cbf9ae006f84a43436d68dbaa2781e601e902f012d2e8d6956cd8048bd14bf1722ad0
|
7
|
+
data.tar.gz: 8719a219fb94a1ce7337b388c460add9b3e7ead073b3e15d1d8eec3780a65004ff403f994687c1e48a5c1cdd0c12c86eb351379999df63006aff224c20a23c94
|
data/bin/cassback
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
2
|
+
|
3
|
+
require 'syslog/logger'
|
3
4
|
require 'optparse'
|
4
5
|
require 'yaml'
|
5
6
|
|
@@ -15,13 +16,11 @@ class ::Hash
|
|
15
16
|
end
|
16
17
|
end
|
17
18
|
|
18
|
-
# Create a Ruby logger
|
19
|
-
|
20
|
-
logger = Logger.new('cassback.log', 'weekly', two_mb)
|
19
|
+
# Create a Ruby logger that logs both to syslog and console.
|
20
|
+
logger = Syslog::Logger.new 'cassback'
|
21
21
|
logger.formatter = proc do |severity, datetime, progname, msg|
|
22
|
-
|
23
|
-
|
24
|
-
entry
|
22
|
+
print "[#{datetime}] #{severity} #{progname} : #{msg}\n"
|
23
|
+
"#{msg}"
|
25
24
|
end
|
26
25
|
|
27
26
|
begin
|
data/lib/cassback/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cassback
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent Van Hollebeke
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-04-
|
12
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
179
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.
|
180
|
+
rubygems_version: 2.5.2
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Cassandra backup to HDFS.
|
@@ -185,3 +185,4 @@ test_files:
|
|
185
185
|
- test/cassandra_stub.rb
|
186
186
|
- test/hadoop_stub.rb
|
187
187
|
- test/test_backuptool.rb
|
188
|
+
has_rdoc:
|