effective_developer 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -1
- data/lib/effective_developer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11fe999176114291408b016ae8759aa02e15e926
|
4
|
+
data.tar.gz: b78672962447f3f9e426ff0b86efe8d92f59e58b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ce6aefdf534149a22658dfb1ab48794135d84f1138a250defc1a548148ea3c09aff176db9cd6ed05518248c18b70764b02d5d9d0599d7d0e1228b513f4405ff
|
7
|
+
data.tar.gz: cce11db37e13b5a1f94130d210163ba2077af23caabc9a20dac8c6c740b4d3962daca54ce7f6fcae9f9f3a1ea06aea655f90cf21f9a42abefe0a195fc3000b43
|
data/README.md
CHANGED
@@ -30,6 +30,12 @@ and add the following to your `PATH` (edit your ~/.bashrc or ~/.profile):
|
|
30
30
|
export PATH="$PATH:$HOME/effective_developer/bin"
|
31
31
|
```
|
32
32
|
|
33
|
+
To use the included git hooks for all git repos, run the following:
|
34
|
+
|
35
|
+
```
|
36
|
+
git config --global core.hooksPath ~/effective_developer/githooks
|
37
|
+
```
|
38
|
+
|
33
39
|
# Shell scripts
|
34
40
|
|
35
41
|
## gem_develop
|
@@ -133,12 +139,21 @@ A command line script to delete any git branch that has already been merged into
|
|
133
139
|
|
134
140
|
## killpuma
|
135
141
|
|
136
|
-
|
142
|
+
`kill -9` the first running puma process. Bails out of SystemStackError (stack level too deep).
|
137
143
|
|
138
144
|
```console
|
139
145
|
> killpuma
|
140
146
|
```
|
141
147
|
|
148
|
+
# Git hooks
|
149
|
+
|
150
|
+
## pre-push
|
151
|
+
|
152
|
+
Prevents pushing git commits that have the following bad patterns:
|
153
|
+
|
154
|
+
- Gemfile includes 'path: ' gems
|
155
|
+
- binding.pry
|
156
|
+
|
142
157
|
# Rake scripts
|
143
158
|
|
144
159
|
## csv:export
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_developer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|