txgh 6.0.0 → 6.0.1

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: cee1db178f1ad7cdc40a20d13eb5e7f22aa8da3e
4
- data.tar.gz: ad1b43ad46d06e5c2bfadb35e19e64153ce17ced
3
+ metadata.gz: 2996cb9b6a48651b758c89e066099dd3f6450345
4
+ data.tar.gz: fa6422ba0abfd535e83603a2835c811db11b8d17
5
5
  SHA512:
6
- metadata.gz: 76946e935626508ed67deddaa9aae76947c43eac2a776b077f848ed2e5945e52832832c8d6305f1219b171392ac71bdd1b89027a6267274fb022e3819ab41d8f
7
- data.tar.gz: 4a6b2dc8948e3c03a051631f47524ee00c77c070f538cee59cd5d56516cf3b5ff19ee0803b21e538f0d0b593dc0d3884d87de69d906b12dde071c14f4baff5ed
6
+ metadata.gz: a015b441163df5a77eef687251cb2168627d681cc49b78a9138395614c2aa9e544ada120873d1a53da2047bcb06979edc9e20e230cb3e5f8668d741ddda70f1c
7
+ data.tar.gz: f8116dbcec6211719ca2344e433342386e2d33fd74715de2f49fb12eea0b28ad9e84e0086ae07c2231e834c053d9f297754cdd3b25567002bcb0cb6b0d2f3035
@@ -16,7 +16,7 @@ module Txgh
16
16
  # don't process the resource unless the project slugs are the same
17
17
  return unless tx_resource.project_slug == project.name
18
18
  branch = tx_resource.branch || repo.diff_point
19
- file = repo.api.download(tx_resource.source_file)
19
+ file = repo.api.download(tx_resource.source_file, branch)
20
20
 
21
21
  if repo.upload_diffs? && tx_resource.has_branch?
22
22
  upload_diff(tx_resource, file, categories)
data/lib/txgh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Txgh
2
- VERSION = '6.0.0'
2
+ VERSION = '6.0.1'
3
3
  end
@@ -11,7 +11,7 @@ describe ResourceUpdater do
11
11
  end
12
12
 
13
13
  let(:branch) { nil }
14
- let(:ref) { nil }
14
+ let(:ref) { 'heads/master' }
15
15
  let(:resource) { tx_config.resource(resource_slug, ref) }
16
16
  let(:commit_sha) { '8765309' }
17
17
 
@@ -31,7 +31,7 @@ describe ResourceUpdater do
31
31
  before(:each) do
32
32
  modified_files.each do |file|
33
33
  allow(github_api).to(
34
- receive(:download).with(file[:path]).and_return(file)
34
+ receive(:download).with(file[:path], ref).and_return(file)
35
35
  )
36
36
  end
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: txgh
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Jackowski