rjack-tarpit 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.3.1 (2011-5-19)
2
+ * On gem install(_deps), only ignore gem SystemExitException when
3
+ exit_code == 0; Fail on failed install.
4
+
1
5
  === 1.3.0 (2011-2-5)
2
6
  * Add new install_deps task to install missing or all gem
3
7
  dev. dependencies.
data/NOTICE.txt CHANGED
@@ -1,2 +1,2 @@
1
1
  rjack-tarpit
2
- Copyright (c) 2009-2010 David Kellum
2
+ Copyright (c) 2009-2011 David Kellum
data/README.rdoc CHANGED
@@ -1,7 +1,8 @@
1
1
  = rjack-tarpit
2
2
 
3
+ * http://rjack.rubyforge.org/tarpit
3
4
  * http://rjack.rubyforge.org
4
- * http://rubyforge.org/projects/rjack
5
+ * https://github.com/dekellum/rjack
5
6
 
6
7
  == Description
7
8
 
@@ -29,7 +30,7 @@ source with maven:
29
30
  require 'mygem/version'
30
31
 
31
32
  require 'rubygems'
32
- gem 'rjack-tarpit', '~> 1.3.0'
33
+ gem 'rjack-tarpit', '~> 1.3.1'
33
34
  require 'rjack-tarpit'
34
35
 
35
36
  t = RJack::TarPit.new( 'mygem', MyGem::VERSION, :java_platform )
@@ -48,12 +49,12 @@ source with maven:
48
49
 
49
50
  Besides the explicit gem dependencies, TarPit requires:
50
51
 
51
- * rake 0.8.7+ (currently bundled with JRuby 1.3)
52
- * Apache Maven 2.x ('mvn' command on path)
52
+ * rake 0.8.7+ (bundled with JRuby 1.3+)
53
+ * Apache Maven 2+ ('mvn' command on path)
53
54
 
54
55
  == License
55
56
 
56
- Copyright (c) 2009-2010 David Kellum
57
+ Copyright (c) 2009-2011 David Kellum
57
58
 
58
59
  Licensed under the Apache License, Version 2.0 (the "License"); you
59
60
  may not use this file except in compliance with the License. You
data/Rakefile CHANGED
@@ -18,8 +18,7 @@ t = TarPit.new( 'rjack-tarpit', TarPit::VERSION )
18
18
  t.specify do |h|
19
19
  h.developer( 'David Kellum', 'dek-oss@gravitext.com' )
20
20
  h.extra_deps += tarpit_deps
21
- h.rubyforge_name = 'rjack'
22
- h.remote_rdoc_dir = 'tarpit'
21
+ h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/tarpit"
23
22
  end
24
23
 
25
24
  task :check_history_version do
data/lib/rjack-tarpit.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2010 David Kellum
2
+ # Copyright (c) 2009-2011 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
@@ -21,7 +21,7 @@ module RJack
21
21
  # Provides glue for Rake, Hoe, and Maven by generating tasks.
22
22
  module TarPit
23
23
  # Module version
24
- VERSION = '1.3.0'
24
+ VERSION = '1.3.1'
25
25
 
26
26
  # Construct new task generator by gem name, version, and flags. A descendant
27
27
  # of BaseStrategy is returned.
@@ -270,8 +270,8 @@ module RJack
270
270
  cm = Gem::CommandManager.instance
271
271
  begin
272
272
  cm.run( gem_config( 'install', '--local', '-V', gem_file ) )
273
- rescue Gem::SystemExitException
274
- #ignore
273
+ rescue Gem::SystemExitException => x
274
+ raise "Install failed (#{x.exit_code})" if x.exit_code != 0
275
275
  end
276
276
  end
277
277
 
@@ -301,8 +301,8 @@ module RJack
301
301
  c = [ 'install', '--remote', '-V', dep.first ]
302
302
  c += dep[1..-1].map { |r| [ '-v', r ] }.flatten
303
303
  cm.run( gem_config( *c ) )
304
- rescue Gem::SystemExitException
305
- #ignore
304
+ rescue Gem::SystemExitException => x
305
+ raise "Install failed (#{x.exit_code})" if x.exit_code != 0
306
306
  end
307
307
 
308
308
  def gem_file
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjack-tarpit
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 3
8
- - 0
9
- version: 1.3.0
4
+ prerelease:
5
+ version: 1.3.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - David Kellum
@@ -14,26 +10,20 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-02-05 00:00:00 -08:00
13
+ date: 2011-05-19 00:00:00 -07:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
21
17
  name: rdoc
22
18
  prerelease: false
23
19
  requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
24
21
  requirements:
25
22
  - - ">="
26
23
  - !ruby/object:Gem::Version
27
- segments:
28
- - 2
29
- - 5
30
- - 11
31
24
  version: 2.5.11
32
25
  - - <
33
26
  - !ruby/object:Gem::Version
34
- segments:
35
- - 3
36
- - 6
37
27
  version: "3.6"
38
28
  type: :runtime
39
29
  version_requirements: *id001
@@ -41,13 +31,10 @@ dependencies:
41
31
  name: hoe
42
32
  prerelease: false
43
33
  requirement: &id002 !ruby/object:Gem::Requirement
34
+ none: false
44
35
  requirements:
45
36
  - - ~>
46
37
  - !ruby/object:Gem::Version
47
- segments:
48
- - 2
49
- - 8
50
- - 0
51
38
  version: 2.8.0
52
39
  type: :runtime
53
40
  version_requirements: *id002
@@ -84,7 +71,7 @@ files:
84
71
  - Rakefile
85
72
  - lib/rjack-tarpit.rb
86
73
  has_rdoc: true
87
- homepage: http://rjack.rubyforge.org
74
+ homepage: http://rjack.rubyforge.org/tarpit
88
75
  licenses: []
89
76
 
90
77
  post_install_message:
@@ -94,23 +81,21 @@ rdoc_options:
94
81
  require_paths:
95
82
  - lib
96
83
  required_ruby_version: !ruby/object:Gem::Requirement
84
+ none: false
97
85
  requirements:
98
86
  - - ">="
99
87
  - !ruby/object:Gem::Version
100
- segments:
101
- - 0
102
88
  version: "0"
103
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
+ none: false
104
91
  requirements:
105
92
  - - ">="
106
93
  - !ruby/object:Gem::Version
107
- segments:
108
- - 0
109
94
  version: "0"
110
95
  requirements: []
111
96
 
112
- rubyforge_project: rjack
113
- rubygems_version: 1.3.6
97
+ rubyforge_project: rjack-tarpit
98
+ rubygems_version: 1.5.1
114
99
  signing_key:
115
100
  specification_version: 3
116
101
  summary: TarPit provides the glue for an unholy union of build tools