junoser.gemspec in junoser-0.3.3 vs junoser.gemspec in junoser-0.3.4
- old
+ new
@@ -11,17 +11,21 @@
spec.summary = %q{PEG parser for JUNOS configuration.}
spec.description = %q{PEG parser to vefiry and translate into different formats for JUNOS configuration.}
spec.homepage = "https://github.com/codeout/junoser"
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ # Specify which files should be added to the gem when it is released.
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "parslet"
- spec.add_development_dependency "bundler", "~> 1.9"
+ spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "nokogiri"
spec.add_development_dependency "test-unit"
end