autowow 0.14.0 → 0.14.1

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: c5b1466ed841f82dc29a35cdea18bfbaa675320325b5034244bb05c3558f5eaf
4
- data.tar.gz: 1310f72716022a8c462ac0809c7c8d14ada27330c9063cc4aa58a5d81cacc604
3
+ metadata.gz: d4ac0924645d53ad4705507de4576d8362420f39735d5a95ff39361816cbf004
4
+ data.tar.gz: 4278525d88d3e49202a4241ccf30dfd98e3a0218848b4fe65f56f718f5102767
5
5
  SHA512:
6
- metadata.gz: c59bfd0b7db00df39310b45173a0ddf6aba7e026b81893d1a36f1c4a09780609c2343c02b2631b3287ae7c5a367d81e69e27947e0798e7242791ca90e475b51d
7
- data.tar.gz: 3a69adeb981853ff32bef7efbcb0c7e2dcf49e97e69dd720503b026d3a8e37e3638bcee5b9f36faf9b6c4971b4753767c64de028e7a65c0994a64eb62310a4ed
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.0](https://github.com/thisismydesign/autowow/releases/tag/v0.14.0). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
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 |
@@ -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
@@ -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
@@ -46,7 +46,7 @@ module Autowow
46
46
  greet(latest_project_info)
47
47
  end
48
48
 
49
- def force_pull
49
+ def self.force_pull
50
50
  pretty_with_output.run(git_status)
51
51
  branch = working_branch
52
52
 
@@ -1,3 +1,3 @@
1
1
  module Autowow
2
- VERSION = "0.14.0"
2
+ VERSION = "0.14.1"
3
3
  end
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.0
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-19 00:00:00.000000000 Z
11
+ date: 2018-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: easy_logging