sq_mini_racer 0.3.1.0.4 → 0.3.1.0.6
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 +4 -4
- data/ext/mini_racer_extension/extconf.rb +2 -1
- data/lib/sqreen/mini_racer/version.rb +1 -1
- metadata +6 -8
- data/azure-pipelines.yml +0 -69
- data/azure-template.yml +0 -101
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b2a41e728b0e6df27793c497d38dd6ede2431b8667b7efc50e8e686e175f329
|
|
4
|
+
data.tar.gz: 01dafad126f4119f4e2de4aaa48f9e1e5fa2e335b976c5ff41aa3ce74d6b9ba2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eea5ddc65e27bb6cc9cdbdf36fcc43b4b0507807c312af8016a4a7cd4aef55fd60dc7d6c1c8bbbd600a20140c172878526ad541701523d974ee49989d5dbcafa
|
|
7
|
+
data.tar.gz: d23467f72730c1b9e3f6d10655647368ee40535253024bcc2fff91b45c3c9a7451a585f641e0bfb5a74b231f3b5367216dbeac8b4e11d2c3c767e09e34d9ca0b
|
|
@@ -8,6 +8,7 @@ require 'rubygems/package'
|
|
|
8
8
|
|
|
9
9
|
IS_SOLARIS = RUBY_PLATFORM =~ /solaris/
|
|
10
10
|
IS_LINUX_MUSL = RUBY_PLATFORM =~ /linux-musl/
|
|
11
|
+
IS_INTEL = RUBY_PLATFORM =~ /x86_64/
|
|
11
12
|
|
|
12
13
|
def cppflags_clear_std!
|
|
13
14
|
$CPPFLAGS.gsub! /-std=[^\s]+/, ''
|
|
@@ -22,7 +23,7 @@ def cppflags_add_cpu_extension!
|
|
|
22
23
|
$CPPFLAGS += " -mavx2"
|
|
23
24
|
else
|
|
24
25
|
$CPPFLAGS += " -mssse3"
|
|
25
|
-
end
|
|
26
|
+
end if IS_INTEL
|
|
26
27
|
end
|
|
27
28
|
|
|
28
29
|
def libv8_gem_name
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sq_mini_racer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.1.0.
|
|
4
|
+
version: 0.3.1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sam Saffron
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 1980-01-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -118,8 +118,6 @@ files:
|
|
|
118
118
|
- LICENSE.txt
|
|
119
119
|
- README.md
|
|
120
120
|
- Rakefile
|
|
121
|
-
- azure-pipelines.yml
|
|
122
|
-
- azure-template.yml
|
|
123
121
|
- bin/console
|
|
124
122
|
- bin/setup
|
|
125
123
|
- ext/mini_racer_extension/compat.hpp
|
|
@@ -138,9 +136,9 @@ licenses:
|
|
|
138
136
|
- MIT
|
|
139
137
|
metadata:
|
|
140
138
|
bug_tracker_uri: https://github.com/discourse/mini_racer/issues
|
|
141
|
-
changelog_uri: https://github.com/discourse/mini_racer/blob/v0.3.1.0.
|
|
142
|
-
documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.3.1.0.
|
|
143
|
-
source_code_uri: https://github.com/discourse/mini_racer/tree/v0.3.1.0.
|
|
139
|
+
changelog_uri: https://github.com/discourse/mini_racer/blob/v0.3.1.0.6/CHANGELOG
|
|
140
|
+
documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.3.1.0.6
|
|
141
|
+
source_code_uri: https://github.com/discourse/mini_racer/tree/v0.3.1.0.6
|
|
144
142
|
post_install_message:
|
|
145
143
|
rdoc_options: []
|
|
146
144
|
require_paths:
|
|
@@ -157,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
157
155
|
- !ruby/object:Gem::Version
|
|
158
156
|
version: '0'
|
|
159
157
|
requirements: []
|
|
160
|
-
rubygems_version: 3.2.
|
|
158
|
+
rubygems_version: 3.2.16
|
|
161
159
|
signing_key:
|
|
162
160
|
specification_version: 4
|
|
163
161
|
summary: Minimal embedded v8 for Ruby
|
data/azure-pipelines.yml
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
jobs:
|
|
2
|
-
- template: azure-template.yml
|
|
3
|
-
parameters:
|
|
4
|
-
name: linux_2_0
|
|
5
|
-
displayName: Linux Ruby 2.0
|
|
6
|
-
rubyVersion: '2.0'
|
|
7
|
-
publishCoverage: true
|
|
8
|
-
|
|
9
|
-
- template: azure-template.yml
|
|
10
|
-
parameters:
|
|
11
|
-
name: linux_2_1
|
|
12
|
-
displayName: Linux Ruby 2.1
|
|
13
|
-
rubyVersion: '2.1'
|
|
14
|
-
|
|
15
|
-
- template: azure-template.yml
|
|
16
|
-
parameters:
|
|
17
|
-
name: linux_2_2
|
|
18
|
-
displayName: Linux Ruby 2.2
|
|
19
|
-
rubyVersion: '2.2'
|
|
20
|
-
|
|
21
|
-
- template: azure-template.yml
|
|
22
|
-
parameters:
|
|
23
|
-
name: linux_2_3
|
|
24
|
-
displayName: Linux Ruby 2.3
|
|
25
|
-
rubyVersion: '2.3'
|
|
26
|
-
|
|
27
|
-
- template: azure-template.yml
|
|
28
|
-
parameters:
|
|
29
|
-
name: linux_2_4
|
|
30
|
-
displayName: Linux Ruby 2.4
|
|
31
|
-
rubyVersion: '2.4'
|
|
32
|
-
|
|
33
|
-
- template: azure-template.yml
|
|
34
|
-
parameters:
|
|
35
|
-
name: linux_2_5
|
|
36
|
-
displayName: Linux Ruby 2.5
|
|
37
|
-
rubyVersion: '2.5'
|
|
38
|
-
|
|
39
|
-
- template: azure-template.yml
|
|
40
|
-
parameters:
|
|
41
|
-
name: linux_2_6
|
|
42
|
-
displayName: Linux Ruby 2.6
|
|
43
|
-
rubyVersion: '2.6'
|
|
44
|
-
|
|
45
|
-
- template: azure-template.yml
|
|
46
|
-
parameters:
|
|
47
|
-
name: linux_2_7
|
|
48
|
-
displayName: Linux Ruby 2.7
|
|
49
|
-
rubyVersion: '2.7'
|
|
50
|
-
|
|
51
|
-
- template: azure-template.yml
|
|
52
|
-
parameters:
|
|
53
|
-
name: linux_2_7_mini_racer
|
|
54
|
-
displayName: Linux Ruby 2.7 (with mini_racer)
|
|
55
|
-
rubyVersion: '2.7'
|
|
56
|
-
with_mini_racer: true
|
|
57
|
-
|
|
58
|
-
- template: azure-template.yml
|
|
59
|
-
parameters:
|
|
60
|
-
name: linux_2_7_therubyracer
|
|
61
|
-
displayName: Linux Ruby 2.7 (with therubyracer)
|
|
62
|
-
rubyVersion: '2.7'
|
|
63
|
-
with_therubyracer: true
|
|
64
|
-
|
|
65
|
-
- template: azure-template.yml
|
|
66
|
-
parameters:
|
|
67
|
-
name: macos_10_15
|
|
68
|
-
displayName: MacOS 10.15
|
|
69
|
-
imageName: 'macos-10.15'
|
data/azure-template.yml
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
parameters:
|
|
2
|
-
name: ~
|
|
3
|
-
displayName: ~
|
|
4
|
-
rubyVersion: bundled
|
|
5
|
-
imageName: ubuntu-18.04
|
|
6
|
-
publishCoverage: false
|
|
7
|
-
with_mini_racer: false
|
|
8
|
-
with_therubyracer: false
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
- job: ${{ parameters.name }}
|
|
12
|
-
displayName: ${{ parameters.displayName }}
|
|
13
|
-
pool:
|
|
14
|
-
vmImage: ${{ parameters.imageName }}
|
|
15
|
-
|
|
16
|
-
variables:
|
|
17
|
-
TESTOPTS: -v
|
|
18
|
-
${{ if eq(parameters.publishCoverage, true) }}:
|
|
19
|
-
CPPFLAGS: --coverage
|
|
20
|
-
LDFLAGS: --coverage
|
|
21
|
-
${{ if eq(parameters.rubyVersion, 'bundled') }}:
|
|
22
|
-
gem: gem
|
|
23
|
-
bundle: bundle
|
|
24
|
-
${{ if ne(parameters.rubyVersion, 'bundled') }}:
|
|
25
|
-
gem: /opt/ruby/${{ parameters.rubyVersion }}/bin/gem
|
|
26
|
-
bundle: /opt/ruby/${{ parameters.rubyVersion }}/bin/bundle
|
|
27
|
-
GEM_HOME: /opt/ruby/${{ parameters.rubyVersion }}/lib/ruby/gems/${{ parameters.rubyVersion }}.0
|
|
28
|
-
|
|
29
|
-
steps:
|
|
30
|
-
- checkout: self
|
|
31
|
-
displayName: Checkout
|
|
32
|
-
clean: true
|
|
33
|
-
submodules: recursive
|
|
34
|
-
|
|
35
|
-
- ${{ if ne(parameters.rubyVersion, 'bundled') }}:
|
|
36
|
-
- script: |
|
|
37
|
-
sudo apt-get install -y gnupg
|
|
38
|
-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 5D98E7264E3F3D89463B314B12229434A9F003C9
|
|
39
|
-
echo deb [arch=amd64] http://sqreen-download-private.s3.amazonaws.com/deb bionic main | sudo tee -a /etc/apt/sources.list
|
|
40
|
-
sudo apt-get update
|
|
41
|
-
sudo apt-get install -y sq-ruby${{ parameters.rubyVersion }} ruby-
|
|
42
|
-
displayName: Install Ruby
|
|
43
|
-
|
|
44
|
-
- ${{ if eq(parameters.rubyVersion, 'bundled') }}:
|
|
45
|
-
- script: sudo $(gem) install bundler --version '< 2.0' --no-document
|
|
46
|
-
displayName: Install bundler
|
|
47
|
-
|
|
48
|
-
- ${{ if eq(parameters.imageName, 'ubuntu-18.04') }}:
|
|
49
|
-
- script: |
|
|
50
|
-
sudo apt-get install -y build-essential git curl valgrind g++ make
|
|
51
|
-
displayName: Install Linux packages
|
|
52
|
-
|
|
53
|
-
- script: $(bundle) install --path vendor/bundle
|
|
54
|
-
displayName: Install gem dependencies
|
|
55
|
-
env:
|
|
56
|
-
${{ if eq(parameters.with_mini_racer, true) }}:
|
|
57
|
-
LOAD_MINI_RACER: 1
|
|
58
|
-
${{ if eq(parameters.with_therubyracer, true) }}:
|
|
59
|
-
LOAD_THERUBYRACER: 1
|
|
60
|
-
|
|
61
|
-
- script: PATH=`dirname $(bundle)`:$PATH CPPFLAGS=$(CPPFLAGS) LDFLAGS=$(LDFLAGS) $(bundle) exec rake compile
|
|
62
|
-
displayName: Compile extension
|
|
63
|
-
|
|
64
|
-
- script: |
|
|
65
|
-
find . -name '*.log' -exec cat '{}' \;
|
|
66
|
-
displayName: Print logs
|
|
67
|
-
condition: failed()
|
|
68
|
-
|
|
69
|
-
- script: TESTOPTS=--junit $(bundle) exec rake test
|
|
70
|
-
displayName: Run tests
|
|
71
|
-
env:
|
|
72
|
-
${{ if eq(parameters.with_mini_racer, true) }}:
|
|
73
|
-
LOAD_MINI_RACER: 1
|
|
74
|
-
${{ if eq(parameters.with_therubyracer, true) }}:
|
|
75
|
-
LOAD_THERUBYRACER: 1
|
|
76
|
-
|
|
77
|
-
- task: PublishTestResults@2
|
|
78
|
-
displayName: Publish test results
|
|
79
|
-
condition: succeededOrFailed()
|
|
80
|
-
inputs:
|
|
81
|
-
testResultsFormat: 'JUnit'
|
|
82
|
-
testResultsFiles: '**/report.xml'
|
|
83
|
-
searchFolder: '$(System.DefaultWorkingDirectory)'
|
|
84
|
-
mergeTestResults: true
|
|
85
|
-
|
|
86
|
-
- ${{ if and(eq(parameters.imageName, 'ubuntu-18.04'), eq(parameters.with_mini_racer, false), eq(parameters.with_therubyracer, false)) }}:
|
|
87
|
-
- script: $(bundle) exec rake test:valgrind
|
|
88
|
-
displayName: Run tests w/ valgrind
|
|
89
|
-
|
|
90
|
-
- script: |
|
|
91
|
-
PATH=$PATH:$(dirname $(which $(gem)))
|
|
92
|
-
$(bundle) exec rake build
|
|
93
|
-
sudo PATH=$PATH $(gem) install pkg/*.gem
|
|
94
|
-
displayName: Check that the gem is installable
|
|
95
|
-
|
|
96
|
-
- ${{ if eq(parameters.publishCoverage, true) }}:
|
|
97
|
-
- bash: >
|
|
98
|
-
test -z "$CODECOV_TOKEN" || bash <(curl -s https://codecov.io/bash)
|
|
99
|
-
displayName: "Publish coverage (Codecov)"
|
|
100
|
-
env:
|
|
101
|
-
CODECOV_TOKEN: $(CODECOV_TOKEN)
|