hoe 3.22.1 → 3.23.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.rdoc +25 -0
- data/Rakefile +1 -1
- data/lib/hoe/publish.rb +1 -1
- data/lib/hoe/racc.rb +1 -1
- data/lib/hoe.rb +19 -20
- data/test/test_hoe_publish.rb +5 -0
- data.tar.gz.sig +0 -0
- metadata +18 -15
- metadata.gz.sig +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af9f27074a88867b02f53c746bd5d307c79c44b07fa493d1369676b16143710f
|
4
|
+
data.tar.gz: ca66d5bf6295b18b08e16b2b028c58dd8cb9221b5ef311d2d8f5149d58194450
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04525fdaa980c9844c37c63e309026914f5a32d7e8ec31b0e85476d26306b3da543c07c69488138cd5a11061bab37546c07d9733898306ce104a04bc1650ffc7
|
7
|
+
data.tar.gz: 5b5952a69f70f270f86ddb86a69332f41bd8cc5bcf8861dcb56c568639524977e1b56748f7ab1d8d185db9f188b64b5eb75054c69c0f75b7e8a78e2cbc7bf666
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
@@ -1,3 +1,28 @@
|
|
1
|
+
=== 3.23.1 / 2022-01-04
|
2
|
+
|
3
|
+
* 1 bug fix:
|
4
|
+
|
5
|
+
* Fixed loading config files for ruby 3.1's now default YAML.safe_load_file.
|
6
|
+
|
7
|
+
=== 3.23.0 / 2021-05-29
|
8
|
+
|
9
|
+
* 2 minor enhancements:
|
10
|
+
|
11
|
+
* Bump racc (plugin) dependency.
|
12
|
+
* Removed ruby18! and ruby19! methods. ugh
|
13
|
+
|
14
|
+
=== 3.22.3 / 2021-01-10
|
15
|
+
|
16
|
+
* 1 bug fix:
|
17
|
+
|
18
|
+
* Bumped ruby version to include < 4 (trunk).
|
19
|
+
|
20
|
+
=== 3.22.2 / 2020-08-31
|
21
|
+
|
22
|
+
* 1 bug fix:
|
23
|
+
|
24
|
+
* Bumped ruby version to include 3.0 (trunk).
|
25
|
+
|
1
26
|
=== 3.22.1 / 2020-02-12
|
2
27
|
|
3
28
|
* 1 bug fix:
|
data/Rakefile
CHANGED
data/lib/hoe/publish.rb
CHANGED
data/lib/hoe/racc.rb
CHANGED
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 = "3.
|
90
|
+
VERSION = "3.23.1"
|
91
91
|
|
92
92
|
@@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
|
93
93
|
:publish, :gemcutter, :signing, :test]
|
@@ -475,7 +475,7 @@ class Hoe
|
|
475
475
|
|
476
476
|
case name
|
477
477
|
when "hoe" then
|
478
|
-
|
478
|
+
# do nothing? these deps are already in the hoe spec in the Rakefile
|
479
479
|
else
|
480
480
|
version = VERSION.split(/\./).first(2).join(".")
|
481
481
|
dependency "hoe", "~> #{version}", :development
|
@@ -840,20 +840,6 @@ class Hoe
|
|
840
840
|
spec_extras[:required_ruby_version] = versions
|
841
841
|
end
|
842
842
|
|
843
|
-
##
|
844
|
-
# Declare that this gem requires ruby to be in the 1.8+ family.
|
845
|
-
|
846
|
-
def ruby18!
|
847
|
-
require_ruby_version "~> 1.8"
|
848
|
-
end
|
849
|
-
|
850
|
-
##
|
851
|
-
# Declare that this gem requires ruby to be in the 1.9 family.
|
852
|
-
|
853
|
-
def ruby19!
|
854
|
-
require_ruby_version "~> 1.9"
|
855
|
-
end
|
856
|
-
|
857
843
|
##
|
858
844
|
# Declare that this gem requires ruby to be in the 2.0+ family.
|
859
845
|
|
@@ -882,6 +868,9 @@ class Hoe
|
|
882
868
|
require_ruby_version "~> 2.3"
|
883
869
|
end
|
884
870
|
|
871
|
+
# I don't care for these methods (eg 3.0 is out) ... so I'm not
|
872
|
+
# continuing them.
|
873
|
+
|
885
874
|
##
|
886
875
|
# Provide a linear degrading value from n to m over start to finis
|
887
876
|
# dates. If not provided, start and finis will default to 1/1 and
|
@@ -915,19 +904,29 @@ class Hoe
|
|
915
904
|
config = Hoe::DEFAULT_CONFIG
|
916
905
|
|
917
906
|
rc = File.expand_path("~/.hoerc")
|
918
|
-
|
919
|
-
homeconfig = exists ? YAML.load_file(rc) : {}
|
907
|
+
homeconfig = maybe_load_yaml rc
|
920
908
|
|
921
909
|
config = config.merge homeconfig
|
922
910
|
|
923
911
|
localrc = File.join Dir.pwd, ".hoerc"
|
924
|
-
|
925
|
-
localconfig = exists ? YAML.load_file(localrc) : {}
|
912
|
+
localconfig = maybe_load_yaml(localrc)
|
926
913
|
|
927
914
|
config = config.merge localconfig
|
928
915
|
|
929
916
|
yield config, rc
|
930
917
|
end
|
918
|
+
|
919
|
+
def maybe_load_yaml path
|
920
|
+
if File.exist? path then
|
921
|
+
if YAML.respond_to? :safe_load_file then
|
922
|
+
YAML.safe_load_file path, permitted_classes: [Regexp, Symbol]
|
923
|
+
else
|
924
|
+
YAML.load_file path
|
925
|
+
end
|
926
|
+
else
|
927
|
+
{}
|
928
|
+
end
|
929
|
+
end
|
931
930
|
end
|
932
931
|
|
933
932
|
class File
|
data/test/test_hoe_publish.rb
CHANGED
@@ -14,6 +14,10 @@ class TestHoePublish < Minitest::Test
|
|
14
14
|
|
15
15
|
make_my_diffs_pretty!
|
16
16
|
|
17
|
+
def linux? platform = RUBY_PLATFORM # TODO: push up to minitest?
|
18
|
+
/linux/ =~ platform
|
19
|
+
end
|
20
|
+
|
17
21
|
def test_make_rdoc_cmd
|
18
22
|
expected = %W[
|
19
23
|
#{Gem.ruby}
|
@@ -25,6 +29,7 @@ class TestHoePublish < Minitest::Test
|
|
25
29
|
History.rdoc Manifest.txt README.rdoc
|
26
30
|
]
|
27
31
|
|
32
|
+
skip if linux?
|
28
33
|
assert_equal expected, @hoe.make_rdoc_cmd
|
29
34
|
end
|
30
35
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.23.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTIxMTIyMzIzMTkwNFoXDTIyMTIyMzIzMTkwNFowRTETMBEGA1UE
|
16
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -22,14 +22,14 @@ cert_chain:
|
|
22
22
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
23
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
24
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
AQCKB5jfsuSnKb+t/Wrh3UpdkmX7TrEsjVmERC0pPqzQ5GQJgmEXDD7oMgaKXaAq
|
26
|
+
x2m+KSZDrqk7c8uho5OX6YMqg4KdxehfSLqqTZGoeV78qwf/jpPQZKTf+W9gUSJh
|
27
|
+
zsWpo4K50MP+QtdSbKXZwjAafpQ8hK0MnnZ/aeCsW9ov5vdXpYbf3dpg6ADXRGE7
|
28
|
+
lQY2y1tJ5/chqu6h7dQmnm2ABUqx9O+JcN9hbCYoA5i/EeubUEtFIh2w3SpO6YfB
|
29
|
+
JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V
|
30
|
+
YsuyUzsMz6GQA4khyaMgKNSD
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2022-01-05 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rake
|
@@ -142,7 +142,7 @@ metadata:
|
|
142
142
|
bug_tracker_uri: https://github.com/seattlerb/hoe/issues
|
143
143
|
documentation_uri: http://docs.seattlerb.org/hoe/Hoe.pdf
|
144
144
|
changelog_uri: https://github.com/seattlerb/hoe/blob/master/History.rdoc
|
145
|
-
post_install_message:
|
145
|
+
post_install_message:
|
146
146
|
rdoc_options:
|
147
147
|
- "--main"
|
148
148
|
- README.rdoc
|
@@ -150,17 +150,20 @@ require_paths:
|
|
150
150
|
- lib
|
151
151
|
required_ruby_version: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
|
-
- - "
|
153
|
+
- - ">="
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: '2.1'
|
156
|
+
- - "<"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '4'
|
156
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
160
|
requirements:
|
158
161
|
- - ">="
|
159
162
|
- !ruby/object:Gem::Version
|
160
163
|
version: '1.4'
|
161
164
|
requirements: []
|
162
|
-
rubygems_version: 3.
|
163
|
-
signing_key:
|
165
|
+
rubygems_version: 3.3.3
|
166
|
+
signing_key:
|
164
167
|
specification_version: 4
|
165
168
|
summary: Hoe is a rake/rubygems helper for project Rakefiles
|
166
169
|
test_files: []
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,4 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
O��V|):�$���g�����B.�Dv�V��9ud�B^?IQI����d��o'���)�z� r��sE�����Q�}B
|
2
|
+
��m^GI�ڔ6W�P.���8����T-
|
3
|
+
yK��<����^w$v��r��C���M�M����S;}:��L ��H7$1�^�r��O��mt�]��P�}���Oe��ȍShA�����U�)�m�D[L
|
4
|
+
:�X�]ϕ9&��:��~���uM�Ҝ�Z�/��F�5�L��ӧv
|