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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73ad534bb05c5ea77506ddafa7243934e6954caabbf1080a3a031bef89a11236
4
- data.tar.gz: c400d32f71de754f2940044961f680af9d3b927fbd6e11a4816b757f3cb4446b
3
+ metadata.gz: 7e07140dcbdfe76cdb6c2fd374d5a8505035b27a8be4298f31f6694f41a20a5d
4
+ data.tar.gz: 49035a7a44b9445ef067ba92f1fa3efcb74943202570c5e7eccda33266175cf7
5
5
  SHA512:
6
- metadata.gz: 76250fbce14ed2a9a159f5c394a153edd936260ccd8bf3f564d81f00613a9ac60cd3a5730878809160b0fa278c5cfb923bcec47206ac3827e4dcbcef70db41eb
7
- data.tar.gz: d83e4be00733c4566e02415cfa5a1e637db011fe1fc8da6ff3183fa0655baaea384834887e016a7387a39869cc61a8040d2fc6079a792cb3b4cd8d30ec67eccd
6
+ metadata.gz: 70fc5c1446cbd965afb21757c3abcc630067d41971d4b3c0ce9114d7bab322df4a8dba073a5394a204a6ad05269a599448e0d6c572b0acf3b5d4ed9ee30e016b
7
+ data.tar.gz: 86a84f86f460b27dc75e384389892ea7ade9973b4aa302d688de89d9622eb5257f0466aaa063364926b2693fbe678728aaa928f1c7af53e096b82d0b00c36b00
@@ -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.destination)
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.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-01-30 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty