gurney_client 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gurney/cli.rb +4 -2
- data/lib/gurney/version.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: 36eae2a4c3cfad248b1a8541cbbfabc678a0dd917bfefe3c9cec9b9a2e675a3e
|
4
|
+
data.tar.gz: e04bf7bcfebe2d7b3848a2251eca9a04988652fcad221229db0a85c38be61b93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ef643ee4b1036b6295b2d515a2948a3feff7784f11c756a4a48224e2e9e1ccb19676fda1f2475bfc9ef3c04078af27224123010e2c5a63491a8787872b925cc
|
7
|
+
data.tar.gz: 24ee4c866c9d9fae214629d70aa4106573fec1eb88a08e25aea8cc1e57e705c6e8c9f3bb376d51bdd9bb60acb133ac6a679603331a57221539683cacbd162c71
|
data/lib/gurney/cli.rb
CHANGED
@@ -94,8 +94,10 @@ module Gurney
|
|
94
94
|
|
95
95
|
def self.read_file(git, from_git, branch, filename)
|
96
96
|
if from_git
|
97
|
-
|
98
|
-
|
97
|
+
begin
|
98
|
+
git.show("#{branch}:#{filename}")
|
99
|
+
rescue Git::GitExecuteError
|
100
|
+
# happens if branch does not exist
|
99
101
|
end
|
100
102
|
else
|
101
103
|
if File.exists? filename
|
data/lib/gurney/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gurney_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Schaflitzl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|