vx-service_connector 0.3.1 → 0.3.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa4fdc2f34f10b5e4c9dfff4b3a817edf3982e9c
|
4
|
+
data.tar.gz: 1c5601478f3bd460168bff00671d8e567e96da6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fef92824d5a332769cbd641986c11b48a29726e31b8291a47868d1e0ae0d5fd4705117e9e3be7c11bc8a014b01dcf683fbdde79534bc4d303a9288336637bba
|
7
|
+
data.tar.gz: 5fb73350161baf06087e4f1caeb93f4cc250b7c8d7aabf24765ffdb025e2992c643551ff6dadd75c498b922cc69c45ad281325a1f478d37b6aab4b58ce03eaae
|
@@ -8,7 +8,8 @@ module Vx
|
|
8
8
|
def get(sha, path)
|
9
9
|
begin
|
10
10
|
re = session.get("api/1.0/repositories/#{repo.full_name}/src/#{sha}/#{path}")
|
11
|
-
|
11
|
+
# TODO: check and remove source
|
12
|
+
re['source'] || re['data']
|
12
13
|
rescue RequestError => e
|
13
14
|
$stderr.puts "ERROR: #{e.inspect}"
|
14
15
|
nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vx-service_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Galinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|