guard-erb_lint 1.0.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 +7 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +49 -0
- data/.ruby-version +1 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +138 -0
- data/Guardfile +11 -0
- data/LICENSE.txt +21 -0
- data/README.md +34 -0
- data/Rakefile +3 -0
- data/bin/console +15 -0
- data/bin/setup +7 -0
- data/guard-erb_lint.gemspec +37 -0
- data/lib/guard/erb_lint/options.rb +17 -0
- data/lib/guard/erb_lint/templates/Guardfile +4 -0
- data/lib/guard/erb_lint.rb +94 -0
- metadata +187 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 0fe12d40b4e1c38625cd2830321689bd18575b94616636da61db7c8f09b71eb0
|
|
4
|
+
data.tar.gz: d65a561d01be8049ea66bdc642f4b08d6fdc93b870a013b79c7f21eb9a0b3972
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 948e49a3addf86d4382761f1c8a7f4689becdc7f360333aca90af2e7e2998f08949b2f2867e38ae88580d18b89aa87fd45a7838aa94a6e2a8d975d177988351b
|
|
7
|
+
data.tar.gz: 4ffa54b6b8089c4cf8671c5052d9c250d80afa955bdf0d025f3d97cabe5668af76d2fbc56b0e39b784ee586f2050fc2cbb92332b163fce0d75fe02ab89d599c4
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
inherit_gem:
|
|
2
|
+
rubocop-shopify: rubocop.yml
|
|
3
|
+
|
|
4
|
+
require:
|
|
5
|
+
- rubocop-rspec
|
|
6
|
+
|
|
7
|
+
AllCops:
|
|
8
|
+
EnabledByDefault: true
|
|
9
|
+
NewCops: enable
|
|
10
|
+
|
|
11
|
+
Gemspec/RequireMFA:
|
|
12
|
+
Enabled: false
|
|
13
|
+
|
|
14
|
+
Style/DocumentationMethod:
|
|
15
|
+
Enabled: false
|
|
16
|
+
Style/MissingElse:
|
|
17
|
+
Enabled: false
|
|
18
|
+
Style/StringLiterals:
|
|
19
|
+
EnforcedStyle: double_quotes
|
|
20
|
+
Style/Copyright:
|
|
21
|
+
Enabled: false
|
|
22
|
+
Style/ConstantVisibility:
|
|
23
|
+
Enabled: false
|
|
24
|
+
Style/MethodCalledOnDoEndBlock:
|
|
25
|
+
Enabled: false
|
|
26
|
+
Style/DisableCopsWithinSourceCodeDirective:
|
|
27
|
+
Enabled: false
|
|
28
|
+
Style/OpenStructUse:
|
|
29
|
+
Enabled: false
|
|
30
|
+
Style/FrozenStringLiteralComment:
|
|
31
|
+
Exclude:
|
|
32
|
+
- lib/guard/erb_lint/templates/Guardfile
|
|
33
|
+
|
|
34
|
+
Metrics/BlockLength:
|
|
35
|
+
Exclude:
|
|
36
|
+
- Guardfile
|
|
37
|
+
- spec/**/*
|
|
38
|
+
Metrics/MethodLength:
|
|
39
|
+
Max: 20
|
|
40
|
+
Metrics/AbcSize:
|
|
41
|
+
Max: 20
|
|
42
|
+
|
|
43
|
+
Lint/NumberConversion:
|
|
44
|
+
Enabled: false
|
|
45
|
+
Lint/ConstantResolution:
|
|
46
|
+
Enabled: false
|
|
47
|
+
|
|
48
|
+
RSpec/NestedGroups:
|
|
49
|
+
Max: 5
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
guard-erb_lint (1.0.1)
|
|
5
|
+
activesupport
|
|
6
|
+
erb_lint
|
|
7
|
+
guard-compat (>= 1)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
actionview (7.0.2.3)
|
|
13
|
+
activesupport (= 7.0.2.3)
|
|
14
|
+
builder (~> 3.1)
|
|
15
|
+
erubi (~> 1.4)
|
|
16
|
+
rails-dom-testing (~> 2.0)
|
|
17
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
18
|
+
activesupport (7.0.2.3)
|
|
19
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
20
|
+
i18n (>= 1.6, < 2)
|
|
21
|
+
minitest (>= 5.1)
|
|
22
|
+
tzinfo (~> 2.0)
|
|
23
|
+
ast (2.4.2)
|
|
24
|
+
better_html (1.0.16)
|
|
25
|
+
actionview (>= 4.0)
|
|
26
|
+
activesupport (>= 4.0)
|
|
27
|
+
ast (~> 2.0)
|
|
28
|
+
erubi (~> 1.4)
|
|
29
|
+
html_tokenizer (~> 0.0.6)
|
|
30
|
+
parser (>= 2.4)
|
|
31
|
+
smart_properties
|
|
32
|
+
builder (3.2.4)
|
|
33
|
+
coderay (1.1.3)
|
|
34
|
+
concurrent-ruby (1.1.9)
|
|
35
|
+
crass (1.0.6)
|
|
36
|
+
erb_lint (0.1.1)
|
|
37
|
+
activesupport
|
|
38
|
+
better_html (~> 1.0.7)
|
|
39
|
+
html_tokenizer
|
|
40
|
+
parser (>= 2.7.1.4)
|
|
41
|
+
rainbow
|
|
42
|
+
rubocop
|
|
43
|
+
smart_properties
|
|
44
|
+
erubi (1.10.0)
|
|
45
|
+
ffi (1.15.4)
|
|
46
|
+
formatador (0.3.0)
|
|
47
|
+
guard (2.18.0)
|
|
48
|
+
formatador (>= 0.2.4)
|
|
49
|
+
listen (>= 2.7, < 4.0)
|
|
50
|
+
lumberjack (>= 1.0.12, < 2.0)
|
|
51
|
+
nenv (~> 0.1)
|
|
52
|
+
notiffany (~> 0.0)
|
|
53
|
+
pry (>= 0.13.0)
|
|
54
|
+
shellany (~> 0.0)
|
|
55
|
+
thor (>= 0.18.1)
|
|
56
|
+
guard-compat (1.2.1)
|
|
57
|
+
guard-rubocop (1.5.0)
|
|
58
|
+
guard (~> 2.0)
|
|
59
|
+
rubocop (< 2.0)
|
|
60
|
+
html_tokenizer (0.0.7)
|
|
61
|
+
i18n (1.10.0)
|
|
62
|
+
concurrent-ruby (~> 1.0)
|
|
63
|
+
listen (3.7.0)
|
|
64
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
65
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
|
66
|
+
loofah (2.15.0)
|
|
67
|
+
crass (~> 1.0.2)
|
|
68
|
+
nokogiri (>= 1.5.9)
|
|
69
|
+
lumberjack (1.2.8)
|
|
70
|
+
method_source (1.0.0)
|
|
71
|
+
mini_portile2 (2.8.0)
|
|
72
|
+
minitest (5.15.0)
|
|
73
|
+
nenv (0.3.0)
|
|
74
|
+
nokogiri (1.13.3)
|
|
75
|
+
mini_portile2 (~> 2.8.0)
|
|
76
|
+
racc (~> 1.4)
|
|
77
|
+
nokogiri (1.13.3-x86_64-linux)
|
|
78
|
+
racc (~> 1.4)
|
|
79
|
+
notiffany (0.1.3)
|
|
80
|
+
nenv (~> 0.1)
|
|
81
|
+
shellany (~> 0.0)
|
|
82
|
+
parallel (1.21.0)
|
|
83
|
+
parser (3.0.3.1)
|
|
84
|
+
ast (~> 2.4.1)
|
|
85
|
+
pry (0.14.1)
|
|
86
|
+
coderay (~> 1.1)
|
|
87
|
+
method_source (~> 1.0)
|
|
88
|
+
racc (1.6.0)
|
|
89
|
+
rails-dom-testing (2.0.3)
|
|
90
|
+
activesupport (>= 4.2.0)
|
|
91
|
+
nokogiri (>= 1.6)
|
|
92
|
+
rails-html-sanitizer (1.4.2)
|
|
93
|
+
loofah (~> 2.3)
|
|
94
|
+
rainbow (3.0.0)
|
|
95
|
+
rake (13.0.0)
|
|
96
|
+
rb-fsevent (0.11.0)
|
|
97
|
+
rb-inotify (0.10.1)
|
|
98
|
+
ffi (~> 1.0)
|
|
99
|
+
regexp_parser (2.2.0)
|
|
100
|
+
rexml (3.2.5)
|
|
101
|
+
rubocop (1.23.0)
|
|
102
|
+
parallel (~> 1.10)
|
|
103
|
+
parser (>= 3.0.0.0)
|
|
104
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
105
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
106
|
+
rexml
|
|
107
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
|
108
|
+
ruby-progressbar (~> 1.7)
|
|
109
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
110
|
+
rubocop-ast (1.14.0)
|
|
111
|
+
parser (>= 3.0.1.1)
|
|
112
|
+
rubocop-rspec (2.6.0)
|
|
113
|
+
rubocop (~> 1.19)
|
|
114
|
+
rubocop-shopify (2.3.0)
|
|
115
|
+
rubocop (~> 1.22)
|
|
116
|
+
ruby-progressbar (1.11.0)
|
|
117
|
+
shellany (0.0.1)
|
|
118
|
+
smart_properties (1.17.0)
|
|
119
|
+
thor (1.1.0)
|
|
120
|
+
tzinfo (2.0.4)
|
|
121
|
+
concurrent-ruby (~> 1.0)
|
|
122
|
+
unicode-display_width (2.1.0)
|
|
123
|
+
|
|
124
|
+
PLATFORMS
|
|
125
|
+
ruby
|
|
126
|
+
x86_64-linux
|
|
127
|
+
|
|
128
|
+
DEPENDENCIES
|
|
129
|
+
guard
|
|
130
|
+
guard-erb_lint!
|
|
131
|
+
guard-rubocop
|
|
132
|
+
rake (= 13.0)
|
|
133
|
+
rubocop
|
|
134
|
+
rubocop-rspec
|
|
135
|
+
rubocop-shopify
|
|
136
|
+
|
|
137
|
+
BUNDLED WITH
|
|
138
|
+
2.2.3
|
data/Guardfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Mathias H Steffensen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Guard::ErbLint
|
|
2
|
+
|
|
3
|
+
Automatically lints your ERB view files using [Guard](https://github.com/guard/guard) and the [Shopify/erb_lint](https://github.com/Shopify/erb-lint) gem.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem("guard-erb_lint", git: "https://github.com/Driversnote-Dev/guard-erb_lint")
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
And then execute:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
bundle install
|
|
17
|
+
bundle exec guard init erb_lint
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Or just add the following to your Guardfile:
|
|
21
|
+
```ruby
|
|
22
|
+
guard(:erb_lint) do
|
|
23
|
+
watch(/.+\.erb$/)
|
|
24
|
+
watch(/.+\.html$/)
|
|
25
|
+
end
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Contributing
|
|
29
|
+
|
|
30
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Driversnote-Dev/guard-erb_lint.
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
|
|
34
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require "bundler/setup"
|
|
5
|
+
require "guard/erb_lint"
|
|
6
|
+
|
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
+
|
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
+
# require "pry"
|
|
12
|
+
# Pry.start
|
|
13
|
+
|
|
14
|
+
require "irb"
|
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do |spec|
|
|
4
|
+
spec.name = "guard-erb_lint"
|
|
5
|
+
spec.version = "1.0.1"
|
|
6
|
+
spec.authors = ["Mathias H Steffensen"]
|
|
7
|
+
spec.email = ["mathiashsteffensen@protonmail.com"]
|
|
8
|
+
|
|
9
|
+
spec.summary = "Guard plugin for erb_lint"
|
|
10
|
+
spec.homepage = "https://github.com/Driversnote-Dev/guard-erb_lint"
|
|
11
|
+
spec.license = "MIT"
|
|
12
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
|
13
|
+
|
|
14
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
15
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
|
16
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/CHANGELOG.md"
|
|
17
|
+
|
|
18
|
+
spec.files =
|
|
19
|
+
Dir.chdir(File.expand_path(__dir__)) do
|
|
20
|
+
%x(git ls-files -z).split("\x0").reject { |f| f.match(%r{\A(?:spec|features)/}) }
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
spec.require_paths = ["lib"]
|
|
24
|
+
|
|
25
|
+
spec.add_dependency("activesupport")
|
|
26
|
+
spec.add_dependency("erb_lint")
|
|
27
|
+
spec.add_dependency("guard-compat", ">= 1")
|
|
28
|
+
|
|
29
|
+
spec.add_development_dependency("rake", "13.0")
|
|
30
|
+
|
|
31
|
+
spec.add_development_dependency("guard")
|
|
32
|
+
spec.add_development_dependency("guard-rubocop")
|
|
33
|
+
|
|
34
|
+
spec.add_development_dependency("rubocop")
|
|
35
|
+
spec.add_development_dependency("rubocop-rspec")
|
|
36
|
+
spec.add_development_dependency("rubocop-shopify")
|
|
37
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Guard
|
|
4
|
+
class ErbLint < Plugin
|
|
5
|
+
module Options
|
|
6
|
+
DEFAULTS = { all_on_start: true, all_on_change: false }
|
|
7
|
+
|
|
8
|
+
def self.with_defaults(options)
|
|
9
|
+
DEFAULTS.each do |k, v|
|
|
10
|
+
options[k] = v if options.key?(k)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
options
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "active_support/all"
|
|
4
|
+
require "guard/compat/plugin"
|
|
5
|
+
require "erb_lint/cli"
|
|
6
|
+
|
|
7
|
+
require "guard/erb_lint/options"
|
|
8
|
+
|
|
9
|
+
module Guard
|
|
10
|
+
class ErbLint < Plugin
|
|
11
|
+
# Initializes a Guard plugin.
|
|
12
|
+
# Don't do any work here, especially as Guard plugins get initialized even if they are not in an active group!
|
|
13
|
+
#
|
|
14
|
+
# @param [Hash] options the custom Guard plugin options
|
|
15
|
+
# @option options [Array<Guard::Watcher>] watchers the Guard plugin file watchers
|
|
16
|
+
# @option options [Symbol] group the group this Guard plugin belongs to
|
|
17
|
+
# @option options [Boolean] any_return allow any object to be returned from a watcher
|
|
18
|
+
#
|
|
19
|
+
def initialize(options = {})
|
|
20
|
+
@options = Guard::ErbLint::Options.with_defaults(options).with_indifferent_access
|
|
21
|
+
super
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Called once when Guard starts. Please override initialize method to init stuff.
|
|
25
|
+
#
|
|
26
|
+
# @raise [:task_has_failed] when start has failed
|
|
27
|
+
# @return [Object] the task result
|
|
28
|
+
#
|
|
29
|
+
def start
|
|
30
|
+
Compat::UI.info("Guard::ERBLint initialized")
|
|
31
|
+
run_all if @options[:all_on_start]
|
|
32
|
+
rescue StandardError
|
|
33
|
+
throw(:task_has_failed)
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Called when just `enter` is pressed
|
|
37
|
+
# This method should be principally used for long action like running all specs/tests/...
|
|
38
|
+
#
|
|
39
|
+
# @raise [:task_has_failed] when run_all has failed
|
|
40
|
+
# @return [Object] the task result
|
|
41
|
+
#
|
|
42
|
+
def run_all
|
|
43
|
+
run("--lint-all")
|
|
44
|
+
rescue StandardError
|
|
45
|
+
throw(:task_has_failed)
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Called on file(s) additions that the Guard plugin watches.
|
|
49
|
+
#
|
|
50
|
+
# @param [Array<String>] paths the changes files or paths
|
|
51
|
+
# @raise [:task_has_failed] when run_on_additions has failed
|
|
52
|
+
# @return [Object] the task result
|
|
53
|
+
#
|
|
54
|
+
def run_on_additions(paths)
|
|
55
|
+
run_all_or_block { run(*paths) }
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Called on file(s) modifications that the Guard plugin watches.
|
|
59
|
+
#
|
|
60
|
+
# @param [Array<String>] paths the changes files or paths
|
|
61
|
+
# @raise [:task_has_failed] when run_on_modifications has failed
|
|
62
|
+
# @return [Object] the task result
|
|
63
|
+
#
|
|
64
|
+
def run_on_modifications(paths)
|
|
65
|
+
run_all_or_block { run(*paths) }
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
def run(*args)
|
|
69
|
+
cli = ERBLint::CLI.new
|
|
70
|
+
|
|
71
|
+
Compat::UI.info("Running ERBLint with args #{args.join(", ")}")
|
|
72
|
+
|
|
73
|
+
cli.run(args)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
private
|
|
77
|
+
|
|
78
|
+
def run_all_or_block
|
|
79
|
+
throw_on_err do
|
|
80
|
+
if @options[:all_on_change]
|
|
81
|
+
run_all
|
|
82
|
+
else
|
|
83
|
+
yield
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
def throw_on_err
|
|
89
|
+
yield
|
|
90
|
+
rescue StandardError
|
|
91
|
+
throw(:task_has_failed)
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: guard-erb_lint
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Mathias H Steffensen
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2022-03-20 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: activesupport
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: erb_lint
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: guard-compat
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '1'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '1'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rake
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - '='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '13.0'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - '='
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '13.0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: guard
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: guard-rubocop
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: rubocop
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - ">="
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0'
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: rubocop-rspec
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
type: :development
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '0'
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: rubocop-shopify
|
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: '0'
|
|
132
|
+
type: :development
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - ">="
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: '0'
|
|
139
|
+
description:
|
|
140
|
+
email:
|
|
141
|
+
- mathiashsteffensen@protonmail.com
|
|
142
|
+
executables: []
|
|
143
|
+
extensions: []
|
|
144
|
+
extra_rdoc_files: []
|
|
145
|
+
files:
|
|
146
|
+
- ".gitignore"
|
|
147
|
+
- ".rubocop.yml"
|
|
148
|
+
- ".ruby-version"
|
|
149
|
+
- Gemfile
|
|
150
|
+
- Gemfile.lock
|
|
151
|
+
- Guardfile
|
|
152
|
+
- LICENSE.txt
|
|
153
|
+
- README.md
|
|
154
|
+
- Rakefile
|
|
155
|
+
- bin/console
|
|
156
|
+
- bin/setup
|
|
157
|
+
- guard-erb_lint.gemspec
|
|
158
|
+
- lib/guard/erb_lint.rb
|
|
159
|
+
- lib/guard/erb_lint/options.rb
|
|
160
|
+
- lib/guard/erb_lint/templates/Guardfile
|
|
161
|
+
homepage: https://github.com/Driversnote-Dev/guard-erb_lint
|
|
162
|
+
licenses:
|
|
163
|
+
- MIT
|
|
164
|
+
metadata:
|
|
165
|
+
homepage_uri: https://github.com/Driversnote-Dev/guard-erb_lint
|
|
166
|
+
source_code_uri: https://github.com/Driversnote-Dev/guard-erb_lint
|
|
167
|
+
changelog_uri: https://github.com/Driversnote-Dev/guard-erb_lint/CHANGELOG.md
|
|
168
|
+
post_install_message:
|
|
169
|
+
rdoc_options: []
|
|
170
|
+
require_paths:
|
|
171
|
+
- lib
|
|
172
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
|
+
requirements:
|
|
174
|
+
- - ">="
|
|
175
|
+
- !ruby/object:Gem::Version
|
|
176
|
+
version: 2.3.0
|
|
177
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
|
+
requirements:
|
|
179
|
+
- - ">="
|
|
180
|
+
- !ruby/object:Gem::Version
|
|
181
|
+
version: '0'
|
|
182
|
+
requirements: []
|
|
183
|
+
rubygems_version: 3.3.7
|
|
184
|
+
signing_key:
|
|
185
|
+
specification_version: 4
|
|
186
|
+
summary: Guard plugin for erb_lint
|
|
187
|
+
test_files: []
|