has_barcode 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/has_barcode.rb CHANGED
@@ -26,7 +26,7 @@ module HasBarcode
26
26
  end
27
27
  end
28
28
 
29
- define_method "#{args.first}_data" do |opts|
29
+ define_method "#{args.first}_data" do |opts = nil|
30
30
  if opts
31
31
  send(args.first).send("to_#{options[:outputter]}", opts)
32
32
  else
@@ -1,3 +1,3 @@
1
1
  module HasBarcode
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_barcode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -161,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  segments:
163
163
  - 0
164
- hash: 970404528290159628
164
+ hash: -3678793755858108082
165
165
  required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  none: false
167
167
  requirements:
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  segments:
172
172
  - 0
173
- hash: 970404528290159628
173
+ hash: -3678793755858108082
174
174
  requirements: []
175
175
  rubyforge_project:
176
176
  rubygems_version: 1.8.23