shelly 0.1.29 → 0.1.30

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.30 / 2012-10-05
2
+
3
+ * [refactoring] Improved output message in ```backup list```
4
+
1
5
  ## 0.1.28 / 2012-09-21
2
6
 
3
7
  * [feature] Singular form of all subcommands with possibility to invoke them with plural form
@@ -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 "Limiting the number of backups to #{Shelly::Backup::LIMIT}."
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"]]
@@ -1,3 +1,3 @@
1
1
  module Shelly
2
- VERSION = "0.1.29"
2
+ VERSION = "0.1.30"
3
3
  end
@@ -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("Limiting the number of backups to 1.")
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.29
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-09-21 00:00:00.000000000 Z
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