learn-test 3.3.0.pre.2 → 3.3.0.pre.3
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 +4 -4
- data/lib/learn_test.rb +3 -1
- data/lib/learn_test/git/wip/base.rb +1 -2
- data/lib/learn_test/reporter.rb +1 -1
- data/lib/learn_test/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2a1a864132415df805ab19a42f9a8c5d3892602742fca35cf3a8aff5ae5e7a97
|
|
4
|
+
data.tar.gz: 62fcb6feb51b50944d9622fb4306d815125c9338efc1be888775037e853b6d70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52ab71e5a63eec57aba9391d97255d4aca85e62c9adae8dadb7f02efb0591d6f3d0637a203fca5b1c47fb27cd627c935d837b2e05f55f79f0b7dc1ebbcf025d7
|
|
7
|
+
data.tar.gz: 94c627e54f10bbb7ae74f482c4d806ccba4de548b6530843524d950c6a5da3286d5e2e422a70a242daa1e51f66181950c991927e5f0eac38af874195bf176e23
|
data/lib/learn_test.rb
CHANGED
|
@@ -10,7 +10,6 @@ module LearnTest
|
|
|
10
10
|
module Wip
|
|
11
11
|
class Base < ::Git::Path
|
|
12
12
|
TEMPFILE = '.wip'
|
|
13
|
-
PREFIX = 'refs/wip/'
|
|
14
13
|
|
|
15
14
|
attr_reader :working_branch, :wip_branch
|
|
16
15
|
|
|
@@ -25,7 +24,7 @@ module LearnTest
|
|
|
25
24
|
|
|
26
25
|
@tmp = Tempfile.new(TEMPFILE)
|
|
27
26
|
@working_branch = Branch.new(base: @base, name: current_branch)
|
|
28
|
-
@wip_branch =
|
|
27
|
+
@wip_branch = Reference.new(base: @base, name: current_branch)
|
|
29
28
|
end
|
|
30
29
|
|
|
31
30
|
def process!
|
data/lib/learn_test/reporter.rb
CHANGED
|
@@ -68,7 +68,7 @@ module LearnTest
|
|
|
68
68
|
repo.push('origin', "#{res.wip_branch}:refs/heads/fis-wip", { force: true })
|
|
69
69
|
rescue ::Git::GitExecuteError => e
|
|
70
70
|
if @debug
|
|
71
|
-
puts 'There was a problem connecting to
|
|
71
|
+
puts 'There was a problem connecting to GitHub. Not pushing current branch state.'.red
|
|
72
72
|
puts e.message
|
|
73
73
|
end
|
|
74
74
|
end
|
data/lib/learn_test/version.rb
CHANGED