jasmine 2.8.0 → 2.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dce5824ff98a45b69356d1237216ce704e6f4ece
4
- data.tar.gz: aea8fa5a135b9f3e93d35c9cfe214550406c5187
3
+ metadata.gz: 4e322feb877809e531aadc247cdf6612d25f935c
4
+ data.tar.gz: 51987c03847a3fff87bffdd084932bea5c7b2168
5
5
  SHA512:
6
- metadata.gz: 66114efd12806fb943ade76075cc526c56ed614a20150015a7811e825484be30f6c0b17ec08409f22e045a18559eeec7176526968d8a8c55e951421b131bf4c1
7
- data.tar.gz: 23fe694b931ee99689cc57a14e3f34a0af8777b703d9d66bfe6e1227e8ca3487aecba23cba7329fb12c9c4052cbdcf8491428b2f63062beadd9700675eac960a
6
+ metadata.gz: 46148ac0d235b83d1b154c537ac9002ee9a5e50ea31b99880082dfd1b5f835f2034516cb0be5193f6286e3423f6185a7daef0c2d409244102a2a2678d1517980
7
+ data.tar.gz: 78da51755fc86ef0f92f15a05ad055158ccb1f48c68a72f20a70c33e0d93e9c7f85683c0eec9afef9e43c6d34e387d9e87488989ba09a5a936e9115d3f7ea5eb
@@ -33,4 +33,4 @@ matrix:
33
33
  - "JRUBY_OPTS=''"
34
34
 
35
35
  before_install:
36
- - gem install bundler -v "= 1.5.1"
36
+ - gem install bundler -v "= 1.15.4"
@@ -7,7 +7,7 @@ This gem contains:
7
7
 
8
8
  * A small server that builds and executes a Jasmine suite for a project
9
9
  * A script that sets up a project to use the Jasmine gem's server
10
- * Generators for Ruby on Rails projects (Rails 3 and Rails 4)
10
+ * Generators for Ruby on Rails projects (Rails 3, 4, and 5)
11
11
 
12
12
  You can get all of this by: `gem install jasmine` or by adding Jasmine to your `Gemfile`.
13
13
 
@@ -41,7 +41,7 @@ Gem::Specification.new do |s|
41
41
  s.add_development_dependency 'nokogiri'
42
42
  end
43
43
 
44
- s.add_dependency 'jasmine-core', '>= 2.8.0', '< 3.0.0'
44
+ s.add_dependency 'jasmine-core', '>= 2.9.0', '< 3.0.0'
45
45
  s.add_dependency 'rack', '>= 1.2.1'
46
46
  s.add_dependency 'rake'
47
47
  s.add_dependency 'phantomjs'
@@ -30,12 +30,12 @@ module Jasmine
30
30
  true
31
31
  end
32
32
 
33
- def self.wait_for_listener(port, host = "localhost", seconds_to_wait = 20)
33
+ def self.wait_for_listener(port, hostname = "localhost", seconds_to_wait = 20)
34
34
  time_out_at = Time.now + seconds_to_wait
35
- until server_is_listening_on "localhost", port
35
+ until server_is_listening_on hostname, port
36
36
  sleep 0.1
37
- puts "Waiting for #{name} on #{port}..."
38
- raise "jasmine server didn't show up on port #{port} after #{seconds_to_wait} seconds." if Time.now > time_out_at
37
+ puts "Waiting for server on #{hostname}:#{port}..."
38
+ raise "jasmine server didn't show up on port #{hostname}:#{port} after #{seconds_to_wait} seconds." if Time.now > time_out_at
39
39
  end
40
40
  end
41
41
 
@@ -19,7 +19,7 @@ module Jasmine
19
19
  end
20
20
 
21
21
  def use_asset_pipeline?
22
- assets_pipeline_available = (rails3? || rails4? || rails5?) && Rails.respond_to?(:application) && Rails.application.respond_to?(:assets)
22
+ assets_pipeline_available = (rails3? || rails4? || rails5?) && Rails.respond_to?(:application) && Rails.application.respond_to?(:assets) && !Rails.application.assets.nil?
23
23
  rails3_assets_enabled = rails3? && assets_pipeline_available && Rails.application.config.assets.enabled != false
24
24
  assets_pipeline_available && (rails4? || rails5? || rails3_assets_enabled)
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module Jasmine
2
- VERSION = "2.8.0"
2
+ VERSION = "2.9.0"
3
3
  end
@@ -0,0 +1,22 @@
1
+ # Jasmine Gem 2.9.0 Release Notes
2
+
3
+ ## Summary
4
+
5
+ This release updates the jasmine-core dependency to 2.9.0. See the
6
+ [jasmine-core release notes](https://github.com/jasmine/jasmine/blob/master/release_notes/2.9.0.md)
7
+ for more information
8
+
9
+ ## Changes
10
+
11
+ * Fixed supported Rails versions in README
12
+
13
+ * Better detection of disabled assets pipeline
14
+ - Merges [#294](https://github.com/jasmine/jasmine-gem/issues/294) from @thizzle
15
+
16
+ * In Jasmine. wait_for_listener use a parameter to decide what to listen for
17
+ - Merges [#292](https://github.com/jasmine/jasmine-gem/issues/292) from @myers
18
+
19
+
20
+ ------
21
+
22
+ _Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Van Hove
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-24 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -86,7 +86,7 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 2.8.0
89
+ version: 2.9.0
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
92
  version: 3.0.0
@@ -96,7 +96,7 @@ dependencies:
96
96
  requirements:
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
- version: 2.8.0
99
+ version: 2.9.0
100
100
  - - "<"
101
101
  - !ruby/object:Gem::Version
102
102
  version: 3.0.0
@@ -223,6 +223,7 @@ files:
223
223
  - release_notes/v2.6.1.md
224
224
  - release_notes/v2.7.0.md
225
225
  - release_notes/v2.8.0.md
226
+ - release_notes/v2.9.0.md
226
227
  - spec/application_integration_spec.rb
227
228
  - spec/application_spec.rb
228
229
  - spec/base_spec.rb