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: e2597eb36531c9c698ed6edba38d3d31ee2f430f
4
- data.tar.gz: ac1c6db11234658e5bb68b73f1ddc3768f3c2099
3
+ metadata.gz: fa4fdc2f34f10b5e4c9dfff4b3a817edf3982e9c
4
+ data.tar.gz: 1c5601478f3bd460168bff00671d8e567e96da6a
5
5
  SHA512:
6
- metadata.gz: 532bc26763bdc82e452c27d187259e6154f1f7a7327ddc87599e7ee0b7945e0425080244a0022e1069e51b81329876f68b6b6b445056a764005eed7d00d553d8
7
- data.tar.gz: 6ed9c5873b64c26bfe2b8710374cd282031e43e605979f7d5161041953e2d30f896bb8c23674604e0633e5d8b94089616869f58f1a0644cd81dd08f29dcc2432
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
- re['source']
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
@@ -1,5 +1,5 @@
1
1
  module Vx
2
2
  module ServiceConnector
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
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.1
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-17 00:00:00.000000000 Z
11
+ date: 2014-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit