jruby-jars 1.7.13 → 1.7.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa763c0d346f1126f5c2db444b609ee0df718837
4
- data.tar.gz: 9f5e23a789e65538cc5f34e8cc9fa09c4f40401d
3
+ metadata.gz: d1315cfebffed7c38f0b6ea3353ef4c650452240
4
+ data.tar.gz: 4c65ab9023cc12ee8520e06b0f6a2c8369102f73
5
5
  SHA512:
6
- metadata.gz: bfd36bfed14627f53bf98cddcc17f46f690e09ffd52d6395f5614332da284e2a71dc3cac7e283ede33fc54bb13f5c52aa9d3dd154711269109c13daf7515ae9c
7
- data.tar.gz: 3768282f301b66dd216e9c61e2e192f3430c3be0a93af341691dd65c7a00917d702962be4130e0fc1a286f56854080af96c2ffd2e5b7ec4aa95e418425fa427b
6
+ metadata.gz: b9d8baba9f6026223939f0c62e4a6dc015dae885b4080222559162ae9230d9b973c9658a9b664c79018b1e29a3e2307032131deb3a745dcde47f5e80e8a7b460
7
+ data.tar.gz: 109bd70af78e94edd9027a5de1e105f58ac9245a251f7c77f2a67e877236a649092f023b79f7b54af2c7128c8448d189eed47770a1974862e1e6957c40f03c50
data/Mavenfile CHANGED
@@ -1,9 +1,7 @@
1
1
  #-*- mode: ruby -*-
2
+ gemspec
2
3
 
3
- gemspec :include_jars => true
4
-
5
- model.version = model.version.sub(/\.SNAPSHOT/, '-SNAPSHOT').sub( /-SNAPSHOT-SNAPSHOT/, '-SNAPSHOT' )
6
- inherit "org.jruby:jruby-artifacts:#{model.version}"
4
+ inherit "org.jruby:jruby-artifacts:#{model.version.sub( /.dev$/, '-SNAPSHOT' )}"
7
5
 
8
6
  name "JRuby Jars Gem"
9
7
 
@@ -20,21 +18,21 @@ plugin( :clean, '2.5' ) do
20
18
  end
21
19
 
22
20
  properties( 'tesla.dump.pom' => 'pom.xml',
23
- 'tesla.dump.readonly' => true,
21
+ 'tesla.dump.readOnly' => true,
24
22
  'jruby.home' => '${basedir}/../../' )
25
23
 
26
- jruby_plugin :gem do
24
+ jruby_plugin!( :gem,
25
+ :gemspec => 'jruby-jars.gemspec',
26
+ :includeDependencies => true ) do
27
27
  execute_goals :id => 'default-push', :skip => true
28
28
  end
29
29
 
30
- execute 'rename gem file', :package do |ctx|
30
+ plugin :install, :skip => true
31
31
 
32
+ execute 'rename gem file', :package do |ctx|
32
33
  require 'fileutils'
33
- gem = File.join( ctx.project.build.directory,
34
- ctx.project.build.final_name + ".gem" )
35
- source = gem.sub( /-SNAPSHOT/, '.SNAPSHOT' )
36
- FileUtils.mv( source, gem ) if gem.match( /-SNAPSHOT/ ) and File.exists?( source )
37
-
34
+ FileUtils.rm_rf(Dir["#{ctx.project.build.directory}/*.gem"])
35
+ FileUtils.mv(Dir["#{ctx.project.basedir}/*.gem"], ctx.project.build.directory)
38
36
  end
39
37
 
40
38
  plugin( :invoker,
@@ -4,10 +4,10 @@ module JRubyJars
4
4
  PATH = File.expand_path(File.dirname(__FILE__))
5
5
 
6
6
  def self.core_jar_path
7
- Dir[ PATH + "/jruby-core-complete-*.jar" ].first
7
+ "#{PATH}/jruby-core-complete-#{JRubyJars::MAVEN_VERSION}.jar"
8
8
  end
9
9
 
10
10
  def self.stdlib_jar_path
11
- Dir[ PATH + "/jruby-stdlib-complete-*.jar" ].first
11
+ "#{PATH }/jruby-stdlib-complete-#{JRubyJars::MAVEN_VERSION}.jar"
12
12
  end
13
13
  end
@@ -1,4 +1,5 @@
1
1
  module JRubyJars
2
- VERSION = Dir[ File.expand_path(File.dirname(File.dirname(__FILE__))) + '/jruby-core-complete-*jar' ].
3
- first.gsub( /^.*jruby-core-complete-|.jar$/, '' ).gsub('-', '.')
2
+ MAVEN_VERSION = Dir[File.expand_path(File.dirname(File.dirname(__FILE__))) + '/jruby-core-complete-*jar' ].
3
+ first.gsub(/^.*jruby-core-complete-|.jar$/, '')
4
+ VERSION = MAVEN_VERSION.sub('-SNAPSHOT', '').gsub('-', '.')
4
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-jars
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.13
4
+ version: 1.7.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Oliver Nutter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-24 00:00:00.000000000 Z
11
+ date: 2014-08-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  This gem includes the core JRuby code and the JRuby 1.8/1.9 stdlib as jar files.
@@ -26,10 +26,11 @@ files:
26
26
  - Rakefile
27
27
  - lib/jruby-jars.rb
28
28
  - lib/jruby-jars/version.rb
29
- - lib/jruby-core-complete-1.7.13.jar
30
- - lib/jruby-stdlib-complete-1.7.13.jar
31
29
  homepage: http://github.com/jruby/jruby/tree/master/gem/jruby-jars
32
- licenses: []
30
+ licenses:
31
+ - EPL-1.0
32
+ - GPL-2.0
33
+ - LGPL-2.1
33
34
  metadata: {}
34
35
  post_install_message:
35
36
  rdoc_options: []