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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93697873e685ad90ea89faa24cdad6af7396a18912cab9fc4cf5a223213052f7
4
- data.tar.gz: 3b2bb3426edd5bff777c993012ad484e5461f8be272ab776aee8581f4953d714
3
+ metadata.gz: e2f2a32770e85334243d284515902d43d6b9ec393092ac0fed1b64427c89dd17
4
+ data.tar.gz: 16a9377107af3898f1ed1bf22032ae1b5a7aea3d329744005e83c4fd6b3b5a3f
5
5
  SHA512:
6
- metadata.gz: 2ec74af94262a8cfa7c92907953489c3c3464d0ac0839563be31de419bb5757ab7b9737ae014bee769b01e6742b39a943517449055994590e8c1de23b70e1c22
7
- data.tar.gz: 112cc2e032e6386ccd45cbeef342955fce23fbd5651a69568c8a80e79de3f99292ec0d24598a0c0a581a20592581299e54f9dea7cae9c0b7a576fa5a0f8476f2
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
- 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 = '1.0.0-rc.1'
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: 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: '0'
68
+ version: 1.3.1
69
69
  requirements: []
70
70
  rubygems_version: 3.2.15
71
71
  signing_key: