jasmine-core 3.7.0 → 3.10.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.
@@ -4,6 +4,6 @@
4
4
  #
5
5
  module Jasmine
6
6
  module Core
7
- VERSION = "3.7.0"
7
+ VERSION = "3.10.0"
8
8
  end
9
9
  end
data/lib/jasmine-core.js CHANGED
@@ -5,11 +5,12 @@ var path = require('path'),
5
5
  fs = require('fs');
6
6
 
7
7
  var rootPath = path.join(__dirname, "jasmine-core"),
8
- bootFiles = ['boot.js'],
8
+ bootFiles = ['boot0.js', 'boot1.js'],
9
+ legacyBootFiles = ['boot.js'],
9
10
  nodeBootFiles = ['node_boot.js'],
10
11
  cssFiles = [],
11
12
  jsFiles = [],
12
- jsFilesToSkip = ['jasmine.js'].concat(bootFiles, nodeBootFiles);
13
+ jsFilesToSkip = ['jasmine.js'].concat(bootFiles, legacyBootFiles, nodeBootFiles);
13
14
 
14
15
  fs.readdirSync(rootPath).forEach(function(file) {
15
16
  if(fs.statSync(path.join(rootPath, file)).isFile()) {
data/lib/jasmine-core.rb CHANGED
@@ -1,3 +1,28 @@
1
+ if ENV["SUPPRESS_JASMINE_DEPRECATION"].nil?
2
+ puts <<~END_DEPRECATION_MSG
3
+ The Jasmine Ruby gems are deprecated. There will be no further releases after
4
+ the end of the Jasmine 3.x series. We recommend that most users migrate to the
5
+ jasmine-browser-runner npm package, which is the direct replacement for the
6
+ jasmine gem. See <https://jasmine.github.io/setup/browser.html> for setup
7
+ instructions, including for Rails applications that use either Sprockets or
8
+ Webpacker.
9
+
10
+ If jasmine-browser-runner doesn't meet your needs, one of these might:
11
+
12
+ * The jasmine npm package to run specs in Node.js:
13
+ <https://github.com/jasmine/jasmine-npm>
14
+ * The standalone distribution to run specs in browsers with no additional
15
+ tools: <https://github.com/jasmine/jasmine#installation>
16
+ * The jasmine-core npm package if all you need is the Jasmine assets:
17
+ <https://github.com/jasmine/jasmine>. This is the direct equivalent of the
18
+ jasmine-core Ruby gem.
19
+
20
+ To prevent this message from appearing, set the SUPPRESS_JASMINE_DEPRECATION
21
+ environment variable.
22
+
23
+ END_DEPRECATION_MSG
24
+ end
25
+
1
26
  module Jasmine
2
27
  module Core
3
28
  class << self
@@ -6,7 +31,7 @@ module Jasmine
6
31
  end
7
32
 
8
33
  def js_files
9
- (["jasmine.js"] + Dir.glob(File.join(path, "*.js"))).map { |f| File.basename(f) }.uniq - boot_files - node_boot_files
34
+ (["jasmine.js"] + Dir.glob(File.join(path, "*.js"))).map { |f| File.basename(f) }.uniq - boot_files - ["boot0.js", "boot1.js"] - node_boot_files
10
35
  end
11
36
 
12
37
  SPEC_TYPES = ["core", "html", "node"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.10.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: 2021-03-18 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -24,8 +24,17 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: Test your JavaScript without any framework dependencies, in any environment,
27
+ description: |
28
+ Test your JavaScript without any framework dependencies, in any environment,
28
29
  and with a nice descriptive syntax.
30
+
31
+ Jasmine for Ruby is deprecated. The direct replacment for the jasmine-core
32
+ gem is the jasmine-core NPM package. If you are also using the jasmine gem,
33
+ we recommend using the jasmine-browser-runner NPM package instead. It
34
+ supports all the same scenarios as the jasmine gem gem plus Webpacker. See
35
+ https://jasmine.github.io/setup/browser.html for setup instructions, and
36
+ https://github.com/jasmine/jasmine-gem/blob/main/release_notes/3.9.0.md
37
+ for other options.
29
38
  email: jasmine-js@googlegroups.com
30
39
  executables: []
31
40
  extensions: []
@@ -36,7 +45,11 @@ files:
36
45
  - "./lib/jasmine-core/__init__.py"
37
46
  - "./lib/jasmine-core/boot.js"
38
47
  - "./lib/jasmine-core/boot/boot.js"
48
+ - "./lib/jasmine-core/boot/boot0.js"
49
+ - "./lib/jasmine-core/boot/boot1.js"
39
50
  - "./lib/jasmine-core/boot/node_boot.js"
51
+ - "./lib/jasmine-core/boot0.js"
52
+ - "./lib/jasmine-core/boot1.js"
40
53
  - "./lib/jasmine-core/core.py"
41
54
  - "./lib/jasmine-core/example/node_example/lib/jasmine_examples/Player.js"
42
55
  - "./lib/jasmine-core/example/node_example/lib/jasmine_examples/Song.js"
@@ -71,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
84
  - !ruby/object:Gem::Version
72
85
  version: '0'
73
86
  requirements: []
74
- rubyforge_project:
75
- rubygems_version: 2.7.6.2
87
+ rubygems_version: 3.1.2
76
88
  signing_key:
77
89
  specification_version: 4
78
90
  summary: JavaScript BDD framework