rubocop_coffeeandcode 0.0.1.beta2 → 0.0.1
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +14 -1
- data/README.md +18 -6
- data/Rakefile +11 -6
- data/bin/release +8 -0
- data/config/default.yml +1 -1
- data/lib/rubocop_coffeeandcode/version.rb +1 -1
- metadata +5 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32ced71b33f60a97b38905bf0c76e325a202abba941b87cdffa887e34d7a7b7e
|
4
|
+
data.tar.gz: 16700dc8b9e23a0e9b322239fad798450f87a47917586876a1003140148d79d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ad90a3439598e1c8ea8e8d90ebe2afc04d7a42dd12d2f07429c0e0c4039dcdeac9321898644fb225d251c2f845214c8a1ea380172b3cffa6ca5a7e6d509efe7
|
7
|
+
data.tar.gz: f436f8d823b826d620b6b5644faa7dc3346d5440887964902a48940f0f5756cb21905fadddabae769c37f36ce3114bffbba1ee6b54da9d2e6283b4f352875656
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
5
5
|
|
6
6
|
## [unreleased]
|
7
7
|
|
8
|
+
## [0.0.1] - 2018-04-20
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
* Info about `inherit_mode` to allow exclusions from included configs.
|
13
|
+
* New `bin/release` script to make sure tests are ran before release.
|
14
|
+
* Add git commit with checksums as part of release task.
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
|
18
|
+
* Increase max line length to 120 characters from 100.
|
19
|
+
|
8
20
|
## [0.0.1.beta2] - 2018-03-24
|
9
21
|
|
10
22
|
### Fixed
|
@@ -19,6 +31,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
19
31
|
|
20
32
|
* Initial version of the gem.
|
21
33
|
|
22
|
-
[unreleased]: https://github.com/CoffeeAndCode/rubocop_coffeeandcode/compare/v0.0.1
|
34
|
+
[unreleased]: https://github.com/CoffeeAndCode/rubocop_coffeeandcode/compare/v0.0.1...HEAD
|
35
|
+
[0.0.1]: https://github.com/CoffeeAndCode/rubocop_method_order/compare/v0.0.1.beta1...v0.0.1
|
23
36
|
[0.0.1.beta2]: https://github.com/CoffeeAndCode/rubocop_method_order/compare/v0.0.1.beta1...v0.0.1.beta2
|
24
37
|
[0.0.1.beta1]: https://github.com/CoffeeAndCode/rubocop_coffeeandcode/releases/tag/v0.0.1.beta1
|
data/README.md
CHANGED
@@ -15,7 +15,9 @@ gem cert --add <(curl -Ls https://raw.github.com/CoffeeAndCode/rubocop_coffeeand
|
|
15
15
|
Then, add this line to your application's Gemfile:
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
|
18
|
+
group :development, :test do
|
19
|
+
gem 'rubocop_coffeeandcode'
|
20
|
+
end
|
19
21
|
```
|
20
22
|
|
21
23
|
And then execute:
|
@@ -39,7 +41,11 @@ inherit_gem:
|
|
39
41
|
- config/default.yml
|
40
42
|
- config/rails.yml
|
41
43
|
|
42
|
-
|
44
|
+
inherit_mode:
|
45
|
+
merge:
|
46
|
+
- Exclude
|
47
|
+
|
48
|
+
# the rest of your app's custom config...
|
43
49
|
```
|
44
50
|
|
45
51
|
## Development
|
@@ -53,10 +59,16 @@ To install this gem onto your local machine, run `bundle exec rake install`.
|
|
53
59
|
Make sure that the project has no errors when running `bundle exec rake` which
|
54
60
|
will run `rubocop` on the project source and `bundle exec rake test`.
|
55
61
|
|
56
|
-
To release a new version, update the version number in `lib/rubocop_coffeeandcode/version.rb` and run `
|
57
|
-
|
58
|
-
|
59
|
-
|
62
|
+
To release a new version, update the version number in `lib/rubocop_coffeeandcode/version.rb` and run `bin/release`, which will do
|
63
|
+
the following:
|
64
|
+
|
65
|
+
* run tests
|
66
|
+
* run linters
|
67
|
+
* create a git tag for the version
|
68
|
+
* push git commits and tags
|
69
|
+
* push the `.gem` file to [rubygems.org][2]
|
70
|
+
* create checksums of new version
|
71
|
+
* create new git commit that adds new checksum files to the repo
|
60
72
|
|
61
73
|
## Contributing
|
62
74
|
|
data/Rakefile
CHANGED
@@ -11,19 +11,24 @@ Rake::TestTask.new(:test) do |t|
|
|
11
11
|
end
|
12
12
|
RuboCop::RakeTask.new
|
13
13
|
|
14
|
-
|
14
|
+
task default: [:test, :rubocop]
|
15
|
+
|
16
|
+
desc 'Generate checksum files for current gem version.'
|
17
|
+
task :checksum do |_task|
|
15
18
|
require 'digest/sha2'
|
16
19
|
require_relative './lib/rubocop_coffeeandcode/version'
|
17
20
|
|
18
|
-
|
21
|
+
gem_filename = "rubocop_coffeeandcode-#{RuboCopCoffeeAndCode.gem_version}.gem"
|
22
|
+
built_gem_path = "pkg/#{gem_filename}"
|
19
23
|
|
20
24
|
checksum = Digest::SHA256.new.hexdigest(File.read(built_gem_path))
|
21
|
-
checksum_path = "checksums
|
25
|
+
checksum_path = "checksums/#{gem_filename}.sha256"
|
22
26
|
File.open(checksum_path, 'w') { |file| file.write(checksum) }
|
23
27
|
|
24
28
|
checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
|
25
|
-
checksum_path = "checksums
|
29
|
+
checksum_path = "checksums/#{gem_filename}.sha512"
|
26
30
|
File.open(checksum_path, 'w') { |file| file.write(checksum) }
|
27
|
-
end
|
28
31
|
|
29
|
-
|
32
|
+
`git add checksums/#{gem_filename}*`
|
33
|
+
`git commit -m 'Add checksums for v#{RuboCopCoffeeAndCode.gem_version}'`
|
34
|
+
end
|
data/bin/release
ADDED
data/config/default.yml
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_coffeeandcode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Knapp
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
XxvXYAfIUSbb6/CHtemZT4zsEprRuk8eADIYUTMyAt9d2roTcsRKgq20m+PZO+b+
|
35
35
|
DVnSbPSTRxaM+9Hds4CAzdoo5hIiLyvSXSqSRGgQEMT0yiFdK+6kRw==
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date: 2018-
|
37
|
+
date: 2018-04-20 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: rubocop
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- README.md
|
122
122
|
- Rakefile
|
123
123
|
- bin/console
|
124
|
+
- bin/release
|
124
125
|
- bin/setup
|
125
126
|
- certs/coffeeandcode.pem
|
126
127
|
- config/default.yml
|
@@ -144,9 +145,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
145
|
version: 2.4.0
|
145
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
147
|
requirements:
|
147
|
-
- - "
|
148
|
+
- - ">="
|
148
149
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
150
|
+
version: '0'
|
150
151
|
requirements: []
|
151
152
|
rubyforge_project:
|
152
153
|
rubygems_version: 2.7.3
|
metadata.gz.sig
CHANGED
Binary file
|