Skip to content

Commit 46b5ad5

Browse files
committed
Update Causes references to Brigade
This repository is now maintained by Brigade, and is hosted under the `brigade` GitHub organization. Change-Id: I3b4fe0205ab638c4a07412da1f33816092515248
1 parent 972700c commit 46b5ad5

File tree

8 files changed

+23
-27
lines changed

8 files changed

+23
-27
lines changed

CHANGELOG.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,7 @@
286286
post-checkout `BundleCheck` hook
287287
* Add support for hook plugin signature verification so that you don't
288288
automatically execute repo-specific hooks that changed since you last
289-
ran them. See [Security](https://github.com/causes/overcommit#security)
290-
for more information
289+
ran them. See [Security](README.md#security) for more information
291290
* Automatically update `overcommit-hook` master hook and any other symlinks
292291
before hook run. Run `overcommit --install` if you're upgrading to save
293292
you from having to run `overcommit --install` in the future
@@ -372,7 +371,7 @@
372371
## 0.2.6
373372

374373
* Added check for linting HAML files with
375-
[haml-lint](https://github.com/causes/haml-lint)
374+
[haml-lint](https://github.com/brigade/haml-lint)
376375

377376
## 0.2.5
378377

MIT-LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Copyright (c) 2013-2015 Causes Engineering, Aiden Scandella, Shane da Silva
2-
https://www.causes.com/
1+
Copyright (c) 2013-2015 Brigade Engineering, Aiden Scandella, Shane da Silva
2+
https://www.brigade.com/
33

44
Permission is hereby granted, free of charge, to any person obtaining
55
a copy of this software and associated documentation files (the

README.md

+10-13
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[![Gem Version](https://badge.fury.io/rb/overcommit.svg)](https://badge.fury.io/rb/overcommit)
2-
[![Build Status](https://travis-ci.org/causes/overcommit.svg)](https://travis-ci.org/causes/overcommit)
3-
[![Coverage Status](https://coveralls.io/repos/causes/overcommit/badge.svg)](https://coveralls.io/r/causes/overcommit)
4-
[![Code Climate](https://codeclimate.com/github/causes/overcommit.png)](https://codeclimate.com/github/causes/overcommit)
5-
[![Dependency Status](https://gemnasium.com/causes/overcommit.svg)](https://gemnasium.com/causes/overcommit)
6-
[![Inline docs](http://inch-ci.org/github/causes/overcommit.svg?branch=master)](http://inch-ci.org/github/causes/overcommit)
2+
[![Build Status](https://travis-ci.org/brigade/overcommit.svg)](https://travis-ci.org/brigade/overcommit)
3+
[![Coverage Status](https://coveralls.io/repos/brigade/overcommit/badge.svg)](https://coveralls.io/r/brigade/overcommit)
4+
[![Code Climate](https://codeclimate.com/github/brigade/overcommit.png)](https://codeclimate.com/github/brigade/overcommit)
5+
[![Dependency Status](https://gemnasium.com/brigade/overcommit.svg)](https://gemnasium.com/brigade/overcommit)
6+
[![Inline docs](http://inch-ci.org/github/brigade/overcommit.svg?branch=master)](http://inch-ci.org/github/brigade/overcommit)
77

88
# Overcommit
99

@@ -12,10 +12,7 @@
1212

1313
In addition to supporting a wide variety of hooks that can be used across
1414
multiple repositories, you can also define hooks specific to a
15-
repository (but unlike regular Git hooks, are stored with that repository).
16-
17-
[Read more](http://causes.github.io/blog/2013/05/30/overcommit-the-opinionated-git-hook-manager/)
18-
about Overcommit on our [engineering blog](http://causes.github.io).
15+
repository (but unlike regular Git hooks, are stored in source control).
1916

2017
* [Requirements](#requirements)
2118
* [Dependencies](#dependencies)
@@ -46,7 +43,7 @@ This project aims to support the following Ruby runtimes:
4643

4744
Some of the hooks have third-party dependencies. For example, to lint your
4845
[SCSS](http://sass-lang.com/) files, you're going to need our
49-
[scss-lint gem](https://github.com/causes/scss-lint).
46+
[scss-lint gem](https://github.com/brigade/scss-lint).
5047

5148
Depending on the hooks you enable/disable for your repository, you'll need to
5249
ensure your development environment already has those dependencies installed.
@@ -246,16 +243,16 @@ Currently, Overcommit supports `commit-msg`, `pre-commit`, `post-checkout`,
246243
expanded to support others.
247244

248245
You can see the full list of hooks by checking out the
249-
[hooks directory](https://github.com/causes/overcommit/blob/master/lib/overcommit/hook),
250-
and view their [default configuration](config/default.yml).
246+
[hooks directory](lib/overcommit/hook), and view their
247+
[default configuration](config/default.yml).
251248

252249
## Repo-Specific hooks
253250

254251
Out of the box, `overcommit` comes with a set of hooks that enforce a variety of
255252
styles and lints. However, some hooks only make sense in the context of a given
256253
repository.
257254

258-
At Causes, for example, we have a number of ad hoc Ruby checks that we run
255+
At Brigade, for example, we have a number of ad hoc Ruby checks that we run
259256
against our code to catch common errors. For example, since we use
260257
[RSpec](http://rspec.info/), we want to make sure all spec files contain the
261258
line `require 'spec_helper'`.

config/default.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugin_directory: '.git-hooks'
1111
# Whether to check if a hook plugin has changed since Overcommit last ran it.
1212
# This is a defense mechanism when working with repositories which can contain
1313
# untrusted code (e.g. when you fetch a pull request from a third party).
14-
# See https://github.com/causes/overcommit#security for more information.
14+
# See https://github.com/brigade/overcommit#security for more information.
1515
verify_plugin_signatures: true
1616

1717
# Hooks that are run against every commit message after a user has written it.

config/starter.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Use this file to configure the Overcommit hooks you wish to use. This will
22
# extend the default configuration defined in:
3-
# https://github.com/causes/overcommit/blob/master/config/default.yml
3+
# https://github.com/brigade/overcommit/blob/master/config/default.yml
44
#
55
# At the topmost level of this YAML file is a key representing type of hook
66
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
77
# customize each hook, such as whether to only run it on certain files (via
88
# `include`), whether to only display output if it fails (via `quiet`), etc.
99
#
1010
# For a complete list of hooks, see:
11-
# https://github.com/causes/overcommit/tree/master/lib/overcommit/hook
11+
# https://github.com/brigade/overcommit/tree/master/lib/overcommit/hook
1212
#
1313
# For a complete list of options that you can use to customize hooks, see:
14-
# https://github.com/causes/overcommit#configuration
14+
# https://github.com/brigade/overcommit#configuration
1515
#
1616
# Uncomment the following lines to make the configuration take effect.
1717

lib/overcommit/constants.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module Overcommit
33
OVERCOMMIT_HOME = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
44
OVERCOMMIT_CONFIG_FILE_NAME = '.overcommit.yml'
55

6-
REPO_URL = 'https://github.com/causes/overcommit'
6+
REPO_URL = 'https://github.com/brigade/overcommit'
77
BUG_REPORT_URL = "#{REPO_URL}/issues"
88
end

overcommit.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
88
s.license = 'MIT'
99
s.summary = 'Git hook manager'
1010
s.description = 'Utility to install, configure, and extend Git hooks'
11-
s.authors = ['Causes Engineering', 'Shane da Silva']
12-
s.email = ['eng@causes.com', 'shane@causes.com']
11+
s.authors = ['Brigade Engineering', 'Shane da Silva']
12+
s.email = ['eng@brigade.com', 'shane.dasilva@brigade.com']
1313
s.homepage = Overcommit::REPO_URL
1414
s.post_install_message =
1515
'Install hooks by running `overcommit --install` in your Git repository'

spec/overcommit/hook/pre_commit/author_email_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
super().merge(Overcommit::Configuration.new(
3535
'PreCommit' => {
3636
'AuthorEmail' => {
37-
'pattern' => '^[^@]+@causes\.com$'
37+
'pattern' => '^[^@]+@brigade\.com$'
3838
}
3939
}
4040
))
@@ -47,7 +47,7 @@
4747
end
4848

4949
context 'and the email matches the pattern' do
50-
let(:email) { 'email@causes.com' }
50+
let(:email) { 'email@brigade.com' }
5151

5252
it { should pass }
5353
end

0 commit comments

Comments
 (0)