platform-style 0.1.0 → 0.1.3

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: f35dc127710c70afe6f56d7b3dbe80bfa5ae2e9df2c4af78e1a71c4af80e0527
4
- data.tar.gz: aa78a0cc65f48616d4250403474b160e47364ad9ca8c79ce99437cfe059054e4
3
+ metadata.gz: 7116a0a14568cc5d8ff3c0ea9c296962225f9b473ee2a8509ad2130c006f3bff
4
+ data.tar.gz: 91bac7b7fa245ef81c4f4968fbc71ed972aedb2181a5b77773d6b85ee982f4fa
5
5
  SHA512:
6
- metadata.gz: 577ce8210327bbca558c5d30be734070356a5861a7ef3d31472efb5239f29143ec02c0fdd1686795c35fa6226e99756e001f16c9da9c8a7fa86109bd1f2cb992
7
- data.tar.gz: 1c8207b59ba75a3604dba2295cbfeec983092adf8e1ef31394afbf810284c0e101b223422c670fe715596c4b20d4001ddbfbd29ec1f899e85d53763f2915b6f5
6
+ metadata.gz: 672883a2aa5bfae7dfca32a58b98203744e3a631c20cd206b1e6d827246958a8a7f973cf47c68bbc555e34f0adb7f38c421a6e7d9e48c051acc1836806651e24
7
+ data.tar.gz: ea3f3fd6a9c2a942f8ed27001947c60753742bdf556422ed677ccaa6f89861b1788086be76ce3e56cf697a19121028e400124a19a9927f4742fd99af9f591997
data/Gemfile.lock ADDED
@@ -0,0 +1,70 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ platform-style (0.1.3)
5
+ rubocop (~> 1.31)
6
+ rubocop-graphql (~> 0.14)
7
+ rubocop-performance (~> 1.14)
8
+ rubocop-rails (~> 2.15)
9
+ rubocop-rspec (~> 2.12)
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ activesupport (7.0.3.1)
15
+ concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ i18n (>= 1.6, < 2)
17
+ minitest (>= 5.1)
18
+ tzinfo (~> 2.0)
19
+ ast (2.4.2)
20
+ concurrent-ruby (1.1.10)
21
+ i18n (1.12.0)
22
+ concurrent-ruby (~> 1.0)
23
+ json (2.6.2)
24
+ minitest (5.16.2)
25
+ parallel (1.22.1)
26
+ parser (3.1.2.0)
27
+ ast (~> 2.4.1)
28
+ rack (2.2.4)
29
+ rainbow (3.1.1)
30
+ rake (13.0.6)
31
+ regexp_parser (2.5.0)
32
+ rexml (3.2.5)
33
+ rubocop (1.32.0)
34
+ json (~> 2.3)
35
+ parallel (~> 1.10)
36
+ parser (>= 3.1.0.0)
37
+ rainbow (>= 2.2.2, < 4.0)
38
+ regexp_parser (>= 1.8, < 3.0)
39
+ rexml (>= 3.2.5, < 4.0)
40
+ rubocop-ast (>= 1.19.1, < 2.0)
41
+ ruby-progressbar (~> 1.7)
42
+ unicode-display_width (>= 1.4.0, < 3.0)
43
+ rubocop-ast (1.19.1)
44
+ parser (>= 3.1.1.0)
45
+ rubocop-graphql (0.14.5)
46
+ rubocop (>= 0.87, < 2)
47
+ rubocop-performance (1.14.3)
48
+ rubocop (>= 1.7.0, < 2.0)
49
+ rubocop-ast (>= 0.4.0)
50
+ rubocop-rails (2.15.2)
51
+ activesupport (>= 4.2.0)
52
+ rack (>= 1.1)
53
+ rubocop (>= 1.7.0, < 2.0)
54
+ rubocop-rspec (2.12.1)
55
+ rubocop (~> 1.31)
56
+ ruby-progressbar (1.11.0)
57
+ tzinfo (2.0.5)
58
+ concurrent-ruby (~> 1.0)
59
+ unicode-display_width (2.2.0)
60
+
61
+ PLATFORMS
62
+ arm64-darwin-21
63
+
64
+ DEPENDENCIES
65
+ platform-style!
66
+ rake (~> 13.0)
67
+ rubocop (~> 1.21)
68
+
69
+ BUNDLED WITH
70
+ 2.3.17
data/default.yml ADDED
@@ -0,0 +1,187 @@
1
+ require:
2
+ - rubocop-graphql
3
+ - rubocop-performance
4
+ - rubocop-rails
5
+ - rubocop-rspec
6
+
7
+ AllCops:
8
+ Exclude:
9
+ - bin/*
10
+ - db/schema.rb
11
+ - vendor/bundle/**/*
12
+ NewCops: enable
13
+ TargetRubyVersion: 3.1.2
14
+
15
+ # Layout
16
+
17
+ Layout/ClassStructure:
18
+ Categories:
19
+ associations:
20
+ - belongs_to
21
+ - has_one
22
+ - has_many
23
+ - has_and_belongs_to_many
24
+ attributes:
25
+ - attr_accessor
26
+ - attr_reader
27
+ - attr_writer
28
+ - attr_accessible
29
+ - attribute
30
+ callbacks:
31
+ - before_validation
32
+ - after_validation
33
+ - before_save
34
+ - around_save
35
+ - before_create
36
+ - around_create
37
+ - after_create
38
+ - after_save
39
+ - after_commit
40
+ macros:
41
+ - accepts_nested_attributes_for
42
+ - has_secure_token
43
+ - serialize
44
+ module_inclusion:
45
+ - include
46
+ - prepend
47
+ - extend
48
+ scopes:
49
+ - default_scope
50
+ - scope
51
+ validations:
52
+ - validate
53
+ - validates
54
+ - validates_each
55
+ ExpectedOrder:
56
+ - module_inclusion
57
+ - scopes
58
+ - public_constants
59
+ - public_attributes
60
+ - enum
61
+ - encrypts
62
+ - associations
63
+ - validations
64
+ - delegate
65
+ - callbacks
66
+ - macros
67
+ - initializer
68
+ - public_methods
69
+ - public_class_methods
70
+ - protected_methods
71
+ - private_constants
72
+ - private_attributes
73
+ - private_methods
74
+ Enabled: true
75
+
76
+ Layout/EmptyLinesAroundClassBody:
77
+ Enabled: true
78
+ EnforcedStyle: empty_lines
79
+
80
+ Layout/EmptyLinesAroundModuleBody:
81
+ Enabled: true
82
+ EnforcedStyle: empty_lines_except_namespace
83
+
84
+ Layout/IndentationConsistency:
85
+ Enabled: true
86
+ EnforcedStyle: normal
87
+
88
+ Layout/LineEndStringConcatenationIndentation:
89
+ Enabled: false
90
+
91
+ Layout/LineLength:
92
+ AllowedPatterns:
93
+ - VCR.use_cassette
94
+ Enabled: true
95
+ Exclude:
96
+ - app/graphql/**/*
97
+ Max: 120
98
+
99
+ Layout/MultilineMethodCallIndentation:
100
+ Enabled: true
101
+ EnforcedStyle: indented
102
+
103
+ # Metrics
104
+
105
+ Metrics/AbcSize:
106
+ Max: 30
107
+
108
+ Metrics/BlockLength:
109
+ AllowedMethods:
110
+ - context
111
+ - describe
112
+ - expects
113
+ - factory
114
+ - it
115
+ - promises
116
+ - shared_examples
117
+ - use_cassette
118
+ CountAsOne:
119
+ - array
120
+ - hash
121
+ - heredoc
122
+ CountComments: false
123
+ Enabled: true
124
+ Exclude:
125
+ - config/**/*
126
+ - Gemfile
127
+
128
+ Metrics/ClassLength:
129
+ CountAsOne:
130
+ - array
131
+ - hash
132
+ - heredoc
133
+ CountComments: false
134
+ Enabled: true
135
+ Max: 200
136
+
137
+ Metrics/MethodLength:
138
+ CountAsOne:
139
+ - array
140
+ - hash
141
+ - heredoc
142
+ CountComments: false
143
+ Enabled: true
144
+ Max: 20
145
+
146
+ Metrics/ModuleLength:
147
+ CountAsOne:
148
+ - array
149
+ - hash
150
+ - heredoc
151
+ CountComments: false
152
+ Enabled: true
153
+ Max: 200
154
+
155
+ # RSpec
156
+
157
+ RSpec/ExampleLength:
158
+ CountAsOne:
159
+ - array
160
+ - hash
161
+ - heredoc
162
+ Max: 20
163
+
164
+ RSpec/LetSetup:
165
+ Enabled: false
166
+
167
+ RSpec/MultipleMemoizedHelpers:
168
+ AllowSubject: true
169
+ Enabled: true
170
+ Max: 10
171
+
172
+ RSpec/NamedSubject:
173
+ Enabled: false
174
+
175
+ RSpec/NestedGroups:
176
+ Max: 4
177
+
178
+ RSpec/MultipleExpectations:
179
+ Max: 10
180
+
181
+ # Style
182
+
183
+ Style/Documentation:
184
+ Enabled: false
185
+
186
+ Style/MultilineIfModifier:
187
+ Enabled: false
@@ -3,7 +3,7 @@
3
3
  module Platform
4
4
  module Style
5
5
 
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.3'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platform-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Bird
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-16 00:00:00.000000000 Z
11
+ date: 2022-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -89,9 +89,11 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - ".rubocop.yml"
91
91
  - Gemfile
92
+ - Gemfile.lock
92
93
  - LICENSE.txt
93
94
  - README.md
94
95
  - Rakefile
96
+ - default.yml
95
97
  - lib/platform/style.rb
96
98
  - lib/platform/style/version.rb
97
99
  - sig/platform/style.rbs
@@ -101,6 +103,7 @@ licenses:
101
103
  metadata:
102
104
  allowed_push_host: https://rubygems.org
103
105
  homepage_uri: https://github.com/discolabs/platform-style
106
+ rubygems_mfa_required: 'true'
104
107
  source_code_uri: https://github.com/discolabs/platform-style
105
108
  post_install_message:
106
109
  rdoc_options: []
@@ -110,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
113
  requirements:
111
114
  - - '='
112
115
  - !ruby/object:Gem::Version
113
- version: '3.1'
116
+ version: 3.1.2
114
117
  required_rubygems_version: !ruby/object:Gem::Requirement
115
118
  requirements:
116
119
  - - ">="