jasmine 3.6.0 → 3.9.0

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
  SHA256:
3
- metadata.gz: f5041dde9ff09182c2b5a3df9c1197f5271688e38f0e823155d069ae4bfdc473
4
- data.tar.gz: a6b003232f7ef9a71ae0283b9b486ff275efdeaed368f08fa6f2576c9050382d
3
+ metadata.gz: 3f2e9e043fa37622252b7119ddfda3c53d5d81cebe92de2c5d7d7aef7ff3d079
4
+ data.tar.gz: feb33aeb7ad6202fa86f8a5272491815f97d3e908376ccd39453490227d1fd39
5
5
  SHA512:
6
- metadata.gz: 5709eb88e178882d97c11dc350fc7c55857f4612b8372e2b1ac1cc3504e8e386bcb578db024372d2454621cbd647713bcac68c9fccb85c31b7fa89785b0785bd
7
- data.tar.gz: ebcfdb3e7b9b41cda30b63e29d692701d2ec88f820202cf2e4ff5dbff2bbf420edec9cb102f2881266efeb19ab6208610f37fdb0bfa712105123e0ab02524d16
6
+ metadata.gz: aebe47ea1dbb63f56682f87ac3de710554cf5f1674c423d01c9eef1b3930d2bcf4f14d490b9fad4b2b312746b59297369dbabc3f4f3390c5d73bc28d011717cc
7
+ data.tar.gz: 1da659d48bd231163039d082337a0a1dc690a27fd76fa546551c1ba5949f046d1029c10a2c3b77cc0e4adf94dcc514c627479e925775286dea9555dc3f2edb76
@@ -0,0 +1,84 @@
1
+ version: 2.1
2
+ orbs:
3
+ ruby: circleci/ruby@1.1.2
4
+
5
+ executors:
6
+ ruby_3_0:
7
+ docker:
8
+ - image: circleci/ruby:3.0-browsers-legacy
9
+ ruby_2_7:
10
+ docker:
11
+ - image: circleci/ruby:2.7-browsers-legacy
12
+ ruby_2_6:
13
+ docker:
14
+ - image: circleci/ruby:2.6-browsers-legacy
15
+ ruby_2_5:
16
+ docker:
17
+ - image: circleci/ruby:2.5-browsers-legacy
18
+ ruby_2_3:
19
+ docker:
20
+ - image: circleci/ruby:2.3-browsers-legacy
21
+
22
+ jobs:
23
+ test:
24
+ parameters:
25
+ rails_version:
26
+ type: string
27
+ executor:
28
+ type: executor
29
+ executor: << parameters.executor >>
30
+ environment:
31
+ RAILS_VERSION=<< parameters.rails_version >>
32
+ steps:
33
+ - checkout:
34
+ path: jasmine-gem
35
+ - run:
36
+ name: Install Node
37
+ command: sudo apt-get install nodejs
38
+ - run:
39
+ name: Install bundler
40
+ command: "if [ $RAILS_VERSION = rails4 ];then gem install bundler -v '< 2.0' ; else gem install bundler; fi"
41
+ - run:
42
+ name: Report versions
43
+ command: "echo 'Ruby version:' && ruby -v && echo 'Bundler version:' && bundle -v && echo 'RAILS_VERSION:' $RAILS_VERSION"
44
+ - run:
45
+ name: Install gems
46
+ command: "cd jasmine-gem && bundle install"
47
+ - run:
48
+ name: Run tests
49
+ command: "cd jasmine-gem && bundle exec rake --trace"
50
+
51
+ workflows:
52
+ version: 2
53
+ push: &push_workflow
54
+ jobs:
55
+ - test:
56
+ matrix:
57
+ parameters:
58
+ rails_version: ["pojs", "rails6", "rails5", "rails4"]
59
+ executor: ["ruby_3_0", "ruby_2_7", "ruby_2_6", "ruby_2_5", "ruby_2_3"]
60
+ exclude:
61
+ # Don't run Rails 4 on newer Rubies that lack an old enough
62
+ # bundler.
63
+ - rails_version: "rails4"
64
+ executor: "ruby_3_0"
65
+ - rails_version: "rails4"
66
+ executor: "ruby_2_7"
67
+ # Rails 6 requires at least Ruby 2.5.
68
+ - rails_version: "rails6"
69
+ executor: "ruby_2_3"
70
+ # Rails 5 requires Ruby < 2.7
71
+ - rails_version: "rails5"
72
+ executor: "ruby_3_0"
73
+ - rails_version: "rails5"
74
+ executor: "ruby_2_7"
75
+ cron:
76
+ <<: *push_workflow
77
+ triggers:
78
+ - schedule:
79
+ # Times are UTC.
80
+ cron: "0 10 * * *"
81
+ filters:
82
+ branches:
83
+ only:
84
+ - main
data/Gemfile CHANGED
@@ -2,25 +2,18 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'anchorman', :platform => :mri
6
5
 
