hoe 4.0.3 → 4.0.4

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: 3935e6f4dca59f2422e4d2b2ba785e6b8e7c3082cd5bbb613fad6405bcb88170
4
- data.tar.gz: ebf2a275a898260f074eb4b09ba6126fbcccaadfce33758441734cd638eac352
3
+ metadata.gz: 67e31e9938ece427eb84daa0f3e99a4e01c1d36b279dd5890d4f6bbc7fdcd90c
4
+ data.tar.gz: fb94eb72b65f22c079107e5c65a75e14c52b350ec5a5ae3be72840980cfd50b4
5
5
  SHA512:
6
- metadata.gz: eef38cd234201cd9fe2348979f196a975cf16ddc5fea6729a766f07c18a07b13df7766b8ad93b02eef7f5fd13a47f25bc0b40073495817d6365600808fe3171f
7
- data.tar.gz: 3554b6d8e2923e2394f325d9ef6b14853829c0bebceba26ca53c6b04f47084159cf0293fb107df5c2d597ad7ff3543994688f42a33dd56548bfb2257939ce157
6
+ metadata.gz: 89e92936126d57b0d7a9ce2aec3067ad98183285978370b9c56046d7ce3a907f9f837d68e13c9cf0f259e911b637374ca74dfc20729eb879089b02bb55d257ca
7
+ data.tar.gz: 4f9fad36221ef7a76e09fd58d58a4bc87818873e3b0fbd2edf745b43b0b7bd79557251d4f4fd5d771ad2602241e8152daecdace07840e183d3e7bd62cb93000a
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,13 @@
1
+ === 4.0.4 / 2023-06-06
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Bumped minimum ruby to 2.7. So done.
6
+
7
+ * 1 bug fix:
8
+
9
+ * Fixed a readme parsing oddity for section headers w/ multiple words that collide.
10
+
1
11
  === 4.0.3 / 2023-05-02
2
12
 
3
13
  * 1 bug fix:
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ Hoe.spec "hoe" do
19
19
 
20
20
  pluggable!
21
21
  require_rubygems_version ">= 3.0"
22
- require_ruby_version [">= 2.6", "< 4"]
22
+ require_ruby_version [">= 2.7", "< 4"]
23
23
 
24
24
  dependency "rake", [">= 0.8", "< 15.0"] # FIX: to force it to exist pre-isolate
25
25
  end
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.3"
90
+ VERSION = "4.0.4"
91
91
 
92
92
  @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
93
93
  :publish, :gemcutter, :signing, :test]
@@ -675,12 +675,13 @@ class Hoe
675
675
  .chunk { |l| l[/^(?:=+|#+)/] || "" }
676
676
  .map(&:last)
677
677
  .each_slice(2)
678
- .map { |k, v|
679
- kp = k.join
680
- kp = kp.strip.chomp(":").split.last.downcase if k.size == 1
681
- [kp, v.join.strip]
682
- }
683
- .to_h
678
+ .to_h { |k, v|
679
+ kp = k.map { |s|
680
+ s.strip.chomp(":").sub(/(?:=+|#+)\s*/, '').downcase
681
+ }.join("\n")
682
+
683
+ [kp, v.join.strip]
684
+ }
684
685
 
685
686
  unless readme.empty? then
686
687
  desc = readme.values_at(*description_sections).join("\n\n")
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- u���N�ݡJh 0\��~,:�]#TTP���ܼ���~�^ r�/��z����vG�߾3X���n��q�����-k��=���F�/5�HsxC�-��At����0m�clԴ�| Y���
2
- �ʚ�lq����^����%p��*�6{���\!H�ZÁ#�񰫡zj� �SP���;[��-��O�8����1'L⿩O�v
1
+ bYף�'[V>�,����zY}H;jB����v9����X� ق�Z.
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.3
4
+ version: 4.0.4
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-05-02 00:00:00.000000000 Z
32
+ date: 2023-06-06 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rake
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - ">="
167
167
  - !ruby/object:Gem::Version
168
- version: '2.6'
168
+ version: '2.7'
169
169
  - - "<"
170
170
  - !ruby/object:Gem::Version
171
171
  version: '4'
metadata.gz.sig CHANGED
Binary file