Sha256: 14e1017dfd9db07d54a679b10b6c2770cec664c2e984a581d136857e5b52d23e

Contents?: true

Size: 1.54 KB

Versions: 31

Compression:

Stored size: 1.54 KB

Contents

#-*- mode: ruby -*-

Gem::Specification.new do |s|
  s.name = 'jar-dependencies'

  path = File.expand_path('lib/jars/version.rb', File.dirname(__FILE__))
  s.version = File.read(path).match( /\s*VERSION\s*=\s*['"](.*)['"]/ )[1]
  
  s.author = 'christian meier'
  s.email = [ 'mkristian@web.de' ]
  s.summary = 'manage jar dependencies for gems'
  s.homepage = 'https://github.com/mkristian/jar-dependencies'

  s.bindir = "bin"
  LOCK_JARS = 'lock_jars'
  s.executables = [LOCK_JARS]

  s.license = 'MIT'

  s.files = `git ls-files`.split($/).select do |file|
    file =~ /^lib\// ||
    [ 'Mavenfile', 'Rakefile' ].include?(file) ||
    [ 'Readme.md', 'jar-dependencies.gemspec', 'MIT-LICENSE' ].include?(file)
  end

  s.description = 'manage jar dependencies for gems and keep track which jar was already loaded using maven artifact coordinates. it warns on version conflicts and loads only ONE jar assuming the first one is compatible to the second one otherwise your project needs to lock down the right version by providing a Jars.lock file.'

  s.add_development_dependency 'minitest', '~> 5.3'
  s.add_development_dependency 'rake', '~> 10.2'
  RUBY_MAVEN_VERSION = '~> 3.3.11'
  s.add_development_dependency 'ruby-maven', RUBY_MAVEN_VERSION

  s.post_install_message = <<EOF

if you want to use the executable #{LOCK_JARS} then install ruby-maven gem before using #{LOCK_JARS} 

   $ gem install ruby-maven -v '#{RUBY_MAVEN_VERSION}'

or add it as a development dependency to your Gemfile

   gem 'ruby-maven', '#{RUBY_MAVEN_VERSION}'

EOF
end

# vim: syntax=Ruby

Version data entries

31 entries across 30 versions & 10 rubygems

Version Path
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-filter-csharp-0.1.0 vendor/bundle/jruby/2.3.0/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-filter-htmlentities-0.1.0 vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
logstash-output-icinga-1.0.0 vendor/jruby/1.9/gems/jar-dependencies-0.3.11/jar-dependencies.gemspec
jar-dependencies-0.3.11 jar-dependencies.gemspec
logstash-input-fifo-0.9.1 vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.10/jar-dependencies.gemspec
logstash-input-fifo-0.9.0 vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.10/jar-dependencies.gemspec
jar-dependencies-0.3.10 jar-dependencies.gemspec
logstash-input-salesforce-3.0.0 vendor/jruby/1.9/gems/jar-dependencies-0.3.9/jar-dependencies.gemspec
jar-dependencies-0.3.9 jar-dependencies.gemspec
ivanvc-logstash-input-s3-3.1.1.4 vendor/local/gems/jar-dependencies-0.3.8/jar-dependencies.gemspec
ivanvc-logstash-input-s3-3.1.1.3 vendor/local/gems/jar-dependencies-0.3.8/jar-dependencies.gemspec
ivanvc-logstash-input-s3-3.1.1.2 vendor/local/gems/jar-dependencies-0.3.8/jar-dependencies.gemspec