rjack-tarpit 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92cfabf70caadd51714b84f46a9c640504d855b8
4
- data.tar.gz: dc1e1b4c402cefa1ac5fc67c21e8975e2a51a605
3
+ metadata.gz: 095f3f69c3c99b96dc0ed8bf36e89d140a326924
4
+ data.tar.gz: 112a6049ccaf3f7f5f2db57046ba0fb29fc4eca8
5
5
  SHA512:
6
- metadata.gz: bf460f74260f6067a5e8a574cc687c3c68bdf18c039fbe7876dfd7ba460bd673f718e86eab0a04c10a1a0576afe42d0e76754659fa61aa1336d1000cc94c6a39
7
- data.tar.gz: a854b32db36b937518e96017ddf3dcad7914331dc7e5315e91db135feea65b6d53916474040641805994f8628aa8d9d9449a660e9aacce4ef39a18ce6e655ec6
6
+ metadata.gz: 2d198267681bb146c1c9328ec91ad3c6e86b508cc703b0af90c7b3d85febb260365c98f9520a4159a2b56a76e537a201522ea92f5df0d4b2eebe9eb362eb6531
7
+ data.tar.gz: 579e5b7a661d8d6d37c990f3938b59f8cda201e88edfc7a570f5c815525c82fb5cb5f037f150728aa99945abeb40cb3aa28afc05554894b5ae8b19b459e73cc4
@@ -1,3 +1,12 @@
1
+ === 2.1.1 (2016-7-18)
2
+ * Use unmodified minitest/autorun (at_exit handler) for default
3
+ in-proc test loader to regain compatibility with later minitest
4
+ (gem) versions up through 5.8.4 and 5.9.0
5
+ * Add error handling for when the specfile isn't the caller of
6
+ RJack::TarPit.specify (as observed with jruby's unavoidable
7
+ "jar-dependencies")
8
+ * Broaden rake dependency to [>= 0.9.2.2, < 12] (tested 11.2.2)
9
+
1
10
  === 2.1.0 (2013-12-5)
2
11
  * Drop gemspec (java) dependency on jruby-openssl. This breaks jruby
3
12
  1.6.x compatibility, at minimum, for the rubygems "rake push"
data/NOTICE.txt CHANGED
@@ -1,2 +1,2 @@
1
1
  rjack-tarpit
2
- Copyright (c) 2009-2013 David Kellum
2
+ Copyright (c) 2009-2016 David Kellum
@@ -1,7 +1,7 @@
1
1
  = rjack-tarpit
2
2
 
3
- * http://rjack.rubyforge.org/tarpit
4
- * http://rjack.rubyforge.org
3
+ * http://rjack.gravitext.com/tarpit
4
+ * http://rjack.gravitext.com
5
5
  * https://github.com/dekellum/rjack
6
6
 
7
7
  == Description
@@ -15,7 +15,7 @@ gemspec benefits from sensible automation but remains in
15
15
  a <project>.gemspec per Bundler's requirements.
16
16
 
17
17
  For java platform projects, TarPit offers Maven integration via the
