platform-style 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f35dc127710c70afe6f56d7b3dbe80bfa5ae2e9df2c4af78e1a71c4af80e0527
4
- data.tar.gz: aa78a0cc65f48616d4250403474b160e47364ad9ca8c79ce99437cfe059054e4
3
+ metadata.gz: da2d371f10ab9107ebb03f30f791c7dff52ade00452427f86e803fa2272faee0
4
+ data.tar.gz: 5827299b3935986b273f3e0c8f41f2eb2e315e12f8392a2f42f4d485985b70eb
5
5
  SHA512:
6
- metadata.gz: 577ce8210327bbca558c5d30be734070356a5861a7ef3d31472efb5239f29143ec02c0fdd1686795c35fa6226e99756e001f16c9da9c8a7fa86109bd1f2cb992
7
- data.tar.gz: 1c8207b59ba75a3604dba2295cbfeec983092adf8e1ef31394afbf810284c0e101b223422c670fe715596c4b20d4001ddbfbd29ec1f899e85d53763f2915b6f5
6
+ metadata.gz: 71c7351783e03efc971f01c5d9dec48e71fe5d9883fbe2a2e2122a3001e02b5df41f85fa7805d725bf9d2d373c9026ba9014ff7b2c68611bab4fa7ca8c712503
7
+ data.tar.gz: 657b9cb5b525380b227e920342f5362804279cedca20c84b49d5bb6e1bffc12aa502c2c812c1ae6b0d7b5341e49505bf99fa6a54fdf06a329e0199eff1b2774b
data/Gemfile.lock ADDED
@@ -0,0 +1,70 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ platform-style (0.1.1)
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,129 @@
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
+ - associations
62
+ - validations
63
+ - delegate
64
+ - callbacks
65
+ - macros
66
+ - initializer
67
+ - public_methods
68
+ - public_class_methods
69
+ - protected_methods
70
+ - private_constants
71
+ - private_attributes
72
+ - private_methods
73
+ Enabled: true
74
+
75
+ Layout/EmptyLinesAroundClassBody:
76
+ Enabled: true
77
+ EnforcedStyle: empty_lines
78
+
79
+ Layout/EmptyLinesAroundModuleBody:
80
+ Enabled: true
81
+ EnforcedStyle: empty_lines_except_namespace
82
+
83
+ Layout/IndentationConsistency:
84
+ Enabled: true
85
+ EnforcedStyle: indented_internal_methods
86
+
87
+ Layout/LineEndStringConcatenationIndentation:
88
+ Enabled: false
89
+
90
+ Layout/LineLength:
91
+ Enabled: true
92
+ Max: 100
93
+
94
+ Layout/MultilineMethodCallIndentation:
95
+ Enabled: true
96
+ EnforcedStyle: indented
97
+
98
+ # Metrics
99
+
100
+ Metrics/AbcSize:
101
+ Max: 30
102
+
103
+ Metrics/BlockLength:
104
+ Enabled: true
105
+ Exclude:
106
+ - config/**/*
107
+
108
+ Metrics/MethodLength:
109
+ Enabled: false
110
+
111
+ # RSpec
112
+
113
+ RSpec/ExampleLength:
114
+ CountAsOne:
115
+ - array
116
+ - hash
117
+ - heredoc
118
+ Max: 20
119
+
120
+ RSpec/NamedSubject:
121
+ Enabled: false
122
+
123
+ RSpec/MultipleExpectations:
124
+ Max: 10
125
+
126
+ # Style
127
+
128
+ Style/Documentation:
129
+ 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.1'
7
7
 
8
8
  end
9
9
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Bird
@@ -89,11 +89,14 @@ 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
99
+ - platform-style-0.1.0.gem
97
100
  - sig/platform/style.rbs
98
101
  homepage: https://github.com/discolabs/platform-style
99
102
  licenses:
@@ -101,6 +104,7 @@ licenses:
101
104
  metadata:
102
105
  allowed_push_host: https://rubygems.org
103
106
  homepage_uri: https://github.com/discolabs/platform-style
107
+ rubygems_mfa_required: 'true'
104
108
  source_code_uri: https://github.com/discolabs/platform-style
105
109
  post_install_message:
106
110
  rdoc_options: []
@@ -110,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
114
  requirements:
111
115
  - - '='
112
116
  - !ruby/object:Gem::Version
113
- version: '3.1'
117
+ version: 3.1.2
114
118
  required_rubygems_version: !ruby/object:Gem::Requirement
115
119
  requirements:
116
120
  - - ">="