utopia-project 0.18.1 → 0.19.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
2
  SHA256:
3
- metadata.gz: 4d59b43aec217ee84beb050d7d6e151d46aa441cbee39b73b9e664fdf773432f
4
- data.tar.gz: 4e76c51906d87652a1f0e8242ef4ae8bc28994ff2e6330e5269f8c1a4387dcd5
3
+ metadata.gz: 7f6b9549d2593b6e98df5835223e53620a8d6dc0e872ea9985fda546acf3abad
4
+ data.tar.gz: 4319b4bf7c421b92bfcaec70afd936990093cca86e9e01cc9827b4b80a560d0c
5
5
  SHA512:
6
- metadata.gz: e849c822aed4c2591a1116bc4ed36d45c3ede9836b51b1cf2e42fbba2fddf4a79227991dfceb73b9d3810b1ca347402bc7966f4134634a2fdd7840c9c7d9f49c
7
- data.tar.gz: 06fb199a979a521f6ea11ddc419aeaf616e82d478019122b3fe41fcc6a8de68a6991d688499381b0fda0c30861faf07860c764f9075f19cf4b67760f51b5637a
6
+ metadata.gz: e6448dd25db8864ad3f927e8be3e52d5e89ee4dcc30252837a14d514290dc21dfd2c50f214f08a8ea612fdb8b7b446ccc157263806a4f9f7536a25ad3dafd3bf
7
+ data.tar.gz: f1dfe097db443ef684d8243d169b096ca3d96a783176e54c2434bdf0d84cfb5fc64b481ac371f2dd7aa1520551f16e75cd2b2d9b4408f8f24937b1092549cc26
checksums.yaml.gz.sig CHANGED
Binary file
@@ -32,13 +32,26 @@ end
32
32
 
33
33
  # Generate a static copy of the site.
34
34
  # @parameter output_path [String] The output path for the static site.
35
- def static(output_path: "docs")
35
+ # @parameter force [Boolean] Remove the output directory before generating the static content.
36
+ def static(output_path: "docs", force: true)
36
37
  require 'rackula/command'
37
38
 
38
39
  config_path = File.expand_path("../../template/config.ru", __dir__)
39
40
  public_path = File.expand_path("../../public", __dir__)
40
41
 
41
- Rackula::Command::Top["generate", "--force",
42
+ arguments = []
43
+
44
+ if force
45
+ arguments << "--force"
46
+ end
47
+
48
+ pp ["generate", *arguments,
49
+ "--config", config_path,
50
+ "--public", public_path,
51
+ "--output-path", output_path
52
+ ]
53
+
54
+ Rackula::Command::Top["generate", *arguments,
42
55
  "--config", config_path,
43
56
  "--public", public_path,
44
57
  "--output-path", output_path
@@ -68,7 +68,7 @@ module Utopia
68
68
  @document ||= self.readme_document.tap do |document|
69
69
  child = document.first_child
70
70
 
71
- if child.type == :header
71
+ if child&.type == :header
72
72
  @title = child.first_child.string_content
73
73
 
74
74
  @description = child.next
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Utopia
24
24
  module Project
25
- VERSION = "0.18.1"
25
+ VERSION = "0.19.0"
26
26
  end
27
27
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,10 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utopia-project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
+ - Olle Jonsson
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain:
@@ -36,7 +37,7 @@ cert_chain:
36
37
  RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
37
38
  HiLJ8VOFx6w=
38
39
  -----END CERTIFICATE-----
39
- date: 2022-01-19 00:00:00.000000000 Z
40
+ date: 2022-04-20 00:00:00.000000000 Z
40
41
  dependencies:
41
42
  - !ruby/object:Gem::Dependency
42
43
  name: decode
@@ -84,16 +85,16 @@ dependencies:
84
85
  name: rackula
85
86
  requirement: !ruby/object:Gem::Requirement
86
87
  requirements:
87
- - - ">="
88
+ - - "~>"
88
89
  - !ruby/object:Gem::Version
89
- version: '0'
90
+ version: '1.3'
90
91
  type: :runtime
91
92
  prerelease: false
92
93
  version_requirements: !ruby/object:Gem::Requirement
93
94
  requirements:
94
- - - ">="
95
+ - - "~>"
95
96
  - !ruby/object:Gem::Version
96
- version: '0'
97
+ version: '1.3'
97
98
  - !ruby/object:Gem::Dependency
98
99
  name: thread-local
99
100
  requirement: !ruby/object:Gem::Requirement
@@ -228,13 +229,10 @@ files:
228
229
  - pages/source/controller.rb
229
230
  - pages/source/index.xnode
230
231
  - pages/source/show.xnode
231
- - public/.DS_Store
232
232
  - public/.nojekyll
233
- - public/_components/.DS_Store
234
233
  - public/_components/jquery-litebox/jquery.litebox.css
235
234
  - public/_components/jquery-litebox/jquery.litebox.gallery.css
236
235
  - public/_components/jquery-litebox/jquery.litebox.js
237
- - public/_components/jquery-syntax/.DS_Store
238
236
  - public/_components/jquery-syntax/base/jquery.syntax.brush.apache.css
239
237
  - public/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css
240
238
  - public/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css
@@ -305,7 +303,6 @@ files:
305
303
  - public/_components/jquery/jquery.slim.js
306
304
  - public/_components/jquery/jquery.slim.min.js
307
305
  - public/_components/jquery/jquery.slim.min.map
308
- - public/_components/mermaid/.DS_Store
309
306
  - public/_components/mermaid/mermaid.min.js
310
307
  - public/_components/mermaid/mermaid.min.js.LICENSE.txt
311
308
  - public/_static/icon.png
@@ -335,7 +332,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
332
  - !ruby/object:Gem::Version
336
333
  version: '0'
337
334
  requirements: []
338
- rubygems_version: 3.2.32
335
+ rubygems_version: 3.1.6
339
336
  signing_key:
340
337
  specification_version: 4
341
338
  summary: A project documentation tool based on Utopia.
metadata.gz.sig CHANGED
Binary file
data/public/.DS_Store DELETED
Binary file
Binary file
Binary file