autowow 0.15.0 → 0.16.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: 6977709b3e48a722cc54f85c27effaa49f989e4d5ca55008b2e6f51fbeba7b2d
4
- data.tar.gz: 33bcead4d992b17cc1ce4153e42c9c18c56e8cd93dacc4247892ac42cb477467
3
+ metadata.gz: 70a57e753c44cf9f997b913dc482efb02cb3aeecb83f2c10a0188266213e1d85
4
+ data.tar.gz: 680c9293783c4aceee7202e26ffafdce6e343930a7e015edb15a6da194d5750c
5
5
  SHA512:
6
- metadata.gz: 6f3ac3780f7dea271e7db8870d3bbc624ee0cc72c328b65dabeddee069f8d0989dd9009757a1224e5b11b061a1235366c1483887a8beeee3d8bef73e6b391cd2
7
- data.tar.gz: 0a3b8b6d70db9df67e189c5de59ad63cba5efe635d1fb6e7c3e0ef70a1235e7c527e6a871af75a9b42abad1d3e314ef42f0469287291fdf1803978a250e0ff8a
6
+ metadata.gz: 3456ebc8902996a1fbe51f4a180c75dd47118af1f3f38c88aef7bba6dff02802a3f0c7547bfe2a90d1480713d0e483594c5ef23278ec3bbcba4ebbff61b35685
7
+ data.tar.gz: 456e92d320ce52568ea579ab1670b08f3d336eca9d5e9e77567f2907b9637c1607470f25463b35c234357536847bf2f3109dd2c76844c8ad2f02cb37c5d42211
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  /Gemfile.lock
4
4
  /_yardoc/
5
5
  /coverage/
6
- /doc/
7
6
  /pkg/
8
7
  /spec/reports/
9
8
  /tmp/
@@ -12,3 +11,5 @@
12
11
  .rspec_status
13
12
 
14
13
  .idea
