Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions stack_master.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'stack_master/version'
require 'rbconfig'

windows_build = RbConfig::CONFIG['host_os'] =~ /mswin|msys|mingw|cygwin|bccwin|wince|emc/

if windows_build
gem_platform = 'current'
else
gem_platform = Gem::Platform::RUBY
end


Gem::Specification.new do |spec|
spec.name = "stack_master"
spec.version = StackMaster::VERSION
Expand All @@ -34,7 +25,6 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.4.0"
spec.platform = gem_platform

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
Expand Down Expand Up @@ -64,5 +54,5 @@ Gem::Specification.new do |spec|
spec.add_dependency "multi_json"
spec.add_dependency "hashdiff", "~> 1"
spec.add_dependency "ejson_wrapper"
spec.add_dependency "diff-lcs" if windows_build
spec.add_dependency "diff-lcs"
end