boxt_ruby_style_guide 2.0.0 → 2.1.0
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
- data/.circleci/config.yml +2 -2
- data/Gemfile.lock +5 -5
- data/README.md +7 -25
- data/VERSION +1 -1
- data/boxt_ruby_style_guide.gemspec +3 -3
- metadata +4 -5
- data/.ruby-gemset +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 174549f9d1f86e829f272742ea8ea107e882ff21305417a55f571ca4e089b38f
|
|
4
|
+
data.tar.gz: 40f07f85214aeb509d01ae66bc55f7207bace9f714eb6ef0d2209f0538b0dbce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28d3424a176e8bea45bb44abc6a4f6e6b478afa3a92c09902becd798b7365f4b371351a67fec92fde9216973754cb100c33e118d795150c71c4ffe4bfde3b0d2
|
|
7
|
+
data.tar.gz: 13fac1b23170a569f293a295200fa6ee418a70049015932a567011124029e9121c8e4679a6a4390f8121fed39c64f867eb78bc86ad5cb2bd5b8c2e5029dc5eae
|
data/.circleci/config.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
jobs:
|
|
3
3
|
build:
|
|
4
|
-
parallelism:
|
|
4
|
+
parallelism: 1
|
|
5
5
|
docker:
|
|
6
6
|
- image: circleci/ruby:2.5.3
|
|
7
7
|
environment:
|
|
@@ -24,6 +24,6 @@ jobs:
|
|
|
24
24
|
- vendor/bundle
|
|
25
25
|
- run:
|
|
26
26
|
name: Run tests
|
|
27
|
-
command: bundle exec rake test | circleci tests split --split-by=timings
|
|
27
|
+
command: bundle exec rake test | circleci tests split --split-by=timings
|
|
28
28
|
- store_test_results:
|
|
29
29
|
path: test_results
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
boxt_ruby_style_guide (2.
|
|
4
|
+
boxt_ruby_style_guide (2.1.0)
|
|
5
5
|
reek (~> 5.3, >= 5.3.0)
|
|
6
6
|
rubocop (~> 0.63.1)
|
|
7
7
|
|
|
@@ -25,7 +25,7 @@ GEM
|
|
|
25
25
|
equalizer (0.0.11)
|
|
26
26
|
ice_nine (0.11.2)
|
|
27
27
|
jaro_winkler (1.5.2)
|
|
28
|
-
json (2.
|
|
28
|
+
json (2.2.0)
|
|
29
29
|
kwalify (0.7.2)
|
|
30
30
|
minitest (5.11.3)
|
|
31
31
|
minitest-fail-fast (0.1.0)
|
|
@@ -41,14 +41,14 @@ GEM
|
|
|
41
41
|
minitest (>= 5.0)
|
|
42
42
|
ruby-progressbar
|
|
43
43
|
os (1.0.0)
|
|
44
|
-
parallel (1.
|
|
45
|
-
parser (2.6.
|
|
44
|
+
parallel (1.16.0)
|
|
45
|
+
parser (2.6.2.0)
|
|
46
46
|
ast (~> 2.4.0)
|
|
47
47
|
powerpack (0.1.2)
|
|
48
48
|
psych (3.1.0)
|
|
49
49
|
rainbow (3.0.0)
|
|
50
50
|
rake (12.3.2)
|
|
51
|
-
reek (5.3.
|
|
51
|
+
reek (5.3.2)
|
|
52
52
|
codeclimate-engine-rb (~> 0.4.0)
|
|
53
53
|
kwalify (~> 0.7.0)
|
|
54
54
|
parser (>= 2.5.0.0, < 2.7, != 2.5.1.1)
|
data/README.md
CHANGED
|
@@ -4,15 +4,11 @@ Ruby style guide info for the BOXT projects, as well as config settings for Rubo
|
|
|
4
4
|
|
|
5
5
|
For the most part we are using [this Ruby style guide](https://github.com/bbatsov/ruby-style-guide) as our base guide, with any deviations can be found in the `default.yml` for this project.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
We are now using Gemfury to host all our private packages. Please ensure you have added your private repo URL from Gemfury to the application's Gemfile, example:
|
|
7
|
+
[](https://circleci.com/gh/boxt/boxt_ruby_style_guide)
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
source 'https://qVz5xDENYkkuVWQ37cb5@gem.fury.io/boxt/'
|
|
13
|
-
```
|
|
9
|
+
## Installation
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
Add this line to your application's Gemfile:
|
|
16
12
|
|
|
17
13
|
```ruby
|
|
18
14
|
group :development, :test do
|
|
@@ -83,24 +79,10 @@ RubyMine:
|
|
|
83
79
|
* reek - Doesn't appear to be editor integration
|
|
84
80
|
* [rubocop](https://www.jetbrains.com/help/ruby/rubocop.html)
|
|
85
81
|
|
|
86
|
-
##
|
|
87
|
-
|
|
88
|
-
The version of the engine should be set in the `VERSION` file found in the root of the project. This is then read by the `lib/boxt/ruby/style/guide/core/version.rb` file to set in the engine.
|
|
89
|
-
|
|
90
|
-
If you are using [Git Flow AVH](https://github.com/petervanderdoes/gitflow-avh) and the default [Git Flow Hooks](https://github.com/jaspernbrouwer/git-flow-hooks) then the `VERSION` file will be updated automatically when creating a 'release' or 'hotfix' tag.
|
|
82
|
+
## Contributing
|
|
91
83
|
|
|
92
|
-
|
|
84
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/boxt/logga.
|
|
93
85
|
|
|
94
|
-
|
|
86
|
+
## License
|
|
95
87
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
```sh
|
|
99
|
-
git remote add fury https://YOUR_USRNAME_HERE@git.fury.io/boxt/boxt_ruby_style_guide.git
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
And then push the new code to Gemfury:
|
|
103
|
-
|
|
104
|
-
```sh
|
|
105
|
-
git push fury master
|
|
106
|
-
```
|
|
88
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.1.0
|
|
@@ -6,11 +6,12 @@ lib = File.expand_path("../lib", __FILE__)
|
|
|
6
6
|
# rubocop:enable Style/ExpandPathArguments
|
|
7
7
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
8
8
|
require "boxt_ruby_style_guide/version"
|
|
9
|
+
|
|
9
10
|
Gem::Specification.new do |spec|
|
|
10
|
-
spec.authors = ["
|
|
11
|
+
spec.authors = ["Boxt"]
|
|
11
12
|
spec.description = "Ruby styleguide info for the BOXT projects, as well as"\
|
|
12
13
|
"config settings for Rubocop"
|
|
13
|
-
spec.email = ["
|
|
14
|
+
spec.email = ["developers@boxt.co.uk"]
|
|
14
15
|
spec.homepage = "https://github.com/boxt/ruby-style-guide"
|
|
15
16
|
spec.license = "MIT"
|
|
16
17
|
spec.name = "boxt_ruby_style_guide"
|
|
@@ -36,4 +37,3 @@ Gem::Specification.new do |spec|
|
|
|
36
37
|
spec.add_development_dependency "rake", "~> 12.3", ">= 12.3.2"
|
|
37
38
|
spec.add_development_dependency "simplecov", "~> 0.16.1"
|
|
38
39
|
end
|
|
39
|
-
# rubocop:enable Metrics/BlockLength
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: boxt_ruby_style_guide
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Boxt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: reek
|
|
@@ -169,7 +169,7 @@ dependencies:
|
|
|
169
169
|
description: Ruby styleguide info for the BOXT projects, as well asconfig settings
|
|
170
170
|
for Rubocop
|
|
171
171
|
email:
|
|
172
|
-
-
|
|
172
|
+
- developers@boxt.co.uk
|
|
173
173
|
executables: []
|
|
174
174
|
extensions: []
|
|
175
175
|
extra_rdoc_files: []
|
|
@@ -177,7 +177,6 @@ files:
|
|
|
177
177
|
- ".circleci/config.yml"
|
|
178
178
|
- ".gitignore"
|
|
179
179
|
- ".rubocop.yml"
|
|
180
|
-
- ".ruby-gemset"
|
|
181
180
|
- ".ruby-version"
|
|
182
181
|
- ".travis.yml"
|
|
183
182
|
- Gemfile
|
data/.ruby-gemset
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
boxt-ruby-style-guide
|