Browse files

Removing initialization warning

  • Loading branch information...
1 parent acddd10 commit 8bd1b9163836da1f83b80233958486db7a1157b1 @ylansegal committed Jun 7, 2012
Showing with 1 addition and 11 deletions.
  1. +1 −1 gtin.gemspec
  2. +0 −1 lib/gtin.rb
  3. +0 −9 lib/gtin/version.rb
View
2 gtin.gemspec
@@ -7,5 +7,5 @@ Gem::Specification.new do |s|
s.summary = %q{GTIN provides basic validation, checksum and conversion functionality for UPC, EAN and GTIN barcode values.}
s.homepage = %q{http://github.com/hmasing/gtin}
s.description = %q{GTIN provides basic validation, checksum and conversion functionality for UPC, EAN and GTIN barcode values.}
- s.files = [ "History.txt", "lib/gtin.rb", "lib/gtin/gtin.rb", "lib/gtin/version.rb", "Manifest.txt", "Rakefile", "README.rdoc", "script/console", "script/destroy", "script/generate", "test/test_gtin.rb", "test/test_helper.rb" ]
+ s.files = [ "History.txt", "lib/gtin.rb", "lib/gtin/gtin.rb", "Manifest.txt", "Rakefile", "README.rdoc", "script/console", "script/destroy", "script/generate", "test/test_gtin.rb", "test/test_helper.rb" ]
end
View
1 lib/gtin.rb
@@ -1,7 +1,6 @@
$:.unshift(File.dirname(__FILE__)) unless
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
-require "gtin/version"
require "gtin/gtin"
module GTIN
View
9 lib/gtin/version.rb
@@ -1,9 +0,0 @@
-module GTIN #:nodoc:
- module VERSION #:nodoc:
- MAJOR = 0
- MINOR = 1
- TINY = 1
-
- STRING = [MAJOR, MINOR, TINY].join('.')
- end
-end

0 comments on commit 8bd1b91

Please sign in to comment.