Skip to content

Commit

Permalink
Version Bump - 0.13.0 (#308)
Browse files Browse the repository at this point in the history
* Version Bump - 0.13.0

- Syntax tree cleanup
- Version bump
- Test cleanup (fix invalid timeout test)
  • Loading branch information
SamSaffron authored Jul 28, 2024
1 parent 2d3e398 commit 6f45496
Show file tree
Hide file tree
Showing 5 changed files with 353 additions and 247 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ jobs:
- "macos-13"
- "macos-14" # arm64
ruby:
- "ruby-3.0" # EOL as of 2024-04-23
- "ruby-3.1"
- "ruby-3.2"
- "ruby-3.3"
Expand Down Expand Up @@ -86,7 +85,6 @@ jobs:
fail-fast: false
matrix:
ruby:
- "3.0" # EOL as of 2024-04-23
- "3.1"
- "3.2"
- "3.3"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- 0.13.0 - 29-07-2024

- Target Node to 22.5.1.0 0 - corrects segfault in earlier release
- Remove Ruby 3.0 which is EOL (use ealier version of gem if needed)

- 0.9.0 - 25-03-2024

- Target Node to 18.19.0.0
Expand Down
4 changes: 2 additions & 2 deletions lib/mini_racer/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

module MiniRacer
VERSION = "0.12.0"
LIBV8_NODE_VERSION = "~> 21.7.2.0"
VERSION = "0.13.0"
LIBV8_NODE_VERSION = "~> 22.5.1.0"
end
58 changes: 36 additions & 22 deletions mini_racer.gemspec
Original file line number Diff line number Diff line change
@@ -1,27 +1,38 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mini_racer/version'
require "mini_racer/version"

Gem::Specification.new do |spec|
spec.name = "mini_racer"
spec.version = MiniRacer::VERSION
spec.authors = ["Sam Saffron"]
spec.email = ["sam.saffron@gmail.com"]

spec.summary = %q{Minimal embedded v8 for Ruby}
spec.description = %q{Minimal embedded v8 engine for Ruby}
spec.homepage = "https://github.com/discourse/mini_racer"
spec.license = "MIT"

spec.metadata = {
"bug_tracker_uri" => "https://github.com/discourse/mini_racer/issues",
"changelog_uri" => "https://github.com/discourse/mini_racer/blob/v#{spec.version}/CHANGELOG",
"documentation_uri" => "https://www.rubydoc.info/gems/mini_racer/#{spec.version}",
"source_code_uri" => "https://github.com/discourse/mini_racer/tree/v#{spec.version}",
spec.name = "mini_racer"
spec.version = MiniRacer::VERSION
spec.authors = ["Sam Saffron"]
spec.email = ["sam.saffron@gmail.com"]

spec.summary = "Minimal embedded v8 for Ruby"
spec.description = "Minimal embedded v8 engine for Ruby"
spec.homepage = "https://github.com/discourse/mini_racer"
spec.license = "MIT"

spec.metadata = {
"bug_tracker_uri" => "https://github.com/discourse/mini_racer/issues",
"changelog_uri" =>
"https://github.com/discourse/mini_racer/blob/v#{spec.version}/CHANGELOG",
"documentation_uri" =>
"https://www.rubydoc.info/gems/mini_racer/#{spec.version}",
"source_code_uri" =>
"https://github.com/discourse/mini_racer/tree/v#{spec.version}"
}

spec.files = Dir["lib/**/*.rb", "ext/**/*", "README.md", "LICENSE.txt", "CHANGELOG", "CODE_OF_CONDUCT.md"]
spec.files =
Dir[
"lib/**/*.rb",
"ext/**/*",
"README.md",
"LICENSE.txt",
"CHANGELOG",
"CODE_OF_CONDUCT.md"
]
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler"
Expand All @@ -30,10 +41,13 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake-compiler"
spec.add_development_dependency "m"

spec.add_dependency 'libv8-node', MiniRacer::LIBV8_NODE_VERSION
spec.require_paths = ["lib", "ext"]
spec.add_dependency "libv8-node", MiniRacer::LIBV8_NODE_VERSION
spec.require_paths = %w[lib ext]

spec.extensions = ["ext/mini_racer_loader/extconf.rb", "ext/mini_racer_extension/extconf.rb"]
spec.extensions = %w[
ext/mini_racer_loader/extconf.rb
ext/mini_racer_extension/extconf.rb
]

spec.required_ruby_version = '>= 3.0'
spec.required_ruby_version = ">= 3.1"
end
Loading

0 comments on commit 6f45496

Please sign in to comment.