rjack-tarpit 2.0.2-java → 2.0.3-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4ca98d24f4d004b722b4cbebb1850c45bd210098
4
+ data.tar.gz: d2d467463ac7774d8be69b1c4c56faded3134aff
5
+ SHA512:
6
+ metadata.gz: f4ab9c889d858a5f7ad01e65992402eedaf9156b148658604df09af376f19ff8f9fa15f0e3247d89cd46c1756c1983d4b69f0d95079900197d48cfd1ed26804a
7
+ data.tar.gz: 067abc03ab7650008b4f3c531b31e6997caa99c5dfc9e8c6a4486627328c701b1515b867e9725e5f016b9b53c7d59e745fffc312cfd144348db43bab87cb8ea6
data/History.rdoc CHANGED
@@ -1,5 +1,14 @@
1
+ === 2.0.3 (2013-8-6)
2
+ * Expand rake dependency to [>= 0.9.2.2, < 11] (works with Rake 10.1)
3
+ * Expand rdoc dependency to [>= 3.12, < 5] (works with rdoc 4.0.1)
4
+ * Augment Gem::Specification instance via extend
5
+ * Fix Hoe vestige in install_deps task; use real Gem::Dependency
6
+ * Avoid "WARN: Unresolved specs during Gem::Specification.reset" with
7
+ tarpit dependencies on RubyGems 2.x when bundler calls
8
+ Gem::Specification.reset via clear_paths.
9
+
1
10
  === 2.0.2 (2012-12-6)
2
- * Expand rake dependency to [ >= 0.9.2.2, < 10.1 ] allowing new Rake
11
+ * Expand rake dependency to [>= 0.9.2.2, < 10.1] allowing new Rake
3
12
  FunkyVersion(TM) 10.
4
13
  * Upgrade to jruby-openssl ~> 0.8.1 (java platform only). JRuby 1.6
5
14
  still requires this for things like "jrake push" to work. The 0.8
data/NOTICE.txt CHANGED
@@ -1,2 +1,2 @@
1
1
  rjack-tarpit
2
- Copyright (c) 2009-2012 David Kellum
2
+ Copyright (c) 2009-2013 David Kellum
data/README.rdoc CHANGED
@@ -110,7 +110,7 @@ jruby-openssl for builds requiring SSL support.
110
110
 
111
111
  == License
112
112
 
113
- Copyright (c) 2009-2012 David Kellum
113
+ Copyright (c) 2009-2013 David Kellum
114
114
 
115
115
  Licensed under the Apache License, Version 2.0 (the "License"); you
116
116
  may not use this file except in compliance with the License. You
data/Rakefile CHANGED
@@ -9,6 +9,7 @@ RJack::TarPit.new( 'rjack-tarpit' ) do |tp|
9
9
 
10
10
  tp.rdoc_destinations <<
11
11
  'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/tarpit'
12
+ tp.publish_rdoc_rsync_flags = %w[ -rL ]
12
13
 
13
14
  desc "Check that README sample has latest version"
14
15
  task :check_sample_version do
data/lib/rjack-tarpit.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -17,6 +17,6 @@
17
17
  module RJack
18
18
  module TarPit
19
19
  MINOR_VERSION = '2.0'
20
- VERSION = MINOR_VERSION + '.2'
20
+ VERSION = MINOR_VERSION + '.3'
21
21
  end
22
22
  end
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -72,7 +72,7 @@ module RJack::TarPit
72
72
  require 'rubygems'
73
73
  require 'rubygems/command_manager'
74
74
  force = ( args[:force] == 'force' )
75
- ( @spec.extra_deps + @spec.extra_dev_deps ).each do |dep|
75
+ @spec.dependencies.each do |dep|
76
76
  if force
77
77
  gem_install_dep( dep )
78
78
  else
@@ -90,8 +90,8 @@ module RJack::TarPit
90
90
  def gem_install_dep( dep )
91
91
  puts "Install: " + dep.inspect
92
92
  cm = Gem::CommandManager.instance
93
- c = [ 'install', '--remote', '-V', dep.first ]
94
- c += dep[1..-1].map { |r| [ '-v', r ] }.flatten
93
+ c = [ 'install', '--remote', '-V', dep.name ]
94
+ c += dep.requirement.as_list.map { |r| [ '-v', r ] }.flatten
95
95
  cm.run( gem_config( *c ) )
96
96
  rescue Gem::SystemExitException => x
97
97
  raise "Install failed (#{x.exit_code})" if x.exit_code != 0
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -20,6 +20,18 @@ require 'rjack-tarpit/readme_parser'
20
20
 
21
21
  require 'fileutils'
22
22
 
