lock_jar.gemspec in lock_jar-0.8.0 vs lock_jar.gemspec in lock_jar-0.10.0
- old
+ new
@@ -1,103 +1,27 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
-# -*- encoding: utf-8 -*-
-# stub: lock_jar 0.8.0 ruby lib
-
-Gem::Specification.new do |s|
- s.name = "lock_jar"
- s.version = "0.8.0"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.require_paths = ["lib"]
- s.authors = ["Michael Guymon"]
- s.date = "2014-03-04"
- s.description = "Manage Jar files for Ruby. In the spirit of Bundler, a Jarfile\n is used to generate a Jarfile.lock that contains all the resolved jar dependencies for scopes runtime, compile, and test.\n The Jarfile.lock can be used to populate the classpath"
- s.email = "michael@tobedevoured.com"
- s.executables = ["lockjar"]
- s.extra_rdoc_files = [
- "LICENSE",
- "README.md"
- ]
- s.files = [
- ".gitignore",
- ".travis.yml",
- "CHANGELOG.md",
- "Gemfile",
- "Guardfile",
- "LICENSE",
- "README.md",
- "Rakefile",
- "VERSION",
- "bin/lockjar",
- "lib/lock_jar.rb",
- "lib/lock_jar/buildr.rb",
- "lib/lock_jar/bundler.rb",
- "lib/lock_jar/class_loader.rb",
- "lib/lock_jar/cli.rb",
- "lib/lock_jar/domain/artifact.rb",
- "lib/lock_jar/domain/dsl.rb",
- "lib/lock_jar/domain/dsl_helper.rb",
- "lib/lock_jar/domain/gem_dsl.rb",
- "lib/lock_jar/domain/jarfile_dsl.rb",
- "lib/lock_jar/domain/lockfile.rb",
- "lib/lock_jar/maven.rb",
- "lib/lock_jar/registry.rb",
- "lib/lock_jar/resolver.rb",
- "lib/lock_jar/runtime.rb",
- "lib/lock_jar/version.rb",
- "lock_jar.gemspec",
- "spec/fixtures/Jarfile",
- "spec/fixtures/naether-0.13.0.jar",
- "spec/lock_jar/class_loader_spec.rb",
- "spec/lock_jar/cli_spec.rb",
- "spec/lock_jar/domain/dsl_helper_spec.rb",
- "spec/lock_jar/domain/dsl_spec.rb",
- "spec/lock_jar/maven_spec.rb",
- "spec/lock_jar/resolver_spec.rb",
- "spec/lock_jar/runtime_spec.rb",
- "spec/lock_jar_spec.rb",
- "spec/pom.xml",
- "spec/spec_helper.rb",
- "spec/support/Jarfile",
- "spec/support/helper.rb"
- ]
- s.homepage = "http://github.com/mguymon/lock_jar"
- s.licenses = ["Apache"]
- s.rubygems_version = "2.2.0"
- s.summary = "Manage Jar files for Ruby"
-
- if s.respond_to? :specification_version then
- s.specification_version = 4
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<naether>, ["~> 0.10.1"])
- s.add_runtime_dependency(%q<thor>, ["~> 0.18.1"])
- s.add_development_dependency(%q<rspec>, ["~> 2.14.1"])
- s.add_development_dependency(%q<guard-rspec>, [">= 0"])
- s.add_development_dependency(%q<pry>, ["~> 0.9.12.2"])
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
- s.add_development_dependency(%q<yard>, ["~> 0.8.0"])
- s.add_development_dependency(%q<jruby-openssl>, [">= 0"])
- else
- s.add_dependency(%q<naether>, ["~> 0.10.1"])
- s.add_dependency(%q<thor>, ["~> 0.18.1"])
- s.add_dependency(%q<rspec>, ["~> 2.14.1"])
- s.add_dependency(%q<guard-rspec>, [">= 0"])
- s.add_dependency(%q<pry>, ["~> 0.9.12.2"])
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
- s.add_dependency(%q<yard>, ["~> 0.8.0"])
- s.add_dependency(%q<jruby-openssl>, [">= 0"])
- end
- else
- s.add_dependency(%q<naether>, ["~> 0.10.1"])
- s.add_dependency(%q<thor>, ["~> 0.18.1"])
- s.add_dependency(%q<rspec>, ["~> 2.14.1"])
- s.add_dependency(%q<guard-rspec>, [">= 0"])
- s.add_dependency(%q<pry>, ["~> 0.9.12.2"])
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
- s.add_dependency(%q<yard>, ["~> 0.8.0"])
- s.add_dependency(%q<jruby-openssl>, [">= 0"])
- end
-end
-
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+
+require 'lock_jar/version'
+
+Gem::Specification.new do |s|
+ s.name = 'lock_jar'
+ s.version = LockJar::VERSION
+ s.authors = ['Michael Guymon']
+ s.date = '2014-03-06'
+ s.description = 'Manage Jar files for Ruby. In the spirit of Bundler, a Jarfile is used to generate a Jarfile.lock that contains all the resolved jar dependencies for scopes runtime, compile, and test. The Jarfile.lock can be used to populate the classpath'
+ s.email = 'michael@tobedevoured.com'
+ s.files = `git ls-files -z`.split("\x0")
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
+ s.extra_rdoc_files = %w(LICENSE README.md)
+ s.homepage = 'http://github.com/mguymon/lock_jar'
+ s.licenses = %w(Apache)
+ s.require_paths = %w(lib)
+ s.summary = 'Manage Jar files for Ruby'
+
+ s.add_dependency(%q<naether>, ['~> 0.13.1'])
+ s.add_dependency(%q<thor>, ['>= 0.18.1'])
+
+end
+