zine 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/zine/upload.rb +1 -1
- data/lib/zine/uploader_sftp.rb +1 -1
- data/lib/zine/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93524d954ddb98f46bfadc6715f4948043ac27c8
|
4
|
+
data.tar.gz: 6cd531d59b6f636ed706c044743d254771e1c340
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfab2b75d98d3cfde98e42533024cfb2edcd2d75d556143fd363149a34ea5de8e036a530db30179a9a6678986939dae50e4508daf94b3ea899e0e951a1dc2117
|
7
|
+
data.tar.gz: 977940bf58cc38f453ff37a5079736ecafb3b27a26a4c170dd816aba2b4db5b4dd5a932b26170ad21de4f8843ded2359738a1a90c3276d1c749ceb1bc4fececc
|
data/CHANGELOG.md
CHANGED
@@ -102,3 +102,8 @@
|
|
102
102
|
- fixed a mismatched div tag in the footer
|
103
103
|
- changed to a non 100 days of code change log
|
104
104
|
- updated some development dependencies (curb, rake, rspec, simplecov)
|
105
|
+
|
106
|
+
## 0.7.0, September 30, 2017
|
107
|
+
|
108
|
+
- caught an SFTP upload error where SFTP credentials aren't in the keychain
|
109
|
+
- updated bundler
|
data/lib/zine/upload.rb
CHANGED
@@ -40,7 +40,7 @@ module Zine
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def read_credentials(cred_file)
|
43
|
-
parse_yaml(File.
|
43
|
+
parse_yaml(File.read(cred_file), cred_file)
|
44
44
|
rescue Errno::ENOENT
|
45
45
|
puts Rainbow('Path to upload credentials missing from zine.yaml').red
|
46
46
|
exit
|
data/lib/zine/uploader_sftp.rb
CHANGED
@@ -26,7 +26,7 @@ module Zine
|
|
26
26
|
deploy
|
27
27
|
rescue Errno::ENETUNREACH
|
28
28
|
puts Rainbow("Unable to connect to #{upload_options['host']}").red
|
29
|
-
rescue Net::SSH::AuthenticationFailed
|
29
|
+
rescue Net::SSH::AuthenticationFailed, NameError
|
30
30
|
puts Rainbow("Authentication failed for #{upload_options['host']}").red
|
31
31
|
puts 'Check your credential file, and maybe run ssh-add?'
|
32
32
|
end
|
data/lib/zine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Kreuzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.5'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.5.4
|
20
23
|
type: :development
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
29
|
+
version: '1.5'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.5.4
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: curb
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|