zenweb 3.10.3 → 3.10.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae869aac74a5ba09384df30ce7e276e3c273bedead09ada15a5395c6fa5197fb
4
- data.tar.gz: 6899192b9edc6a19e952ff42f22b3e01eb3f526bd4ecd92b03c42a0e8a0b900a
3
+ metadata.gz: '0848e8626822877b57388849ea4cf48c98204ed207d8fb7d0f86a9b12c1e9be1'
4
+ data.tar.gz: cb36baeb00a0364c4dfe8c0148c66dfe843e5a5bd4dbffced1c23b5b0f99a032
5
5
  SHA512:
6
- metadata.gz: 73ae891c5782c15ad547bdb119e0165aa957523542789780f3e0c5c529257b8a78722e9d79bf9b45c9363cd2cdffe175d8896a3eeee61f38626c5f67cd811a5f
7
- data.tar.gz: 2bb15757aac5c8a9d753bb6c87e3a6f8c9a93799ccdde328c52e3d4daceaefc403118443c212a04ac7538e324f99d416b015a88bbaad96674b0e1e2253fe8d7f
6
+ metadata.gz: 31e178d64cc6498b1d898906a62d007d58414f9a5598ec1df1f45a53172febd36fd2c9a9d639993c781f5de4a36b6bc842c0ba3eb446c4d7c6e98d920f9d137e
7
+ data.tar.gz: 31599fca9893e3da3f99a424a831d60004fdb084ae49c252c311733b05274c91365a5c07d4ec9c5d5d91b3261916315ff7fc656a49f8c24f2f950ac43bc2c493
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,13 @@
1
+ === 3.10.4 / 2019-12-14
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Bumped rake dependency to < 15.
6
+
7
+ * 1 bug fix:
8
+
9
+ * Fixed debug task to fail more gracefully when page not found. (kejadlen)
10
+
1
11
  === 3.10.3 / 2019-09-24
2
12
 
3
13
  * 1 bug fix:
data/Rakefile CHANGED
@@ -9,11 +9,11 @@ Hoe.plugin :isolate
9
9
  Hoe.spec 'zenweb' do
10
10
  developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
11
11
 
12
- dependency "rake", [">= 0.9", "< 11"]
12
+ dependency "rake", [">= 0.9", "< 15"]
13
13
  dependency "makerakeworkwell", "~> 1.0"
14
14
  dependency "less", "~> 2.0"
15
15
  dependency "coderay", "~> 1.0"
16
- dependency "kramdown", "~> 1.4"
16
+ dependency "kramdown", "~> 1.4" # TODO: 1.17.0 -> 2.1.0
17
17
  end
18
18
 
19
19
  # vim: syntax=ruby
@@ -6,7 +6,7 @@ require "time"
6
6
 
7
7
  module Zenweb
8
8
  # duh
9
- VERSION = "3.10.3"
9
+ VERSION = "3.10.4"
10
10
  end
11
11
 
12
12
  require "zenweb/site"
@@ -182,17 +182,20 @@ end
182
182
 
183
183
  website if ENV['DEBUG']
184
184
 
185
- desc "Debug the generation of a file. Takes a PATH arg."
186
- task :debug => ".site" do
185
+ desc "Debug the generation of a file. Takes a F=path arg or defaults to index.html.erb."
186
+ task :debug do
187
187
  site = website
188
188
 
189
189
  path = ENV['PAGE'] || ENV['F'] || ENV['FILE'] || "index.html.erb"
190
190
 
191
- if path then
192
- page = site.pages[path]
191
+ page = site.pages[path]
192
+
193
+ if page
193
194
  page.generate
194
195
 
195
196
  puts
196
197
  puts File.read page.url_path
198
+ else
199
+ fail "Could not find F=%p" % [path]
197
200
  end
198
201
  end
@@ -51,7 +51,7 @@ class TestZenwebConfig < Minitest::Test
51
51
  '"layout" => "post"]',
52
52
  '"title" => "Example Page 1"]'].join ", "
53
53
 
54
- assert_nil Rake.application.options.trace
54
+ refute Rake.application.options.trace
55
55
  Rake.application.options.trace = true
