rubomatic-html 0.4.1 → 0.5.0

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: 93697873e685ad90ea89faa24cdad6af7396a18912cab9fc4cf5a223213052f7
4
- data.tar.gz: 3b2bb3426edd5bff777c993012ad484e5461f8be272ab776aee8581f4953d714
3
+ metadata.gz: 23652bb0d2323952f7ef849d1bb8c4577fbca79bf3ba529df8666529169e2284
4
+ data.tar.gz: ae6b8cb78b2ec3d29f65e63d4189a2ab803261998dabcca9ef96a850e85a7692
5
5
  SHA512:
6
- metadata.gz: 2ec74af94262a8cfa7c92907953489c3c3464d0ac0839563be31de419bb5757ab7b9737ae014bee769b01e6742b39a943517449055994590e8c1de23b70e1c22
7
- data.tar.gz: 112cc2e032e6386ccd45cbeef342955fce23fbd5651a69568c8a80e79de3f99292ec0d24598a0c0a581a20592581299e54f9dea7cae9c0b7a576fa5a0f8476f2
6
+ metadata.gz: 2782f568f9e7131b2b22f1ead7e8feda3f8b9b8df26c1b0215e97dd49a4824c514d1265793aedc2708ab86eec41579eb1c83ffe9dc81c851ef9b49b47b482149
7
+ data.tar.gz: 2f34bcc73cf35c032f009f8e9e7d22607dc543520236de251714c857da0be6565f36a2ccc5517ac572bff0ec3e18a3190dda06836faa6a9c4821bba2713d7269
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
- Add the following to your ``.rubocop.yml`` config file
24
+ Run the following command, from your project root
27
25
 
28
- [source,yaml]
26
+ [source,shell]
29
27
  ----
30
- inherit_gem:
31
- rubomatic: configs/rubocop.yml
28
+ rubomatic-html
32
29
  ----
33
30
 
34
- If you need to override a setting:
31
+ Or
35
32
 
36
- [source,yaml]
33
+ [source,shell]
37
34
  ----
38
- # Add to Naming/VariableNumber.AllowedIdentifiers
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
- [source,yaml]
38
+ To ignore specific files, create ``.rubomatic_html_ignore``
39
+
40
+ [source,text]
51
41
  ----
52
- # Completely override Naming/VariableNumber.AllowedIdentifiers
53
- inherit_gem:
54
- rubomatic: configs/rubocop.yml
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 .lint_html_ignore'
19
+ 'List of files to ignore. Additionally ignores contents of .rubomatic_html_ignore'
20
20
  )
21
21
  end
22
22
  parser.parse!(into: options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubomaticHtml
4
- VERSION = '0.4.1'
4
+ VERSION = '0.5.0'
5
5
  end
@@ -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 = '.lint_html_ignore'
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.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brands Insurance