14
+
15
+ *.gem
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.15.0](https://github.com/thisismydesign/autowow/releases/tag/v0.15.0). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
6
+ *You are viewing the README of version [v0.16.0](https://github.com/thisismydesign/autowow/releases/tag/v0.16.0). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
7
7
  <!--- Version informartion end -->
8
8
 
9
9
  | Branch | Status |
@@ -110,20 +110,20 @@ Day starter routine for a new start
110
110
 
111
111
  ### Gem
112
112
 
113
- #### Gem release
113
+ - Gem release
114
+ - `aw grls`
115
+ - `autowow gem_release`
116
+ - [doc](doc/grls.md)
114
117
 
115
- `aw grls` / `autowow gem_release`
118
+ - Ruby check
119
+ - `aw rc`
120
+ - `autowow ruby_check`
121
+ - [doc](doc/rc.md)
116
122
 
117
- * Pulls chnages on `master`
118
- * If [version parameter](https://github.com/svenfuchs/gem-release#options-1) is provided
119
- * Bumps version in version.rb
120
- * Bumps version information in README if present
121
- * Commits and pushed changes to `master`
122
- * Rebases `release` branch to master
123
- * Releases gem via `rake release`
124
- * Changes version information to development in README if present
125
-
126
- Prerequisites: on master
123
+ - Gem install source
124
+ - `aw gis`
125
+ - `autowow gem_install_local`
126
+ - [doc](doc/gis.md)
127
127
 
128
128
  #### Gem clean
129
129
 
@@ -137,12 +137,6 @@ Prerequisites: on master
137
137
 
138
138
  * Runs `rubocop` in parallel mode, autocorrects offenses on single thread
139
139
 
140
- #### Ruby check
141
-
142
- `aw rc` / `autowow ruby_check`
143
-
144
- * Runs `aw rpa && bundle exec rspec && git status`
145
-
146
140
  #### Bundle exec
147
141
 
148
142
  `aw be <cmd>` / `autowow bundle_exec <cmd>`
@@ -0,0 +1,56 @@
1
+ # Gem install source
2
+
3
+ * `aw gis`
4
+ * `aw gem_install_source`
5
+
6
+ ----
7
+
8
+ * `gem build *.gemspec`
9
+ * `gem install *.gem`
10
+
11
+ ----
12
+
13
+ ```
14
+ $ aw gis
15
+ [307991d0] Running gem build *.gemspec
16
+ [307991d0] WARNING: open-ended dependency on easy_logging (>= 0.3.0) is not recommended
17
+ [307991d0] if easy_logging is semantically versioned, use:
18
+ [307991d0] add_runtime_dependency 'easy_logging', '~> 0.3', '>= 0.3.0'
19
+ [307991d0] WARNING: open-ended dependency on thor (>= 0) is not recommended
20
+ [307991d0] use a bounded requirement, such as '~> x.y'
21
+ [307991d0] WARNING: open-ended dependency on pastel (>= 0) is not recommended
22
+ [307991d0] use a bounded requirement, such as '~> x.y'
23
+ [307991d0] WARNING: open-ended dependency on launchy (>= 0) is not recommended
24
+ [307991d0] use a bounded requirement, such as '~> x.y'
25
+ [307991d0] WARNING: open-ended dependency on reflection_utils (>= 0.3.0) is not recommended
26
+ [307991d0] if reflection_utils is semantically versioned, use:
27
+ [307991d0] add_runtime_dependency 'reflection_utils', '~> 0.3', '>= 0.3.0'
28
+ [307991d0] WARNING: open-ended dependency on rubocop (>= 0) is not recommended
29
+ [307991d0] use a bounded requirement, such as '~> x.y'
30
+ [307991d0] WARNING: open-ended dependency on rubocop-rspec (>= 0) is not recommended
31
+ [307991d0] use a bounded requirement, such as '~> x.y'
32
+ [307991d0] WARNING: open-ended dependency on gem-release (>= 0) is not recommended
33
+ [307991d0] use a bounded requirement, such as '~> x.y'
34
+ [307991d0] WARNING: open-ended dependency on guard (>= 0, development) is not recommended
35
+ [307991d0] use a bounded requirement, such as '~> x.y'
36
+ [307991d0] WARNING: open-ended dependency on guard-bundler (>= 0, development) is not recommended
37
+ [307991d0] use a bounded requirement, such as '~> x.y'
38
+ [307991d0] WARNING: open-ended dependency on guard-rspec (>= 0, development) is not recommended
39
+ [307991d0] use a bounded requirement, such as '~> x.y'
40
+ [307991d0] WARNING: open-ended dependency on coveralls (>= 0, development) is not recommended
41
+ [307991d0] use a bounded requirement, such as '~> x.y'
42
+ [307991d0] WARNING: See http://guides.rubygems.org/specification-reference/ for help
43
+ [307991d0] Successfully built RubyGem
44
+ [307991d0] Name: autowow
45
+ [307991d0] Version: 0.15.0
46
+ [307991d0] File: autowow-0.15.0.gem
47
+ [307991d0] Finished in 0.324 seconds with exit status 0 (successful)
48
+
49
+ [fe87e887] Running gem install *.gem
50
+ [fe87e887] File: autowow-0.15.0.gem
51
+ [fe87e887] Successfully installed autowow-0.15.0
52
+ [fe87e887] Parsing documentation for autowow-0.15.0
53
+ [fe87e887] Done installing documentation for autowow after 0 seconds
54
+ [fe87e887] 1 gem installed
55
+ [fe87e887] Finished in 1.518 seconds with exit status 0 (successful)
56
+ ```
@@ -0,0 +1,175 @@
1
+ # Gem release
2
+
3
+ - `aw grls`
4
+ - `autowow gem_release`
5
+
6
+ ----
7
+
8
+ Prerequisites: on master
9
+
10
+ ----
11
+
12
+ * `bundle install`
13
+ * `git pull`
14
+ * If [version parameter](https://github.com/svenfuchs/gem-release#options-1) is provided
15
+ * Bumps version in version.rb
16
+ * Bumps version information in README if present
17
+ * `git add README.md *version.rb`
18
+ * `git commit -m "Bumps version to <version>"`
19
+ * `git push`
20
+ * `git checkout release`
21
+ * `git pull`
22
+ * `git rebase master`
23
+ * `rake release`
24
+ * If [version parameter](https://github.com/svenfuchs/gem-release#options-1) is provided
25
+ * Changes version information to development in README if present
26
+ * `git add README.md`
27
+ * `git commit -m "Changes README to development version"`
28
+ * `git push`
29
+
30
+ ----
31
+
32
+ ```
33
+ $ aw grls minor
34
+ [1962e066] Running git status
35
+ [1962e066] On branch master
36
+ [1962e066] Your branch is up to date with 'origin/master'.
37
+ [1962e066]
38
+ [1962e066] Untracked files:
39
+ [1962e066] (use "git add <file>..." to include in what will be committed)
40
+ [1962e066]
41
+ [1962e066] autowow-0.14.3.gem
42
+ [1962e066]
43
+ [1962e066] nothing added to commit but untracked files present (use "git add" to track)
44
+ [1962e066] Finished in 0.004 seconds with exit status 0 (successful)
45
+
46
+ [0bc9fca5] Running bundle install
47
+ [0bc9fca5] nothing added to commit but untracked files present (use "git add" to track)
48
+ [0bc9fca5] Using rake 10.5.0
49
+ [0bc9fca5] Using concurrent-ruby 1.1.5
50
+ [0bc9fca5] Using i18n 1.6.0
51
+ [0bc9fca5] Using minitest 5.11.3
52
+ [0bc9fca5] Using thread_safe 0.3.6
53
+ [0bc9fca5] Using tzinfo 1.2.5
54
+ [0bc9fca5] Using activesupport 5.2.3
55
+ [0bc9fca5] Using public_suffix 3.1.0
56
+ [0bc9fca5] Using addressable 2.6.0
57
+ [0bc9fca5] Using ast 2.4.0
58
+ [0bc9fca5] Using easy_logging 0.4.0
59
+ [0bc9fca5] Using gem-release 2.0.1
60
+ [0bc9fca5] Using launchy 2.4.3
61
+ [0bc9fca5] Using equatable 0.6.0
62
+ [0bc9fca5] Using tty-color 0.5.0
63
+ [0bc9fca5] Using pastel 0.7.3
64
+ [0bc9fca5] Using reflection_utils 0.3.0
65
+ [0bc9fca5] Using jaro_winkler 1.5.3
66
+ [0bc9fca5] Using parallel 1.17.0
67
+ [0bc9fca5] Using parser 2.6.3.0
68
+ [0bc9fca5] Using rainbow 3.0.0
69
+ [0bc9fca5] Using ruby-progressbar 1.10.1
70
+ [0bc9fca5] Using unicode-display_width 1.6.0
71
+ [0bc9fca5] Using rubocop 0.71.0
72
+ [0bc9fca5] Using rubocop-rspec 1.33.0
73
+ [0bc9fca5] Using thor 0.19.4
74
+ [0bc9fca5] Using time_difference 0.5.0
75
+ [0bc9fca5] Using tty-command 0.8.2
76
+ [0bc9fca5] Using autowow 0.14.3 from source at `.`
77
+ [0bc9fca5] Using bundler 1.17.2
78
+ [0bc9fca5] Using coderay 1.1.2
79
+ [0bc9fca5] Using json 2.1.0
80
+ [0bc9fca5] Using docile 1.3.1
81
+ [0bc9fca5] Using simplecov-html 0.10.2
82
+ [0bc9fca5] Using simplecov 0.16.1
83
+ [0bc9fca5] Using tins 1.18.0
84
+ [0bc9fca5] Using term-ansicolor 1.7.0
85
+ [0bc9fca5] Using coveralls 0.8.22
86
+ [0bc9fca5] Using diff-lcs 1.3
87
+ [0bc9fca5] Using ffi 1.9.25
88
+ [0bc9fca5] Using formatador 0.2.5
89
+ [0bc9fca5] Using rb-fsevent 0.10.3
90
+ [0bc9fca5] Using rb-inotify 0.9.10
91
+ [0bc9fca5] Using ruby_dep 1.5.0
92
+ [0bc9fca5] Using listen 3.1.5
93
+ [0bc9fca5] Using lumberjack 1.0.13
94
+ [0bc9fca5] Using nenv 0.3.0
95
+ [0bc9fca5] Using shellany 0.0.1
96
+ [0bc9fca5] Using notiffany 0.1.1
97
+ [0bc9fca5] Using method_source 0.9.1
98
+ [0bc9fca5] Using pry 0.12.0
99
+ [0bc9fca5] Using guard 2.14.2
100
+ [0bc9fca5] Using guard-compat 1.2.1
101
+ [0bc9fca5] Using guard-bundler 2.1.0
102
+ [0bc9fca5] Using rspec-support 3.8.0
103
+ [0bc9fca5] Using rspec-core 3.8.0
104
+ [0bc9fca5] Using rspec-expectations 3.8.2
105
+ [0bc9fca5] Using rspec-mocks 3.8.0
106
+ [0bc9fca5] Using rspec 3.8.0
107
+ [0bc9fca5] Using guard-rspec 4.7.3
108
+ [0bc9fca5] Bundle complete! 8 Gemfile dependencies, 60 gems now installed.
109
+ [0bc9fca5] Use `bundle info [gemname]` to see where a bundled gem is installed.
110
+ [0bc9fca5] Finished in 0.361 seconds with exit status 0 (successful)
111
+
112
+ [5f909cc8] Running git pull
113
+ [5f909cc8] Finished in 1.501 seconds with exit status 0 (successful)
114
+ [bd4866a6]
115
+ [df36a813] Running gem bump --no-commit --no-color --version minor
116
+ [df36a813] Use `bundle info [gemname]` to see where a bundled gem is installed.
117
+ [df36a813]
118
+ [df36a813] Bumping autowow from version 0.14.3 to 0.15.0
119
+ [df36a813] Changing version in lib/autowow/version.rb from 0.14.3 to 0.15.0
120
+ [df36a813]
121
+ [df36a813] All is good, thanks my friend.
122
+ [df36a813]
123
+ [df36a813] Finished in 0.332 seconds with exit status 0 (successful)
124
+
125
+ [9fc3ed9c] Running git add README.md *version.rb
126
+ [9fc3ed9c] Finished in 0.005 seconds with exit status 0 (successful)
127
+ [71231129]
128
+ [f0d7af9b] Running git commit -m "Bumps version to v0.15.0"
129
+ [f0d7af9b] Finished in 0.006 seconds with exit status 0 (successful)
130
+ [31812bef]
131
+ [3e576891] Running git push
132
+ [3e576891] Finished in 3.531 seconds with exit status 0 (successful)
133
+ [429b58b1]
134
+ [475b915e] Running git checkout release
135
+ [475b915e] Finished in 0.012 seconds with exit status 0 (successful)
136
+ [76269bf8]
137
+ [4476b6f0] Running git pull
138
+ [4476b6f0] Finished in 1.494 seconds with exit status 0 (successful)
139
+ [e7bdf7d3]
140
+ [83f4a5e1] Running git rebase master
141
+ [83f4a5e1] Finished in 0.064 seconds with exit status 0 (successful)
142
+ [ef42234a]
143
+ [a8dee006] Running bundle exec rake release
144
+ [a8dee006]
145
+ [a8dee006] autowow 0.15.0 built to pkg/autowow-0.15.0.gem.
146
+ [a8dee006] Tagged v0.15.0.
147
+ [a8dee006] Pushed git commits and tags.
148
+ [a8dee006] Pushed autowow 0.15.0 to rubygems.org
149
+ [a8dee006] Finished in 9.868 seconds with exit status 0 (successful)
150
+
151
+ [d6f921b0] Running git checkout master
152
+ [d6f921b0] Finished in 0.008 seconds with exit status 0 (successful)
153
+ [be6dc2b3]
154
+ [ef4d666d] Running git add README.md
155
+ [ef4d666d] Finished in 0.007 seconds with exit status 0 (successful)
156
+ [66f71e71]
157
+ [81dabe48] Running git commit -m "Changes README to development version"
158
+ [81dabe48] Finished in 0.024 seconds with exit status 0 (successful)
159
+ [9687b0ee]
160
+ [4ad3b43f] Running git push
161
+ [4ad3b43f] Finished in 5.435 seconds with exit status 0 (successful)
162
+ [75e465e8]
163
+ [c36b853d] Running git status
164
+ [c36b853d] Pushed autowow 0.15.0 to rubygems.org
165
+ [c36b853d] On branch master
166
+ [c36b853d] Your branch is up to date with 'origin/master'.
167
+ [c36b853d]
168
+ [c36b853d] Untracked files:
169
+ [c36b853d] (use "git add <file>..." to include in what will be committed)
170
+ [c36b853d]
171
+ [c36b853d] autowow-0.14.3.gem
172
+ [c36b853d]
173
+ [c36b853d] nothing added to commit but untracked files present (use "git add" to track)
174
+ [c36b853d] Finished in 0.016 seconds with exit status 0 (successful)
175
+ ```
@@ -0,0 +1,38 @@
1
+ # Ruby check
2
+
3
+ - `aw rc`
4
+ - `autowow ruby_check`
5
+
6
+ ----
7
+
8
+ * `autowow rubocop_parallel_autocorrect`
9
+ * `bundle exec rspec`
10
+
11
+ ----
12
+
13
+ ```
14
+ $ aw ruby_check
15
+ [fd64b225] Running bundle exec rubocop --parallel
16
+ [fd64b225] Inspecting 231 files
17
+ [fd64b225] .......................................................................................................................................................................................................................................
18
+ [fd64b225]
19
+ [fd64b225] 231 files inspected, no offenses detected
20
+ [fd64b225] Finished in 7.559 seconds with exit status 0 (successful)
21
+
22
+ [1df429e3] Running bundle exec rspec
23
+ [1df429e3] ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
24
+ [1df429e3]
25
+ [1df429e3] Finished in 11.92 seconds (files took 1.7 seconds to load)
26
+ [1df429e3] 576 examples, 0 failures
27
+ [1df429e3]
28
+ [1df429e3] Coverage report generated for RSpec to /home/csaba/workspace/autowow/coverage. 744 / 765 LOC (97.25%) covered.
29
+ [1df429e3] Finished in 14.178 seconds with exit status 0 (successful)
30
+
31
+ [2c0c4af3] Running git status
32
+ [2c0c4af3] 231 files inspected, no offenses detected
33
+ [2c0c4af3] On branch follow-ordering
34
+ [2c0c4af3] Your branch is up to date with 'origin/follow-ordering'.
35
+ [2c0c4af3]
36
+ [2c0c4af3] nothing to commit, working tree clean
37
+ [2c0c4af3] Finished in 0.005 seconds with exit status 0 (successful)
38
+ ```
@@ -29,6 +29,7 @@ module Autowow
29
29
  map %w[dbstr] => :db_structure
30
30
  map %w[fp] => :force_pull
31
31
  map %w[rc] => :ruby_check
32
+ map %w[gis] => :gem_install_source
32
33
 
33
34
  desc "branch_merged", "clean working branch and return to master"
34
35
  def branch_merged
@@ -129,5 +130,10 @@ module Autowow
129
130
  def ruby_check
130
131
  Autowow::Features::Gem.ruby_check
131
132
  end
133
+
134
+ desc "gem_install_source", "gem build *.gemspec && gem install *.gem"
135
+ def gem_install_source
136
+ Autowow::Features::Gem.gem_install_source
137
+ end
132
138
  end
133
139
  end
@@ -32,6 +32,10 @@ module Autowow
32
32
  end
33
33
  end
34
34
 
35
+ def build(pattern)
36
+ ["gem", "build"] + pattern
37
+ end
38
+
35
39
  def be
36
40
  ["bundle", "exec"]
37
41
  end
@@ -80,6 +80,11 @@ module Autowow
80
80
  pretty_with_output.run(git_status)
81
81
  end
82
82
 
83
+ def gem_install_source
84
+ pretty_with_output.run("gem build *.gemspec")
85
+ pretty_with_output.run("gem install *.gem")
86
+ end
87
+
83
88
  def db_migrate
84
89
  pretty_with_output.run(rake_db_migrate)
85
90
  end
@@ -1,3 +1,3 @@
1
1
  module Autowow
2
- VERSION = "0.15.0"
2
+ VERSION = "0.16.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.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thisismydesign
@@ -271,6 +271,9 @@ files:
271
271
  - bin/aw
272
272
  - bin/console
273
273
  - bin/setup
274
+ - doc/gis.md
275
+ - doc/grls.md
276
+ - doc/rc.md
274
277
  - lib/autowow.rb
275
278
  - lib/autowow/cli.rb
276
279
  - lib/autowow/commands/gem.rb