forked from jasmine/jasmine-gem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jasmine.gemspec
39 lines (33 loc) · 1.46 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
# -*- 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.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'
else #default to rails 4
s.add_development_dependency 'rails', '>= 4'
end
s.add_development_dependency 'rack-test'
s.add_development_dependency 'multi_json'
s.add_development_dependency 'rspec', '>= 2.5.0'
s.add_dependency 'jasmine-core', '~> 2.0.0.rc5'
s.add_dependency 'rack', '>= 1.2.1'
s.add_dependency 'rake'
s.add_dependency 'phantomjs'
end