rally-jasmine 1.2.0.10 → 1.2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,6 +31,8 @@ module Jasmine
31
31
  map(config.spec_path) { run Rack::File.new(config.spec_dir) }
32
32
  map(config.root_path) { run Rack::File.new(config.project_root) }
33
33
 
34
+ map('/appsdk') { run Rack::File.new(config.appsdk_dir) }
35
+
34
36
  map('/') do
35
37
  run Rack::Cascade.new([
36
38
  Rack::URLMap.new('/' => Rack::File.new(config.src_dir)),
@@ -102,6 +102,14 @@ module Jasmine
102
102
  end
103
103
  end
104
104
 
105
+ def appsdk_dir
106
+ if simple_config['appsdk_dir']
107
+ simple_config['appsdk_dir']
108
+ else
109
+ src_dir
110
+ end
111
+ end
112
+
105
113
  def jasmine_host
106
114
  ENV["JASMINE_HOST"] || 'http://localhost'
107
115
  end
@@ -1,3 +1,3 @@
1
1
  module Jasmine
2
- VERSION = "1.2.0.10"
2
+ VERSION = "1.2.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rally-jasmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.10
4
+ version: 1.2.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-02-04 00:00:00.000000000 Z
15
+ date: 2013-04-24 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec
@@ -283,7 +283,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
283
283
  version: '0'
284
284
  segments:
285
285
  - 0
286
- hash: -2774273710119208349
286
+ hash: -340582009232370404
287
287
  required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  none: false
289
289
  requirements:
@@ -292,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
292
  version: '0'
293
293
  segments:
294
294
  - 0
295
- hash: -2774273710119208349
295
+ hash: -340582009232370404
296
296
  requirements: []
297
297
  rubyforge_project:
298
298
  rubygems_version: 1.8.24