maven-tools 0.32.1 → 0.32.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -83,8 +83,9 @@ module Maven
83
83
  self.developers.new(author, nil)
84
84
  end
85
85
 
86
- # TODO work with collection of licenses - there can be more than one !!!
87
- (spec.licenses + spec.files.select {|file| file.to_s =~ /license|gpl/i }).each do |license|
86
+ # flatten the array since copyright-header-1.0.3.gemspec has a double
87
+ # nested array
88
+ (spec.licenses + spec.files.select {|file| file.to_s =~ /license|gpl/i }).flatten.each do |license|
88
89
  # TODO make this better, i.e. detect the right license name from the file itself
89
90
  self.licenses.new(license)
90
91
  end
@@ -542,4 +543,4 @@ if $0 == __FILE__
542
543
  proj.load(ARGV[1] || 'Mavenfile')
543
544
  proj.add_defaults
544
545
  puts proj.to_xml
545
- end
546
+ end
@@ -46,8 +46,9 @@ module Maven
46
46
  self.developers.new( author, email )
47
47
  end
48
48
 
49
- # TODO work with collection of licenses - there can be more than one !!!
50
- ( spec.licenses + spec.files.select {|file| file.to_s =~ /license|gpl/i } ).each do |license|
49
+ # flatten the array since copyright-header-1.0.3.gemspec has a double
50
+ # nested array
51
+ ( spec.licenses + spec.files.select {|file| file.to_s =~ /license|gpl/i } ).flatten.each do |license|
51
52
  # TODO make this better, i.e. detect the right license name from the file itself
52
53
  self.licenses.new( license )
53
54
  end
@@ -80,4 +81,4 @@ module Maven
80
81
  end
81
82
  end
82
83
  end
83
- end
84
+ end
@@ -20,6 +20,6 @@
20
20
  #
21
21
  module Maven
22
22
  module Tools
23
- VERSION = '0.32.1'.freeze
23
+ VERSION = '0.32.3'.freeze
24
24
  end
25
25
  end
@@ -26,10 +26,10 @@ module Maven
26
26
  :assembly_plugin => "2.3",
27
27
  :war_plugin => "2.2",
28
28
  :jar_plugin => "2.4",
29
- :jruby_plugins => "0.29.2",
29
+ :jruby_plugins => "0.29.4",
30
30
  :bundler_version => "1.2.3",
31
- :jruby_version => defined?(JRUBY_VERSION) ? JRUBY_VERSION : "1.7.2"
31
+ :jruby_version => defined?(JRUBY_VERSION) ? JRUBY_VERSION : "1.7.3"
32
32
  }.freeze
33
33
  end
34
34
  end
35
- end
35
+ end
metadata CHANGED
@@ -1,87 +1,94 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: maven-tools
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.32.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 153
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 32
9
+ - 3
10
+ version: 0.32.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Christian Meier
9
- autorequire:
14
+ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-01-25 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-03-01 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rake
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: 10.0.3
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
21
24
  none: false
22
- requirement: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 73
29
+ segments:
30
+ - 10
31
+ - 0
32
+ - 3
26
33
  version: 10.0.3
27
- none: false
28
- prerelease: false
29
34
  type: :development
30
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
31
37
  name: minitest
32
- version_requirements: !ruby/object:Gem::Requirement
33
- requirements:
34
- - - "~>"
35
- - !ruby/object:Gem::Version
36
- version: '4.4'
37
- none: false
38
- requirement: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - "~>"
41
- - !ruby/object:Gem::Version
42
- version: '4.4'
43
- none: false
44
38
  prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ hash: 19
45
+ segments:
46
+ - 4
47
+ - 4
48
+ version: "4.4"
45
49
  type: :development
46
- - !ruby/object:Gem::Dependency
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
47
52
  name: rspec
48
- version_requirements: !ruby/object:Gem::Requirement
49
- requirements:
50
- - - '='
51
- - !ruby/object:Gem::Version
52
- version: '2.7'
53
- none: false
54
- requirement: !ruby/object:Gem::Requirement
55
- requirements:
56
- - - '='
57
- - !ruby/object:Gem::Version
58
- version: '2.7'
59
- none: false
60
53
  prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - "="
58
+ - !ruby/object:Gem::Version
59
+ hash: 13
60
+ segments:
61
+ - 2
62
+ - 7
63
+ version: "2.7"
61
64
  type: :development
62
- - !ruby/object:Gem::Dependency
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
63
67
  name: copyright-header
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 1.0.7
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
69
70
  none: false
70
- requirement: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ hash: 25
75
+ segments:
76
+ - 1
77
+ - 0
78
+ - 7
74
79
  version: 1.0.7
75
- none: false
76
- prerelease: false
77
80
  type: :development
81
+ version_requirements: *id004
78
82
  description: adds versions conversion from rubygems to maven and vice versa, ruby DSL for POM (Project Object Model from maven), pom generators, etc
79
- email:
83
+ email:
80
84
  - m.kristian@web.de
81
85
  executables: []
86
+
82
87
  extensions: []
88
+
83
89
  extra_rdoc_files: []
84
- files:
90
+
91
+ files:
85
92
  - lib/maven_tools.rb
86
93
  - lib/maven-tools.rb
87
94
  - lib/maven/tools/coordinate.rb
@@ -125,33 +132,39 @@ files:
125
132
  - MIT-LICENSE
126
133
  - README.md
127
134
  homepage: http://github.com/torquebox/maven-tools
128
- licenses:
135
+ licenses:
129
136
  - MIT
130
- post_install_message:
137
+ post_install_message:
131
138
  rdoc_options: []
132
- require_paths:
139
+
140
+ require_paths:
133
141
  - lib
134
- required_ruby_version: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: !binary |-
139
- MA==
142
+ required_ruby_version: !ruby/object:Gem::Requirement
140
143
  none: false
141
- required_rubygems_version: !ruby/object:Gem::Requirement
142
- requirements:
144
+ requirements:
143
145
  - - ">="
144
- - !ruby/object:Gem::Version
145
- version: !binary |-
146
- MA==
146
+ - !ruby/object:Gem::Version
147
+ hash: 3
148
+ segments:
149
+ - 0
150
+ version: "0"
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
152
  none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 3
157
+ segments:
158
+ - 0
159
+ version: "0"
148
160
  requirements: []
149
- rubyforge_project:
150
- rubygems_version: 1.8.24
151
- signing_key:
161
+
162
+ rubyforge_project:
163
+ rubygems_version: 1.8.15
164
+ signing_key:
152
165
  specification_version: 3
153
166
  summary: helpers for maven related tasks
154
- test_files:
167
+ test_files:
155
168
  - spec/coordinate_spec.rb
156
169
  - spec/jarfile_spec.rb
157
170
  - rspec/maven/tools/Gemfile.withlock