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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86608dfa096084c2c6a21b3ea494a358ad9e33da
4
- data.tar.gz: 5439829d544b3a76e946cc2061ce6aa3e93cae8d
3
+ metadata.gz: 93524d954ddb98f46bfadc6715f4948043ac27c8
4
+ data.tar.gz: 6cd531d59b6f636ed706c044743d254771e1c340
5
5
  SHA512:
6
- metadata.gz: 2dc5d411caf5539c69fa6489c3db594f0a070b848bb276739145436a745f46812b075c1876e8cae2537e3dd0d9ad62c0152790d15807d54a10c9688e9c465637
7
- data.tar.gz: fb7cf50e0f7491a2969028add5641e0a17f6bd18c16a3e42b7316fac50c5e23d89f95da8701a3d16a1c6720677990e7af13857c3741fced873006cdc4fd7a85d
6
+ metadata.gz: bfab2b75d98d3cfde98e42533024cfb2edcd2d75d556143fd363149a34ea5de8e036a530db30179a9a6678986939dae50e4508daf94b3ea899e0e951a1dc2117
7
+ data.tar.gz: 977940bf58cc38f453ff37a5079736ecafb3b27a26a4c170dd816aba2b4db5b4dd5a932b26170ad21de4f8843ded2359738a1a90c3276d1c749ceb1bc4fececc
@@ -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
@@ -40,7 +40,7 @@ module Zine
40
40
  end
41
41
 
42
42
  def read_credentials(cred_file)
43
- parse_yaml(File.open(cred_file, 'r'), cred_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
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Zine
2
2
  # The version
3
- VERSION = '0.6.0'.freeze
3
+ VERSION = '0.7.0'.freeze
4
4
  end
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.6.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-17 00:00:00.000000000 Z
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.13'
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.13'
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