-
Notifications
You must be signed in to change notification settings - Fork 18
/
zxing.gemspec
27 lines (23 loc) · 1.03 KB
/
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
25
26
27
# -*- 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.add_development_dependency "rspec", "~> 2.5.0"
s.add_development_dependency "rake", "~> 0.9.2"
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