23
+ # RubyGems 2.x (at least 2.0.0-2.0.5) writes warnings for
24
+ # unresolved_deps and Bundler 1.3.5 (at least) does a
25
+ # Specification.reset triggering this on the tarpit dependencies. Use
26
+ # the Gem.pre_reset hook facility to clear these unresolved_deps (a
27
+ # post outcome of reset anyway) and avoid the noisy warning.
28
+ if defined?( Gem.pre_reset ) && defined?( Gem::Specification.unresolved_deps )
29
+ Gem.pre_reset do
30
+ deps = Gem::Specification.unresolved_deps
31
+ deps.clear if deps && defined?( deps.clear )
32
+ end
33
+ end
34
+
23
35
  module RJack::TarPit
24
36
 
25
37
  class << self
@@ -39,10 +51,8 @@ module RJack::TarPit
39
51
  # object. Deriving our own Specification subclass would cause
40
52
  # problems with to_yaml.
41
53
  spec = Gem::Specification.new
42
- class << spec
43
- include SpecHelper
44
- include ReadmeParser
45
- end
54
+ spec.extend( SpecHelper )
55
+ spec.extend( ReadmeParser )
46
56
 
47
57
  specfile = caller[0] =~ /^(.*\.gemspec)/ && $1
48
58
 
@@ -194,7 +204,7 @@ module RJack::TarPit
194
204
  super( val.gsub( /\s+/, ' ' ).strip )
195
205
  end
196
206
 
197
- # Set summary. This override cleans up whitespace.
207
+ # Set description. This override cleans up whitespace.
198
208
  def description=( val )
199
209
  super( val.gsub( /\s+/, ' ' ).strip )
200
210
  end
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -3,7 +3,7 @@
3
3
  #. jruby.launch.inproc = false
4
4
 
5
5
  #--
6
- # Copyright (c) 2009-2012 David Kellum
6
+ # Copyright (c) 2009-2013 David Kellum
7
7
  #
8
8
  # Licensed under the Apache License, Version 2.0 (the "License"); you
9
9
  # may not use this file except in compliance with the License. You may
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env jruby
2
2
  #.hashdot.profile += jruby-shortlived
3
3
  #--
4
- # Copyright (c) 2009-2012 David Kellum
4
+ # Copyright (c) 2009-2013 David Kellum
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License"); you
7
7
  # may not use this file except in compliance with the License. You
data/test/test_tarpit.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  #.hashdot.profile += jruby-shortlived
3
3
 
4
4
  #--
5
- # Copyright (c) 2009-2012 David Kellum
5
+ # Copyright (c) 2009-2013 David Kellum
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License"); you
8
8
  # may not use this file except in compliance with the License. You
