txgh 5.3.3 → 5.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 984667d623e6cec03d0a87db3396258e0f1b1b40
4
- data.tar.gz: 534f1e4aff8abc9c431d07932c6a848a5db20655
3
+ metadata.gz: 9913740e9d673d5e128e9347ab27f2402e605ad1
4
+ data.tar.gz: 8dc303dd112a95c897131e974d61d74cd45725f0
5
5
  SHA512:
6
- metadata.gz: b625c3b8391fc666e1c70aac34d16ad61510dd581577452b18b4c6d732fc781d4b1f43091dd9c0ad095b924ff070ea102f93ee694c1d80f6498f9fc5627dde16
7
- data.tar.gz: d063bc9532a7b2de136fefbf7f1cc8d351bb167f0a23b17fb6d9a1fa25395651a85ff00f339d28100b7bdb72316ebeac8ec7652d031bde433a3dbebb862ef1b8
6
+ metadata.gz: 84eb6e77456cf413c8da184260d10534497701b7869567ba0b275ce1faa3d1e2b93fd3be7ecbd57e8e6e4fda2a99351568ec7efe2ebf6f668a584eaca2e787b8
7
+ data.tar.gz: 73f36c4560a70a016d416570b417782d066c410ce813caa5f1fa971ae3a4af3d67c111440ef37bc188afb1af2bd7a5968ad3569f4f29bbdcc4b29f0f6ecc8df5
data/lib/txgh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Txgh
2
- VERSION = '5.3.3'
2
+ VERSION = '5.3.4'
3
3
  end
data/lib/txgh.rb CHANGED
@@ -59,6 +59,8 @@ module Txgh
59
59
  GithubStatus.new(project, repo, resource).update(options.fetch(:sha))
60
60
  rescue Octokit::UnprocessableEntity
61
61
  # raised because we've tried to create too many statuses for the commit
62
+ rescue Txgh::TransifexNotFoundError
63
+ # raised if transifex resource can't be found
62
64
  end
63
65
 
64
66
  def env
data/spec/txgh_spec.rb CHANGED
@@ -43,5 +43,17 @@ describe Txgh do
43
43
  )
44
44
  end.to_not raise_error
45
45
  end
46
+
47
+ it 'handles transifex errors' do
48
+ expect_any_instance_of(Txgh::GithubStatus).to(
49
+ receive(:update).and_raise(Txgh::TransifexNotFoundError)
50
+ )
51
+
52
+ expect do
53
+ Txgh.update_status_callback(
54
+ project: nil, repo: nil, resource: nil, sha: nil
55
+ )
56
+ end.to_not raise_error
57
+ end
46
58
  end
47
59
  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: 5.3.3
4
+ version: 5.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Jackowski