therubyrhino 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +10 -0
- data/README.md +1 -1
- data/Rakefile +8 -1
- data/lib/rhino/version.rb +1 -1
- data/spec/rhino/error_spec.rb +3 -3
- data/therubyrhino.gemspec +1 -1
- metadata +31 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfbbbe6278ac40b243346d4eb66423015b12097e
|
4
|
+
data.tar.gz: 44d5e546ce36f119d27a2fa9d76865834eabb92a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 018a23433c6958f5e36ff9cdfd2c403bebc18d431c595cdba6b90d78affdd299268689163d48b552ad21471985f9ba0f91a45581b53256a333826ee658d601ae
|
7
|
+
data.tar.gz: 960f6e3be8c7692306609d11293b9307c8a2c038fce381dcd25c7ddd0f03636c01d61068f94cf97266a504b7e86a185c2ec751b38876dbb138ecbd32799e708e
|
data/History.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## jar-1.7.6 2015-04-29
|
2
|
+
|
3
|
+
* updated to Mozilla's Rhino 1.7R5 release from 2015-04-15, notes:
|
4
|
+
https://github.com/mozilla/rhino/releases/tag/Rhino1_7_6_RELEASE
|
5
|
+
|
6
|
+
## jar-1.7.5 2015-04-29
|
7
|
+
|
8
|
+
* updated to Mozilla's Rhino 1.7R5 release from 2015-01-29, notes:
|
9
|
+
https://github.com/mozilla/rhino/releases/tag/Rhino1_7R5_RELEASE
|
10
|
+
|
1
11
|
## 2.0.3 2014-02-20
|
2
12
|
|
3
13
|
* minor fix for time_to_js when scope not set (#27)
|
data/README.md
CHANGED
@@ -240,7 +240,7 @@ require 'rhino'
|
|
240
240
|
|
241
241
|
(The MIT License)
|
242
242
|
|
243
|
-
Copyright (c) 2009-
|
243
|
+
Copyright (c) 2009-2015 Charles Lowell
|
244
244
|
|
245
245
|
Permission is hereby granted, free of charge, to any person obtaining
|
246
246
|
a copy of this software and associated documentation files (the
|
data/Rakefile
CHANGED
@@ -27,7 +27,14 @@ require 'bundler/gem_helper'
|
|
27
27
|
task('install') { gem_helper.install_gem }
|
28
28
|
|
29
29
|
desc "Create tag #{version_tag} and build and push #{name}-#{version}.gem to Rubygems"
|
30
|
-
task('release')
|
30
|
+
task('release') do
|
31
|
+
gem_helper.instance_eval do
|
32
|
+
guard_clean
|
33
|
+
built_gem_path = build_gem
|
34
|
+
tag_version unless already_tagged?
|
35
|
+
rubygem_push(built_gem_path) if gem_push?
|
36
|
+
end
|
37
|
+
end
|
31
38
|
end
|
32
39
|
end
|
33
40
|
|
data/lib/rhino/version.rb
CHANGED
data/spec/rhino/error_spec.rb
CHANGED
@@ -81,7 +81,7 @@ describe Rhino::JSError do
|
|
81
81
|
# [ "at <eval>:1", "at org/mozilla/javascript/gen/<eval>:1" ]
|
82
82
|
e.javascript_backtrace.should be_a Enumerable
|
83
83
|
e.javascript_backtrace.size.should >= 1
|
84
|
-
e.javascript_backtrace[0].should
|
84
|
+
e.javascript_backtrace[0].should =~ /at .*?<eval>:1/
|
85
85
|
e.javascript_backtrace(true).should be_a Enumerable
|
86
86
|
e.javascript_backtrace(true).size.should >= 1
|
87
87
|
element = e.javascript_backtrace(true)[0]
|
@@ -98,7 +98,7 @@ describe Rhino::JSError do
|
|
98
98
|
Rhino::Context.eval "function fortyTwo() { throw 42 }\n fortyTwo()"
|
99
99
|
rescue => e
|
100
100
|
e.javascript_backtrace.size.should >= 2
|
101
|
-
e.javascript_backtrace[0].should
|
101
|
+
e.javascript_backtrace[0].should =~ /at .*?<eval>:1 \(fortyTwo\)/
|
102
102
|
expect( e.javascript_backtrace.find { |trace| trace == "at <eval>:2" } ).to_not be nil
|
103
103
|
else
|
104
104
|
fail "expected to rescue"
|
@@ -110,7 +110,7 @@ describe Rhino::JSError do
|
|
110
110
|
Rhino::Context.eval "throw 42"
|
111
111
|
rescue => e
|
112
112
|
e.backtrace.should be_a Array
|
113
|
-
e.backtrace[0].should
|
113
|
+
e.backtrace[0].should =~ /at .*?<eval>:1/
|
114
114
|
e.backtrace[1].should_not be nil
|
115
115
|
else
|
116
116
|
fail "expected to rescue"
|
data/therubyrhino.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.files = `git ls-files`.split("\n").sort.
|
20
20
|
reject { |file| file == 'therubyrhino_jar.gemspec' || file =~ /^jar\// }
|
21
21
|
|
22
|
-
s.add_dependency "therubyrhino_jar", '>= 1.7.3'
|
22
|
+
s.add_dependency "therubyrhino_jar", '>= 1.7.3', '< 1.7.7'
|
23
23
|
|
24
24
|
s.add_development_dependency "rspec", "~> 2.14.1"
|
25
25
|
s.add_development_dependency "mocha", "~> 0.13.3"
|
metadata
CHANGED
@@ -1,57 +1,63 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: therubyrhino
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Lowell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: therubyrhino_jar
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.7.3
|
20
14
|
requirement: !ruby/object:Gem::Requirement
|
21
15
|
requirements:
|
22
|
-
- -
|
16
|
+
- - ">="
|
23
17
|
- !ruby/object:Gem::Version
|
24
18
|
version: 1.7.3
|
19
|
+
- - "<"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.7.7
|
22
|
+
name: therubyrhino_jar
|
25
23
|
prerelease: false
|
26
24
|
type: :runtime
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rspec
|
29
25
|
version_requirements: !ruby/object:Gem::Requirement
|
30
26
|
requirements:
|
31
|
-
- -
|
27
|
+
- - ">="
|
32
28
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
29
|
+
version: 1.7.3
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.7.7
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
|
-
- - ~>
|
36
|
+
- - "~>"
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: 2.14.1
|
39
|
+
name: rspec
|
39
40
|
prerelease: false
|
40
41
|
type: :development
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: mocha
|
43
42
|
version_requirements: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
|
-
- - ~>
|
44
|
+
- - "~>"
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
46
|
+
version: 2.14.1
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- - ~>
|
50
|
+
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 0.13.3
|
53
|
+
name: mocha
|
53
54
|
prerelease: false
|
54
55
|
type: :development
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.13.3
|
55
61
|
description: Call javascript code and manipulate javascript objects from ruby. Call ruby code and manipulate ruby objects from javascript.
|
56
62
|
email: cowboyd@thefrontside.net
|
57
63
|
executables: []
|
@@ -59,9 +65,9 @@ extensions: []
|
|
59
65
|
extra_rdoc_files:
|
60
66
|
- README.md
|
61
67
|
files:
|
62
|
-
- .gitignore
|
63
|
-
- .rspec
|
64
|
-
- .travis.yml
|
68
|
+
- ".gitignore"
|
69
|
+
- ".rspec"
|
70
|
+
- ".travis.yml"
|
65
71
|
- Gemfile
|
66
72
|
- History.md
|
67
73
|
- README.md
|
@@ -105,17 +111,17 @@ require_paths:
|
|
105
111
|
- lib
|
106
112
|
required_ruby_version: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
|
-
- -
|
114
|
+
- - ">="
|
109
115
|
- !ruby/object:Gem::Version
|
110
116
|
version: '0'
|
111
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
118
|
requirements:
|
113
|
-
- -
|
119
|
+
- - ">="
|
114
120
|
- !ruby/object:Gem::Version
|
115
121
|
version: '0'
|
116
122
|
requirements: []
|
117
123
|
rubyforge_project: therubyrhino
|
118
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.4.8
|
119
125
|
signing_key:
|
120
126
|
specification_version: 4
|
121
127
|
summary: Embed the Rhino JavaScript interpreter into JRuby
|