percy-style 0.5.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/default.yml +10 -7
- data/lib/percy/style/version.rb +1 -1
- data/percy-style.gemspec +6 -4
- metadata +11 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba2c7befc0dec4f8879658d3c37726f2657493c391d1e5f8eb60d645864cdb6b
|
4
|
+
data.tar.gz: a2715a04d561ea657b8e574d77e96c3c91216314323bc7bc464aab02d12a3f84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7424d42f32350aee207ab5dd2c5aef22a87503a2cac7915452cebace8c8932b08492b9b52e4ff90ef2c8c3b0946198ecc84160a66b29304fa4901316b005cda5
|
7
|
+
data.tar.gz: 98f7d533d3abeca9bf44a9d81ae60968103a219154620f4902f5371198af68fa4145fbdedb2805c2edf735b01ec7188a66d9569d4eaabe2d899742d9ab639c3e
|
data/default.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require: rubocop-rspec
|
2
2
|
|
3
3
|
AllCops:
|
4
|
-
TargetRubyVersion: 2.
|
4
|
+
TargetRubyVersion: 2.7
|
5
5
|
Include:
|
6
6
|
- Rakefile
|
7
7
|
- lib/**/*.rake
|
@@ -12,7 +12,10 @@ AllCops:
|
|
12
12
|
Bundler/OrderedGems:
|
13
13
|
Enabled: false
|
14
14
|
|
15
|
-
Layout/
|
15
|
+
Layout/ArgumentAlignment:
|
16
|
+
EnforcedStyle: with_fixed_indentation
|
17
|
+
|
18
|
+
Layout/ParameterAlignment:
|
16
19
|
EnforcedStyle: with_fixed_indentation
|
17
20
|
|
18
21
|
Layout/CaseIndentation:
|
@@ -21,7 +24,7 @@ Layout/CaseIndentation:
|
|
21
24
|
Layout/EndAlignment:
|
22
25
|
EnforcedStyleAlignWith: variable
|
23
26
|
|
24
|
-
Layout/
|
27
|
+
Layout/FirstArrayElementIndentation:
|
25
28
|
EnforcedStyle: consistent
|
26
29
|
|
27
30
|
Layout/MultilineMethodCallIndentation:
|
@@ -33,6 +36,9 @@ Layout/MultilineOperationIndentation:
|
|
33
36
|
Layout/SpaceInsideHashLiteralBraces:
|
34
37
|
EnforcedStyle: no_space
|
35
38
|
|
39
|
+
Layout/LineLength:
|
40
|
+
Max: 100
|
41
|
+
|
36
42
|
# This seems to break some require lines somehow:
|
37
43
|
Layout/EmptyLinesAroundArguments:
|
38
44
|
Enabled: false
|
@@ -41,9 +47,6 @@ Lint/RescueException:
|
|
41
47
|
Exclude:
|
42
48
|
- 'lib/tasks/*.rake'
|
43
49
|
|
44
|
-
Metrics/LineLength:
|
45
|
-
Max: 100
|
46
|
-
|
47
50
|
Metrics/AbcSize:
|
48
51
|
Enabled: false
|
49
52
|
|
@@ -71,7 +74,7 @@ Metrics/BlockLength:
|
|
71
74
|
Naming/FileName:
|
72
75
|
Exclude: ['Gemfile', 'Guardfile']
|
73
76
|
|
74
|
-
Naming/
|
77
|
+
Naming/MethodParameterName:
|
75
78
|
Enabled: false
|
76
79
|
|
77
80
|
Style/AccessModifierDeclarations:
|
data/lib/percy/style/version.rb
CHANGED
data/percy-style.gemspec
CHANGED
@@ -28,8 +28,10 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
|
-
|
32
|
-
|
33
|
-
spec.
|
34
|
-
spec.
|
31
|
+
# Handle Ruby 2.7 forward arguments properly in rubocop v0.79.0
|
32
|
+
# https://github.com/rubocop/rubocop/pull/7605
|
33
|
+
spec.add_dependency "rubocop", "~> 0.80"
|
34
|
+
spec.add_dependency "rubocop-rspec", "~> 1.37.0"
|
35
|
+
spec.add_development_dependency "bundler", "~> 2.3"
|
36
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
35
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: percy-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Team Percy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: '0.80'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: '0.80'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.37.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.37.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '13.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '13.0'
|
69
69
|
description:
|
70
70
|
email:
|
71
71
|
- team@percy.io
|
@@ -103,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
|
107
|
-
rubygems_version: 2.7.7
|
106
|
+
rubygems_version: 3.0.3.1
|
108
107
|
signing_key:
|
109
108
|
specification_version: 4
|
110
109
|
summary: Percy style guides and shared style configs.
|