gnar-style 0.8.0 → 0.13.0

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
  SHA256:
3
- metadata.gz: a392aa51cff85f5dc428ba6d4cbd68e1049518e02016facae1bc8110213f0331
4
- data.tar.gz: a369237591784580807ffb55edeaae9948057647cc3008d2eac6f3c5f8a31147
3
+ metadata.gz: 918763787c52c61f373920710de659f4f5ba617d2295bc4bde0c5122340520e1
4
+ data.tar.gz: bfe0184c5de92fdc845c460678c682fc36327c559d04a47f232b775f6bcbae51
5
5
  SHA512:
6
- metadata.gz: 45d677dd66300410f2963f5a57a185dc2ef9997abf2d39f7616ac0afb8ca3002166f174cd4f2db24599e7fca232530f26fbd6a963e9cb9fb5a9e912f1c6a77e8
7
- data.tar.gz: ad2edbed442087acc825586b7123ffd625a637aa25a4833bac67ee5600ab764d4bde94873cc6b3b7b9ed31d7e763e484c1e6f4663810a41f07843947b51b9776
6
+ metadata.gz: 74cf3f7fac863b424cd23335dad212e0d05c0c3478da62f0094a9c02fba8302b4586f927b2037e180ff4d737fe60385e67c08ad0c85c2aab6a00d94ad72d8aff
7
+ data.tar.gz: 9ac06bea17499b27a9e4a6f329bf338c3b510e0452bdb730f4d21415ef8db23ee284246a7f5d1b65456ddb508a87650df46f310cfde8a1fe3c3dafd2dc6e805d
@@ -19,10 +19,15 @@ jobs:
19
19
  # fallback to using the latest cache if no exact match is found
20
20
  - gnar-style-
21
21
 
22
+ # update bundler
23
+ - run:
24
+ name: Update bundler
25
+ command: gem uninstall bundler && gem install bundler
26
+
22
27
  # Bundle install dependencies
23
28
  - run:
24
29
  name: install dependencies
25
- command: bundle install --path vendor/bundle
30
+ command: bundle config set path 'vendor/bundle' && bundle install
26
31
 
27
32
  # Store bundle cache
28
33
  - save_cache:
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
@@ -1,5 +1,39 @@
1
1
  ## Current release (in development)
2
2
 
