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 +4 -4
- data/config/version.rb +2 -2
- data/lib/test_ids/git.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 333cf3d2877e4d220e499aa547b36fd6ac1a2dfd
|
4
|
+
data.tar.gz: 7496da027e3af1bce07da44b758defb8728a69a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1068bd75d742a715d124da120a60fc5895cf59eda4bc515e2d42cc0b290be0422d93d55daf1622f50fe81b330d762536a904032fb3a306355a3895e85373127
|
7
|
+
data.tar.gz: d8298a548247fd3519f30335ff42253a20a6cc8476598a54c994888200655a6a1154333430bdd2867d054bc34c24fcd1da5fdc9ce241a78d39882790cc1c37d5
|
data/config/version.rb
CHANGED
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.
|
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.
|
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
|
+
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.
|
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.
|
26
|
+
version: 0.7.40
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: origen_testers
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|