moses 0.1.7 → 0.1.8

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/moses.rb +2 -2
  3. data/moses.gemspec +2 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -3,7 +3,7 @@ module Moses
3
3
  VERSION_FILE = 'VERSION'
4
4
  HELP_FILE = 'HELP'
5
5
 
6
- attr_reader :args, :command, :options
6
+ attr_reader :args, :command, :options, :default_command
7
7
  attr :default_option_commands, :default_commands
8
8
 
9
9
  module ClassMethods
@@ -61,7 +61,7 @@ module Moses
61
61
  set_option_command
62
62
 
63
63
  self.send(@command) if valid_command?
64
- self.send(default_command || :help) if @command.nil?
64
+ self.send(@default_command || :help) if @command.nil?
65
65
  end
66
66
 
67
67
  private
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "moses"
8
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dayton Nolan"]
12
- s.date = "2013-05-20"
12
+ s.date = "2013-05-21"
13
13
  s.description = "Moses is a simple command parser for writing command line applications"
14
14
  s.email = "daytonn@gmail.com"
15
15
  s.executables = ["moses"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moses
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
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: 2013-05-20 00:00:00.000000000 Z
12
+ date: 2013-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  segments:
152
152
  - 0
153
- hash: -1695621889216618281
153
+ hash: -2029242143119377682
154
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  none: false
156
156
  requirements: