ruby-maven 0.8.3.0.2-java → 0.8.3.0.2.0.26.0-java

Sign up to get free protection for your applications and to get access to all the features.
data/bin/rmvn CHANGED
@@ -23,14 +23,16 @@ end
23
23
  plugins = {
24
24
  :rake => [:rake],
25
25
  :ruby => [:jruby, :compile],
26
- :gem => [:package, :install, :exec, :pom, :initialize, :irb],
26
+ :gem => [:package, :install, :push, :exec, :pom, :initialize, :irb],
27
27
  :gemify => [:gemify, :versions],
28
28
  :rails2 => [:new, :generate, :rake, :server, :console],
29
29
  :rails3 => [:new, :generate, :rake, :server, :console, :dbconsole, :pom],
30
30
  :cucumber => [:test],
31
- :rspec => [:test]
31
+ :rspec => [:test],
32
+ :runit => [:test],
33
+ :bundler => [:install]
32
34
  }
33
- aliases = {:jruby => :ruby, :spec => :rspec, :rails => :rails3}
35
+ aliases = {:jruby => :ruby, :spec => :rspec, :rails => :rails3, :bundle => :bundler}
34
36
 
35
37
  if ARGV.size > 0
36
38
  name = ARGV[0].to_sym
@@ -53,12 +55,16 @@ if ARGV.size > 0
53
55
  []
54
56
  end
55
57
  ruby_args = (ARGV[start, (index || 1000) - start] || []).join(' ')
58
+
59
+ # determine the version and delete from ARGV if given
56
60
  version = ARGV.detect do |a|
57
- if a =~ /^-Dplugin.version=/
58
- a.sub(/^-Dplugin.version=/, '')
59
- end
61
+ a =~ /^-Dplugin.version=/
62
+ end
63
+ if version
64
+ args.delete(version)
65
+ version.sub!(/^-Dplugin.version=/, ':')
60
66
  end
61
- args << "de.saumya.mojo:#{name}-maven-plugin:#{version ? (version + ':'): ''}#{goal}"
67
+ args << "de.saumya.mojo:#{name}-maven-plugin#{version}:#{goal}"
62
68
  args << "-Dargs=#{ruby_args}" if ruby_args.size > 0
63
69
  ARGV.replace(args)
64
70
  else
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -8,7 +8,10 @@ version: !ruby/object:Gem::Version
8
8
  - 3
9
9
  - 0
10
10
  - 2
11
- version: 0.8.3.0.2
11
+ - 0
12
+ - 26
13
+ - 0
14
+ version: 0.8.3.0.2.0.26.0
12
15
  platform: java
13
16
  authors:
14
17
  - mkristian
@@ -16,7 +19,7 @@ autorequire:
16
19
  bindir: bin
17
20
  cert_chain: []
18
21
 
19
- date: 2011-03-14 00:00:00 +05:30
22
+ date: 2011-03-30 00:00:00 +05:30
20
23
  default_executable:
21
24
  dependencies: []
22
25
 
@@ -74,7 +77,7 @@ files:
74
77
  - lib/plexus-interpolation-1.14.jar
75
78
  - lib/aether-api-1.9.jar
76
79
  - lib/plexus-utils-2.0.4.jar
77
- - ext/ruby-tools-0.25.0.jar
80
+ - ext/ruby-tools-0.26.0.jar
78
81
  - ext/pmaven-jruby-0.8-SNAPSHOT.jar
79
82
  has_rdoc: true
80
83
  homepage: http://github.com/sonatype/polyglot-maven
Binary file