redis-copy 1.0.0.rc.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +1 -1
- data/lib/redis-copy/cli.rb +7 -0
- data/lib/redis-copy/version.rb +1 -1
- metadata +5 -5
data/README.md
CHANGED
|
@@ -20,7 +20,7 @@ The current options can be grabbed using the `--help` flag.
|
|
|
20
20
|
|
|
21
21
|
```
|
|
22
22
|
$ redis-copy --help
|
|
23
|
-
redis-copy v1.0.0
|
|
23
|
+
redis-copy v1.0.0 (with redis-rb 3.0.6)
|
|
24
24
|
Usage: redis-copy [options] <source> <destination>
|
|
25
25
|
<source> and <destination> must be redis connection uris
|
|
26
26
|
like [redis://][<username>:<password>@]<hostname>[:<port>][/<db>]
|
data/lib/redis-copy/cli.rb
CHANGED
|
@@ -129,5 +129,12 @@ module RedisCopy
|
|
|
129
129
|
$stderr.puts exception.backtrace if @config[:trace]
|
|
130
130
|
exit 1
|
|
131
131
|
end
|
|
132
|
+
|
|
133
|
+
def inspect
|
|
134
|
+
"<#{self.class}\n" +
|
|
135
|
+
" source: #{@source}\n" +
|
|
136
|
+
" destination: #{@destination}\n" +
|
|
137
|
+
" #{@config.map{|k,v| [k,v.inspect].join(': ')}.join("\n ")}\n/>"
|
|
138
|
+
end
|
|
132
139
|
end
|
|
133
140
|
end
|
data/lib/redis-copy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redis-copy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Ryan Biesemeyer
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-11-
|
|
13
|
+
date: 2013-11-20 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|
|
@@ -171,9 +171,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
171
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
none: false
|
|
173
173
|
requirements:
|
|
174
|
-
- - ! '
|
|
174
|
+
- - ! '>='
|
|
175
175
|
- !ruby/object:Gem::Version
|
|
176
|
-
version:
|
|
176
|
+
version: '0'
|
|
177
177
|
requirements: []
|
|
178
178
|
rubyforge_project:
|
|
179
179
|
rubygems_version: 1.8.24
|