@@ -8,7 +8,7 @@ A gem packaging of {ZooKeeper}[http://zookeeper.apache.org/] for JRuby.
8
8
 
9
9
  == License
10
10
 
11
- Copyright (c) 2009-2012 David Kellum
11
+ Copyright (c) 2009-2013 David Kellum
12
12
 
13
13
  Licensed under the Apache License, Version 2.0 (the "License"); you
14
14
  may not use this file except in compliance with the License. You
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2012 David Kellum
2
+ # Copyright (c) 2009-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
metadata CHANGED
@@ -1,52 +1,53 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjack-tarpit
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 2.0.2
4
+ version: 2.0.3
6
5
  platform: java
7
6
  authors:
8
7
  - David Kellum
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-07 00:00:00.000000000 Z
11
+ date: 2013-08-07 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  version_requirements: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ! '>='
17
+ - - '>='
19
18
  - !ruby/object:Gem::Version
20
19
  version: 0.9.2.2
21
20
  - - <
22
21
  - !ruby/object:Gem::Version
23
- version: '10.1'
24
- none: false
22
+ version: '11'
25
23
  requirement: !ruby/object:Gem::Requirement
26
24
  requirements:
27
- - - ! '>='
25
+ - - '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: 0.9.2.2
30
28
  - - <
31
29
  - !ruby/object:Gem::Version
32
- version: '10.1'
33
- none: false
30
+ version: '11'
34
31
  prerelease: false
35
32
  type: :runtime
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: rdoc
38
35
  version_requirements: !ruby/object:Gem::Requirement
39
36
  requirements:
40
- - - ~>
37
+ - - '>='
41
38
  - !ruby/object:Gem::Version
42
39
  version: '3.12'
43
- none: false
40
+ - - <
41
+ - !ruby/object:Gem::Version
42
+ version: '5'
44
43
  requirement: !ruby/object:Gem::Requirement
45
44
  requirements:
46
- - - ~>
45
+ - - '>='
47
46
  - !ruby/object:Gem::Version
48
47
  version: '3.12'
49
- none: false
48
+ - - <
49
+ - !ruby/object:Gem::Version
50
+ version: '5'
50
51
  prerelease: false
51
52
  type: :runtime
52
53
  - !ruby/object:Gem::Dependency
@@ -55,14 +56,12 @@ dependencies:
55
56
  requirements:
56
57
  - - ~>
57
58
  - !ruby/object:Gem::Version
58
- version: '2.10'
59
- none: false
59
+ version: 4.7.4
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - ~>
63
63
  - !ruby/object:Gem::Version
64
- version: '2.10'
65
- none: false
64
+ version: 4.7.4
66
65
  prerelease: false
67
66
  type: :development
68
67
  - !ruby/object:Gem::Dependency
@@ -72,13 +71,11 @@ dependencies:
72
71
  - - ~>
73
72
  - !ruby/object:Gem::Version
74
73
  version: 3.0.4
75
- none: false
76
74
  requirement: !ruby/object:Gem::Requirement
77
75
  requirements:
78
76
  - - ~>
79
77
  - !ruby/object:Gem::Version
80
78
  version: 3.0.4
81
- none: false
82
79
  prerelease: false
83
80
  type: :runtime
84
81
  - !ruby/object:Gem::Dependency
@@ -88,13 +85,11 @@ dependencies:
88
85
  - - ~>
89
86
  - !ruby/object:Gem::Version
90
87
  version: 0.8.1
91
- none: false
92
88
  requirement: !ruby/object:Gem::Requirement
93
89
  requirements:
94
90
  - - ~>
95
91
  - !ruby/object:Gem::Version
96
92
  version: 0.8.1
97
- none: false
98
93
  prerelease: false
99
94
  type: :runtime
100
95
  - !ruby/object:Gem::Dependency
@@ -104,13 +99,11 @@ dependencies:
104
99
  - - ~>
105
100
  - !ruby/object:Gem::Version
106
101
  version: 1.7.0
107
- none: false
108
102
  requirement: !ruby/object:Gem::Requirement
109
103
  requirements:
110
104
  - - ~>
111
105
  - !ruby/object:Gem::Version
112
106
  version: 1.7.0
113
- none: false
114
107
  prerelease: false
115
108
  type: :development
116
109
  - !ruby/object:Gem::Dependency
@@ -120,13 +113,11 @@ dependencies:
120
113
  - - ~>
121
114
  - !ruby/object:Gem::Version
122
115
  version: '1.5'
123
- none: false
124
116
  requirement: !ruby/object:Gem::Requirement
125
117
  requirements:
126
118
  - - ~>
127
119
  - !ruby/object:Gem::Version
128
120
  version: '1.5'
129
- none: false
130
121
  prerelease: false
131
122
  type: :development
132
123
  description: TarPit provides the glue for an unholy union of build tools. TarPit includes general automation for any rubygems project. It originally used and remains heavily influenced by Hoe (e.g. Manifest.txt.) However, it fully supports use of Bundler. The gemspec benefits from sensible automation but remains in a <project>.gemspec per Bundler's requirements.
@@ -185,6 +176,7 @@ files:
185
176
  - test/zookeeper/test/test_zookeeper.rb
186
177
  homepage: http://rjack.rubyforge.org/tarpit
187
178
  licenses: []
179
+ metadata: {}
188
180
  post_install_message:
189
181
  rdoc_options:
190
182
  - --main
@@ -193,27 +185,18 @@ require_paths:
193
185
  - lib
194
186
  required_ruby_version: !ruby/object:Gem::Requirement
195
187
  requirements:
196
- - - ! '>='
188
+ - - '>='
197
189
  - !ruby/object:Gem::Version
198
190
  version: '0'
199
- segments:
200
- - 0
201
- hash: 2
202
- none: false
203
191
  required_rubygems_version: !ruby/object:Gem::Requirement
204
192
  requirements:
205
- - - ! '>='
193
+ - - '>='
206
194
  - !ruby/object:Gem::Version
207
195
  version: '0'
208
- segments:
209
- - 0
210
- hash: 2
211
- none: false
212
196
  requirements: []
213
197
  rubyforge_project:
214
- rubygems_version: 1.8.24
198
+ rubygems_version: 2.0.6
215
199
  signing_key:
216
- specification_version: 3
200
+ specification_version: 4
217
201
  summary: TarPit provides the glue for an unholy union of build tools. TarPit includes general automation for any rubygems project. It originally used and remains heavily influenced by Hoe (e.g. Manifest.txt.) However, it fully supports use of Bundler.
218
202
  test_files: []
219
- ...