7
6
  # during development, do not release
8
- if ENV['TRAVIS']
7
+ if ENV['CIRCLECI']
9
8
  gem 'jasmine-core', :git => 'http://github.com/jasmine/jasmine.git', ref: 'main'
10
9
  else
11
10
  gem 'jasmine-core', :path => '../jasmine'
12
11
  end
13
12
 
14
- if ENV['RAILS_VERSION'] == "rails4"
15
- gem 'rack', '~> 1.6.0'
16
- elsif ENV['RAILS_VERSION'] == "pojs"
17
- gem 'rack', '< 2.0'
18
- else
19
- gem 'rack', '>= 2.0'
20
- end
13
+ gem 'rack', '>= 2.0'
21
14
 
22
15
  gem 'mime-types', '< 3.0', platform: [:jruby]
23
16
 
24
17
  if ENV['RAILS_VERSION'] != 'rails4'
25
- gem "bundler", "~> 2.1"
18
+ gem "bundler", ">= 2.1.4"
26
19
  end
data/README.markdown CHANGED
@@ -1,9 +1,32 @@
1
- # The Jasmine Gem [![Build Status](https://travis-ci.org/jasmine/jasmine-gem.png?branch=main)](https://travis-ci.org/jasmine/jasmine-gem)
1
+ # The Jasmine Gem
2
+ [![Build Status](https://circleci.com/gh/jasmine/jasmine-gem.svg?style=shield)](https://circleci.com/gh/jasmine/jasmine-gem)
2
3
  [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-gem.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-gem?ref=badge_shield)
3
4
  [![Gem Version](https://badge.fury.io/rb/jasmine.svg)](https://badge.fury.io/rb/jasmine)
4
5
 
5
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.
6
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
+
7
30
  ## Contents
8
31
  This gem contains:
9
32
 
data/jasmine.gemspec CHANGED
@@ -37,8 +37,9 @@ Gem::Specification.new do |s|
37
37
  s.add_development_dependency 'rspec', '>= 2.5.0'
38
38
  s.add_development_dependency 'nokogiri'
39
39
 
40
- s.add_dependency 'jasmine-core', '~> 3.6.0'
41
- s.add_dependency 'rack', '>= 1.2.1'
40
+ s.add_dependency 'jasmine-core', '~> 3.9.0'
41
+ s.add_dependency 'rack', '>= 2.1.4'
42
+ s.add_dependency 'webrick'
42
43
  s.add_dependency 'rake'
43
44
  s.add_dependency 'phantomjs'
44
45
  end
@@ -1,4 +1,5 @@
1
1
  require 'phantomjs'
2
+ require 'json'
2
3
 
3
4
  module Jasmine
4
5
  module Runners
@@ -1,3 +1,3 @@
1
1
  module Jasmine
2
- VERSION = "3.6.0"
2
+ VERSION = "3.9.0"
3
3
  end
@@ -0,0 +1,7 @@
1
+ # Jasmine Gem 3.7 Release Notes
2
+
3
+ ## Summary
4
+
5
+ This release updates the jasmine-core dependency to 3.7.0. See the
6
+ [jasmine-core release notes](https://github.com/jasmine/jasmine/blob/main/release_notes/3.7.0.md)
7
+ for more information
@@ -0,0 +1,38 @@
1
+ # Jasmine Gem 3.8 Release Notes
2
+
3
+ ## Summary
4
+
5
+ This release updates the jasmine-core dependency to 3.8.0. See the
6
+ [jasmine-core release notes](https://github.com/pivotal/jasmine/blob/main/release_notes/3.8.0.md)
7
+ for more information.
8
+
9
+ ## Changes
10
+
11
+ * Ruby 3.0 compatibility
12
+
13
+ # Internal notes
14
+
15
+ * Added Ruby 2.7 and Ruby 3.0 to CI matrix
16
+
17
+ * Migrated from Travis to Circle CI
18
+
19
+ ## Supported Environments
20
+
21
+ The Jasmine gem has been tested in the following environments:
22
+
23
+ | Rails version | Ruby versions |
24
+ |-----------------|---------------|
25
+ | 6 | 2.5-3.0 |
26
+ | 5 | 2.3-2.7 |
27
+ | 4 | 2.3-2.6 |
28
+ | Non-Rails usage | 2.3-3.0 |
29
+
30
+ See the
31
+ [jasmine-core release notes](https://github.com/jasmine/jasmine/blob/main/release_notes/3.8.0.md)
32
+ for supported browsers.
33
+
34
+
35
+
36
+ ------
37
+
38
+ _Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
@@ -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)_
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.6.0
4
+ version: 3.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: 2020-07-24 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,42 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 3.6.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.6.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
+ - !ruby/object:Gem::Dependency
118
+ name: webrick
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
117
131
  - !ruby/object:Gem::Dependency
118
132
  name: rake
119
133
  requirement: !ruby/object:Gem::Requirement
@@ -150,10 +164,10 @@ executables:
150
164
  extensions: []
151
165
  extra_rdoc_files: []
152
166
  files:
167
+ - ".circleci/config.yml"
153
168
  - ".editorconfig"
154
169
  - ".gitignore"
155
170
  - ".rspec"
156
- - ".travis.yml"
157
171
  - Gemfile
158
172
  - HOW_TO_TEST.markdown
159
173
  - MIT.LICENSE
@@ -216,6 +230,10 @@ files:
216
230
  - release_notes/3.5.0.md
217
231
  - release_notes/3.5.1.md
218
232
  - release_notes/3.6.0.md
233
+ - release_notes/3.7.0.md
234
+ - release_notes/3.8.0.md
235
+ - release_notes/3.8.1.md
236
+ - release_notes/3.9.0.md
219
237
  - release_notes/v1.2.1.md
220
238
  - release_notes/v1.3.2.md
221
239
  - release_notes/v2.0.0.md
@@ -290,8 +308,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
308
  - !ruby/object:Gem::Version
291
309
  version: '0'
292
310
  requirements: []
293
- rubyforge_project:
294
- rubygems_version: 2.7.6.2
311
+ rubygems_version: 3.0.3
295
312
  signing_key:
296
313
  specification_version: 4
297
314
  summary: JavaScript BDD framework
data/.travis.yml DELETED
@@ -1,35 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- cache: bundler
4
-
5
- addons:
6
- chrome: stable
7
-
8
- rvm:
9
- - "2.3"
10
- - "2.5"
11
- - "2.6"
12
-
13
- env:
14
- - "RAILS_VERSION=rails6"
15
- - "RAILS_VERSION=rails5"
16
- - "RAILS_VERSION=rails4"
17
- - "RAILS_VERSION=pojs"
18
-
19
- script: "if [ $PERFORMANCE_SPECS ];then bundle exec rake performance_specs --trace; else bundle exec rake --trace; fi"
20
-
21
- jobs:
22
- fast_finish: true
23
- include:
24
- - env:
25
- - "PERFORMANCE_SPECS=true"
26
- - "RAILS_VERSION=rails5"
27
- exclude:
28
- - rvm: "2.3"
29
- env: "RAILS_VERSION=rails6"
30
-
31
- before_install:
32
- - "if [$RAILS_VERSION != rails4 ];then gem update --system; fi"
33
- - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
34
- - "if [ $RAILS_VERSION = rails4 ];then gem install bundler -v '< 2.0' ; else gem install bundler; fi"
35
- - bundle --version