autowow 0.8.1 → 0.9.0

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: 0bce380bd0aa38446396ee3af9e6605bc5ae9c559e0270e18439d28c6746ea62
4
- data.tar.gz: 63127f7f4a9d5e64d165df80925b9d4815ab646216dad972004e73a5d1030cac
3
+ metadata.gz: '08eb284c3614b5c18abb9e7200f75db6d0ec725443bcc59d5b677e3e8abfa437'
4
+ data.tar.gz: 06fed009a69139fa573c200b7c4b757deb892c4f685f0142e6f0ed00f186431c
5
5
  SHA512:
6
- metadata.gz: de67e3705ec4e6fd6718a15038e93d62726636b62ef4eefc6a38e2277f89c85e936dfe97b30baec4d66d515bfc9e72037056bd3c3319b7378788cf81828b0795
7
- data.tar.gz: fffb08eaf7af7c139494d8a579b6a69634ccc98faa30f9584a2b462479e31f7f7af3eaae12e3839ce4e98dec04b7cc0480f117282bb09b642032d4932c02b637
6
+ metadata.gz: 28541f796749102f4960fd731516dd222dedf8531af5277991f177f247c6781e1f9f3e9d228250b9f31364c9fd522cfb3211a25970724b5a23904fca5516c86f
7
+ data.tar.gz: 80a07a619ba6829d7f717ef2d9aa5bd1da9923c3042e26bc1ee124cb948e9cda50c3b613529351c76028e783d4b635749cde16d5a6d4adfb391cf2d0c9f9db52
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Autowow
2
2
 
3
- #### Set of commands to AUTOmate Way Of Working
3
+ #### Set of commands to [auto]mate [w]ay [o]f [w]orking
4
4
 
5
- *You are viewing the README of version [v0.8.1](https://github.com/thisismydesign/autowow/releases/tag/v0.8.1). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
5
+ *You are viewing the README of version [v0.9.0](https://github.com/thisismydesign/autowow/releases/tag/v0.9.0). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
6
6
 
7
7
  | Branch | Status |
8
8
  | ------ | ------ |
@@ -38,6 +38,8 @@ Currently only Git and the GitHub API are supported.
38
38
 
39
39
  #### Branch merged
40
40
 
41
+ `aw bm` / `autowow branch_merged`
42
+
41
43
  * Switches to master and pulls your merged changes
42
44
  * Removes local working branch
43
45
 
@@ -45,6 +47,8 @@ Prerequisites: not on master
45
47
 
46
48
  #### Update projects
47
49
 
50
+ `aw up` / `autowow update_projects`
51
+
48
52
  * Updates local repositories
49
53
  * Updates remote forks
50
54
  * Searches for repositories on paths: `.`, `./*/`
@@ -53,17 +57,23 @@ Prerequisites: no uncommitted changes on master
53
57
 
54
58
  #### Clear branches
55
59
 
60
+ `aw cb` / `autowow clear_branches`
61
+
56
62
  * Removes branches without not pushed changes
57
63
  * Keeps current and master branches
58
64
 
59
65
  #### Add upstream
60
66
 
67
+ `aw au` / `autowow add_upstream`
68
+
61
69
  * Adds parent repository as remote 'upstream'
62
70
 
63
71
  Prerequisites: doesn't have remote called 'upstream'
64
72
 
65
73
  #### Hi
66
74
 
75
+ `aw hi` / `autowow hi`
76
+
67
77
  Day starter routine
68
78
 
69
79
  * Updates projects (runs 'Update projects')
@@ -74,6 +84,8 @@ Prerequisites: in a directory that contains git repos, not in the repo itself
74
84
 
75
85
  #### Hi!
76
86
 
87
+ `aw hi!` / `autowow hi!`
88
+
77
89
  Day starter routine for a new start
78
90
 
79
91
  * Runs 'Add upstream' and 'Clear branches' for all projects
@@ -81,12 +93,16 @@ Day starter routine for a new start
81
93
 
82
94
  #### Open
83
95
 
96
+ `aw open` / `autowow open`
97
+
84
98
  * Opens project in browser
85
99
 
86
100
  ### Gem
87
101
 
88
102
  #### Gem release
89
103
 
104
+ `aw grls` / `autowow gem_release`
105
+
90
106
  * Rebases `release` branch to master
91
107
  * Releases gem via `rake release`
92
108
 
@@ -94,18 +110,28 @@ Prerequisites: on master
94
110
 
95
111
  #### Gem clean
96
112
 
113
+ `aw gc` / `autowow gem_clean`
114
+
97
115
  * Removes unused gems
98
116
 
99
117
  #### Rubocop parallel autocorrect
100
118
 
101
- `aw rpa` / `aw rubocop_parallel_autocorrect`
119
+ `aw rpa` / `autowow rubocop_parallel_autocorrect`
102
120
 
103
121
  * Runs `rubocop` in parallel mode, autocorrects offenses on single thread
104
122
 
123
+ #### Bundle exec
124
+
125
+ `aw be <cmd>` / `autowow bundle_exec <cmd>`
126
+
127
+ * Runs `cmd` with `bundle exec` prefixed
128
+
105
129
  ### Ruby
106
130
 
107
131
  #### Ruby versions
108
132
 
133
+ `aw rv` / `autowow ruby_versions`
134
+
109
135
  * Shows Ruby versions in use
110
136
  * Searches for repositories on paths: `.`, `./*/`
111
137
 
@@ -113,6 +139,8 @@ Prerequisites: on master
113
139
 
114
140
  #### Execute
115
141
 
142
+ `aw e` / `autowow execute`
143
+
116
144
  * Executes given command
117
145
 
118
146
  ## Feedback
@@ -22,6 +22,7 @@ module Autowow
22
22
  map %w[rv] => :ruby_versions
23
23
  map %w[gr] => :greet
24
24
  map %w[rpa] => :rubocop_parallel_autocorrect
25
+ map %w[be] => :bundle_exec
25
26
 
26
27
  desc "branch_merged", "clean working branch and return to master"
27
28
  def branch_merged
@@ -87,5 +88,10 @@ module Autowow
87
88
  def exec(*cmd)
88
89
  Autowow::Executor.pretty_with_output.run(cmd)
89
90
  end
91
+
92
+ desc "bundle_exec", "runs command with `bundle exec` prefixed"
93
+ def bundle_exec(*cmd)
94
+ Autowow::Features::Gem.bundle_exec(cmd)
95
+ end
90
96
  end
91
97
  end
@@ -42,6 +42,10 @@ module Autowow
42
42
  end
43
43
  end
44
44
 
45
+ def bundle_exec(cmd)
46
+ Autowow::Executor.pretty_with_output.run(["bundle", "exec"] + cmd)
47
+ end
48
+
45
49
  include ReflectionUtils::CreateModuleFunctions
46
50
  end
47
51
  end
@@ -1,3 +1,3 @@
1
1
  module Autowow
2
- VERSION = "0.8.1"
2
+ VERSION = "0.9.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autowow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thisismydesign