distributed-press-api-client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/distributed_press.rb +1 -1
- data/lib/jekyll-distributed-press.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e07140dcbdfe76cdb6c2fd374d5a8505035b27a8be4298f31f6694f41a20a5d
|
4
|
+
data.tar.gz: 49035a7a44b9445ef067ba92f1fa3efcb74943202570c5e7eccda33266175cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70fc5c1446cbd965afb21757c3abcc630067d41971d4b3c0ce9114d7bab322df4a8dba073a5394a204a6ad05269a599448e0d6c572b0acf3b5d4ed9ee30e016b
|
7
|
+
data.tar.gz: 86a84f86f460b27dc75e384389892ea7ade9973b4aa302d688de89d9622eb5257f0466aaa063364926b2693fbe678728aaa928f1c7af53e096b82d0b00c36b00
|
data/lib/distributed_press.rb
CHANGED
@@ -54,7 +54,7 @@ class DistributedPress
|
|
54
54
|
|
55
55
|
filename = File.basename path
|
56
56
|
|
57
|
-
Open3.popen2('tar', '--to-stdout', '--create', '--gzip', '--directory', path, '.') do |stdin, stdout, thread|
|
57
|
+
Open3.popen2('tar', '--to-stdout', '--create', '--gzip', '--dereference', '--directory', path, '.') do |stdin, stdout, thread|
|
58
58
|
stream, body = IO.pipe
|
59
59
|
|
60
60
|
# Generate a multipart body and copy contents to it.
|
@@ -12,7 +12,7 @@ Jekyll::Hooks.register :site, :post_write, priority: :low do |site|
|
|
12
12
|
raise URI::Error unless hostname
|
13
13
|
|
14
14
|
distributed_press = DistributedPress.new project_domain: hostname
|
15
|
-
distributed_press.configure && distributed_press.publish(site.
|
15
|
+
distributed_press.configure && distributed_press.publish(site.dest)
|
16
16
|
rescue URI::Error
|
17
17
|
Jekyll::Logger.warn "`hostname` or `url` keys missing on _config.yml, skipping Distributed Press publication."
|
18
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: distributed-press-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|