jasmine 2.3.0 → 2.3.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f1c16c911f71c441feab00ae9f89b411dc361be
4
- data.tar.gz: 782e71c3b4cc77c95596b1d09b261e996e869eec
3
+ metadata.gz: 582853be5a7ca06d0508e60bd4e17acb140cd098
4
+ data.tar.gz: b8511099ea1f154e67eb5eb25a20fb13195956c5
5
5
  SHA512:
6
- metadata.gz: 54271fc96fda2a5a1721708d8dc5a24ca23c7ae649c19f9d44af9aa4cee6f201813856503e55e04fa08243b75a0072ff86a64c9da42f83e62eb354940bfca2a4
7
- data.tar.gz: 5a0f04eb85c8e9d4d61ab5643e2f928a316594e7a45d4aea3871600087f5479bd886bfbed8aa6f8154c26d888875e7b09bac5abfe155757a47a129da438caf4d
6
+ metadata.gz: cc03b09353e298d991c049bfe95ccaa0223aa6b03daa281fbc756b50817a785c46e0fef5e9d8bb8969273942569034e0d911ded0da8fb861b5f83ce9b93ad237
7
+ data.tar.gz: 32b6f43cb65ec2bb1298ddc00e1d869772298d446c2487aa4765b2bd1379274cfacc2d8bd84f51223967d6696e9ce875652a398ba267239d9fe7eaaad48d1213
@@ -1,5 +1,6 @@
1
1
  To test changes to the jasmine-gem:
2
2
 
3
+ * You need to have the [jasmine project](https://github.com/jasmine/jasmine) checked out in `../jasmine`
3
4
  * Export RAILS_VERSION as either "pojs" (Plain Old JavaScript -- IE, no rails bindings), or "rails3" to test environments other than Rails 4.
4
5
  * Delete `Gemfile.lock`
5
6
  * Clear out your current gemset
@@ -30,7 +30,7 @@ module Jasmine
30
30
  if path[0..3] == 'http'
31
31
  path
32
32
  else
33
- File.join(add_path, (path.gsub(remove_path, '')))
33
+ File.join(add_path, (path.sub(remove_path, '')))
34
34
  end
35
35
  end
36
36
  end
@@ -1,7 +1,17 @@
1
1
  (function() {
2
- var url = phantom.args[0];
3
- var showConsoleLog = phantom.args[1] === 'true';
4
- var configScript = phantom.args[2];
2
+
3
+ if (phantom.version.major >= 2) {
4
+ var system = require('system');
5
+ var url = system.args[1];
6
+ var showConsoleLog = system.args[2] === 'true';
7
+ var configScript = system.args[3];
8
+ }
9
+ else {
10
+ var url = phantom.args[0];
11
+ var showConsoleLog = phantom.args[1] === 'true';
12
+ var configScript = phantom.args[2];
13
+ }
14
+
5
15
  var page = require('webpage').create();
6
16
 
7
17
  if (configScript !== '') {
@@ -1,3 +1,3 @@
1
1
  module Jasmine
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  end
@@ -0,0 +1,14 @@
1
+ # Jasmine Gem 2.3.1 Release Notes
2
+
3
+ ## Pull Requests & Issues
4
+
5
+ * Fix PathMapper overzealously replacing working directory
6
+ - Merges [#248](https://github.com/jasmine/jasmine-gem/issues/248) from @tdooner
7
+
8
+ * Resolve problem with Phantom 2.0.0
9
+ - Merges [#245](https://github.com/jasmine/jasmine-gem/issues/245) from @PatrickKing
10
+ - Fixes [#244](https://github.com/jasmine/jasmine-gem/issues/244)
11
+
12
+ ------
13
+
14
+ _Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
@@ -30,4 +30,9 @@ describe Jasmine::PathMapper do
30
30
  mapper = Jasmine::PathMapper.new(config)
31
31
  mapper.map_src_paths(['/src_dir/foo']).should == ['/src_dir/foo']
32
32
  end
33
+ it 'handles edge case with multiple instances of src dir' do
34
+ config = double(:config, :src_dir => '/app', :src_path => '/')
35
+ mapper = Jasmine::PathMapper.new(config)
36
+ mapper.map_src_paths(['/app/assets/application.js']).should == ['/assets/application.js']
37
+ end
33
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajan Agaskar
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-28 00:00:00.000000000 Z
13
+ date: 2015-09-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -209,6 +209,7 @@ files:
209
209
  - release_notes/v2.1.0.md
210
210
  - release_notes/v2.2.0.md
211
211
  - release_notes/v2.3.0.md
212
+ - release_notes/v2.3.1.md
212
213
  - spec/application_integration_spec.rb
213
214
  - spec/application_spec.rb
214
215
  - spec/base_spec.rb
@@ -261,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
262
  version: '0'
262
263
  requirements: []
263
264
  rubyforge_project:
264
- rubygems_version: 2.0.3
265
+ rubygems_version: 2.0.14
265
266
  signing_key:
266
267
  specification_version: 4
267
268
  summary: JavaScript BDD framework