jruby-jars 1.7.27 → 9.0.0.0.pre1

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: 0b1c9777d9805b3cfdd8da04112f2f2306973bf7
4
- data.tar.gz: 279a3e5900eb9eeca7c29030a479a899520805c3
3
+ metadata.gz: fe410e954252f91524ab4e5f252aec10b6fd8ab9
4
+ data.tar.gz: 5d819217c7181e6f5a8346e98591bcaab8e52d0a
5
5
  SHA512:
6
- metadata.gz: ac76e5b572ee0c2a9314044f4468739ba352c13c9c203071666b645f6c0b000140f1cb8d2cd7545ce30088f1cb707f56dd97677f8bb977ad445076386369a40c
7
- data.tar.gz: 2a803531316225e8236e1472c2f6cb4a0fc9c46133bc241c696109d9bff8f9e66ac1e14e375d6d5f27a0f617552e6962a8f67c629b13d95bab1b2e13b7fa003a
6
+ metadata.gz: 5f04dc444f3b1beb684f646acd34c6854c36463f1b0b639d0bb643ce0bcac2da1e4bf82c6fcbb9e183bb4b91b17c5639409efe4f59fc4bb330312a60d8c820d3
7
+ data.tar.gz: f2628da3c1028ed11f737c1bb11768da28b4be54b1d33e6775e3c83e9d88315a5ecda11d5c9bad5e5e23e542d8f61de26bc3c8f50a41c4f0bd7b2715b3b8fd19
data/Mavenfile CHANGED
@@ -5,11 +5,11 @@ gemspec
5
5
 
6
6
  version = File.read( File.join( basedir, '..', '..', 'VERSION' ) ).strip
7
7
 
8
- inherit "org.jruby:jruby-artifacts:#{version}"
9
-
10
- ruby_version = model.version
8
+ # maven does treats prereleased version as snapshot - undo it here
9
+ ruby_version = model.version.sub( /-SNAPSHOT/, '' )
10
+ self.version nil
11
11
 
12
- model.version = nil
12
+ inherit "org.jruby:jruby-artifacts:#{version}"
13
13
 
14
14
  name "JRuby Jars Gem"
15
15
 
@@ -29,13 +29,19 @@ properties( 'tesla.dump.pom' => 'pom.xml',
29
29
  'jruby.plugins.version' => '1.0.7',
30
30
  # we share the already installed gems
31
31
  'gem.home' => '${jruby.home}/lib/ruby/gems/shared',
32
- 'jruby.home' => '${basedir}/../../' )
32
+ # need jruby_home but not jruby.home as name otherwise
33
+ # tesla-plugin will pick the jruby from jruby.home
34
+ 'jruby_home' => '${basedir}/../../' )
35
+
36
+ unless version =~ /-SNAPSHOT/
37
+ properties 'jruby.home' => '${basedir}/../..'
38
+ end
33
39
 
34
40
  execute 'copy jruby.jar', 'prepare-package' do |ctx|
35
- FileUtils.cp( File.join( ctx.project.properties[ 'jruby.home' ],
36
- 'lib',
37
- 'jruby.jar' ),
38
- File.join( ctx.project.basedir.to_s,
41
+ source = File.expand_path( ctx.project.properties[ 'jruby_home' ].to_pathname )
42
+ # TODO somehow the lib/jruby.jar gets moved away to avoid conflicts
43
+ FileUtils.cp( Dir[ File.join( source, 'lib/jruby*.jar' ) ].first,
44
+ File.join( ctx.project.basedir.to_pathname,
39
45
  'lib',
40
46
  "jruby-core-#{ctx.project.version}.jar" ) )
41
47
  end
@@ -5,7 +5,7 @@ require 'fileutils'
5
5
  version = File.read( File.join( File.dirname(File.expand_path(__FILE__)), '..', '..', 'VERSION' ) ).strip
6
6
 
7
7
  # this regexp can be refined to work with pre, rc1, rc2 and such cases
8
- ruby_version = version.sub( /-SNAPSHOT$/, '.dev' )
8
+ ruby_version = version.sub( /-SNAPSHOT$/, '.SNAPSHOT' )
9
9
 
10
10
  FileUtils.mkdir_p( 'lib/jruby-jars' )
11
11
  File.open( 'lib/jruby-jars/version.rb', 'w' ) do |f|
@@ -1,4 +1,4 @@
1
1
  module JRubyJars
2
- VERSION = '1.7.27'
3
- MAVEN_VERSION = '1.7.27'
2
+ VERSION = '9.0.0.0.pre1'
3
+ MAVEN_VERSION = '9.0.0.0.pre1'
4
4
  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.27
4
+ version: 9.0.0.0.pre1
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: 2017-05-11 00:00:00.000000000 Z
11
+ date: 2015-01-20 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.
@@ -19,13 +19,13 @@ executables: []
19
19
  extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
- - README.txt
23
22
  - DEV_INSTRUCTIONS
24
23
  - Mavenfile
24
+ - README.txt
25
25
  - lib/jruby-jars.rb
26
26
  - lib/jruby-jars/version.rb
27
- - lib/jruby-core-1.7.27.jar
28
- - lib/jruby-stdlib-1.7.27.jar
27
+ - lib/jruby-core-9.0.0.0.pre1.jar
28
+ - lib/jruby-stdlib-9.0.0.0.pre1.jar
29
29
  - jruby-jars.gemspec
30
30
  homepage: http://github.com/jruby/jruby/tree/master/gem/jruby-jars
31
31
  licenses:
@@ -44,9 +44,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
44
44
  version: '0'
45
45
  required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - '>'
48
48
  - !ruby/object:Gem::Version
49
- version: '0'
49
+ version: 1.3.1
50
50
  requirements: []
51
51
  rubyforge_project: jruby/jruby
52
52
  rubygems_version: 2.1.9
Binary file