ruby-maven 3.1.1.0.3.dev → 3.1.1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/ruby/tesla-polyglot-ruby-0.1.0.jar +0 -0
- data/lib/tesla-polyglot-cli-0.1.0.jar +0 -0
- data/lib/tesla-polyglot-common-0.1.0.jar +0 -0
- data/ruby/maven/ruby/version.rb +1 -1
- data/ruby/tesla_maven.rb +1 -1
- metadata +36 -39
- data/ext/ruby/maven-tools-0.34.2.jar +0 -0
- data/ext/ruby/tesla-polyglot-ruby-0.0.9.jar +0 -0
- data/lib/tesla-polyglot-cli-0.0.9.jar +0 -0
- data/lib/tesla-polyglot-common-0.0.9.jar +0 -0
- data/ruby/maven/ruby/gem_setup.rb +0 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7fe5567868fc95c3c6fd26c4b8eb5adc40282a9
|
4
|
+
data.tar.gz: 833686ad1d09a1a82485f12836f7c4221fc74318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1264f2b5181c65c8a81aa460f851d836090068d80a664d7f2025257e3c65df4d0db5d31b034e77d2d636f95ed9c6392371384ebacadcdfd1c850ac3a5f05171
|
7
|
+
data.tar.gz: 2f69e10b9c4a70a5f6d77803cbb7f3b4603709c0ea76df5027e112da89eb7fef457625b888dce0c663122d3a4269da823ca66cac41e0c2ee6cc65f55bfef31f3
|
Binary file
|
Binary file
|
Binary file
|
data/ruby/maven/ruby/version.rb
CHANGED
data/ruby/tesla_maven.rb
CHANGED
metadata
CHANGED
@@ -1,73 +1,72 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-maven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.1.0.
|
4
|
+
version: 3.1.1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Meier
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maven-tools
|
15
|
-
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
version: 1.0.0.rc4
|
20
|
+
requirement: !ruby/object:Gem::Requirement
|
23
21
|
requirements:
|
24
22
|
- - ~>
|
25
23
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
24
|
+
version: 1.0.0.rc4
|
25
|
+
prerelease: false
|
26
|
+
type: :runtime
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ruby-maven-libs
|
29
|
-
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 3.1.1
|
34
|
-
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
37
35
|
requirements:
|
38
36
|
- - '='
|
39
37
|
- !ruby/object:Gem::Version
|
40
38
|
version: 3.1.1
|
39
|
+
prerelease: false
|
40
|
+
type: :runtime
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
|
-
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
48
|
-
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
47
|
+
version: '5.3'
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
51
49
|
requirements:
|
52
50
|
- - ~>
|
53
51
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
52
|
+
version: '5.3'
|
53
|
+
prerelease: false
|
54
|
+
type: :development
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
|
-
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '10.
|
62
|
-
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
61
|
+
version: '10.3'
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
65
63
|
requirements:
|
66
64
|
- - ~>
|
67
65
|
- !ruby/object:Gem::Version
|
68
|
-
version: '10.
|
69
|
-
|
70
|
-
|
66
|
+
version: '10.3'
|
67
|
+
prerelease: false
|
68
|
+
type: :development
|
69
|
+
description: maven support for ruby based on tesla maven. MRI needs java/javac command installed.
|
71
70
|
email:
|
72
71
|
- m.kristian@web.de
|
73
72
|
executables:
|
@@ -78,23 +77,21 @@ files:
|
|
78
77
|
- bin/rmvn
|
79
78
|
- bin/m2jruby.conf
|
80
79
|
- bin/m2.conf
|
81
|
-
- ext/ruby/
|
82
|
-
- ext/ruby/tesla-polyglot-ruby-0.0.9.jar
|
80
|
+
- ext/ruby/tesla-polyglot-ruby-0.1.0.jar
|
83
81
|
- ruby/ruby-maven.rb
|
84
82
|
- ruby/tesla_maven.rb
|
85
83
|
- ruby/ruby_maven.rb
|
84
|
+
- ruby/maven/ruby.rb
|
86
85
|
- ruby/maven/ruby/version.rb
|
87
86
|
- ruby/maven/ruby/maven.rb
|
88
|
-
- ruby/maven/ruby/gem_setup.rb
|
89
87
|
- ruby/maven/ruby/tasks.rb
|
90
|
-
-
|
91
|
-
- lib/tesla-polyglot-
|
92
|
-
- lib/tesla-polyglot-common-0.0.9.jar
|
88
|
+
- lib/tesla-polyglot-cli-0.1.0.jar
|
89
|
+
- lib/tesla-polyglot-common-0.1.0.jar
|
93
90
|
homepage: https://github.com/tesla/tesla-polyglot/tree/master/tesla-polyglot-gem
|
94
91
|
licenses:
|
95
92
|
- EPL
|
96
93
|
metadata: {}
|
97
|
-
post_install_message:
|
94
|
+
post_install_message:
|
98
95
|
rdoc_options:
|
99
96
|
- --main
|
100
97
|
- README.md
|
@@ -107,13 +104,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
104
|
version: '0'
|
108
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
106
|
requirements:
|
110
|
-
- - '
|
107
|
+
- - '>='
|
111
108
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
109
|
+
version: '0'
|
113
110
|
requirements: []
|
114
|
-
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
116
|
-
signing_key:
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 2.1.9
|
113
|
+
signing_key:
|
117
114
|
specification_version: 4
|
118
115
|
summary: maven support for ruby projects
|
119
116
|
test_files: []
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,45 +0,0 @@
|
|
1
|
-
require 'maven/ruby/maven'
|
2
|
-
module Maven
|
3
|
-
module Ruby
|
4
|
-
class GemSetup
|
5
|
-
|
6
|
-
def self.setup( specfile )
|
7
|
-
basedir = File.dirname( File.expand_path( specfile ) )
|
8
|
-
extdir = File.join( basedir, 'ext' )
|
9
|
-
return unless File.exists? extdir
|
10
|
-
|
11
|
-
deps = File.join( extdir, 'deps.lst' )
|
12
|
-
|
13
|
-
File.open( File.join( extdir, 'Makefile' ), 'w' ) do |f|
|
14
|
-
f.print <<EOF
|
15
|
-
install:
|
16
|
-
clean:
|
17
|
-
EOF
|
18
|
-
end
|
19
|
-
|
20
|
-
spec = eval( File.read( specfile ) )
|
21
|
-
jars_file = File.join( basedir, spec.require_path,
|
22
|
-
"#{spec.name}_jars.rb" )
|
23
|
-
|
24
|
-
return if File.exists?( jars_file ) &&
|
25
|
-
File.mtime( specfile ) < File.mtime( jars_file )
|
26
|
-
|
27
|
-
maven = Maven.new
|
28
|
-
maven.exec 'dependency:list', "-DoutputFile=#{deps}", '-DincludeScope=runtime', '-DoutputAbsoluteArtifactFilename=true', '-DincludeTypes=jar', '-DoutputScope=false', '-f', specfile
|
29
|
-
File.open( jars_file, 'w' ) do |f|
|
30
|
-
f.puts "require 'jar-dependencies'"
|
31
|
-
f.puts
|
32
|
-
File.read( deps ).each_line do |line|
|
33
|
-
if line.match /:jar:/
|
34
|
-
line.gsub!( /:jar:|:compile:|:runtime:/, ':' )
|
35
|
-
line.sub!( /^\s+/, '' )
|
36
|
-
path = line.sub( /^.*:/, '' )
|
37
|
-
args = line.sub( /:[^:]+$/, '' ).gsub( /:/, "', '" )
|
38
|
-
f.puts( "require_jarfile( '#{path}', '#{args}' )" )
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|