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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: beae6a0049b95745de83864c3e9919443dc47407
4
- data.tar.gz: b5d7c8576f84504ac8e97527fac9fb47a4d9a5ad
2
+ SHA256:
3
+ metadata.gz: c37a9c085e334fa769386cd7fa4dab01fca47cfbc259249198b8747d8fc9082a
4
+ data.tar.gz: 79b931e6e54514896e0246c0b53a146947992b4220bcef8942d6c34c5044a5bd
5
5
  SHA512:
6
- metadata.gz: d6121ebfe0af13c65a2c10a6387f77f21501aa6d04547bf13b9517a6606f0b2a957161b17ca8cf7cb97430dc48ebcbd2eb8434851210acc1d33e548627dc42c8
7
- data.tar.gz: 306414f7a533d72a204d04cf0446aee5148873b4d54d8c59de6a52e1b5b9f8e1bbe01bfc5de916fe82c33868f94f447d00520ac3a21731d6d2b22a340c3c3c74
6
+ metadata.gz: 9f7d8115f11a2ec71baaccb87dfe4649beefe3fa5ad34f4ad1ff541cadb68fd3fc19bc7161d497cfdfe9b1ebf8312bc6560ba10ff6570d8dbe8352f218fbf3f1
7
+ data.tar.gz: 1dae8b446e7a9407b873b554f642904ee5ecb3a1490d17fd196bd2b247d84fed7ca22c438973a7b8f906f94bde649ba5950f684ce8de063f049f8cc2f63a42e5
@@ -1,4 +1,2 @@
1
- bB�\Iɩ���&%��Z���|� E!��;A����8SfqDr��Gp D��_&��-�)��v�t�/
2
- un �'����g:#�/le_��('5�$�<g��֬�x��TO̤�����v e��X+D ͙ը�*�2dam~��B����h1�^Ϸ�
3
- �av���|]}$^�^e�Y�wQӲؖ��t��|�1|p"J2)S���Ƙ���)E��o�)���"
4
- Wr��plH,
1
+ �`U�����w�*��NBu��~6��X2�����swb5��D�`K1k!�_��t��A����Ѫ5͟����
2
+ xr��+Yw��YKx�\0;�6J��{sSUA[��N����95QJѲ�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
@@ -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
@@ -91,7 +91,7 @@ class Hoe
91
91
  include Rake::DSL if defined?(Rake::DSL)
92
92
 
93
93
  # duh
94
- VERSION = "3.16.2"
94
+ VERSION = "3.17.0"
95
95
 
96
96
  @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
97
97
  :publish, :gemcutter, :signing, :test]
@@ -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", "~> 4.0", :developer if need_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
- ruby(*make_rdoc_cmd("--ri", "-o", "ri"))
132
+ sh(*make_rdoc_cmd("--ri", "-o", "ri"))
133
133
  end
134
134
  end
135
135
 
@@ -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?
@@ -272,7 +272,7 @@ class TestHoe < Minitest::Test
272
272
 
273
273
  expected = [
274
274
  ["hoe", :development, "~> #{Hoe::VERSION.sub(/\.\d+$/, "")}"],
275
- ["rdoc", :development, "~> 4.0"],
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.16.2
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
- MIIDijCCAnKgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE2MDkyNjAxNTczNVoXDTE3MDkyNjAxNTczNVowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTE3MTE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tMruQ0bHgkhr9auXg==
23
+ gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
24
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
25
+ AQAfAXSQpsW7YSxd1csRtA/M4Zt0AMXFMd76GJ8Lgtg8G0+VFbdChRyDuDb0kPlW
26
+ h9QQX/YABfCW8vxmssbMGrP+VGBAn7BbdTcfTlgCWrvMX1uL5aRL74nA4urKXqdW
27
+ a0nP70K4958P3GffBdtE3KGkU5xstFnXGajxuBRnL66E15KU0BNehVxdG258bdPu
28
+ EKN6MqBPftFiev3tuwqDV11r2GquDpniYcT+Mi8/PgeAgVT/afBeVgbB3KaZeTRR
29
+ AhXhF6Wi2GTMezlj5jlI5XV7WsJUSwTp/YiVvcmT74ZaCRvexm6EnNhkrvJJ1Xeu
30
+ V+HB+LYYhXWitInO/eXxDrFB
32
31
  -----END CERTIFICATE-----
33
- date: 2017-11-21 00:00:00.000000000 Z
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.6.13
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