shelltoad 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.textile CHANGED
@@ -1,3 +1,8 @@
1
+ h3. 0.2.5
2
+
3
+ * Bugfixes
4
+
5
+
1
6
  h3. 0.2.3
2
7
 
3
8
  * Add proper exit code on errors
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
@@ -2,7 +2,7 @@ class Shelltoad::Command
2
2
 
3
3
  def self.run(command, *args)
4
4
  case command.to_s
5
- when "errors", "ers", nil
5
+ when "errors", "ers", nil, ""
6
6
  Shelltoad::Error.all.each do |error|
7
7
  output error.to_s
8
8
  end
@@ -13,7 +13,7 @@ describe Shelltoad do
13
13
  [["error", TEST_ERROR], "errors", ["commit", TEST_ERROR], ["resolve", TEST_ERROR]].each do |command|
14
14
  describe "command:#{command.inspect}" do
15
15
  subject { Shelltoad.run(*Array(command)) }
16
- it { should_not be_nil }
16
+ it { should == 0 }
17
17
  end
18
18
  end
19
19
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelltoad
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bogdan Gusiev