test_ids 0.3.2 → 0.4.0

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: 9f16ab991fee6b16b9640382bb36fc0bbb81e0c0
4
- data.tar.gz: a79646e3ea535182a52daf40ae2e34b2ab126adc
3
+ metadata.gz: 333cf3d2877e4d220e499aa547b36fd6ac1a2dfd
4
+ data.tar.gz: 7496da027e3af1bce07da44b758defb8728a69a7
5
5
  SHA512:
6
- metadata.gz: 3d66abb08e4d2bb1a924c4b18e20ca1510871b44e37adbcfb45ed8a5bcdc93dc1116c8102f60dfce4d8213ef3c9df9f8f24d3cbdbaea48e5b5631cb2699c1063
7
- data.tar.gz: 1c69d4f165eeee47f8b805c60fea5ddca65f5e7534184bc29fabeb87f81b425005e8d28b993136a1138bdb449b7aeee5eb6403a9f2197fe9535f0a85da4d56fd
6
+ metadata.gz: a1068bd75d742a715d124da120a60fc5895cf59eda4bc515e2d42cc0b290be0422d93d55daf1622f50fe81b330d762536a904032fb3a306355a3895e85373127
7
+ data.tar.gz: d8298a548247fd3519f30335ff42253a20a6cc8476598a54c994888200655a6a1154333430bdd2867d054bc34c24fcd1da5fdc9ce241a78d39882790cc1c37d5
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module TestIds
2
2
  MAJOR = 0
3
- MINOR = 3
4
- BUGFIX = 2
3
+ MINOR = 4
4
+ BUGFIX = 0
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
data/lib/test_ids/git.rb CHANGED
@@ -47,7 +47,7 @@ module TestIds
47
47
  release_lock
48
48
  repo.add # Checkin everything
49
49
  repo.commit('Publishing latest store')
50
- repo.push('origin')
50
+ repo.push('origin', 'master', force: true)
51
51
  end
52
52
  end
53
53
 
@@ -87,7 +87,8 @@ module TestIds
87
87
  def available_to_lock?
88
88
  result = false
89
89
  Origen.profile 'Checking for lock' do
90
- repo.pull
90
+ repo.fetch
91
+ repo.reset_hard
91
92
  if lock_content && lock_user && lock_user != User.current.name
92
93
  result = Time.now.to_f > lock_expires
93
94
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_ids
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-03 00:00:00.000000000 Z
11
+ date: 2016-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.7.25
19
+ version: 0.7.40
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.7.25
26
+ version: 0.7.40
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: origen_testers
29
29
  requirement: !ruby/object:Gem::Requirement