hoe 3.16.2 → 3.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +2 -4
- data.tar.gz.sig +0 -0
- data/History.rdoc +11 -0
- data/lib/hoe.rb +1 -1
- data/lib/hoe/publish.rb +2 -2
- data/lib/hoe/signing.rb +21 -0
- data/test/test_hoe.rb +2 -2
- metadata +21 -16
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c37a9c085e334fa769386cd7fa4dab01fca47cfbc259249198b8747d8fc9082a
|
4
|
+
data.tar.gz: 79b931e6e54514896e0246c0b53a146947992b4220bcef8942d6c34c5044a5bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f7d8115f11a2ec71baaccb87dfe4649beefe3fa5ad34f4ad1ff541cadb68fd3fc19bc7161d497cfdfe9b1ebf8312bc6560ba10ff6570d8dbe8352f218fbf3f1
|
7
|
+
data.tar.gz: 1dae8b446e7a9407b873b554f642904ee5ecb3a1490d17fd196bd2b247d84fed7ca22c438973a7b8f906f94bde649ba5950f684ce8de063f049f8cc2f63a42e5
|
checksums.yaml.gz.sig
CHANGED
@@ -1,4 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�av���|]}$^�^e�Y�wQӲؖ��t��|�1|p"J2)S���Ƙ���)E��o�)���"
|
4
|
-
Wr��plH,
|
1
|
+
�`U�����w�*��N�Bu��~6��X2�����s�wb5��D�`K1k!�_��t��A����Ѫ5͟����
|
2
|
+
�xr��+Yw��YKx�\0;�6J��{sS�UA�[��N����95�QJѲ�5M�^�e��H�q����Ֆ�+�:%��W�_��������"���BI��\�K��� �@�/���R���j�{L8���x��I��-����d����+�ij�#`��HX�a��,����#S��� �6�*�
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
=== 3.17.0 / 2018-03-17
|
2
|
+
|
3
|
+
* 2 minor enhancements:
|
4
|
+
|
5
|
+
* Added task check_key to see if your signing cert is expired or not.
|
6
|
+
* Bump rdoc dependency to range from 4.x to 5.x.
|
7
|
+
|
8
|
+
* 1 bug fix:
|
9
|
+
|
10
|
+
* Fixed ridocs rake task.
|
11
|
+
|
1
12
|
=== 3.16.2 / 2017-11-21
|
2
13
|
|
3
14
|
* 2 bug fixes:
|
data/lib/hoe.rb
CHANGED
data/lib/hoe/publish.rb
CHANGED
@@ -100,7 +100,7 @@ module Hoe::Publish
|
|
100
100
|
# Declare a dependency on rdoc, IF NEEDED.
|
101
101
|
|
102
102
|
def activate_publish_deps
|
103
|
-
dependency "rdoc", "
|
103
|
+
dependency "rdoc", [">= 4.0", "< 6"], :developer if need_rdoc
|
104
104
|
end
|
105
105
|
|
106
106
|
##
|
@@ -129,7 +129,7 @@ module Hoe::Publish
|
|
129
129
|
|
130
130
|
desc "Generate ri locally for testing."
|
131
131
|
task :ridocs => [:clean, :isolate] do
|
132
|
-
|
132
|
+
sh(*make_rdoc_cmd("--ri", "-o", "ri"))
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
data/lib/hoe/signing.rb
CHANGED
@@ -49,6 +49,11 @@ module Hoe::Signing
|
|
49
49
|
task :generate_key do
|
50
50
|
generate_key_task
|
51
51
|
end
|
52
|
+
|
53
|
+
desc "Check pubilc key for signing your gems."
|
54
|
+
task :check_key do
|
55
|
+
check_key_task
|
56
|
+
end
|
52
57
|
end
|
53
58
|
|
54
59
|
def set_up_signing # :nodoc:
|
@@ -70,6 +75,22 @@ module Hoe::Signing
|
|
70
75
|
end
|
71
76
|
end
|
72
77
|
|
78
|
+
def check_key_task # :nodoc:
|
79
|
+
with_config do |config, _path|
|
80
|
+
break unless config["signing_cert_file"]
|
81
|
+
pub_key = File.expand_path config["signing_cert_file"].to_s
|
82
|
+
|
83
|
+
c = OpenSSL::X509::Certificate.new File.read pub_key
|
84
|
+
t = c.not_after
|
85
|
+
|
86
|
+
if t < Time.now then
|
87
|
+
warn "Gem signing certificate has expired"
|
88
|
+
else
|
89
|
+
warn "Gem signing certificate has NOT expired. Carry on."
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
73
94
|
def generate_key_task # :nodoc:
|
74
95
|
email = Array(spec.email)
|
75
96
|
abort "No email in your gemspec" if email.nil? or email.empty?
|
data/test/test_hoe.rb
CHANGED
@@ -272,7 +272,7 @@ class TestHoe < Minitest::Test
|
|
272
272
|
|
273
273
|
expected = [
|
274
274
|
["hoe", :development, "~> #{Hoe::VERSION.sub(/\.\d+$/, "")}"],
|
275
|
-
["rdoc", :development, "
|
275
|
+
["rdoc", :development, "< 6, >= 4.0"],
|
276
276
|
]
|
277
277
|
|
278
278
|
assert_equal expected, deps.map { |dep|
|
@@ -358,7 +358,7 @@ class TestHoe < Minitest::Test
|
|
358
358
|
end
|
359
359
|
|
360
360
|
def test_extensions
|
361
|
-
Hoe.plugin :compiler
|
361
|
+
Hoe.plugin :clean, :compiler
|
362
362
|
Hoe.load_plugins
|
363
363
|
|
364
364
|
hoe = nil
|
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: 3.
|
4
|
+
version: 3.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPy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EKN6MqBPftFiev3tuwqDV11r2GquDpniYcT+Mi8/PgeAgVT/afBeVgbB3KaZeTRR
|
29
|
+
AhXhF6Wi2GTMezlj5jlI5XV7WsJUSwTp/YiVvcmT74ZaCRvexm6EnNhkrvJJ1Xeu
|
30
|
+
V+HB+LYYhXWitInO/eXxDrFB
|
32
31
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
32
|
+
date: 2018-03-17 00:00:00.000000000 Z
|
34
33
|
dependencies:
|
35
34
|
- !ruby/object:Gem::Dependency
|
36
35
|
name: rake
|
@@ -56,16 +55,22 @@ dependencies:
|
|
56
55
|
name: rdoc
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
58
57
|
requirements:
|
59
|
-
- - "
|
58
|
+
- - ">="
|
60
59
|
- !ruby/object:Gem::Version
|
61
60
|
version: '4.0'
|
61
|
+
- - "<"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '6'
|
62
64
|
type: :development
|
63
65
|
prerelease: false
|
64
66
|
version_requirements: !ruby/object:Gem::Requirement
|
65
67
|
requirements:
|
66
|
-
- - "
|
68
|
+
- - ">="
|
67
69
|
- !ruby/object:Gem::Version
|
68
70
|
version: '4.0'
|
71
|
+
- - "<"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '6'
|
69
74
|
description: |-
|
70
75
|
Hoe is a rake/rubygems helper for project Rakefiles. It helps you
|
71
76
|
manage, maintain, and release your project and includes a dynamic
|
@@ -149,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
154
|
version: '1.4'
|
150
155
|
requirements: []
|
151
156
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.
|
157
|
+
rubygems_version: 2.7.3
|
153
158
|
signing_key:
|
154
159
|
specification_version: 4
|
155
160
|
summary: Hoe is a rake/rubygems helper for project Rakefiles
|
metadata.gz.sig
CHANGED
Binary file
|