Skip to content

Commit

Permalink
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/pom.rb
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ def initialize( name, version, default_spec = true )

default_gems =
[
ImportedGem.new( 'jruby-openssl', '0.9.12' ),
ImportedGem.new( 'jruby-openssl', '0.9.13' ),
ImportedGem.new( 'jruby-readline', '1.0', false ),
ImportedGem.new( 'rake', '${rake.version}' ),
ImportedGem.new( 'rdoc', '${rdoc.version}' ),
@@ -48,8 +48,8 @@ def initialize( name, version, default_spec = true )
#repository( :url => 'http://rubygems-proxy.torquebox.org/releases',
# :id => 'tb-rubygems-releases' )
# for testing out jruby-ossl before final release :
#repository( :url => 'http://oss.sonatype.org/content/repositories/staging',
# :id => 'gem-staging' )
repository( :url => 'http://oss.sonatype.org/content/repositories/staging',
:id => 'gem-staging' )

plugin( :clean,
:filesets => [ { :directory => '${basedir}/ruby/gems/shared/specifications/default',
@@ -186,7 +186,7 @@ def initialize( name, version, default_spec = true )

specname = File.basename( specfile )
puts "copy to specifications/default: #{specname}"

spec = Gem::Package.new( Dir[ File.join( cache, "#{g.name}-#{version}*.gem" ) ].first ).spec
File.open( File.join( default_specs, specname ), 'w' ) do |f|
f.print( spec.to_ruby )
8 changes: 7 additions & 1 deletion lib/pom.xml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ DO NOT MODIFIY - GENERATED CODE
<dependency>
<groupId>rubygems</groupId>
<artifactId>jruby-openssl</artifactId>
<version>0.9.12</version>
<version>0.9.13</version>
<type>gem</type>
<scope>provided</scope>
<exclusions>
@@ -175,6 +175,12 @@ DO NOT MODIFIY - GENERATED CODE
</exclusions>
</dependency>
</dependencies>
<repositories>
<repository>
<id>gem-staging</id>
<url>http://oss.sonatype.org/content/repositories/staging</url>
</repository>
</repositories>
<build>
<resources>
<resource>

0 comments on commit 1df6315

Please sign in to comment.