hoe 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17a81d2b4668e49f3fd68116fee3682516f2629358f5add10b75d9f3ee7cb7ac
4
- data.tar.gz: '0487cc325a160bb36b203e4a0da035fb31557db46937795041daec273d9c4b3f'
3
+ metadata.gz: 0d7dba45c80f5bbddc2b84068e7c118f72a4e67c3d18f3bab129cb889928a468
4
+ data.tar.gz: 1a2aac15390a9b5e245d5e0eec7917c398321047cc2a4ff11cb8b1bf0e12a0f0
5
5
  SHA512:
6
- metadata.gz: aef504adf5701b7d8d4c1204bdc69789dff918a4e8d65a52239f50e8ac19ccb5f7683668752c90423e3a18842bf3bd8e509fe3cf7bd5ec97aa2aa7920add4246
7
- data.tar.gz: 875ab043593ce1d80bca813391eab81d90f3d5fd1c25167aac1563680cea36228643b3850d4fecfcf7963e34f60b9307b0077434de73465d61d6aa8ec3b73462
6
+ metadata.gz: de0cc99b4c941f729c2b4fd248354efee6cc939ce390a9c10506203d46d6afcbd3e1e89d39b45e2e7b683175077d219c5e7b3bb6f7285218bd0561cb49678423
7
+ data.tar.gz: ed575ecb590c942e0d61ffd11eb2fc0162f8a98fc8ad65d0e72c5410d802fab3dce0ed369d1787793e885d43f0f74146f825f45f64e9afcffe7f3b602873d318
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,14 @@
1
+ === 4.6.1 / 2026-02-23
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Added -C dir arg to sow to cd to dir before creating so I can test local changes easier.
6
+
7
+ * 2 bug fixes:
8
+
9
+ * Fixes for a very buggy rdoc... wtf
10
+ * Switch to pp for debug_gem. Long file lists are finally readable. Gem#to_ruby is ugly as fuck.
11
+
1
12
  === 4.6.0 / 2026-01-28
2
13
 
3
14
  * 6 minor enhancements:
data/bin/sow CHANGED
@@ -22,12 +22,14 @@ end
22
22
 
23
23
  def make_sub_modules klass
24
24
  last = nil
25
- result = ""
25
+ result = []
26
+
26
27
  klass.split("::")[0..-2].each do |part|
27
28
  last = [last, part].compact.join("::")
28
29
  result << "module #{last}; end\n"
29
30
  end
30
31
  result << "\n" unless result.empty?
32
+ result.join
31
33
  end
32
34
 
33
35
  op = OptionParser.new do |opts|
@@ -45,6 +47,10 @@ op = OptionParser.new do |opts|
45
47
  option[:subdir] = "dev"
46
48
  end
47
49
 
50
+ opts.on "-C dir", String, "Change directory to dir before creating project." do |d|
51
+ Dir.chdir d
52
+ end
53
+
48
54
  opts.on("-s style", "--style style", String, "Use template <style>.") do |s|
49
55
  option[:style] = s
50
56
  end
data/lib/hoe/debug.rb CHANGED
@@ -50,7 +50,7 @@ module Hoe::Debug
50
50
 
51
51
  desc "Show information about the gem."
52
52
  task :debug_gem do
53
- puts spec.to_ruby
53
+ pp spec
54
54
  end
55
55
 
56
56
  task :isolate # stub
data/lib/hoe/rake.rb CHANGED
@@ -1,4 +1,4 @@
1
- module Rake
1
+ module Rake # :nodoc:
2
2
  class Task # :nodoc:
3
3
  # Used to name the source of a given task
4
4
  attr_accessor :plugin
data/lib/hoe.rb CHANGED
@@ -87,7 +87,7 @@ class Hoe
87
87
  include Rake::DSL if defined?(Rake::DSL)
88
88
 
89
89
  # duh
90
- VERSION = "4.6.0"
90
+ VERSION = "4.6.1"
91
91
 
92
92
  @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
93
93
  :publish, :gemcutter, :signing, :test]
@@ -984,3 +984,6 @@ class File # :nodoc:
984
984
  end
985
985
  end
986
986
  end
987
+
988
+ module Gem # :nodoc:
989
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
metadata.gz.sig CHANGED
Binary file