Sha256: 8898d610de48507cb7ff806d4a90084e131af32340704f7773eca42b28ad418b

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

# frozen_string_literal: true
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "theme_check/version"

Gem::Specification.new do |spec|
  spec.name          = "theme-check"
  spec.version       = ThemeCheck::VERSION
  spec.authors       = ["Marc-André Cournoyer"]
  spec.email         = ["marcandre.cournoyer@shopify.com"]

  spec.summary       = "A Shopify Theme Linter"
  spec.homepage      = "https://github.com/Shopify/theme-check"
  spec.license       = "MIT"

  spec.required_ruby_version = ">= 2.7"

  spec.metadata['allowed_push_host'] = 'https://rubygems.org'

  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
    # Load all files tracked in git except files in test directory
    # Include untracked files in liquid documentation folder
    %x{git ls-files -z}.split("\x0").reject { |f| f.match(%r{^test/}) } + Dir['data/shopify_liquid/documentation/**']
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency('liquid', '>= 5.4.0')
  spec.add_dependency('nokogiri', '>= 1.12')
  spec.add_dependency('parser', '~> 3')
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
theme-check-1.15.0 theme-check.gemspec
theme-check-1.14.0 theme-check.gemspec
theme-check-1.13.0 theme-check.gemspec
theme-check-1.12.1 theme-check.gemspec
theme-check-1.12.0 theme-check.gemspec