Sha256: 087783ed1a7ecc4143bda7d4b73d2db4c3cb1d0ee7fd538d0e3a7269eae1306c

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

require 'zxing/version'

Gem::Specification.new do |s|
  s.name = 'zxing_cpp_no_cmake'
  s.version = ZXing::VERSION

  s.authors = ['Benjamin Dobell', 'Nigel Baillie']
  s.email = ['benjamin.dobell@glassechidna.com.au', 'nbaillie@degica.com']
  s.description = 'A barcode and QR code library that works with regular Ruby (not just JRuby). This gem comes bundled with ZXing C++ (zxing-cpp) and interfaces with it using FFI. As such this gem works with most major Ruby distributions. Modified to not require CMake as a build dependency.'
  s.licenses = ['MIT', 'Apache-2.0']

  s.homepage = 'https://github.com/glassechidna/zxing_cpp.rb'
  s.summary = 'A barcode and QR code library.'

  s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end

  s.extensions = ['ext/zxing/extconf.rb']
  s.rdoc_options = ['--main', 'README.rdoc']
  s.extra_rdoc_files = ['README.rdoc']
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
  s.test_files = s.files.grep(%r{^test/})
  s.require_paths = ['lib', 'ext']

  s.add_development_dependency 'bundler', '~> 1.6'
  s.add_development_dependency 'rake', '~> 10.4'
  s.add_development_dependency 'rake-compiler', '~> 0.9'
  s.add_development_dependency 'shoulda', '~> 3.5'

  s.add_dependency 'ffi', '~> 1.1'
  s.add_dependency 'rmagick', '~> 2.13'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zxing_cpp_no_cmake-0.1.1 zxing_cpp.gemspec