meem 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/meem/version.rb +1 -1
  2. data/lib/meem.rb +2 -1
  3. metadata +3 -3
data/lib/meem/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Meem
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/meem.rb CHANGED
@@ -34,8 +34,9 @@ module Meem
34
34
  #
35
35
  # Returns options.
36
36
  def self.parse arguments
37
- options = OpenStruct.new
37
+ arguments = ["--help"] if arguments.empty?
38
38
 
39
+ options = OpenStruct.new
39
40
  options.meme = arguments.first
40
41
 
41
42
  OptionParser.new do |opts|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -124,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  segments:
126
126
  - 0
127
- hash: -3622821011475249863
127
+ hash: 254806095887049104
128
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  segments:
135
135
  - 0
136
- hash: -3622821011475249863
136
+ hash: 254806095887049104
137
137
  requirements: []
138
138
  rubyforge_project:
139
139
  rubygems_version: 1.8.23