forked from rdytech/zxing.rb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zxing.gemspec
24 lines (21 loc) · 948 Bytes
/
zxing.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "zxing/version"
Gem::Specification.new do |s|
s.name = "zxing"
s.version = ZXing::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["ecin", "Joshua Davey"]
s.email = ["[email protected]", "[email protected]"]
s.homepage = "http://github.com/ecin/zxing.rb"
s.summary = %q{JRuby wrapper for ZXing 1D/2D barcode image processing library.}
s.description = %q{Need to decode 1D/2D bars and don't mind using JRuby to help with the task? ZXing is the wrapper for you!}
if RUBY_PLATFORM != "java" && ENV["PLATFORM"] != "java"
s.add_runtime_dependency "jruby-jars"
end
s.rubyforge_project = "zxing"
s.files = Dir.glob("{bin,lib,spec}/**/*") + %w(README.rdoc)
s.test_files = Dir.glob("spec/**/*")
s.executables = Dir.glob("bin/*").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end