sqreen 0.7.01461767359 → 0.7.01461829538
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -21
- data/lib/sqreen/rules_callbacks/execjs.rb +1 -12
- data/lib/sqreen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9a47ebeb9ec7efdada8010d8d29181b2f92c21b
|
4
|
+
data.tar.gz: 56f562ef195864c8bfd284fe970627b3969c2f88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63107464bf158bed6ea78e798d063ce4bb25ea94006ff26d1e5e16cf1ef7a3a1acd90d21089a8c9b78681e7c500a74e83ab64bee91406b7d4470c824eefc298f
|
7
|
+
data.tar.gz: 3ad1c181e38294ce3898fb61674ceffec94d926f47ddfd2c0de9e25b7ff73dfa7e1af27fe353422d5f9ee114ed762e1f1db3ec5cf5d88a4911d180d9de21438f
|
data/README.md
CHANGED
@@ -75,24 +75,3 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
75
75
|
## Contributing
|
76
76
|
|
77
77
|
Bug reports and pull requests are welcome on GitHub at https://github.com/sqreen/RubyAgent. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
78
|
-
|
79
|
-
## Releasing
|
80
|
-
|
81
|
-
Linux builds are handled by Jenkins.
|
82
|
-
|
83
|
-
For OSX builds, you need to first release the gem with Jenkins, which will
|
84
|
-
generate a gem name wuch as `sqreen-0.7.01461158029-java.gem`. The
|
85
|
-
`BUILD_SUFFIX` is in this case `1461158029`.
|
86
|
-
|
87
|
-
```shell
|
88
|
-
$ git checkout gem-0.7.01461158029 # use the same source code version
|
89
|
-
$ rbenv shell <ruby_version> # may be darwin specific
|
90
|
-
$ export BUILD_SUFFIX=1461158029
|
91
|
-
$ rbenv exec rake build
|
92
|
-
```
|
93
|
-
|
94
|
-
The binary gem should be released in:
|
95
|
-
```
|
96
|
-
pkg/sqreen-0.7.01461158029-x86_64-darwin-15.gem
|
97
|
-
```
|
98
|
-
|
@@ -4,18 +4,7 @@
|
|
4
4
|
if defined?(::JRUBY_VERSION)
|
5
5
|
require 'rhino'
|
6
6
|
else
|
7
|
-
|
8
|
-
require 'therubyracer'
|
9
|
-
rescue LoadError => e
|
10
|
-
if RUBY_PLATFORM['darwin']
|
11
|
-
if defined?(ExecJS::Runtimes::JavaScriptCore) &&
|
12
|
-
ExecJS::Runtimes::JavaScriptCore.available?
|
13
|
-
ExecJS.runtime = ExecJS::Runtimes::JavaScriptCore
|
14
|
-
else
|
15
|
-
raise e
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
7
|
+
require 'therubyracer'
|
19
8
|
end
|
20
9
|
|
21
10
|
require 'execjs'
|
data/lib/sqreen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqreen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.01461829538
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sqreen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|