forked from jasmine/jasmine-gem
-
Notifications
You must be signed in to change notification settings - Fork 1
/
jasmine.gemspec
73 lines (67 loc) · 2.88 KB
/
jasmine.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "jasmine/version"
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{[email protected]}
s.homepage = "http://pivotal.github.com/jasmine"
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"]
if ENV['RAILS_VERSION'] == 'pojs-rspec1'
if ENV["RUBY_VERSION"] =~ /1\.8\.6/
#1.3.2 buffer overflows
s.add_development_dependency 'rspec', '= 1.3.1'
s.add_development_dependency 'rack', "1.1"
else
s.add_development_dependency 'rspec', '>= 1.3.1', '< 2'
end
s.add_development_dependency 'rake-tasks'
elsif ENV['RAILS_VERSION'] == 'pojs-rspec2'
if ENV["RUBY_VERSION"] =~ /1\.8\.6/
#2.7.0 uses reduce vs inject, non 1.8.6 compatible
s.add_development_dependency 'rspec', '2.6.0'
else
s.add_development_dependency 'rspec', '>= 2.5.0'
end
s.add_development_dependency 'rake-tasks'
s.add_development_dependency 'rack', "1.1" if ENV["RUBY_VERSION"] =~ /1\.8\.6/
elsif ENV['RAILS_VERSION'] == 'rails2'
if ENV["RUBY_VERSION"] =~ /1\.8\.6/
#1.3.2 buffer overflows
s.add_development_dependency 'rspec', '= 1.3.1'
else
s.add_development_dependency 'rspec', '>= 1.3.1', '< 2'
end
# for development & test of Rails 2 Generators
s.add_development_dependency 'rails', '2.3.11', "< 3"
elsif ENV['RAILS_VERSION'] == 'rails2_3_5'
if ENV["RUBY_VERSION"] =~ /1\.8\.6/
#1.3.2 buffer overflows
s.add_development_dependency 'rspec', '= 1.3.1'
else
s.add_development_dependency 'rspec', '>= 1.3.1', '< 2'
end
# for development & test of Rails 2 Generators
s.add_development_dependency 'rails', '= 2.3.5'
else
# for development & test of Rails 3 Generators
s.add_development_dependency 'rspec', '>= 2.5.0'
s.add_development_dependency 'rails', '>= 3.0.0'
s.add_development_dependency 'rack', '>= 1.2.1'
end
s.add_development_dependency 'rack-test'
s.add_development_dependency 'json_pure'
s.add_development_dependency 'nokogiri'
s.add_dependency 'jasmine-core', ">= 1.2.0"
s.add_dependency 'rack', '~> 1.0'
s.add_dependency 'rspec', '>= 1.3.1'
s.add_dependency 'selenium-webdriver', '>= 0.1.3'
end