zapwhite 2.10.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE.md +47 -0
- data/.travis.yml +0 -1
- data/CONTRIBUTING.md +27 -10
- data/README.md +1 -1
- data/lib/reality/zapwhite.rb +5 -0
- data/zapwhite.gemspec +1 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa52754370630dbc5658dd153e3ded711c85ae25
|
4
|
+
data.tar.gz: d46925cf270b99f4947dbf19c5e6bb3e9c139701
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 998e44dd82eb05285330ba40a02043df0bd92688095c0a8ab85662dc3e9bca4d9de231d2683aa54307ad3a8581bb7aa95039a15f5ae0b41cb421f02ddfb40453
|
7
|
+
data.tar.gz: aeedac15704a869d5b86a617889bd022858f045d95008085db318ff33873c433fcf7f9e6da23587a8aa8ef704c3965312c5bcdaae48002008977d4c5da7dcd4b
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<!--
|
2
|
+
Thanks for your interest in the project. I appreciate bugs filed and PRs submitted!
|
3
|
+
Please make sure that you are familiar with and follow the Code of Conduct for
|
4
|
+
this project (found in the CODE_OF_CONDUCT.md file).
|
5
|
+
|
6
|
+
Please fill out this template with all the relevant information so we can
|
7
|
+
understand what's going on and fix the issue.
|
8
|
+
|
9
|
+
I may ask you to submit the fix (after giving some direction).
|
10
|
+
-->
|
11
|
+
|
12
|
+
Environment:
|
13
|
+
|
14
|
+
<!--
|
15
|
+
Please provide the version of this project where the issue occurred as well as the
|
16
|
+
versions of other environmental factors. This could be virtual machine version, os
|
17
|
+
version, browser version etc.
|
18
|
+
-->
|
19
|
+
|
20
|
+
Relevant code or config:
|
21
|
+
|
22
|
+
```
|
23
|
+
|
24
|
+
```
|
25
|
+
|
26
|
+
What you did:
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
What happened:
|
31
|
+
|
32
|
+
<!-- Please provide the full error message/screenshots/anything -->
|
33
|
+
|
34
|
+
Reproduction repository:
|
35
|
+
|
36
|
+
<!--
|
37
|
+
If possible, please create a repository that reproduces the issue with the
|
38
|
+
minimal amount of code possible. It is highly recommended you take the time
|
39
|
+
to read "How to create a Minimal, Complete, and Verifiable example" at
|
40
|
+
https://stackoverflow.com/help/mcve
|
41
|
+
-->
|
42
|
+
|
43
|
+
Problem description:
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
Suggested solution:
|
data/.travis.yml
CHANGED
data/CONTRIBUTING.md
CHANGED
@@ -1,19 +1,34 @@
|
|
1
1
|
# How to Contribute
|
2
2
|
|
3
|
-
|
3
|
+
We'd love to accept your patches and contributions to this project. Pull requests are part of
|
4
|
+
what makes open source great. There are just a few small guidelines you need to follow.
|
4
5
|
|
5
|
-
|
6
|
-
* Create your feature branch (`git checkout -b my-new-feature`)
|
7
|
-
* Commit your changes (`git commit -am 'Add some feature'`)
|
8
|
-
* Push to the branch (`git push origin my-new-feature`)
|
9
|
-
* Create new Pull Request
|
6
|
+
## Code of Conduct
|
10
7
|
|
11
|
-
|
8
|
+
Participation in this project comes under the [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md)
|
9
|
+
|
10
|
+
## Submitting code via Pull Requests
|
11
|
+
|
12
|
+
- We follow the [Github Pull Request Model](https://help.github.com/articles/about-pull-requests/) for
|
13
|
+
all contributions.
|
14
|
+
- For large bodies of work, we recommend creating an issue outlining the feature that you wish to build,
|
15
|
+
and describing how it will be implemented. This gives a chance for review to happen early, and ensures
|
16
|
+
no wasted effort occurs.
|
17
|
+
- All submissions, will require review before being merged.
|
18
|
+
- Finally - *Thanks* for considering submitting code to the project!
|
19
|
+
|
20
|
+
## Formatting
|
21
|
+
|
22
|
+
When submitting pull requests, make sure to do the following:
|
23
|
+
|
24
|
+
- Maintain the same code style as the rest of the project.
|
25
|
+
- Remove trailing whitespace. Many editors will do this automatically.
|
26
|
+
- Ensure any new files have [a trailing newline](https://stackoverflow.com/questions/5813311/no-newline-at-end-of-file)
|
12
27
|
|
13
28
|
## How to speed the merging of pull requests
|
14
29
|
|
15
|
-
* Describe your changes in the CHANGELOG.
|
16
|
-
* Give yourself some credit in the appropriate place (usually the CHANGELOG).
|
30
|
+
* Describe your changes in the CHANGELOG.md (if present).
|
31
|
+
* Give yourself some credit in the appropriate place (usually the CHANGELOG.md).
|
17
32
|
* Make commits of logical units.
|
18
33
|
* Ensure your commit messages help others understand what you are doing and why.
|
19
34
|
* Check for unnecessary whitespace with `git diff --check` before committing.
|
@@ -23,4 +38,6 @@ Pester us if we don't get your Pull Requests merged in a timely fashion. :)
|
|
23
38
|
## Additional Resources
|
24
39
|
|
25
40
|
* [General GitHub documentation](http://help.github.com/)
|
26
|
-
* [
|
41
|
+
* [How to write a good Git Commit message](https://chris.beams.io/posts/git-commit/) -
|
42
|
+
Great way to make sure your Pull Requests get accepted.
|
43
|
+
* [An Open Source Etiquette Guidebook](https://css-tricks.com/open-source-etiquette-guidebook/#article-header-id-1)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# zapwhite
|
2
2
|
|
3
|
-
[![Build Status](https://secure.travis-ci.org/realityforge/zapwhite.
|
3
|
+
[![Build Status](https://secure.travis-ci.org/realityforge/zapwhite.svg?branch=master)](http://travis-ci.org/realityforge/zapwhite)
|
4
4
|
|
5
5
|
A simple tool to normalize whitespace in git repositories. The tool:
|
6
6
|
|
data/lib/reality/zapwhite.rb
CHANGED
@@ -203,6 +203,11 @@ module Reality
|
|
203
203
|
|
204
204
|
attributes.text_rule('.node-version')
|
205
205
|
|
206
|
+
# Bazel defaults
|
207
|
+
attributes.text_rule('.bazelrc')
|
208
|
+
attributes.text_rule('BUILD')
|
209
|
+
attributes.text_rule('*.bzl')
|
210
|
+
|
206
211
|
# Ruby defaults
|
207
212
|
attributes.text_rule('Gemfile')
|
208
213
|
attributes.text_rule('*.gemspec')
|
data/zapwhite.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{zapwhite}
|
5
|
-
s.version = '2.
|
5
|
+
s.version = '2.11.0'
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
|
8
8
|
s.authors = ['Peter Donald']
|
@@ -15,10 +15,8 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.files = `git ls-files`.split("\n")
|
16
16
|
s.test_files = `git ls-files -- {spec}/*`.split("\n")
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
18
|
-
s.default_executable = []
|
19
18
|
s.require_paths = %w(lib)
|
20
19
|
|
21
|
-
s.has_rdoc = false
|
22
20
|
s.rdoc_options = %w(--line-numbers --inline-source --title zapwhite)
|
23
21
|
|
24
22
|
s.add_dependency 'gitattributes', '= 2.9.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zapwhite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Donald
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitattributes
|
@@ -60,6 +60,7 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".gitattributes"
|
63
|
+
- ".github/ISSUE_TEMPLATE.md"
|
63
64
|
- ".gitignore"
|
64
65
|
- ".ruby-version"
|
65
66
|
- ".travis.yml"
|