shelly 0.1.29 → 0.1.30
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/CHANGELOG.md +4 -0
- data/lib/shelly/cli/backup.rb +1 -1
- data/lib/shelly/version.rb +1 -1
- data/spec/shelly/cli/backup_spec.rb +1 -1
- metadata +2 -8
data/CHANGELOG.md
CHANGED
data/lib/shelly/cli/backup.rb
CHANGED
@@ -23,7 +23,7 @@ module Shelly
|
|
23
23
|
limit = 0
|
24
24
|
unless options[:all] || backups.count < (Shelly::Backup::LIMIT + 1)
|
25
25
|
limit = Shelly::Backup::LIMIT - 1
|
26
|
-
say "
|
26
|
+
say "Showing only #{Shelly::Backup::LIMIT} backups."
|
27
27
|
say "Use --all or -a option to list all backups."
|
28
28
|
end
|
29
29
|
to_display = [["Filename", "| Size", "| State"]]
|
data/lib/shelly/version.rb
CHANGED
@@ -57,7 +57,7 @@ describe Shelly::CLI::Backup do
|
|
57
57
|
|
58
58
|
it "should show --all option if not present" do
|
59
59
|
stub_const("Shelly::Backup::LIMIT", 1)
|
60
|
-
$stdout.should_receive(:puts).with("
|
60
|
+
$stdout.should_receive(:puts).with("Showing only 1 backups.")
|
61
61
|
$stdout.should_receive(:puts).with("Use --all or -a option to list all backups.")
|
62
62
|
@client.should_receive(:database_backups).with("foo-staging").and_return(
|
63
63
|
[{"filename" => "backup.postgre.tar.gz", "human_size" => "10kb",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shelly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.30
|
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: 2012-
|
12
|
+
date: 2012-10-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -343,18 +343,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
343
343
|
- - ! '>='
|
344
344
|
- !ruby/object:Gem::Version
|
345
345
|
version: '0'
|
346
|
-
segments:
|
347
|
-
- 0
|
348
|
-
hash: 1859140322518303885
|
349
346
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
350
347
|
none: false
|
351
348
|
requirements:
|
352
349
|
- - ! '>='
|
353
350
|
- !ruby/object:Gem::Version
|
354
351
|
version: '0'
|
355
|
-
segments:
|
356
|
-
- 0
|
357
|
-
hash: 1859140322518303885
|
358
352
|
requirements: []
|
359
353
|
rubyforge_project: shelly
|
360
354
|
rubygems_version: 1.8.24
|