hoe 4.0.4 → 4.0.5

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
  SHA256:
3
- metadata.gz: 67e31e9938ece427eb84daa0f3e99a4e01c1d36b279dd5890d4f6bbc7fdcd90c
4
- data.tar.gz: fb94eb72b65f22c079107e5c65a75e14c52b350ec5a5ae3be72840980cfd50b4
3
+ metadata.gz: 5dbe5062389cd4192b33d22f0712088a0e9149cce71a88ed84624b813cc9b9d9
4
+ data.tar.gz: 88313827e49ed3c0879984201cf1decbb89d93dd2b4167c96960c03796c5f8ff
5
5
  SHA512:
6
- metadata.gz: 89e92936126d57b0d7a9ce2aec3067ad98183285978370b9c56046d7ce3a907f9f837d68e13c9cf0f259e911b637374ca74dfc20729eb879089b02bb55d257ca
7
- data.tar.gz: 4f9fad36221ef7a76e09fd58d58a4bc87818873e3b0fbd2edf745b43b0b7bd79557251d4f4fd5d771ad2602241e8152daecdace07840e183d3e7bd62cb93000a
6
+ metadata.gz: 0f558e4bd49ad9dac75322fa3dd05c942283c5222db7933105c559fdd6baf12da044df09508db9d0c1c09da5c9211d57040791cb2ea74e819eae2328bb730ecc
7
+ data.tar.gz: 2fa08ae8e33ce01f75da082e41a812ad7a00d990abc6cd1fed9ca5cd5a0fb086346a7043a49945b916e67c9804132613d2f0552c06343b1a7bab628ee156ff09
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 4.0.5 / 2023-07-25
2
+
3
+ * 1 bug fix:
4
+
5
+ * sow: Fixed nested module directory creation. (chriscz)
6
+
1
7
  === 4.0.4 / 2023-06-06
2
8
 
3
9
  * 1 minor enhancement:
data/bin/sow CHANGED
@@ -102,12 +102,16 @@ FileUtils.cp_r template_path, project
102
102
  Dir.chdir project do
103
103
  dirs = Dir["**/*"].select { |f| File.directory? f }.sort.reverse
104
104
  dirs.grep(/file_name$/).each do |file|
105
- FileUtils.mv file, file.sub(/file_name$/, file_name)
105
+ target = file.sub(/file_name$/, file_name)
106
+ FileUtils.mkdir_p File.dirname(target)
107
+ FileUtils.mv file, target
106
108
  end
107
109
 
108
110
  dirs = Dir["**/*"].select { |f| File.directory? f }.sort.reverse
109
111
  dirs.grep(/ext_name$/).each do |file|
110
- FileUtils.mv file, file.sub(/ext_name$/, ext_name)
112
+ target = file.sub(/ext_name$/, ext_name)
113
+ FileUtils.mkdir_p File.dirname(target)
114
+ FileUtils.mv file, target
111
115
  end
112
116
 
113
117
  paths = (Dir["**/*"] + Dir["**/.*"]).select { |f| File.file? f }.sort
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.0.4"
90
+ VERSION = "4.0.5"
91
91
 
92
92
  @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
93
93
  :publish, :gemcutter, :signing, :test]
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.0.4
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -29,7 +29,7 @@ cert_chain:
29
29
  ROfWo9Uyp8ba/j9eVG14KkYRaLydAY1MNQk2yd3R5CGfeOpD1kttxjoypoUJ2dOG
30
30
  nsNBRuQJ1UfiCG97a6DNm+Fr
31
31
  -----END CERTIFICATE-----
32
- date: 2023-06-06 00:00:00.000000000 Z
32
+ date: 2023-07-25 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rake
metadata.gz.sig CHANGED
Binary file