rjack-tarpit 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,11 +1,18 @@
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
- * Removed the previously explicit jruby-openssl dependency for the
5
- java platform. You still need SSL support for example, to access
6
- rubygems repositories over HTTPS. JRuby 1.7.x includes an updated
7
- version of SSL. With JRuby 1.6.8, you should install jruby-openssl
8
- 0.8.1+ yourself.
13
+ * Upgrade to jruby-openssl ~> 0.8.1 (java platform only). JRuby 1.6
14
+ still requires this for things like "jrake push" to work. The 0.8
15
+ series is also safe with JRuby 1.7.
9
16
  * Fix botched local init_files ref in LineMatch. This had made it
10
17
  impossible to modify from the :default init_files, for example to
11
18
  add multiple files.
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjack-tarpit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-06 00:00:00.000000000 Z
12
+ date: 2013-08-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.9.2.2
22
22
  - - <
23
23
  - !ruby/object:Gem::Version
24
- version: '10.1'
24
+ version: '11'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -32,23 +32,29 @@ dependencies:
32
32
  version: 0.9.2.2
33
33
  - - <
34
34
  - !ruby/object:Gem::Version
35
- version: '10.1'
35
+ version: '11'
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
- - - ~>
41
+ - - ! '>='
42
42
  - !ruby/object:Gem::Version
43
43
  version: '3.12'
44
+ - - <
45
+ - !ruby/object:Gem::Version
46
+ version: '5'
44
47
  type: :runtime
45
48
  prerelease: false
46
49
  version_requirements: !ruby/object:Gem::Requirement
47
50
  none: false
48
51
  requirements:
49
- - - ~>
52
+ - - ! '>='
50
53
  - !ruby/object:Gem::Version
51
54
  version: '3.12'
55
+ - - <
56
+ - !ruby/object:Gem::Version
57
+ version: '5'
52
58
  - !ruby/object:Gem::Dependency
53
59
  name: minitest
54
60
  requirement: !ruby/object:Gem::Requirement
@@ -56,7 +62,7 @@ dependencies:
56
62
  requirements:
57
63
  - - ~>
58
64
  - !ruby/object:Gem::Version
59
- version: '2.10'
65
+ version: 4.7.4
60
66
  type: :development
61
67
  prerelease: false
62
68
  version_requirements: !ruby/object:Gem::Requirement
@@ -64,7 +70,7 @@ dependencies:
64
70
  requirements:
65
71
  - - ~>
66
72
  - !ruby/object:Gem::Version
67
- version: '2.10'
73
+ version: 4.7.4
68
74
  description: TarPit provides the glue for an unholy union of build tools. TarPit includes
69
75
  general automation for any rubygems project. It originally used and remains heavily
70
76
  influenced by Hoe (e.g. Manifest.txt.) However, it fully supports use of Bundler.
@@ -139,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
145
  version: '0'
140
146
  segments:
141
147
  - 0
142
- hash: -4436213169703054648
148
+ hash: 4338233375317833727
143
149
  required_rubygems_version: !ruby/object:Gem::Requirement
144
150
  none: false
145
151
  requirements:
@@ -148,10 +154,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
154
  version: '0'
149
155
  segments:
150
156
  - 0
151
- hash: -4436213169703054648
157
+ hash: 4338233375317833727
152
158
  requirements: []
153
159
  rubyforge_project:
154
- rubygems_version: 1.8.21
160
+ rubygems_version: 1.8.25
155
161
  signing_key:
156
162
  specification_version: 3
157
163
  summary: TarPit provides the glue for an unholy union of build tools. TarPit includes