rackula 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rackula/command/generate.rb +4 -1
- data/lib/rackula/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 177e698c263283b50d725642fbb4f3a3005762dc
|
4
|
+
data.tar.gz: 54e05e8ca505fe15362a500e533013a100d7082f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92e9599daad362524207ad4b4c958b62893af13a48e86c339ae574b6a970d29d97094071766d0b736af5c9ef284a44528e0e538137658d1481a0eba01d9d3867
|
7
|
+
data.tar.gz: 94faf74fec1319f5dd83b138ad2fa171f923a0ee4890075a5909274653f88d27b8696631018756c3a7f573c5a895ef057e011ad743bc561c92c6d29932bd9563
|
@@ -56,11 +56,14 @@ module Rackula
|
|
56
56
|
raise Samovar::Failure.new("Output path already exists!")
|
57
57
|
end
|
58
58
|
end
|
59
|
+
|
60
|
+
# Create output directory
|
61
|
+
Dir.mkdir(output_path)
|
59
62
|
|
60
63
|
# Copy all public assets:
|
61
64
|
asset_pattern = root + @options[:public] + '*'
|
62
65
|
Dir.glob(asset_pattern.to_s).each do |path|
|
63
|
-
FileUtils.cp_r(path, output_path)
|
66
|
+
FileUtils.cp_r(path, File.join(output_path, "."))
|
64
67
|
end
|
65
68
|
|
66
69
|
# Generate HTML pages:
|
data/lib/rackula/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rackula
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: samovar
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.6.12
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Generate a static site from any rackup compatible application.
|