forked from jgdavey/transit-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtransit-rails.gemspec
29 lines (25 loc) · 1.12 KB
/
transit-rails.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
28
29
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'transit/rails/version'
Gem::Specification.new do |spec|
spec.name = "transit-rails"
spec.version = Transit::Rails::VERSION
spec.authors = ["Joshua Davey"]
spec.email = ["[email protected]"]
spec.summary = %q{Transit format helpers for Rails}
spec.description = %q{Transit format helpers for Rails. See Cognitect's transit-format for more info.}
spec.homepage = "https://github.com/jgdavey/transit-rails"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
if defined?(RUBY_PLATFORM) && RUBY_PLATFORM == "java"
# Work around most recent versions not working with java
spec.add_dependency "transit-ruby", "~> 0.8", "<= 0.8.591"
else
spec.add_dependency "transit-ruby", "0.8.dev"
end
spec.add_development_dependency "bundler", "~> 1.6"
end