rubomatic-html 0.4.1 → 1.0.0.pre.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +12 -29
- data/exe/rubomatic-html +1 -1
- data/lib/rubomatic-html/version.rb +1 -1
- data/lib/rubomatic-html.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2f2a32770e85334243d284515902d43d6b9ec393092ac0fed1b64427c89dd17
|
4
|
+
data.tar.gz: 16a9377107af3898f1ed1bf22032ae1b5a7aea3d329744005e83c4fd6b3b5a3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37fba14024cbbaea3e6ddb1375228c75b4a96714be1a0e6857afd6b107be8a55e6f647844ce283eab86275321c48024e0ab0cc77131ea7bc080bcbea2ed9fe0b
|
7
|
+
data.tar.gz: 96548eb6af14568262d2c5ac31dd651bc564e2a3f822f689f23c46f67faf99d82d8fb2623963c39ac1ea42a67c1648148aa535d464162f479957fae58bd80a85
|
data/README.adoc
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
|
3
3
|
Gem for shared html linting for BrandsInsurance.
|
4
4
|
|
5
|
-
Make sure ran from project root
|
6
|
-
|
7
5
|
== Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
@@ -23,42 +21,27 @@ Or install it yourself as:
|
|
23
21
|
|
24
22
|
== Usage
|
25
23
|
|
26
|
-
|
24
|
+
Run the following command, from your project root
|
27
25
|
|
28
|
-
[source,
|
26
|
+
[source,shell]
|
29
27
|
----
|
30
|
-
|
31
|
-
rubomatic: configs/rubocop.yml
|
28
|
+
rubomatic-html
|
32
29
|
----
|
33
30
|
|
34
|
-
|
31
|
+
Or
|
35
32
|
|
36
|
-
[source,
|
33
|
+
[source,shell]
|
37
34
|
----
|
38
|
-
|
39
|
-
inherit_gem:
|
40
|
-
rubomatic: configs/rubocop.yml
|
41
|
-
|
42
|
-
Naming/VariableNumber:
|
43
|
-
inherit_mode:
|
44
|
-
merge:
|
45
|
-
- AllowedIdentifiers
|
46
|
-
AllowedIdentifiers:
|
47
|
-
- street_2
|
35
|
+
bundle exec rubomatic-html
|
48
36
|
----
|
49
37
|
|
50
|
-
|
38
|
+
To ignore specific files, create ``.rubomatic_html_ignore``
|
39
|
+
|
40
|
+
[source,text]
|
51
41
|
----
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
Naming/VariableNumber:
|
57
|
-
inherit_mode:
|
58
|
-
override:
|
59
|
-
- AllowedIdentifiers
|
60
|
-
AllowedIdentifiers:
|
61
|
-
- street_2
|
42
|
+
app/views/layouts/partials/_dropzone_preview_template.html.erb
|
43
|
+
app/views/shared/_global_email.html.erb
|
44
|
+
app/views/shared/_global_email_text.text.erb
|
62
45
|
----
|
63
46
|
|
64
47
|
== Changelog
|
data/exe/rubomatic-html
CHANGED
@@ -16,7 +16,7 @@ parser = OptionParser.new do |parser|
|
|
16
16
|
'-i',
|
17
17
|
'--ignored-files comma,separated,list,of,files',
|
18
18
|
Array,
|
19
|
-
'List of files to ignore. Additionally ignores contents of .
|
19
|
+
'List of files to ignore. Additionally ignores contents of .rubomatic_html_ignore'
|
20
20
|
)
|
21
21
|
end
|
22
22
|
parser.parse!(into: options)
|
data/lib/rubomatic-html.rb
CHANGED
@@ -15,7 +15,7 @@ module RubomaticHtml
|
|
15
15
|
#
|
16
16
|
def initialize(linted_files, ignored_files)
|
17
17
|
files_to_ignore = Array(ignored_files)
|
18
|
-
ignore_file = '.
|
18
|
+
ignore_file = '.rubomatic_html_ignore'
|
19
19
|
|
20
20
|
if File.exist?(ignore_file)
|
21
21
|
files_to_ignore += File.readlines(ignore_file, chomp: true)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubomatic-html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.pre.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brands Insurance
|
@@ -63,9 +63,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
version: 3.0.1
|
64
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.3.1
|
69
69
|
requirements: []
|
70
70
|
rubygems_version: 3.2.15
|
71
71
|
signing_key:
|