jasmine 3.8.0 → 3.9.2

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
  SHA256:
3
- metadata.gz: 3675b4ae8a2d791c1fb24007ba5c1fa28cb38188289e6c2c97dcd5301af45ba8
4
- data.tar.gz: b9899c89395e9248409eb99aa0858fbedbbdf01ed44d2766ab7f22ab8ec87ee4
3
+ metadata.gz: 2976d7f1f443644633eb5c07f495ce6e6289461ceb23ed4636b6cd5eb344d88b
4
+ data.tar.gz: efa3b7f29fe94940122e7d399c33a5ecdc72d238eb45811fcdc8860a82d09e17
5
5
  SHA512:
6
- metadata.gz: b1dd04e5d13478f134e16cf7b1762c180ca6f7ed927d65966f8498e54b72e5f9888911d33243e60f7239f1b43d114d27baa0b27286e0f061ba9e7f6869636429
7
- data.tar.gz: e2de6296d752fcbbf7a4e2c7505192aa59810a01e5f470f4e95b58b0dd2458257a3b3861755c129124a5173b3dc59b2f16f07d8d74b906d4981fa0d6b8380815
6
+ metadata.gz: adc0d999f4150c305915227eb39b88f9195db90dd1ed4e53c225484dd638532c49430d45f940e44f4f0266f8d05d53b2a93843f605f7eb0581660cb7ee6970b8
7
+ data.tar.gz: bf62c611a66c95017b1de4319cd059584e3d71c53f6765393312f321848f280a5b92f79653e510e2e229c194f766ea0172e5ecf165bea910a738fdf7b8f8c739
data/Gemfile CHANGED
@@ -10,16 +10,10 @@ else
10
10
  gem 'jasmine-core', :path => '../jasmine'
11
11
  end
12
12
 
13
- if ENV['RAILS_VERSION'] == "rails4"
14
- gem 'rack', '~> 1.6.0'
15
- elsif ENV['RAILS_VERSION'] == "pojs"
16
- gem 'rack', '< 2.0'
17
- else
18
- gem 'rack', '>= 2.0'
19
- end
13
+ gem 'rack', '>= 2.0'
20
14
 
21
15
  gem 'mime-types', '< 3.0', platform: [:jruby]
22
16
 
23
17
  if ENV['RAILS_VERSION'] != 'rails4'
24
- gem "bundler", "~> 2.1"
18
+ gem "bundler", ">= 2.1.4"
25
19
  end
data/README.markdown CHANGED
@@ -5,6 +5,28 @@
5
5
 
6
6
  The [Jasmine](http://github.com/jasmine/jasmine) Ruby Gem is a package of helper code for developing Jasmine projects for Ruby-based web projects (Rails, Sinatra, etc.) or for JavaScript projects where Ruby is a welcome partner. It serves up a project's Jasmine suite in a browser so you can focus on your code instead of manually editing script tags in the Jasmine runner HTML file.
7
7
 
8
+ Webpacker support is provided via the
9
+ [jasmine-browser-runner](https://jasmine.github.io/setup/browser.html#use-with-rails)
10
+ NPM package, not this gem. `jasmine-browser-runner` can also be used to test
11
+ JavaScript in Rails applications that use the Asset Pipeline.
12
+
13
+ ## Deprecated
14
+
15
+ The `jasmine` and `jasmine-core` Ruby gems are deprecated. There will be no
16
+ further releases after the end of the Jasmine 3.x series. We recommend that most
17
+ users migrate to the [jasmine-browser-runner](https://github.com/jasmine/jasmine-browser)
18
+ npm package, which is the direct replacement for the `jasmine` gem.
19
+
20
+ If `jasmine-browser-runner` doesn't meet your needs, one of these might:
21
+
22
+ * The [jasmine](https://github.com/jasmine/jasmine-npm) npm package to run
23
+ specs in Node.js.
24
+ * The [standalone distribution](https://github.com/jasmine/jasmine#installation)
25
+ to run specs in browsers with no additional tools.
26
+ * The [jasmine-core](https://github.com/jasmine/jasmine) npm package if all
27
+ you need is the Jasmine assets. This is the direct equivalent of the
28
+ `jasmine-core` Ruby gem.
29
+
8
30
  ## Contents
9
31
  This gem contains:
10
32
 
data/jasmine.gemspec CHANGED
@@ -11,7 +11,17 @@ Gem::Specification.new do |s|
11
11
 
12
12
  s.authors = ["Gregg Van Hove"]
13
13
  s.summary = %q{JavaScript BDD framework}
14
- s.description = %q{Test your JavaScript without any framework dependencies, in any environment, and with a nice descriptive syntax.}
14
+ s.description = <<~DESC
15
+ Test your JavaScript without any framework dependencies, in any environment,
16
+ and with a nice descriptive syntax.
17
+
18
+ Jasmine for Ruby is deprecated. We recommend using the
19
+ jasmine-browser-runner NPM package instead. It supports all the same
20
+ scenarios as this gem plus Webpacker. See
21
+ https://jasmine.github.io/setup/browser.html for setup instructions, and
22
+ https://github.com/jasmine/jasmine-gem/blob/main/release_notes/3.9.0.md
23
+ for other options.
24
+ DESC
15
25
  s.email = %q{jasmine-js@googlegroups.com}
16
26
  s.homepage = "http://jasmine.github.io/"
17
27
  s.license = "MIT"
@@ -37,8 +47,8 @@ Gem::Specification.new do |s|
37
47
  s.add_development_dependency 'rspec', '>= 2.5.0'
38
48
  s.add_development_dependency 'nokogiri'
39
49
 
40
- s.add_dependency 'jasmine-core', '~> 3.8.0'
41
- s.add_dependency 'rack', '>= 1.2.1'
50
+ s.add_dependency 'jasmine-core', '~> 3.9.0'
51
+ s.add_dependency 'rack', '>= 2.1.4'
42
52
  s.add_dependency 'webrick'
43
53
  s.add_dependency 'rake'
44
54
  s.add_dependency 'phantomjs'
@@ -1,3 +1,3 @@
1
1
  module Jasmine
2
- VERSION = "3.8.0"
2
+ VERSION = "3.9.2"
3
3
  end
@@ -0,0 +1,19 @@
1
+ # Jasmine Gem 3.8.1 Release Notes
2
+
3
+ This release updates the Rack dependency to >= 2.1.4 due to security
4
+ vulnerabilities in earlier versions of Rack. There are no other changes.
5
+
6
+ ## Supported Environments
7
+
8
+ The Jasmine gem has been tested in the following environments:
9
+
10
+ | Rails version | Ruby versions |
11
+ |-----------------|---------------|
12
+ | 6 | 2.5-3.0 |
13
+ | 5 | 2.3-2.7 |
14
+ | 4 | 2.3-2.6 |
15
+ | Non-Rails usage | 2.3-3.0 |
16
+
17
+ See the
18
+ [jasmine-core release notes](https://github.com/jasmine/jasmine/blob/main/release_notes/3.8.0.md)
19
+ for supported browsers.
@@ -0,0 +1,28 @@
1
+ # Jasmine Gem 3.9 Release Notes
2
+
3
+ This release updates the jasmine-core dependency to 3.9.0. See the
4
+ [jasmine-core release notes](https://github.com/jasmine/jasmine/blob/main/release_notes/3.9.0.md)
5
+ for more information.
6
+
7
+ ## Deprecation, Webpacker support, and a path forward for Rails users
8
+
9
+ The [jasmine-browser-runner](https://github.com/jasmine/jasmine-browser-runner)
10
+ NPM package supports all of same use cases as the `jasmine` Ruby gem. It can
11
+ also handle Webpacker, which isn't supported by the gem. See the [setup instructions, including Rails-specific steps](https://jasmine.github.io/setup/browser.html).
12
+
13
+ The Jasmine Ruby gems are deprecated. There will be no further releases after
14
+ the end of the Jasmine 3.x series. We recommend that most users migrate to
15
+ `jasmine-browser-runner`. If `jasmine-browser-runner` doesn't meet your needs,
16
+ one of these might:
17
+
18
+ * The [jasmine](https://github.com/jasmine/jasmine-npm) npm package to run
19
+ specs in Node.js.
20
+ * The [standalone distribution](https://github.com/jasmine/jasmine#installation)
21
+ to run specs in browsers with no additional tools.
22
+ * The [jasmine-core](https://github.com/jasmine/jasmine) npm package if all
23
+ you need is the Jasmine assets. This is the direct equivalent of the
24
+ `jasmine-core` Ruby gem.
25
+
26
+ ------
27
+
28
+ _Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
@@ -0,0 +1,10 @@
1
+ # Jasmine Gem 3.9.1 Release Notes
2
+
3
+ 3.9.1 is identical to 3.9.0 except that the gem description mentions that it is
4
+ deprecated in favor of the `jasmine-browser-runner` NPM package. See the
5
+ [3.9.0 release notes](https://github.com/jasmine/jasmine-gem/blob/main/release_notes/3.9.0.md)
6
+ for more information.
7
+
8
+ ------
9
+
10
+ _Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
@@ -0,0 +1,12 @@
1
+ # Jasmine Gem 3.9.2 Release Notes
2
+
3
+ 3.9.2 fixes an issue where parts of the gem description were stripped out and
4
+ not displayed on rubygems.org. It is identical to 3.9.0 except that the gem
5
+ description mentions that it is deprecated in favor of the
6
+ `jasmine-browser-runner` NPM package. See the
7
+ [3.9.0 release notes](https://github.com/jasmine/jasmine-gem/blob/main/release_notes/3.9.0.md)
8
+ for more information.
9
+
10
+ ------
11
+
12
+ _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: 3.8.0
4
+ version: 3.9.2
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: 2021-07-02 00:00:00.000000000 Z
11
+ date: 2021-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -92,28 +92,28 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 3.8.0
95
+ version: 3.9.0
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: 3.8.0
102
+ version: 3.9.0
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rack
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: 1.2.1
109
+ version: 2.1.4
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: 1.2.1
116
+ version: 2.1.4
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: webrick
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -156,8 +156,16 @@ dependencies:
156
156
  - - ">="
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
- description: Test your JavaScript without any framework dependencies, in any environment,
159
+ description: |
160
+ Test your JavaScript without any framework dependencies, in any environment,
160
161
  and with a nice descriptive syntax.
162
+
163
+ Jasmine for Ruby is deprecated. We recommend using the
164
+ jasmine-browser-runner NPM package instead. It supports all the same
165
+ scenarios as this gem plus Webpacker. See
166
+ https://jasmine.github.io/setup/browser.html for setup instructions, and
167
+ https://github.com/jasmine/jasmine-gem/blob/main/release_notes/3.9.0.md
168
+ for other options.
161
169
  email: jasmine-js@googlegroups.com
162
170
  executables:
163
171
  - jasmine
@@ -232,6 +240,10 @@ files:
232
240
  - release_notes/3.6.0.md
233
241
  - release_notes/3.7.0.md
234
242
  - release_notes/3.8.0.md
243
+ - release_notes/3.8.1.md
244
+ - release_notes/3.9.0.md
245
+ - release_notes/3.9.1.md
246
+ - release_notes/3.9.2.md
235
247
  - release_notes/v1.2.1.md
236
248
  - release_notes/v1.3.2.md
237
249
  - release_notes/v2.0.0.md
@@ -306,8 +318,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
306
318
  - !ruby/object:Gem::Version
307
319
  version: '0'
308
320
  requirements: []
309
- rubyforge_project:
310
- rubygems_version: 2.7.6.2
321
+ rubygems_version: 3.1.2
311
322
  signing_key:
312
323
  specification_version: 4
313
324
  summary: JavaScript BDD framework