ors 0.1.2 → 0.1.3

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/lib/ors/command.rb CHANGED
@@ -14,7 +14,7 @@ module ORS
14
14
  klass = command.to_s.capitalize
15
15
 
16
16
  if command =~ /-*version/i
17
- info "ORS v#{ORS::VERSION}"
17
+ puts "ORS v#{ORS::VERSION}"
18
18
  else
19
19
  if available_commands.include? klass
20
20
  ORS::Config.parse_options options
data/lib/ors/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ORS
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -22,7 +22,7 @@ describe ORS::Command do
22
22
  end
23
23
 
24
24
  it "should show the version when given version as a command" do
25
- mock(ORS::Command).info("ORS v#{ORS::VERSION}")
25
+ mock(ORS::Command).puts("ORS v#{ORS::VERSION}")
26
26
  subject.run ["version"]
27
27
  end
28
28
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ors
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Dew and John Long