18
- rjack-maven[http://rjack.rubyforge.org/maven] gem. Maven
18
+ rjack-maven[http://rjack.gravitext.com/maven] gem. Maven
19
19
  package/install is run as needed, and jars are linked to the gem lib
20
20
  directory for inclusion, with semi-automatic Manifest.txt production.
21
21
  No need to bloat your git repo by checking in every version of every
@@ -113,7 +113,7 @@ works correctly across JRuby 1.6.x and 1.7 in all target environments.
113
113
 
114
114
  == License
115
115
 
116
- Copyright (c) 2009-2013 David Kellum
116
+ Copyright (c) 2009-2016 David Kellum
117
117
 
118
118
  Licensed under the Apache License, Version 2.0 (the "License"); you
119
119
  may not use this file except in compliance with the License. You
data/Rakefile CHANGED
@@ -7,10 +7,6 @@ require 'rjack-tarpit'
7
7
 
8
8
  RJack::TarPit.new( 'rjack-tarpit' ) do |tp|
9
9
 
10
- tp.rdoc_destinations <<
11
- 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/tarpit'
12
- tp.publish_rdoc_rsync_flags = %w[ -rL ]
13
-
14
10
  desc "Check that README sample has latest version"
15
11
  task :check_sample_version do
16
12
  tp.test_line_match( 'README.rdoc',
@@ -20,3 +16,10 @@ RJack::TarPit.new( 'rjack-tarpit' ) do |tp|
20
16
  [ :gem, :tag, :push ].each { |t| task t => :check_sample_version }
21
17
 
22
18
  end
19
+
20
+ desc "Upload RDOC to Amazon S3 (rdoc.gravitext.com/rjack, Oregon)"
21
+ task :publish_rdoc => [ :clean, :rerdoc ] do
22
+ sh <<-SH
23
+ aws s3 sync --acl public-read doc/ s3://rjack.gravitext.com/tarpit/
24
+ SH
25
+ end
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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.1'
20
- VERSION = MINOR_VERSION + '.0'
20
+ VERSION = MINOR_VERSION + '.1'
21
21
  end
22
22
  end
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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
@@ -27,7 +27,7 @@ module RJack::TarPit
27
27
  def parse_readme( file )
28
28
 
29
29
  in_desc = false
30
- desc = ""
30
+ desc = String.new
31
31
 
32
32
  readme_file_open( file ) do |fin|
33
33
  fin.each do |line|
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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
@@ -54,18 +54,22 @@ module RJack::TarPit
54
54
  spec.extend( SpecHelper )
55
55
  spec.extend( ReadmeParser )
56
56
 
57
- specfile = caller[0] =~ /^(.*\.gemspec)/ && $1
57
+ specfile = caller[0] =~ /^(.+\.gemspec):/ && $1
58
58
 
59
- # Default name to the (name).gemspec that should be calling us
60
- spec.name = File.basename( specfile, ".gemspec" )
59
+ if specfile
60
+ # Default name to the (name).gemspec that should be calling us
61
+ spec.name = File.basename( specfile, ".gemspec" )
61
62
 
62
- # Add project's lib/ to LOAD_PATH for block...
63
- ldir = File.expand_path( File.join( File.dirname( specfile ), 'lib' ) )
64
- $LOAD_PATH.unshift( ldir )
63
+ # Add project's lib/ to LOAD_PATH for block...
64
+ ldir = File.expand_path( File.join( File.dirname( specfile ), 'lib' ) )
65
+ $LOAD_PATH.unshift( ldir )
66
+ end
65
67
 
66
68
  spec.tarpit_specify( &block )
67
69
 
68
- $LOAD_PATH.shift # ...then remove it to avoid pollution
70
+ if specfile
71
+ $LOAD_PATH.shift # ...then remove it to avoid pollution
72
+ end
69
73
 
70
74
  @last_spec = spec
71
75
  end
@@ -149,6 +153,8 @@ module RJack::TarPit
149
153
 
150
154
  yield self if block_given?
151
155
 
156
+ raise "No default or specified name" unless name
157
+
152
158
  @assembly_name ||= name
153
159
  @assembly_version ||= version
154
160
 
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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
@@ -71,19 +71,9 @@ module RJack::TarPit
71
71
 
72
72
  desc "Run minitest tests (in rake process)"
73
73
  task :test do |t,args|
74
- require 'minitest/unit'
75
-
76
- MiniTest::Unit.class_eval do
77
- def self.autorun # :nodoc:
78
- # disable autorun, as we are running ourselves
79
- end
80
- end
81
-
74
+ # Let minitest/autorun at_exit run the test
75
+ require 'minitest/autorun'
82
76
  tfiles.each { |f| load File.expand_path( f ) }
83
-
84
- code = MiniTest::Unit.new.run( ( ENV['TESTOPTS'] || '' ).split )
85
- fail "test failed (#{code})" if code && code > 0
86
- puts
87
77
  end
88
78
 
89
79
  else
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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,6 +1,6 @@
1
1
  = jproject
2
2
 
3
- * http://rjack.rubyforge.org/tarpit
3
+ * http://rjack.gravitext.com/tarpit
4
4
 
5
5
  == Description
6
6
 
@@ -7,7 +7,7 @@ require 'jproject'
7
7
 
8
8
  class TestJProject < MiniTest::Unit::TestCase
9
9
 
10
- def test
10
+ def test_load
11
11
  assert_equal( "Hello", JProject::Sample.hello )
12
12
  end
13
13
 
@@ -3,7 +3,7 @@
3
3
  #. jruby.launch.inproc = false
4
4
 
5
5
  #--
6
- # Copyright (c) 2009-2013 David Kellum
6
+ # Copyright (c) 2009-2016 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-2013 David Kellum
4
+ # Copyright (c) 2009-2016 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
@@ -2,7 +2,7 @@
2
2
  #.hashdot.profile += jruby-shortlived
3
3
 
4
4
  #--
5
- # Copyright (c) 2009-2013 David Kellum
5
+ # Copyright (c) 2009-2016 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
@@ -24,7 +24,7 @@ require 'rjack-tarpit'
24
24
  class TestTarpit < MiniTest::Unit::TestCase
25
25
  include RJack
26
26
 
27
- def test
27
+ def test_load
28
28
  tp = TarPit.new( "rjack-tarpit" )
29
29
  pass #load worked
30
30
 
@@ -1,6 +1,6 @@
1
1
  = rjack-zookeeper
2
2
 
3
- * http://rjack.rubyforge.org/tarpit
3
+ * http://rjack.gravitext.com/tarpit
4
4
 
5
5
  == Description
6
6
 
@@ -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-2013 David Kellum
11
+ Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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-2013 David Kellum
2
+ # Copyright (c) 2009-2016 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
@@ -7,8 +7,8 @@ require 'rjack-zookeeper'
7
7
 
8
8
  class TestZooKeeper < MiniTest::Unit::TestCase
9
9
 
10
- def test
11
- pass #FIXME
10
+ def test_defined
11
+ assert( defined?( RJack::RZooKeeper ) )
12
12
  end
13
13
 
14
14
  end
metadata CHANGED
@@ -1,69 +1,75 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjack-tarpit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Kellum
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-06 00:00:00.000000000 Z
11
+ date: 2016-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.9.2.2
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '11'
22
+ version: '12'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 0.9.2.2
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '11'
32
+ version: '12'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rdoc
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - '>='
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '3.12'
40
- - - <
40
+ - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '5'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: '3.12'
50
- - - <
50
+ - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '5'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: minitest
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ~>
57
+ - - ">="
58
58
  - !ruby/object:Gem::Version
59
59
  version: 4.7.4
60
+ - - "<"
61
+ - !ruby/object:Gem::Version
62
+ version: '6'
60
63
  type: :development
61
64
  prerelease: false
62
65
  version_requirements: !ruby/object:Gem::Requirement
63
66
  requirements:
64
- - - ~>
67
+ - - ">="
65
68
  - !ruby/object:Gem::Version
66
69
  version: 4.7.4
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '6'
67
73
  description: TarPit provides the glue for an unholy union of build tools. TarPit includes
68
74
  general automation for any rubygems project. It originally used and remains heavily
69
75
  influenced by Hoe (e.g. Manifest.txt.) However, it fully supports use of Bundler.
@@ -82,8 +88,8 @@ files:
82
88
  - NOTICE.txt
83
89
  - README.rdoc
84
90
  - Rakefile
85
- - lib/rjack-tarpit/base.rb
86
91
  - lib/rjack-tarpit.rb
92
+ - lib/rjack-tarpit/base.rb
87
93
  - lib/rjack-tarpit/base_strategy.rb
88
94
  - lib/rjack-tarpit/clean.rb
89
95
  - lib/rjack-tarpit/doc.rb
@@ -94,10 +100,6 @@ files:
94
100
  - lib/rjack-tarpit/spec.rb
95
101
  - lib/rjack-tarpit/test.rb
96
102
  - lib/rjack-tarpit/util.rb
97
- - test/setup.rb
98
- - test/test_projects.rb
99
- - test/test_readme_parser.rb
100
- - test/test_tarpit.rb
101
103
  - test/jproject/History.rdoc
102
104
  - test/jproject/Manifest.static
103
105
  - test/jproject/Manifest.txt
@@ -105,45 +107,49 @@ files:
105
107
  - test/jproject/README.rdoc
106
108
  - test/jproject/Rakefile
107
109
  - test/jproject/jproject.gemspec
108
- - test/jproject/pom.xml
109
- - test/jproject/lib/jproject/base.rb
110
110
  - test/jproject/lib/jproject.rb
111
+ - test/jproject/lib/jproject/base.rb
112
+ - test/jproject/pom.xml
111
113
  - test/jproject/test/setup.rb
112
114
  - test/jproject/test/test_jproject.rb
115
+ - test/setup.rb
116
+ - test/test_projects.rb
117
+ - test/test_readme_parser.rb
118
+ - test/test_tarpit.rb
113
119
  - test/zookeeper/History.rdoc
114
120
  - test/zookeeper/Manifest.static
115
121
  - test/zookeeper/Manifest.txt
116
122
  - test/zookeeper/README.rdoc
117
123
  - test/zookeeper/Rakefile
118
124
  - test/zookeeper/assembly.xml
125
+ - test/zookeeper/lib/rjack-zookeeper.rb
126
+ - test/zookeeper/lib/rjack-zookeeper/base.rb
119
127
  - test/zookeeper/pom.xml
120
128
  - test/zookeeper/rjack-zookeeper.gemspec
121
- - test/zookeeper/lib/rjack-zookeeper/base.rb
122
- - test/zookeeper/lib/rjack-zookeeper.rb
123
129
  - test/zookeeper/test/setup.rb
124
130
  - test/zookeeper/test/test_zookeeper.rb
125
- homepage: http://rjack.rubyforge.org/tarpit
131
+ homepage: http://rjack.gravitext.com/tarpit
126
132
  licenses: []
127
133
  metadata: {}
128
134
  post_install_message:
129
135
  rdoc_options:
130
- - --main
136
+ - "--main"
131
137
  - README.rdoc
132
138
  require_paths:
133
139
  - lib
134
140
  required_ruby_version: !ruby/object:Gem::Requirement
135
141
  requirements:
136
- - - '>='
142
+ - - ">="
137
143
  - !ruby/object:Gem::Version
138
144
  version: '0'
139
145
  required_rubygems_version: !ruby/object:Gem::Requirement
140
146
  requirements:
141
- - - '>='
147
+ - - ">="
142
148
  - !ruby/object:Gem::Version
143
149
  version: '0'
144
150
  requirements: []
145
151
  rubyforge_project:
146
- rubygems_version: 2.0.14
152
+ rubygems_version: 2.4.5.1
147
153
  signing_key:
148
154
  specification_version: 4
149
155
  summary: TarPit provides the glue for an unholy union of build tools. TarPit includes