3
+ ## 0.13.0 - 2020-11-20
4
+
5
+ * Lock to major version of rubocop. [#52](https://github.com/TheGnarCo/gnar-style/pull/52)
6
+
7
+ [Kevin Murphy](https://github.com/kevin-j-m)
8
+
9
+ ## 0.12.0 - 2020-06-29
10
+
11
+ * Enable pending rules by default. [#50](https://github.com/TheGnarCo/gnar-style/pull/50)
12
+
13
+ [Kevin Murphy](https://github.com/kevin-j-m)
14
+
15
+ ## 0.11.0 - 2020-04-16
16
+
17
+ * Enable pending cops from rubocop version 0.80. [#49](https://github.com/TheGnarCo/gnar-style/pull/49)
18
+
19
+ [Dan Frenette](https://github.com/danfrenette)
20
+
21
+ ## 0.10.0 - 2020-01-06
22
+
23
+ * Rename Rename line length cop. [#45](https://github.com/TheGnarCo/gnar-style/pull/45)
24
+
25
+ [Zach Fletcher](https://github.com/zfletch)
26
+
27
+ * Check in Gemfile.lock. [#45](https://github.com/TheGnarCo/gnar-style/pull/45)
28
+
29
+ [Zach Fletcher](https://github.com/zfletch)
30
+
31
+ ## 0.9.0 - 2019-11-27
32
+
33
+ * Rename AlignArguments, AlignParameters, IndentFirstArrayElement cops. [#42](https://github.com/TheGnarCo/gnar-style/pull/42)
34
+
35
+ [Mike Stone](https://github.com/mikestone14)
36
+
3
37
  ## 0.8.0 - 2019-08-08
4
38
 
5
39
  * Include rubocop rails cops. [#41](https://github.com/TheGnarCo/gnar-style/pull/41)
@@ -0,0 +1,67 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gnar-style (0.13.0)
5
+ rubocop (>= 1.0.0, < 2.0)
6
+ rubocop-performance
7
+ rubocop-rails (~> 2.2.0)
8
+ thor
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ ast (2.4.1)
14
+ diff-lcs (1.3)
15
+ parallel (1.20.0)
16
+ parser (2.7.2.0)
17
+ ast (~> 2.4.1)
18
+ rack (2.2.3)
19
+ rainbow (3.0.0)
20
+ rake (13.0.1)
21
+ regexp_parser (1.8.2)
22
+ rexml (3.2.4)
23
+ rspec (3.9.0)
24
+ rspec-core (~> 3.9.0)
25
+ rspec-expectations (~> 3.9.0)
26
+ rspec-mocks (~> 3.9.0)
27
+ rspec-core (3.9.1)
28
+ rspec-support (~> 3.9.1)
29
+ rspec-expectations (3.9.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.9.0)
32
+ rspec-mocks (3.9.1)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.9.0)
35
+ rspec-support (3.9.2)
36
+ rubocop (1.3.1)
37
+ parallel (~> 1.10)
38
+ parser (>= 2.7.1.5)
39
+ rainbow (>= 2.2.2, < 4.0)
40
+ regexp_parser (>= 1.8)
41
+ rexml
42
+ rubocop-ast (>= 1.1.1)
43
+ ruby-progressbar (~> 1.7)
44
+ unicode-display_width (>= 1.4.0, < 2.0)
45
+ rubocop-ast (1.1.1)
46
+ parser (>= 2.7.1.5)
47
+ rubocop-performance (1.9.0)
48
+ rubocop (>= 0.90.0, < 2.0)
49
+ rubocop-ast (>= 0.4.0)
50
+ rubocop-rails (2.2.1)
51
+ rack (>= 1.1)
52
+ rubocop (>= 0.72.0)
53
+ ruby-progressbar (1.10.1)
54
+ thor (1.0.1)
55
+ unicode-display_width (1.7.0)
56
+
57
+ PLATFORMS
58
+ ruby
59
+
60
+ DEPENDENCIES
61
+ bundler (~> 2.1)
62
+ gnar-style!
63
+ rake (~> 13.0)
64
+ rspec (~> 3.0)
65
+
66
+ BUNDLED WITH
67
+ 2.1.4
@@ -1,6 +1,7 @@
1
1
  * Checkout master: `git checkout master`.
2
2
  * Get latest: `git pull --rebase origin master`
3
3
  * Bump version number in `lib/gnar-style/version.rb`.
4
+ * Run `bundle install` to ensure the version bump takes in the `Gemfile.lock` file.
4
5
  * Update the [CHANGELOG](CHANGELOG.md), moving the current release work to under the version number.
5
6
  * Create a commit, including the version number in the commit message: `git add
6
7
  --all && git commit -m "Version x.y.z"`.
@@ -19,12 +19,12 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "rubocop", "~> 0.72"
22
+ spec.add_dependency "rubocop", ">= 1.0.0", "< 2.0"
23
23
  spec.add_dependency "rubocop-performance"
24
24
  spec.add_dependency "rubocop-rails", "~> 2.2.0"
25
25
  spec.add_dependency "thor"
26
26
 
27
- spec.add_development_dependency "bundler", "~> 1.14"
28
- spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "bundler", "~> 2.1"
28
+ spec.add_development_dependency "rake", "~> 13.0"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
30
30
  end
@@ -1,5 +1,5 @@
1
1
  module Gnar
2
2
  module Style
3
- VERSION = "0.8.0".freeze
3
+ VERSION = "0.13.0".freeze
4
4
  end
5
5
  end
@@ -1,12 +1,15 @@
1
+ AllCops:
2
+ NewCops: enable
3
+
1
4
  require: rubocop-performance
2
5
 
3
- Layout/AlignArguments:
6
+ Layout/ArgumentAlignment:
4
7
  EnforcedStyle: with_fixed_indentation
5
8
 
6
- Layout/AlignParameters:
9
+ Layout/ParameterAlignment:
7
10
  EnforcedStyle: with_fixed_indentation
8
11
 
9
- Layout/IndentFirstArrayElement:
12
+ Layout/FirstArrayElementIndentation:
10
13
  EnforcedStyle: consistent
11
14
 
12
15
  Layout/MultilineMethodCallIndentation:
@@ -16,7 +19,7 @@ Metrics/BlockLength:
16
19
  Exclude:
17
20
  - 'spec/**/*'
18
21
 
19
- Metrics/LineLength:
22
+ Layout/LineLength:
20
23
  Max: 100
21
24
  Severity: refactor
22
25
 
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnar-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Gnar Company
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-08 00:00:00.000000000 Z
11
+ date: 2020-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '0.72'
22
+ version: '2.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.0
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.72'
32
+ version: '2.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rubocop-performance
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +78,28 @@ dependencies:
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '1.14'
81
+ version: '2.1'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '1.14'
88
+ version: '2.1'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: rake
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
93
  - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: '10.0'
95
+ version: '13.0'
90
96
  type: :development
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
100
  - - "~>"
95
101
  - !ruby/object:Gem::Version
96
- version: '10.0'
102
+ version: '13.0'
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: rspec
99
105
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +114,7 @@ dependencies:
108
114
  - - "~>"
109
115
  - !ruby/object:Gem::Version
110
116
  version: '3.0'
111
- description:
117
+ description:
112
118
  email:
113
119
  - hi@thegnar.co
114
120
  executables:
@@ -123,6 +129,7 @@ files:
123
129
  - CHANGELOG.md
124
130
  - CODE_OF_CONDUCT.md
125
131
  - Gemfile
132
+ - Gemfile.lock
126
133
  - LICENSE
127
134
  - README.md
128
135
  - RELEASE_PROCESS.md
@@ -141,7 +148,7 @@ homepage: https://github.com/TheGnarCo/gnar-style
141
148
  licenses:
142
149
  - MIT
143
150
  metadata: {}
144
- post_install_message:
151
+ post_install_message:
145
152
  rdoc_options: []
146
153
  require_paths:
147
154
  - lib
@@ -156,8 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
163
  - !ruby/object:Gem::Version
157
164
  version: '0'
158
165
  requirements: []
159
- rubygems_version: 3.0.4
160
- signing_key:
166
+ rubygems_version: 3.1.4
167
+ signing_key:
161
168
  specification_version: 4
162
169
  summary: Style guide default configuration for The Gnar Company
163
170
  test_files: []