sq_mini_racer 0.2.4.sqreen3 → 0.2.4.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da4cace43c9af136e8d30f3918dbd99af25f72fd904d7db9a888a843925000ba
4
- data.tar.gz: 3f234d5dafea154baa80d0a459bcff351cb0c0d01ed2604b293bd22756809303
3
+ metadata.gz: eb7be23e127c27a87be5d25075c26ec77ba06f19878e69088827077b6fc5844b
4
+ data.tar.gz: cc1a09e6683d40813f8702cd683b0237aa9717e79f3a93c95870367934a06a5f
5
5
  SHA512:
6
- metadata.gz: 9b461007d884a961d3b081ceac7c5d815477d3993ced64f108ae078ede7d54318a0a3aa3b504431b50d6b7167ea4f0ac592f097406e31c35cd184bb25e84ac6b
7
- data.tar.gz: a8e76f1ddd78a6578aaa35424f87ffce467065cf1b981af9673a6a7e01d5c6e0263161eaa68f1263acffd20e400ae0453a9a388cc0735d7d75b539f6d2973b09
6
+ metadata.gz: f854ba80b5702b0620feb0c16126e1b9f4b864a332a1e7b50df15fd4f8af16d49b330cdd296e3fa2b795d7c17857ae66d1705fdf4fd68784288317571120a651
7
+ data.tar.gz: 457b7ac2ef3b81a9f5f8d6353cf73c588c12af06af085fcfe456afa29b48ba96f324dc7cae173362a410c3009ae2394d30ea130e5785bcb24741378b79a0f851
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ lib/sq_mini_racer_extension.so
11
+ lib/sq_mini_racer_loader.so
12
+ *.bundle
@@ -0,0 +1,22 @@
1
+ ARG RUBY_VERSION=2.7
2
+ FROM ruby:${RUBY_VERSION}
3
+
4
+ RUN test ! -f /etc/alpine-release || apk add --no-cache build-base git
5
+
6
+ # without this `COPY .git`, we get the following error:
7
+ # fatal: not a git repository (or any of the parent directories): .git
8
+ # but with it we need the full gem just to compile the extension because
9
+ # of gemspec's `git --ls-files`
10
+ # COPY .git /code/.git
11
+
12
+ COPY Gemfile mini_racer.gemspec /code/
13
+ COPY lib/sqreen/mini_racer/version.rb /code/lib/sqreen/mini_racer/version.rb
14
+ WORKDIR /code
15
+ RUN bundle install
16
+
17
+ COPY Rakefile /code/
18
+ COPY ext /code/ext/
19
+ RUN bundle exec rake compile
20
+
21
+ COPY . /code/
22
+ CMD bundle exec irb -rmini_racer
@@ -0,0 +1,69 @@
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'
@@ -0,0 +1,92 @@
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: $(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
+ - ${{ if and(eq(parameters.imageName, 'ubuntu-18.04'), eq(parameters.with_mini_racer, false), eq(parameters.with_therubyracer, false)) }}:
78
+ - script: $(bundle) exec rake test:valgrind
79
+ displayName: Run tests w/ valgrind
80
+
81
+ - script: |
82
+ PATH=$PATH:$(dirname $(which $(gem)))
83
+ $(bundle) exec rake build
84
+ sudo PATH=$PATH $(gem) install pkg/*.gem
85
+ displayName: Check that the gem is installable
86
+
87
+ - ${{ if eq(parameters.publishCoverage, true) }}:
88
+ - bash: >
89
+ test -z "$CODECOV_TOKEN" || bash <(curl -s https://codecov.io/bash)
90
+ displayName: "Publish coverage (Codecov)"
91
+ env:
92
+ CODECOV_TOKEN: $(CODECOV_TOKEN)
@@ -1,28 +1,220 @@
1
1
  require 'mkmf'
2
+
2
3
  require 'fileutils'
4
+ require 'net/http'
5
+ require 'json'
6
+ require 'rubygems'
7
+ require 'rubygems/package'
3
8
 
4
- IS_DARWIN = RUBY_PLATFORM =~ /darwin/
5
9
  IS_SOLARIS = RUBY_PLATFORM =~ /solaris/
10
+ IS_LINUX_MUSL = RUBY_PLATFORM =~ /linux-musl/
11
+
12
+ def cppflags_clear_std!
13
+ $CPPFLAGS.gsub! /-std=[^\s]+/, ''
14
+ end
15
+
16
+ def cppflags_add_frame_pointer!
17
+ $CPPFLAGS += " -fno-omit-frame-pointer"
18
+ end
19
+
20
+ def cppflags_add_cpu_extension!
21
+ if enable_config('avx2')
22
+ $CPPFLAGS += " -mavx2"
23
+ else
24
+ $CPPFLAGS += " -mssse3"
25
+ end
26
+ end
27
+
28
+ def libv8_gem_name
29
+ #return "libv8-solaris" if IS_SOLARIS
30
+ #return "libv8-alpine" if IS_LINUX_MUSL
31
+
32
+ 'libv8-node'
33
+ end
34
+
35
+ def libv8_requirement
36
+ '~> 10.22.1.0.beta1'
37
+ end
38
+
39
+ def libv8_basename(version)
40
+ "#{libv8_gem_name}-#{version}-#{ruby_platform}"
41
+ end
42
+
43
+ def libv8_gemspec(version)
44
+ "#{libv8_basename(version)}.gemspec"
45
+ end
46
+
47
+ def libv8_local_path(path=Gem.path)
48
+ name_glob = "#{libv8_gem_name}-*-#{ruby_platform}"
49
+
50
+ puts "looking for #{name_glob} in #{path.inspect}"
51
+
52
+ paths = path.map { |p| Dir.glob(File.join(p, 'specifications', name_glob + '.gemspec')) }.flatten
53
+
54
+ if paths.empty?
55
+ puts "#{name_glob} not found in #{path.inspect}"
56
+ return
57
+ end
58
+
59
+ specs = paths.map { |p| [p, eval(File.read(p))] }
60
+ .select { |_, spec| Gem::Requirement.new(libv8_requirement).satisfied_by?(spec.version) }
61
+ found_path, found_spec = specs.sort_by { |_, spec| spec.version }.last
62
+
63
+ unless found_path && found_spec
64
+ puts "not found in specs: no '#{libv8_requirement}' in #{paths.inspect}"
65
+ return
66
+ end
67
+
68
+ puts "found in specs: #{found_path}"
69
+
70
+ gemdir = File.basename(found_path, '.gemspec')
71
+ dir = File.expand_path(File.join(found_path, '..', '..', 'gems', gemdir))
72
+
73
+ unless Dir.exist?(dir)
74
+ puts "not found in gems: #{dir}"
75
+ return
76
+ end
77
+
78
+ puts "found in gems: #{dir}"
79
+
80
+ [dir, found_spec]
81
+ end
82
+
83
+ def vendor_path
84
+ File.join(Dir.pwd, 'vendor')
85
+ end
86
+
87
+ def libv8_vendor_path
88
+ libv8_local_path([vendor_path])
89
+ end
90
+
91
+ def parse_platform(str)
92
+ Gem::Platform.new(str).tap do |p|
93
+ p.instance_eval { @version = 'musl' } if str =~ /-musl/ && p.version.nil?
94
+ p.instance_eval { @cpu = 'x86_64' } if str =~ /universal.*darwin/
95
+ end
96
+ end
97
+
98
+ def ruby_platform
99
+ parse_platform(RUBY_PLATFORM)
100
+ end
101
+
102
+ def http_get(uri)
103
+ Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https') do |http|
104
+ res = http.get(uri.path)
105
+
106
+ abort("HTTP error #{res.code}: #{uri}") unless res.code == '200'
107
+
108
+ return res.body
109
+ end
110
+ end
111
+
112
+ def libv8_remote_search
113
+ body = http_get(URI("https://rubygems.org/api/v1/versions/#{libv8_gem_name}.json"))
114
+ json = JSON.parse(body)
115
+
116
+ versions = json.select do |v|
117
+ Gem::Requirement.new(libv8_requirement).satisfied_by?(Gem::Version.new(v['number']))
118
+ end
119
+ abort(<<-ERROR) if versions.empty?
120
+ ERROR: could not find #{libv8_gem_name} (requirement #{libv8_requirement}) in rubygems.org
121
+ ERROR
122
+
123
+ platform_versions = versions.select do |v|
124
+ parse_platform(v['platform']) == ruby_platform unless v['platform'] =~ /universal.*darwin/
125
+ end
126
+ abort(<<-ERROR) if platform_versions.empty?
127
+ ERROR: found gems matching #{libv8_gem_name}:'#{libv8_requirement}', but no binary for #{ruby_platform}
128
+ try "gem install #{libv8_gem_name}:'#{libv8_requirement}'" to attempt to build #{libv8_gem_name} from source
129
+ ERROR
130
+
131
+ puts "found #{libv8_gem_name} for #{ruby_platform} on rubygems: #{platform_versions.map { |v| v['number'] }.join(', ')}"
132
+
133
+ platform_versions.sort_by { |v| Gem::Version.new(v['number']) }.last
134
+ end
135
+
136
+ def libv8_download_uri(name, version, platform)
137
+ URI("https://rubygems.org/downloads/#{name}-#{version}-#{platform}.gem")
138
+ end
139
+
140
+ def libv8_downloaded_gem(name, version, platform)
141
+ "#{name}-#{version}-#{platform}.gem"
142
+ end
143
+
144
+ def libv8_download(name, version, platform)
145
+ FileUtils.mkdir_p(File.join(vendor_path, 'cache'))
146
+ body = http_get(libv8_download_uri(name, version, platform))
147
+ File.open(File.join(vendor_path, 'cache', libv8_downloaded_gem(name, version, platform)), 'wb') { |f| f.write(body) }
148
+ end
149
+
150
+ def libv8_install!
151
+ cmd = "gem install #{libv8_gem_name} --version '#{libv8_requirement}' --install-dir '#{vendor_path}'"
152
+ puts "installing #{libv8_gem_name} using `#{cmd}`"
153
+ rc = system(cmd)
154
+
155
+ abort(<<-ERROR) unless rc
156
+ ERROR: could not install #{libv8_gem_name}:#{libv8_requirement}
157
+ try "gem install #{libv8_gem_name} -v '#{libv8_requirement}'" to attempt to build libv8 from source
158
+ ERROR
159
+
160
+ libv8_local_path([vendor_path])
161
+ end
162
+
163
+ def libv8_vendor!
164
+ return libv8_install! if Gem::VERSION < '2.0'
165
+
166
+ version = libv8_remote_search
167
+
168
+ puts "downloading #{libv8_downloaded_gem(libv8_gem_name, version['number'], version['platform'])} to #{vendor_path}"
169
+ libv8_download(libv8_gem_name, version['number'], version['platform'])
170
+
171
+ package = Gem::Package.new(File.join(vendor_path, 'cache', libv8_downloaded_gem(libv8_gem_name, version['number'], version['platform'])))
172
+ package.extract_files(File.join(vendor_path, 'gems', File.basename(libv8_downloaded_gem(libv8_gem_name, version['number'], version['platform']), '.gem')))
173
+ FileUtils.mkdir_p(File.join(vendor_path, 'specifications'))
174
+ File.open(File.join(vendor_path, 'specifications', File.basename(libv8_downloaded_gem(libv8_gem_name, version['number'], version['platform']), '.gem') + '.gemspec'), 'wb') { |f| f.write(package.spec.to_ruby) }
175
+
176
+ libv8_vendor_path
177
+ end
178
+
179
+ def ensure_libv8_load_path
180
+ puts "platform ruby:#{RUBY_PLATFORM} rubygems:#{Gem::Platform.new(RUBY_PLATFORM)} detected:#{ruby_platform}"
181
+
182
+ libv8_path, spec = libv8_local_path
183
+ if !ENV['ONLY_INSTALLED_LIBV8_GEM'] && !libv8_path
184
+ libv8_path, spec = libv8_vendor_path || libv8_vendor!
185
+ end
186
+
187
+ abort(<<-ERROR) unless libv8_path
188
+ ERROR: could not find #{libv8_gem_name}
189
+ ERROR
190
+
191
+ $LOAD_PATH.unshift(File.join(libv8_path, 'ext'))
192
+ $LOAD_PATH.unshift(File.join(libv8_path, 'lib'))
193
+ end
194
+
195
+ ensure_libv8_load_path
196
+
197
+ require 'libv8-node'
198
+
199
+ IS_DARWIN = RUBY_PLATFORM =~ /darwin/
6
200
 
7
201
  have_library('pthread')
8
202
  have_library('objc') if IS_DARWIN
9
- $CPPFLAGS.gsub! /-std=[^\s]+/, ''
203
+ cppflags_clear_std!
10
204
  $CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
11
205
  $CPPFLAGS += " -g" unless $CPPFLAGS.split.include? "-g"
12
206
  $CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
13
207
  $CPPFLAGS += " -fPIC" unless $CPPFLAGS.split.include? "-rdynamic" or IS_DARWIN
14
208
  $CPPFLAGS += " -std=c++0x"
15
209
  $CPPFLAGS += " -fpermissive"
16
- $CPPFLAGS += " -fno-omit-frame-pointer"
17
- if enable_config('avx2')
18
- $CPPFLAGS += " -mavx2"
19
- else
20
- $CPPFLAGS += " -mssse3"
21
- end
210
+ cppflags_add_frame_pointer!
211
+ cppflags_add_cpu_extension!
22
212
 
23
213
  $CPPFLAGS += " -Wno-reserved-user-defined-literal" if IS_DARWIN
24
214
 
25
215
  $LDFLAGS.insert(0, " -stdlib=libc++ ") if IS_DARWIN
216
+ $LDFLAGS += " -Wl,--no-undefined " unless IS_DARWIN
217
+ $LDFLAGS += " -Wl,-undefined,error " if IS_DARWIN
26
218
 
27
219
  if ENV['CXX']
28
220
  puts "SETTING CXX"
@@ -57,103 +249,15 @@ if CONFIG['warnflags']
57
249
  CONFIG['warnflags'].gsub!('-Wimplicit-function-declaration', '')
58
250
  end
59
251
 
60
- if enable_config('debug')
252
+ if enable_config('debug') || enable_config('asan')
61
253
  CONFIG['debugflags'] << ' -ggdb3 -O0'
62
254
  end
63
255
 
64
- def fixup_libtinfo
65
- dirs = %w[/lib64 /usr/lib64 /lib /usr/lib]
66
- found_v5 = dirs.map { |d| "#{d}/libtinfo.so.5" }.find &File.method(:file?)
67
- return '' if found_v5
68
- found_v6 = dirs.map { |d| "#{d}/libtinfo.so.6" }.find &File.method(:file?)
69
- return '' unless found_v6
70
- FileUtils.ln_s found_v6, 'gemdir/libtinfo.so.5', :force => true
71
- "LD_LIBRARY_PATH='#{File.expand_path('gemdir')}:#{ENV['LD_LIBRARY_PATH']}'"
72
- end
73
-
74
- def libv8_gem_name
75
- return "libv8-solaris" if IS_SOLARIS
76
-
77
- is_musl = false
78
- begin
79
- is_musl = !!(File.read('/proc/self/maps') =~ /ld-musl-x86_64/)
80
- rescue; end
81
-
82
- is_musl ? 'libv8-alpine' : 'libv8'
83
- end
84
-
85
- # 1) old rubygem versions prefer source gems to binary ones
86
- # ... and their --platform switch is broken too, as it leaves the 'ruby'
87
- # platform in Gem.platforms.
88
- # 2) the ruby binaries distributed with alpine (platform ending in -musl)
89
- # refuse to load binary gems by default
90
- def force_platform_gem
91
- gem_version = `gem --version`
92
- return 'gem' unless $?.success?
93
-
94
- if RUBY_PLATFORM != 'x86_64-linux-musl'
95
- return 'gem' if gem_version.to_f.zero? || gem_version.to_f >= 2.3
96
- return 'gem' if RUBY_PLATFORM != 'x86_64-linux'
97
- end
98
-
99
- gem_binary = `which gem`
100
- return 'gem' unless $?.success?
101
-
102
- ruby = File.foreach(gem_binary.strip).first.sub(/^#!/, '').strip
103
- unless File.file? ruby
104
- warn "No valid ruby: #{ruby}"
105
- return 'gem'
106
- end
107
-
108
- require 'tempfile'
109
- file = Tempfile.new('sq_mini_racer')
110
- file << <<EOS
111
- require 'rubygems'
112
- platforms = Gem.platforms
113
- platforms.reject! { |it| it == 'ruby' }
114
- if platforms.empty?
115
- platforms << Gem::Platform.new('x86_64-linux')
116
- end
117
- Gem.send(:define_method, :platforms) { platforms }
118
- #{IO.read(gem_binary.strip)}
119
- EOS
120
- file.close
121
- "#{ruby} '#{file.path}'"
122
- end
123
-
124
- LIBV8_VERSION = '6.7.288.46.1'
125
- libv8_rb = Dir.glob('**/libv8.rb').first
126
- FileUtils.mkdir_p('gemdir')
127
- unless libv8_rb
128
- gem_name = libv8_gem_name
129
- cmd = "#{fixup_libtinfo} #{force_platform_gem} install --version '= #{LIBV8_VERSION}' --install-dir gemdir #{gem_name}"
130
- puts "Will try downloading #{gem_name} gem: #{cmd}"
131
- `#{cmd}`
132
- unless $?.success?
133
- warn <<EOS
134
-
135
- WARNING: Could not download a private copy of the libv8 gem. Please make
136
- sure that you have internet access and that the `gem` binary is available.
137
-
138
- EOS
139
- end
140
-
141
- libv8_rb = Dir.glob('**/libv8.rb').first
142
- unless libv8_rb
143
- warn <<EOS
144
-
145
- WARNING: Could not find libv8 after the local copy of libv8 having supposedly
146
- been installed.
147
-
148
- EOS
149
- end
150
- end
256
+ Libv8::Node.configure_makefile
151
257
 
152
- if libv8_rb
153
- $:.unshift(File.dirname(libv8_rb) + '/../ext')
154
- $:.unshift File.dirname(libv8_rb)
258
+ if enable_config('asan')
259
+ $CPPFLAGS.insert(0, " -fsanitize=address ")
260
+ $LDFLAGS.insert(0, " -fsanitize=address ")
155
261
  end
156
262
 
157
- require 'libv8'
158
- Libv8.configure_makefile
159
263
  create_makefile 'sq_mini_racer_extension'
@@ -2,6 +2,6 @@ module Sqreen
2
2
  module MiniRacer
3
3
  # part before qualifier is the number of the last upstream release
4
4
  # since we synced with it
5
- VERSION = "0.2.4.sqreen3"
5
+ VERSION = "0.2.4.0.2"
6
6
  end
7
7
  end
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.12"
25
24
  spec.add_development_dependency "rake", "~> 10.0"
26
25
  spec.add_development_dependency "minitest", "~> 5.0"
27
26
  spec.add_development_dependency "rake-compiler"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sq_mini_racer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4.sqreen3
4
+ version: 0.2.4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-19 00:00:00.000000000 Z
11
+ date: 2020-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.12'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.12'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -75,14 +61,18 @@ extensions:
75
61
  - ext/prv_ext_loader/extconf.rb
76
62
  extra_rdoc_files: []
77
63
  files:
64
+ - ".dockerignore"
78
65
  - ".gitignore"
79
66
  - ".travis.yml"
80
67
  - CHANGELOG
81
68
  - CODE_OF_CONDUCT.md
69
+ - Dockerfile
82
70
  - Gemfile
83
71
  - LICENSE.txt
84
72
  - README.md
85
73
  - Rakefile
74
+ - azure-pipelines.yml
75
+ - azure-template.yml
86
76
  - bin/console
87
77
  - bin/setup
88
78
  - ext/mini_racer_extension/compat.hpp
@@ -98,7 +88,7 @@ homepage: https://github.com/sqreen/mini_racer
98
88
  licenses:
99
89
  - MIT
100
90
  metadata: {}
101
- post_install_message:
91
+ post_install_message:
102
92
  rdoc_options: []
103
93
  require_paths:
104
94
  - lib
@@ -110,13 +100,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
100
  version: 1.9.3
111
101
  required_rubygems_version: !ruby/object:Gem::Requirement
112
102
  requirements:
113
- - - ">"
103
+ - - ">="
114
104
  - !ruby/object:Gem::Version
115
- version: 1.3.1
105
+ version: '0'
116
106
  requirements: []
117
- rubyforge_project:
118
- rubygems_version: 2.7.7
119
- signing_key:
107
+ rubygems_version: 3.1.3
108
+ signing_key:
120
109
  specification_version: 4
121
110
  summary: Minimal embedded v8 for Ruby
122
111
  test_files: []