phraseapp_updater 2.0.8 → 2.0.9

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
  SHA256:
3
- metadata.gz: 45e3b0d7a9b4211b1dbf7e568d3a4a5f5684c881b6f745d6d8576c7a75ef61a7
4
- data.tar.gz: 88f20fb2fa95f07b9eaf35d4760873a259f85a884fde6d74b1323ef61698138c
3
+ metadata.gz: 20865783d9dc311b609f04aed10fb385bacf9b7eea1ac8576b163fe2f7019afa
4
+ data.tar.gz: 70adc2da3810e72ab5e56cf9881b1dd0e464c4671a3c2971706b535b43558122
5
5
  SHA512:
6
- metadata.gz: 452a378d2ca304eda9dc0093634f6efeda587597f4a3a42357a3f6d0f956ba31c8900d4a3549ed3f6bcdc4c98d41d56994b68f917f3085f081a6573d25c11912
7
- data.tar.gz: 6acd39998a5c485555e70a1f8aa52787ee16721fbc8f5d95ee0418b4af8e8b78a924b925d70d15fadd7942df9638ec79b6f413ae9aee4e216d9df852044d3c0b
6
+ metadata.gz: 72591209820858b667cfb8cefbabcce7e959f3b01a5b7aa7b9e778044be2aa84817cb29cdfe6dd44d3b350ff4d0cc47fc4756a94429625ad1bbfc5eccdd6f1f5
7
+ data.tar.gz: eac55d1314e12ab46bc063172f6fe9d261f035af52c3336cab0dd75b3d7665fc316ca8ffb74304e271d771ed364dd609a79f350e1861d224fdf407529eccdea6
@@ -41,15 +41,15 @@ jobs:
41
41
 
42
42
  - restore_cache:
43
43
  keys:
44
- - phraseapp_updater-<< parameters.ruby-version >>-{{ checksum "/tmp/gem-lock" }}
45
- - phraseapp_updater-
44
+ - phraseapp_updater-v2-<< parameters.ruby-version >>-{{ checksum "/tmp/gem-lock" }}
45
+ - phraseapp_updater-v2
46
46
 
47
47
  - run:
48
48
  name: Bundle Install
49
49
  command: bundle check || bundle install
50
50
 
51
51
  - save_cache:
52
- key: phraseapp_updater-<< parameters.ruby-version >>-{{ checksum "/tmp/gem-lock" }}
52
+ key: phraseapp_updater-v2-<< parameters.ruby-version >>-{{ checksum "/tmp/gem-lock" }}
53
53
  paths:
54
54
  - vendor/bundle
55
55
 
@@ -27,7 +27,7 @@ current_branch=$(git rev-parse "${REMOTE}/${BRANCH}")
27
27
 
28
28
  # If there's a local checkout of that branch, for safety's sake make sure that
29
29
  # it's up to date with the remote one.
30
- local_branch=$(git rev-parse "${BRANCH}")
30
+ local_branch=$(git rev-parse "${BRANCH}" || true)
31
31
  if [ "$local_branch" ] && [ "$current_branch" != "$local_branch" ]; then
32
32
  echo "Error: local branch '${BRANCH}' exists but does not match '${REMOTE}/${BRANCH}'." >&2
33
33
  exit 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class PhraseAppUpdater
4
- VERSION = '2.0.8'
4
+ VERSION = '2.0.9'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phraseapp_updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Griffin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-06 00:00:00.000000000 Z
11
+ date: 2019-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor