maven-tools 1.0.0.rc3 → 1.0.0.rc4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1e5bc2012d479ffdc03fb2f26ceed4742c4e18f
4
- data.tar.gz: 0f3a6dc35832902b581ecae534a1c9b72a992bd6
3
+ metadata.gz: b88274c070f020d83b32af74fdae08b890d0d118
4
+ data.tar.gz: fa159eb32218f2b55afbc28295a2d951f7d24ed0
5
5
  SHA512:
6
- metadata.gz: e89dd1f2f0ec03b31e8cfc65320b32c3118c8fc89e52ecae2edba976a95be9c9374ad493a5d9850258bad1c523fb11b6c0ef78cd7d08d6c3c79c0cc90d4a9fc6
7
- data.tar.gz: aabc6fc377baec627b823a49700c58cfbdd0d16e910b12bda246060443c5b51ea91fea0efb83129729f9334d4820d9a120187cde54d57d8bfb01e5a0522c35b4
6
+ metadata.gz: 1230de82f0cd3b77762874d3b465f8f6eb3c3667b8e5d9c76733db31e9823728dd60eb51193e7104593ec818e2e763877094f44104612b027f51fc2bc55d82d1
7
+ data.tar.gz: d9e1f204daa83cfde5c71da23c1d573b93c5c9d96b251578fc13fc003c5d3c6798d2b6f737ee968ee517dfca2fa026a022e9de42044cdbf948df1d7092723e6a
@@ -357,7 +357,9 @@ module Maven
357
357
  spec.licenses.each do |l|
358
358
  license( l )
359
359
  end
360
- spec.authors.zip( spec.email || [] ).each do |d|
360
+ authors = [ spec.authors || [] ].flatten
361
+ emails = [ spec.email || [] ].flatten
362
+ authors.zip( emails ).each do |d|
361
363
  developer( :name => d[0], :email => d[1] )
362
364
  end
363
365
  unless options[ :only_metadata ]
@@ -525,8 +527,12 @@ module Maven
525
527
  @current.relocation = relocation
526
528
  end
527
529
 
528
- def system( arg )
529
- @current.system = arg
530
+ def system( *args )
531
+ if @current && @current.respond_to?( :system )
532
+ @current.system = args[ 0 ]
533
+ else
534
+ Kernel.system( *args )
535
+ end
530
536
  end
531
537
 
532
538
  def notifier( *args, &block )
@@ -1302,9 +1308,15 @@ module Maven
1302
1308
  r.releases = repository_policy( r.releases, c )
1303
1309
  end
1304
1310
  end
1305
- r.id = args[ 0 ]
1306
- r.url = args[ 1 ]
1307
- r.name = args[ 2 ]
1311
+ if options.size == 1 && args.size == 1
1312
+ warn "deprecated repository, use :url => '...'"
1313
+ # allow old method signature
1314
+ r.url = args[ 0 ]
1315
+ else
1316
+ r.id = args[ 0 ]
1317
+ r.url = args[ 1 ]
1318
+ r.name = args[ 2 ]
1319
+ end
1308
1320
  fill_options( r, options )
1309
1321
  nested_block( :repository, r, block ) if block
1310
1322
  case method
@@ -20,6 +20,6 @@
20
20
  #
21
21
  module Maven
22
22
  module Tools
23
- VERSION = '1.0.0.rc3'.freeze
23
+ VERSION = '1.0.0.rc4'.freeze
24
24
  end
25
25
  end
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.name = 'bouncy-castle-java'
7
7
  s.version = "1.5.0#{BouncyCastle::VERSION_}"
8
8
  s.author = 'Hiroshi Nakamura'
9
- s.email = [ 'nahi@ruby-lang.org' ]
9
+ s.email = 'nahi@ruby-lang.org'
10
10
  s.rubyforge_project = "jruby-extras"
11
11
  s.homepage = 'http://github.com/jruby/jruby/tree/master/gems/bouncy-castle-java/'
12
12
  s.summary = 'Gem redistribution of Bouncy Castle jars'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maven-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc3
4
+ version: 1.0.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Meier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-15 00:00:00.000000000 Z
11
+ date: 2014-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus