rackula 0.3.0 → 0.3.1

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
- SHA256:
3
- metadata.gz: ab053f25822dc86a1cb6054e48b0566762561fc9b228c313d6ad90a816253431
4
- data.tar.gz: 1341993d8918f211cb3a3b6f93741383b47768093143d88973a4c1e4b96ae41b
2
+ SHA1:
3
+ metadata.gz: 177e698c263283b50d725642fbb4f3a3005762dc
4
+ data.tar.gz: 54e05e8ca505fe15362a500e533013a100d7082f
5
5
  SHA512:
6
- metadata.gz: 4e68cb6da3fddb2a031be0dbb9d0f0cf2af22c388102902bb2a3f8e05df4268005748fa810de9d08cdb6b0bdba43a6e63f6062b6c906fcf5ff779e4514fb07ff
7
- data.tar.gz: e5b89c2bec123a18b834090f8ec4f63578a3edaf46b38a093137b8305bd46952acfafa609cff400620fd6a84f326583120273a390c7a9bd6e0926676a3acea2e
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:
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Rackula
22
- VERSION = "0.3.0"
22
+ VERSION = "0.3.1"
23
23
  end
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.0
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: 2017-11-10 00:00:00.000000000 Z
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.7.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.