autowow 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/autowow/commands/vcs.rb +5 -0
- data/lib/autowow/features/gem.rb +2 -1
- data/lib/autowow/features/vcs.rb +1 -1
- data/lib/autowow/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4ac0924645d53ad4705507de4576d8362420f39735d5a95ff39361816cbf004
|
4
|
+
data.tar.gz: 4278525d88d3e49202a4241ccf30dfd98e3a0218848b4fe65f56f718f5102767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3d6341a5c4ffc770b3a26a8f974b7449d1f0930344a567167517b72c1b2f051ea95da8b131c8031254f4492859ab8ca5fc520e8b92632ea5f59a18948d44fa
|
7
|
+
data.tar.gz: 1168aa8fbab54df7f45a8637d8797225c3ac639933a41386e7df1c85d7ec2f4e54a673e7abf1d6e35e4feb9c93a40f4d8317942b61b72ad70ae1620127ebf771
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#### Set of commands to [auto]mate [w]ay [o]f [w]orking
|
4
4
|
|
5
5
|
<!--- Version informartion -->
|
6
|
-
*You are viewing the README of version [v0.14.
|
6
|
+
*You are viewing the README of version [v0.14.1](https://github.com/thisismydesign/autowow/releases/tag/v0.14.1). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
|
7
7
|
<!--- Version informartion end -->
|
8
8
|
|
9
9
|
| Branch | Status |
|
data/lib/autowow/commands/vcs.rb
CHANGED
@@ -93,6 +93,11 @@ module Autowow
|
|
93
93
|
cmd + ["reset", "--hard", branch]
|
94
94
|
end
|
95
95
|
|
96
|
+
# Doesn't work on Windows
|
97
|
+
def current_branch_remote
|
98
|
+
cmd + ["rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}"]
|
99
|
+
end
|
100
|
+
|
96
101
|
include ReflectionUtils::CreateModuleFunctions
|
97
102
|
end
|
98
103
|
end
|
data/lib/autowow/features/gem.rb
CHANGED
@@ -33,7 +33,8 @@ module Autowow
|
|
33
33
|
pretty.run(push)
|
34
34
|
|
35
35
|
Vcs.on_branch("release") do
|
36
|
-
pretty.run(pull)
|
36
|
+
result = pretty.run!(pull)
|
37
|
+
pretty_with_output.run(set_upstream("origin", "release")) unless result.success?
|
37
38
|
pretty.run(rebase(start_branch))
|
38
39
|
pretty_with_output.run(release)
|
39
40
|
end
|
data/lib/autowow/features/vcs.rb
CHANGED
data/lib/autowow/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autowow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thisismydesign
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: easy_logging
|