56
56
  assert_equal exp, config.inspect
57
57
  ensure
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zenweb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.3
4
+ version: 3.10.4
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
- MIIDPjCCAiagAwIBAgIBAzANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
13
+ MIIDPjCCAiagAwIBAgIBBDANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
14
14
  ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
15
- GRYDY29tMB4XDTE4MTIwNDIxMzAxNFoXDTE5MTIwNDIxMzAxNFowRTETMBEGA1UE
15
+ GRYDY29tMB4XDTE5MTIxMzAwMDIwNFoXDTIwMTIxMjAwMDIwNFowRTETMBEGA1UE
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
- AQCbJwLmpJR2PomLU+Zzw3KRzH/hbyUWc/ftru71AopZ1fy4iY9J/BW5QYKVYwbP
26
- V0FSBWtvfI/RdwfKGtuGhPKECZgmLieGuZ3XCc09qPu1bdg7i/tu1p0t0c6163ku
27
- nDMDIC/t/DAFK0TY9I3HswuyZGbLW7rgF0DmiuZdN/RPhHq2pOLMLXJmFclCb/im
28
- 9yToml/06TJdUJ5p64mkBs0TzaK66DIB1Smd3PdtfZqoRV+EwaXMdx0Hb3zdR1JR
29
- Em82dBUFsipwMLCYj39kcyHWAxyl6Ae1Cn9r/ItVBCxoeFdrHjfavnrIEoXUt4bU
30
- UfBugfLD19bu3nvL+zTAGx/U
25
+ AQCkkcHqAa6IKLYGl93rn78J3L+LnqyxaA059n4IGMHWN5bv9KBQnIjOrpLadtYZ
26
+ vhWkunWDKdfVapBEq5+T4HzqnsEXC3aCv6JEKJY6Zw7iSzl0M8hozuzRr+w46wvT
27
+ fV2yTN6QTVxqbMsJJyjosks4ZdQYov2zdvQpt1HsLi+Qmckmg8SPZsd+T8uiiBCf
28
+ b+1ORSM5eEfBQenPXy83LZcoQz8i6zVB4aAfTGGdhxjoMGUEmSZ6xpkOzmnGa9QK
29
+ m5x9IDiApM+vCELNwDXXGNFEnQBBK+wAe4Pek8o1V1TTOxL1kGPewVOitX1p3xoN
30
+ h7iEjga8iM1LbZUfiISZ+WrB
31
31
  -----END CERTIFICATE-----
32
- date: 2019-09-25 00:00:00.000000000 Z
32
+ date: 2019-12-14 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rake
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '0.9'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '11'
43
+ version: '15'
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  version: '0.9'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '11'
53
+ version: '15'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: makerakeworkwell
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -133,14 +133,14 @@ dependencies:
133
133
  requirements:
134
134
  - - "~>"
135
135
  - !ruby/object:Gem::Version
136
- version: '3.18'
136
+ version: '3.20'
137
137
  type: :development
138
138
  prerelease: false
139
139
  version_requirements: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: '3.18'
143
+ version: '3.20'
144
144
  description: |-
145
145
  Zenweb is a set of classes/tools for organizing and formating a
146
146
  website. It is website oriented rather than webpage oriented, unlike
@@ -235,7 +235,9 @@ files:
235
235
  homepage: https://github.com/seattlerb/zenweb
236
236
  licenses:
237
237
  - MIT
238
- metadata: {}
238
+ metadata:
239
+ homepage_uri: https://github.com/seattlerb/zenweb
240
+ bug_tracker_uri: https://github.com/seattlerb/zenweb/issues
239
241
  post_install_message:
240
242
  rdoc_options:
241
243
  - "--main"
@@ -253,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
255
  - !ruby/object:Gem::Version
254
256
  version: '0'
255
257
  requirements: []
256
- rubygems_version: 3.0.6
258
+ rubygems_version: 3.0.3
257
259
  signing_key:
258
260
  specification_version: 4
259
261
  summary: Zenweb is a set of classes/tools for organizing and formating a website
metadata.gz.sig CHANGED
Binary file