Sha256: d440ea47820f0549a4f9b619093dc5cb5610a6e2a2e7a1170ffc7f36ff3a2b78

Contents?: true

Size: 1.48 KB

Versions: 3

Compression:

Stored size: 1.48 KB

Contents

# frozen_string_literal: true

require "pathname"

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "script_core/version"

Gem::Specification.new do |spec|
  spec.name = "script_core"
  spec.version = ScriptCore::VERSION
  spec.summary = "A script engine powered by a mruby sandboxie, It's forked by Shopify's ESS."
  spec.authors = ["jasl"]
  spec.email = "jasl9187@hotmail.com"
  spec.files = begin
    submodules =
      `git submodule status --recursive`.split("\n").map do |submodule|
        submodule.split(/\(|\s+/)[2]
      end.compact

    list_tracked_files = lambda do |dir|
      Dir.chdir(Pathname.new(__FILE__).dirname.join(dir)) do
        `git ls-files -z`.split("\x0").map do |file|
          Pathname.new(dir).join(file).to_s
        end
      end
    end

    list_tracked_files.call(".") + submodules.flat_map do |submodule|
      list_tracked_files.call(submodule)
    end
  end

  spec.extensions = ["ext/enterprise_script_service/Rakefile"]
  spec.homepage = "https://github.com/rails-engine/script_core"
  spec.license = "MIT"
  spec.required_ruby_version = ">= 2.3"

  spec.add_dependency("msgpack", "~> 1.0")
  spec.add_dependency("rake-compiler", "~> 1.0")

  spec.add_development_dependency("bundler", "~> 1.6")
  spec.add_development_dependency("pry", "~> 0.11")
  spec.add_development_dependency("pry-byebug", "~> 3.4")
  spec.add_development_dependency("rake", "~> 12.0")
  spec.add_development_dependency("rspec", "~> 3.5")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
script_core-0.0.4 script_core.gemspec
script_core-0.0.3 script_core.gemspec
script_core-0.0.2 script_core.gemspec