Sha256: 94b5de4e1916a5a8750dbaa6da84002b1c66fa60d51934ed105c9191dfb46cfe
Contents?: true
Size: 1.93 KB
Versions: 4
Compression:
Stored size: 1.93 KB
Contents
# -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "jasmine/version" def ruby_version_less_than(target_version) version_parts = RUBY_VERSION.split('.').map(&:to_i).zip(target_version) version_parts.each do |(current_part, target_part)| if current_part < target_part return true end end false end Gem::Specification.new do |s| s.name = %q{jasmine} s.version = Jasmine::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Rajan Agaskar", "Christian Williams", "Davis Frank"] s.summary = %q{JavaScript BDD framework} s.description = %q{Test your JavaScript without any framework dependencies, in any environment, and with a nice descriptive syntax.} s.email = %q{jasmine-js@googlegroups.com} s.homepage = "http://jasmine.github.io/" s.license = "MIT" s.files = `git ls-files`.split("\n") | Dir.glob('jasmine/**/*') s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ["lib"] s.rdoc_options = ["--charset=UTF-8"] case ENV['RAILS_VERSION'] when 'rails3' s.add_development_dependency 'rails', '>= 3.0.0', '< 4.0.0' when 'pojs' when 'rails4' s.add_development_dependency 'rails', '>= 4', '< 5.0.0' else #default to rails 5 s.add_development_dependency 'rails', '>= 5' end s.add_development_dependency 'rack-test' s.add_development_dependency 'multi_json' s.add_development_dependency 'rspec', '>= 2.5.0' if ruby_version_less_than([2,1,0]) s.add_development_dependency 'nokogiri', '< 1.7.0' else s.add_development_dependency 'nokogiri' end s.add_dependency 'jasmine-core', '>= 2.5.1', '< 3.0.0' s.add_dependency 'rack', '>= 1.2.1' s.add_dependency 'rake' s.add_dependency 'phantomjs' end
Version data entries
4 entries across 3 versions & 2 rubygems