sdbtools 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +6 -1
- data/VERSION +1 -1
- data/bin/sdbtool +3 -3
- data/lib/sdbtools.rb +1 -1
- metadata +51 -1
data/Rakefile
CHANGED
@@ -13,7 +13,12 @@ END
|
|
13
13
|
gem.email = "devs@devver.net"
|
14
14
|
gem.homepage = "http://github.com/devver/sdbtools"
|
15
15
|
gem.authors = ["Avdi Grimm"]
|
16
|
-
gem.add_dependency "right_aws",
|
16
|
+
gem.add_dependency "right_aws", "~> 1.10"
|
17
|
+
gem.add_dependency 'main', '~> 4.2'
|
18
|
+
gem.add_dependency 'fattr', '~> 2.1'
|
19
|
+
gem.add_dependency 'highline', '~> 1.5'
|
20
|
+
gem.add_dependency 'progressbar', '~> 0.0.3'
|
21
|
+
gem.add_dependency 'libxml-ruby', '~> 1.1'
|
17
22
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
18
23
|
end
|
19
24
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/bin/sdbtool
CHANGED
@@ -131,7 +131,7 @@ Main do
|
|
131
131
|
|
132
132
|
|
133
133
|
fattr(:db) {
|
134
|
-
|
134
|
+
SDBTools::Database.new(
|
135
135
|
access_key,
|
136
136
|
secret_key,
|
137
137
|
:server => params['server'].value,
|
@@ -250,7 +250,7 @@ Main do
|
|
250
250
|
else
|
251
251
|
title + '.simpledb_op_status'
|
252
252
|
end
|
253
|
-
task =
|
253
|
+
task = SDBTools::Task.new(status_file, logger)
|
254
254
|
if params['failed'].given?
|
255
255
|
task.failed_items.each do |item_name, info|
|
256
256
|
puts item_name + ": "
|
@@ -273,7 +273,7 @@ Main do
|
|
273
273
|
end
|
274
274
|
|
275
275
|
def run
|
276
|
-
dump_file =
|
276
|
+
dump_file = SDBTools::DumpFile.new(file)
|
277
277
|
puts "File #{file} contains #{dump_file.size} records"
|
278
278
|
end
|
279
279
|
end
|
data/lib/sdbtools.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sdbtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Avdi Grimm
|
@@ -22,6 +22,56 @@ dependencies:
|
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: "1.10"
|
24
24
|
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: main
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "4.2"
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: fattr
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: "2.1"
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: highline
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "1.5"
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: progressbar
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.0.3
|
64
|
+
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: libxml-ruby
|
67
|
+
type: :runtime
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ~>
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: "1.1"
|
74
|
+
version:
|
25
75
|
- !ruby/object:Gem::Dependency
|
26
76
|
name: rspec
|
27
77
|
type: :development
|