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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50fcd5872915810b6bef79adf4c828cf21ccb7d3
4
- data.tar.gz: 66f6ea7b6400d2c04b85d8d28cd395fa8e0eea89
3
+ metadata.gz: 11fe999176114291408b016ae8759aa02e15e926
4
+ data.tar.gz: b78672962447f3f9e426ff0b86efe8d92f59e58b
5
5
  SHA512:
6
- metadata.gz: 247c959af382160219fbbbabe7e97ba4046f571ad87c7dd91abf770aa082e5bb7c73612b9e50c7e6ce6a40bb8a412530febfe865c7251b715b7281c0117c87b9
7
- data.tar.gz: e79c311358851e511701b64d3e2c5d1465dc772a9964fd9c0e2516a715b1f2e91800084182e0f181fc50c280934893ad31e35646d269f540b74c1b2b6bb7bd9c
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
- # kill -9 the first running puma process. Bails out of SystemStackError (stack level too deep).
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveDeveloper
2
- VERSION = '0.4.4'.freeze
2
+ VERSION = '0.4.5'.freeze
3
3
  end
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
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-02 00:00:00.000000000 Z
11
+ date: 2019-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails