jbundler 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/jbundler/vendor.rb +7 -2
  4. metadata +20 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1032ec7fb4658f5ebea74a639002fb3c9f205932
4
- data.tar.gz: 9a23448861d6470af9f18c9edfbe2f7083c89303
3
+ metadata.gz: a028f5d6b9bc8ed4678c2f5d85226559ac9651cc
4
+ data.tar.gz: 2b7a3b9ea68fdc87f825b0804d60f3612b19af7c
5
5
  SHA512:
6
- metadata.gz: 776cd6d1e16fcf25d01dd988dab5257c3a64e2cc364471252e1b6c431cfd85c622dee76eda85fc79c503c911b5c98a1d31c909c482d04b0bea13b8ef07df55f4
7
- data.tar.gz: 2f744824474566cbfe8fb2f8af3f9aed330eef732d9ffe0af416dbbae6766cea2e5ad41e4f5565b11b7db656c81c01133ad40fce76bbce1ba6cddb424b45828e
6
+ metadata.gz: 4ae33d191d3bf62976175612a959665bb0f8600c3b7aa32d54fe2607381f95cf71cc1b3251eb4db81327bc11edd5ccc7ead9a20bac6223978f768379bdc8e8fa
7
+ data.tar.gz: fcfb318878419c342c29427fb0820d7d84199e260173c6cd40ca2777978ed8a44df879bf134ade1a9536c083b567bfca14aa596eeb8f96cc336ba5a134def957
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jbundler (0.9.0)
4
+ jbundler (0.9.1)
5
5
  bundler (~> 1.5)
6
6
  jar-dependencies (~> 0.2)
7
7
  maven-tools (~> 1.0.10)
@@ -47,8 +47,13 @@ module JBundler
47
47
  FileUtils.mkdir_p( @dir )
48
48
  File.open(@jars_lock, 'w') do |f|
49
49
  deps.each do |dep|
50
- line = dep.gav + ':runtime:'
51
- f.puts line
50
+ if dep.scope == :runtime
51
+ target = File.join( @dir, dep.path )
52
+ FileUtils.mkdir_p( File.dirname( target ) )
53
+ FileUtils.cp( dep.file, target )
54
+ line = dep.gav + ':runtime:'
55
+ f.puts line
56
+ end
52
57
  end
53
58
  end
54
59
  ['jbundler.rb', 'jbundle.rb'].each do |filename|
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jbundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Meier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-07 00:00:00.000000000 Z
11
+ date: 2015-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ~>
17
17
  - !ruby/object:Gem::Version
18
18
  version: 1.0.10
19
19
  name: maven-tools
@@ -21,16 +21,16 @@ dependencies:
21
21
  type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.0.10
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - "~>"
30
+ - - ~>
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3.3'
33
- - - ">="
33
+ - - '>='
34
34
  - !ruby/object:Gem::Version
35
35
  version: 3.3.3
36
36
  name: ruby-maven
@@ -38,16 +38,16 @@ dependencies:
38
38
  type: :runtime
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - "~>"
41
+ - - ~>
42
42
  - !ruby/object:Gem::Version
43
43
  version: '3.3'
44
- - - ">="
44
+ - - '>='
45
45
  - !ruby/object:Gem::Version
46
46
  version: 3.3.3
47
47
  - !ruby/object:Gem::Dependency
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements:
50
- - - "~>"
50
+ - - ~>
51
51
  - !ruby/object:Gem::Version
52
52
  version: '1.5'
53
53
  name: bundler
@@ -55,13 +55,13 @@ dependencies:
55
55
  type: :runtime
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ~>
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.5'
61
61
  - !ruby/object:Gem::Dependency
62
62
  requirement: !ruby/object:Gem::Requirement
63
63
  requirements:
64
- - - "~>"
64
+ - - ~>
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0.2'
67
67
  name: jar-dependencies
@@ -69,13 +69,13 @@ dependencies:
69
69
  type: :runtime
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ~>
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0.2'
75
75
  - !ruby/object:Gem::Dependency
76
76
  requirement: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - "~>"
78
+ - - ~>
79
79
  - !ruby/object:Gem::Version
80
80
  version: '10.0'
81
81
  name: rake
@@ -83,13 +83,13 @@ dependencies:
83
83
  type: :development
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - "~>"
86
+ - - ~>
87
87
  - !ruby/object:Gem::Version
88
88
  version: '10.0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  requirement: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - "~>"
92
+ - - ~>
93
93
  - !ruby/object:Gem::Version
94
94
  version: '5.3'
95
95
  name: minitest
@@ -97,13 +97,11 @@ dependencies:
97
97
  type: :development
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - "~>"
100
+ - - ~>
101
101
  - !ruby/object:Gem::Version
102
102
  version: '5.3'
103
- description: 'managing jar dependencies with or without bundler. adding bundler like
104
- handling of version ranges for jar dependencies.
105
-
106
- '
103
+ description: |
104
+ managing jar dependencies with or without bundler. adding bundler like handling of version ranges for jar dependencies.
107
105
  email:
108
106
  - m.kristian@web.de
109
107
  executables:
@@ -150,12 +148,12 @@ require_paths:
150
148
  - lib
151
149
  required_ruby_version: !ruby/object:Gem::Requirement
152
150
  requirements:
153
- - - ">="
151
+ - - '>='
154
152
  - !ruby/object:Gem::Version
155
153
  version: '0'
156
154
  required_rubygems_version: !ruby/object:Gem::Requirement
157
155
  requirements:
158
- - - ">="
156
+ - - '>='
159
157
  - !ruby/object:Gem::Version
160
158
  version: '0'
161
159
  requirements: []
@@ -169,4 +167,3 @@ test_files:
169
167
  - spec/config_spec.rb
170
168
  - spec/pom_spec.rb
171
169
  - spec/vendor_spec.rb
172
- has_rdoc: