hoe 2.6.2 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,15 @@
1
+ === 2.7.0 / 2010-11-15
2
+
3
+ * 2 minor enhancements:
4
+
5
+ * Added new plugin: gem_prelude_sucks. (jbarnette)
6
+ * Activate under 1.9 if you don't want it messing with you.
7
+ * Added rspec2 support (bleything)
8
+
9
+ * 1 bug fix:
10
+
11
+ * require uri in hoe/deps (raggi)
12
+
1
13
  === 2.6.2 / 2010-08-31
2
14
 
3
15
  * 1 minor enhancement:
data/Manifest.txt CHANGED
@@ -11,6 +11,7 @@ lib/hoe/debug.rb
11
11
  lib/hoe/deps.rb
12
12
  lib/hoe/flay.rb
13
13
  lib/hoe/flog.rb
14
+ lib/hoe/gem_prelude_sucks.rb
14
15
  lib/hoe/gemcutter.rb
15
16
  lib/hoe/inline.rb
16
17
  lib/hoe/newb.rb
data/lib/hoe.rb CHANGED
@@ -58,7 +58,7 @@ require 'hoe/rake'
58
58
 
59
59
  class Hoe
60
60
  # duh
61
- VERSION = '2.6.2'
61
+ VERSION = '2.7.0'
62
62
 
63
63
  @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
64
64
  :publish, :rcov, :rubyforge, :gemcutter, :signing, :test]
data/lib/hoe/deps.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'rubygems/remote_fetcher'
2
+ require 'uri'
2
3
 
3
4
  ##
4
5
  # Deps plugin for hoe.
@@ -0,0 +1,15 @@
1
+ ##
2
+ # Simple plugin to turn off ruby 1.9's gem_prelude in Hoe::RUBY_FLAGS
3
+
4
+ module Hoe::GemPreludeSucks
5
+
6
+ Hoe::RUBY_FLAGS.insert 0, "--disable-gems -rubygems "
7
+
8
+ def initialize_gem_prelude_sucks
9
+ # do nothing
10
+ end
11
+
12
+ def define_gem_prelude_sucks_tasks
13
+ # do nothing
14
+ end
15
+ end
data/lib/hoe/test.rb CHANGED
@@ -91,8 +91,9 @@ module Hoe::Test
91
91
  end
92
92
 
93
93
  if File.directory? "spec" then
94
+ found = true
94
95
  begin
95
- require 'spec/rake/spectask'
96
+ require 'spec/rake/spectask' # rspec 1
96
97
 
97
98
  desc "Run all specifications"
98
99
  Spec::Rake::SpecTask.new(:spec) do |t|
@@ -100,9 +101,25 @@ module Hoe::Test
100
101
  t.spec_opts = self.rspec_options
101
102
  end
102
103
  rescue LoadError
103
- # do nothing
104
+ begin
105
+ require 'rspec/core/rake_task' # rspec 2
106
+
107
+ desc "Run all specifications"
108
+ RSpec::Core::RakeTask.new(:spec) do |t|
109
+ t.rspec_opts = self.rspec_options
110
+ t.rspec_opts << "-I#{self.rspec_dirs.join(":")}" unless
111
+ rspec_dirs.empty?
112
+ end
113
+ rescue LoadError
114
+ found = false
115
+ end
116
+ end
117
+
118
+ if found then
119
+ default_tasks << :spec
120
+ else
121
+ warn "Found spec dir, but couldn't load rspec (1 or 2) task. skipping."
104
122
  end
105
- default_tasks << :spec
106
123
  end
107
124
 
108
125
  desc 'Run the default task(s).'
@@ -1,3 +1,4 @@
1
+ require "hoe"
1
2
  require "hoe/gemcutter" unless defined? Hoe::Gemcutter
2
3
 
3
4
  class TestHoeGemcutter < MiniTest::Unit::TestCase
metadata CHANGED
@@ -1,53 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
4
  prerelease: false
6
5
  segments:
7
6
  - 2
8
- - 6
9
- - 2
10
- version: 2.6.2
7
+ - 7
8
+ - 0
9
+ version: 2.7.0
11
10
  platform: ruby
12
11
  authors:
13
12
  - Ryan Davis
14
13
  autorequire:
15
14
  bindir: bin
16
- cert_chain:
17
- - |
18
- -----BEGIN CERTIFICATE-----
19
- MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
20
- ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
21
- GRYDY29tMB4XDTA5MDMwNjE4NTMxNVoXDTEwMDMwNjE4NTMxNVowRTETMBEGA1UE
22
- AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
23
- JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
24
- b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
25
- taCPaLmfYIaFcHHCSY4hYDJijRQkLxPeB3xbOfzfLoBDbjvx5JxgJxUjmGa7xhcT
26
- oOvjtt5P8+GSK9zLzxQP0gVLS/D0FmoE44XuDr3iQkVS2ujU5zZL84mMNqNB1znh
27
- GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
28
- qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
29
- gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
30
- HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
31
- AQAY59gYvDxqSqgC92nAP9P8dnGgfZgLxP237xS6XxFGJSghdz/nI6pusfCWKM8m
32
- vzjjH2wUMSSf3tNudQ3rCGLf2epkcU13/rguI88wO6MrE0wi4ZqLQX+eZQFskJb/
33
- w6x9W1ur8eR01s397LSMexySDBrJOh34cm2AlfKr/jokKCTwcM0OvVZnAutaovC0
34
- l1SVZ0ecg88bsWHA0Yhh7NFxK1utWoIhtB6AFC/+trM0FQEB/jZkIS8SaNzn96Rl
35
- n0sZEf77FLf5peR8TP/PtmIg7Cyqz23sLM4mCOoTGIy5OcZ8TdyiyINUHtb5ej/T
36
- FBHgymkyj/AOSqKRIpXPhjC6
37
- -----END CERTIFICATE-----
15
+ cert_chain: []
38
16
 
39
- date: 2010-09-01 00:00:00 -07:00
17
+ date: 2010-11-15 00:00:00 -08:00
40
18
  default_executable:
41
19
  dependencies:
42
20
  - !ruby/object:Gem::Dependency
43
21
  name: rubyforge
44
22
  prerelease: false
45
23
  requirement: &id001 !ruby/object:Gem::Requirement
46
- none: false
47
24
  requirements:
48
25
  - - ">="
49
26
  - !ruby/object:Gem::Version
50
- hash: 7
51
27
  segments:
52
28
  - 2
53
29
  - 0
@@ -59,11 +35,9 @@ dependencies:
59
35
  name: rake
60
36
  prerelease: false
61
37
  requirement: &id002 !ruby/object:Gem::Requirement
62
- none: false
63
38
  requirements:
64
39
  - - ">="
65
40
  - !ruby/object:Gem::Version
66
- hash: 49
67
41
  segments:
68
42
  - 0
69
43
  - 8
@@ -75,16 +49,14 @@ dependencies:
75
49
  name: minitest
76
50
  prerelease: false
77
51
  requirement: &id003 !ruby/object:Gem::Requirement
78
- none: false
79
52
  requirements:
80
53
  - - ">="
81
54
  - !ruby/object:Gem::Version
82
- hash: 11
83
55
  segments:
84
- - 1
85
- - 7
56
+ - 2
57
+ - 0
86
58
  - 0
87
- version: 1.7.0
59
+ version: 2.0.0
88
60
  type: :development
89
61
  version_requirements: *id003
90
62
  description: |-
@@ -122,6 +94,7 @@ files:
122
94
  - lib/hoe/deps.rb
123
95
  - lib/hoe/flay.rb
124
96
  - lib/hoe/flog.rb
97
+ - lib/hoe/gem_prelude_sucks.rb
125
98
  - lib/hoe/gemcutter.rb
126
99
  - lib/hoe/inline.rb
127
100
  - lib/hoe/newb.rb
@@ -153,22 +126,18 @@ rdoc_options:
153
126
  require_paths:
154
127
  - lib
155
128
  required_ruby_version: !ruby/object:Gem::Requirement
156
- none: false
157
129
  requirements:
158
130
  - - ">="
159
131
  - !ruby/object:Gem::Version
160
- hash: 23
161
132
  segments:
162
133
  - 1
163
134
  - 3
164
135
  - 6
165
136
  version: 1.3.6
166
137
  required_rubygems_version: !ruby/object:Gem::Requirement
167
- none: false
168
138
  requirements:
169
139
  - - ">="
170
140
  - !ruby/object:Gem::Version
171
- hash: 25
172
141
  segments:
173
142
  - 1
174
143
  - 3
@@ -177,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
146
  requirements: []
178
147
 
179
148
  rubyforge_project: seattlerb
180
- rubygems_version: 1.3.7
149
+ rubygems_version: 1.3.6
181
150
  signing_key:
182
151
  specification_version: 3
183
152
  summary: Hoe is a rake/rubygems helper for project Rakefiles
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- I���5�]����i��� ���Y�Kx锔`wK&Z}+w��|+�5K����N�ؙ�Vy��|@�*�%m�f�an�}��/5Bs���lH�������ö��N&;�[�BB���B�����)�$� zP� �6O-(�Õ�{��d�f��-l�+ˆ�X�"�ۛ�������}��/�I�i�P�X8�����dC�4�Η�W\�N��e��6/��dnT`�j��a<�P��3[܀���m�1[X�RAG