rubomatic-html 0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f93d8b1bd52c69097c04559276f39987693aca36f73cbd4f1d64f835426d0e33
4
+ data.tar.gz: 276af7014cc5aafcbdc1e98df823850eb1516ab128421b6490b1c71084d331f6
5
+ SHA512:
6
+ metadata.gz: e1b07226346996ebb43ee9ae0be08175eb70dccb2725271c19cd628431039cb4ede751866b45c9f8799278082498cdc08c8d57df91d7f2e508892de3247d4702
7
+ data.tar.gz: ceae777ae5ad633569dab21ad02427738fab8cfaae146514837dce86c090f239e803dfafecdd5bf0bb63074e11e14547f891c661d6dd684d5f22869f4fe285c7
data/CHANGELOG.adoc ADDED
@@ -0,0 +1,3 @@
1
+ == 0.1.0
2
+
3
+ * Initial release
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2023 Brands Insurance
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.adoc ADDED
@@ -0,0 +1,64 @@
1
+ = RubomaticHtml
2
+
3
+ Gem for shared html linting for BrandsInsurance
4
+
5
+ == Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ [source,ruby]
10
+ ----
11
+ gem 'rubomatic-html', require: false
12
+ ----
13
+
14
+ And then execute:
15
+
16
+ $ bundle install
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install rubomatic-html
21
+
22
+ == Usage
23
+
24
+ Add the following to your ``.rubocop.yml`` config file
25
+
26
+ [source,yaml]
27
+ ----
28
+ inherit_gem:
29
+ rubomatic: configs/rubocop.yml
30
+ ----
31
+
32
+ If you need to override a setting:
33
+
34
+ [source,yaml]
35
+ ----
36
+ # Add to Naming/VariableNumber.AllowedIdentifiers
37
+ inherit_gem:
38
+ rubomatic: configs/rubocop.yml
39
+
40
+ Naming/VariableNumber:
41
+ inherit_mode:
42
+ merge:
43
+ - AllowedIdentifiers
44
+ AllowedIdentifiers:
45
+ - street_2
46
+ ----
47
+
48
+ [source,yaml]
49
+ ----
50
+ # Completely override Naming/VariableNumber.AllowedIdentifiers
51
+ inherit_gem:
52
+ rubomatic: configs/rubocop.yml
53
+
54
+ Naming/VariableNumber:
55
+ inherit_mode:
56
+ override:
57
+ - AllowedIdentifiers
58
+ AllowedIdentifiers:
59
+ - street_2
60
+ ----
61
+
62
+ == Changelog
63
+
64
+ See xref:./CHANGELOG.adoc[CHANGELOG] see see changes
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RubomaticHtml
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'rubomatic-html/version'
4
+
5
+ module RubomaticHtml
6
+ end
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubomatic-html
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Brands Insurance
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-05-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubomatic
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.2.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-brands_insurance
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.3.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.3.0
41
+ description:
42
+ email:
43
+ - documents@brandsinsurance.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - CHANGELOG.adoc
49
+ - LICENSE.txt
50
+ - README.adoc
51
+ - lib/rubomatic-html/version.rb
52
+ - lib/rubomatic_html.rb
53
+ homepage: https://github.com/BrandsInsurance/expert-chainsaw/
54
+ licenses:
55
+ - MIT
56
+ metadata:
57
+ rubygems_mfa_required: 'true'
58
+ homepage_uri: https://github.com/BrandsInsurance/expert-chainsaw/
59
+ source_code_uri: https://github.com/BrandsInsurance/expert-chainsaw/tree/main/plugins/htmlint/rubomatic-html
60
+ changelog_uri: https://github.com/BrandsInsurance/expert-chainsaw/blob/main/plugins/htmlint/rubomatic-html/CHANGELOG.adoc
61
+ post_install_message:
62
+ rdoc_options: []
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: 3.0.1
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ requirements: []
76
+ rubygems_version: 3.2.15
77
+ signing_key:
78
+ specification_version: 4
79
+ summary: Shared rubocop config for BrandsInsurance
80
+ test_files: []