guard-slim_lint 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/.rspec +3 -0
- data/.travis.yml +11 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +96 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/guard-slim_lint.gemspec +34 -0
- data/lib/guard/slim_lint.rb +120 -0
- data/lib/guard/slim_lint/templates/Guardfile +8 -0
- data/lib/guard/slim_lint/version.rb +7 -0
- metadata +143 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 41954981176e96baaaff8e0f7a6ac7882cacc45fd5bfbc188c75747e0e82460f
|
4
|
+
data.tar.gz: 121b3f511f40a074f8708877140ebfb06479b5743fb8d00833db2a3684e916fa
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: aa2ab860d7a41e23bf9ef325399effe1421f9eeb4462d7e920d16b01b541b1c290e8786db0b1f03f0da8ef40b98611d4f14aca78a3a1de6be6d785d28998f8fe
|
7
|
+
data.tar.gz: e721b5c86112ecc20d8a13c81440c713421a29429fc0c1e68918503ed017f0d6cc9e79dfd007d4034e89c67144744d146786b1843ff8a977327d52249ee540dd
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at toyasyu@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
guard-slim_lint (1.0.0)
|
5
|
+
guard (~> 2.2)
|
6
|
+
guard-compat (~> 1.2)
|
7
|
+
slim_lint (>= 0.15.1)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
ast (2.4.0)
|
13
|
+
coderay (1.1.2)
|
14
|
+
diff-lcs (1.3)
|
15
|
+
ffi (1.9.23)
|
16
|
+
formatador (0.2.5)
|
17
|
+
guard (2.14.2)
|
18
|
+
formatador (>= 0.2.4)
|
19
|
+
listen (>= 2.7, < 4.0)
|
20
|
+
lumberjack (>= 1.0.12, < 2.0)
|
21
|
+
nenv (~> 0.1)
|
22
|
+
notiffany (~> 0.0)
|
23
|
+
pry (>= 0.9.12)
|
24
|
+
shellany (~> 0.0)
|
25
|
+
thor (>= 0.18.1)
|
26
|
+
guard-compat (1.2.1)
|
27
|
+
listen (3.1.5)
|
28
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
29
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
30
|
+
ruby_dep (~> 1.2)
|
31
|
+
lumberjack (1.0.13)
|
32
|
+
method_source (0.9.0)
|
33
|
+
nenv (0.3.0)
|
34
|
+
notiffany (0.1.1)
|
35
|
+
nenv (~> 0.1)
|
36
|
+
shellany (~> 0.0)
|
37
|
+
parallel (1.12.1)
|
38
|
+
parser (2.5.0.5)
|
39
|
+
ast (~> 2.4.0)
|
40
|
+
powerpack (0.1.1)
|
41
|
+
pry (0.11.3)
|
42
|
+
coderay (~> 1.1.0)
|
43
|
+
method_source (~> 0.9.0)
|
44
|
+
rainbow (3.0.0)
|
45
|
+
rake (10.5.0)
|
46
|
+
rb-fsevent (0.10.3)
|
47
|
+
rb-inotify (0.9.10)
|
48
|
+
ffi (>= 0.5.0, < 2)
|
49
|
+
rspec (3.7.0)
|
50
|
+
rspec-core (~> 3.7.0)
|
51
|
+
rspec-expectations (~> 3.7.0)
|
52
|
+
rspec-mocks (~> 3.7.0)
|
53
|
+
rspec-core (3.7.1)
|
54
|
+
rspec-support (~> 3.7.0)
|
55
|
+
rspec-expectations (3.7.0)
|
56
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
57
|
+
rspec-support (~> 3.7.0)
|
58
|
+
rspec-mocks (3.7.0)
|
59
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
60
|
+
rspec-support (~> 3.7.0)
|
61
|
+
rspec-support (3.7.1)
|
62
|
+
rubocop (0.54.0)
|
63
|
+
parallel (~> 1.10)
|
64
|
+
parser (>= 2.5)
|
65
|
+
powerpack (~> 0.1)
|
66
|
+
rainbow (>= 2.2.2, < 4.0)
|
67
|
+
ruby-progressbar (~> 1.7)
|
68
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
69
|
+
ruby-progressbar (1.9.0)
|
70
|
+
ruby_dep (1.5.0)
|
71
|
+
shellany (0.0.1)
|
72
|
+
slim (3.0.9)
|
73
|
+
temple (>= 0.7.6, < 0.9)
|
74
|
+
tilt (>= 1.3.3, < 2.1)
|
75
|
+
slim_lint (0.15.1)
|
76
|
+
rake (>= 10, < 13)
|
77
|
+
rubocop (>= 0.50.0)
|
78
|
+
slim (~> 3.0)
|
79
|
+
sysexits (~> 1.1)
|
80
|
+
sysexits (1.2.0)
|
81
|
+
temple (0.8.0)
|
82
|
+
thor (0.20.0)
|
83
|
+
tilt (2.0.8)
|
84
|
+
unicode-display_width (1.3.0)
|
85
|
+
|
86
|
+
PLATFORMS
|
87
|
+
ruby
|
88
|
+
|
89
|
+
DEPENDENCIES
|
90
|
+
bundler (~> 1.16)
|
91
|
+
guard-slim_lint!
|
92
|
+
rake (~> 10.0)
|
93
|
+
rspec (~> 3.7.0)
|
94
|
+
|
95
|
+
BUNDLED WITH
|
96
|
+
1.16.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Yasuhiko Katoh
|
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,54 @@
|
|
1
|
+
# Guard::SlimLint
|
2
|
+
|
3
|
+
A guard to lint your Slim.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'guard-slim_lint'
|
11
|
+
```
|
12
|
+
|
13
|
+
Add the default guard-slim_lint definition to your Guardfile
|
14
|
+
|
15
|
+
```bash
|
16
|
+
$ guard init slim_lint
|
17
|
+
```
|
18
|
+
|
19
|
+
Add options in Guardfile
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
guard :slim_lint, cli: '--no-color' do
|
23
|
+
watch(%r{.+\.html.*\.slim$})
|
24
|
+
watch(%r{(?:.+/)?\.slim-lint\.yml$}) { |m| File.dirname(m[0]) }
|
25
|
+
end
|
26
|
+
```
|
27
|
+
|
28
|
+
## Guardfile
|
29
|
+
|
30
|
+
Please read the [Guardfile DSL documentation](https://github.com/guard/guard#readme) for additional information.
|
31
|
+
|
32
|
+
Available options:
|
33
|
+
|
34
|
+
all_on_start: true # Check all files at Guard startup. default: true
|
35
|
+
slim_dires: ['app/views'] # Check Directories. default: 'app/views' or '.'
|
36
|
+
cli: '--no-color' # Additional command line options to slim-lint. default: nil
|
37
|
+
|
38
|
+
## Development
|
39
|
+
|
40
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
41
|
+
|
42
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
43
|
+
|
44
|
+
## Contributing
|
45
|
+
|
46
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yatmsu/guard-slim-lint. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
47
|
+
|
48
|
+
## License
|
49
|
+
|
50
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
51
|
+
|
52
|
+
## Code of Conduct
|
53
|
+
|
54
|
+
Everyone interacting in the Guard::SlimLint project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/yatmsu/guard-slim-lint/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'guard/slim_lint'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require 'pry'
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'guard/slim_lint/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'guard-slim_lint'
|
9
|
+
spec.version = Guard::SlimLintVersion::VERSION
|
10
|
+
spec.authors = ['Yasuhiko Katoh']
|
11
|
+
spec.email = ['toyasyu@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = 'Guard plugin for Slim-Lint'
|
14
|
+
spec.description = 'Guard::SlimLint automatically runs Slim Lint tools.'
|
15
|
+
spec.homepage = 'https://github.com/yatmsu/guard-slim-lint'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
|
+
f.match(%r{^(test|spec|features)/})
|
20
|
+
end
|
21
|
+
spec.bindir = 'exe'
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ['lib']
|
24
|
+
|
25
|
+
spec.required_ruby_version = '>= 2.2.6'
|
26
|
+
|
27
|
+
spec.add_dependency 'guard', '~> 2.2'
|
28
|
+
spec.add_dependency 'guard-compat', '~> 1.2'
|
29
|
+
spec.add_runtime_dependency 'slim_lint', '>= 0.15.1'
|
30
|
+
|
31
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
32
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
33
|
+
spec.add_development_dependency 'rspec', '~> 3.7.0'
|
34
|
+
end
|
@@ -0,0 +1,120 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'guard/compat/plugin'
|
4
|
+
require 'shellwords'
|
5
|
+
|
6
|
+
module Guard
|
7
|
+
# This class is Guard plugin
|
8
|
+
class SlimLint < Plugin
|
9
|
+
DEFAULT_OPTIONS = {
|
10
|
+
all_on_start: true,
|
11
|
+
cli: nil
|
12
|
+
}.freeze
|
13
|
+
|
14
|
+
attr_reader :options
|
15
|
+
|
16
|
+
# Initializes a Guard plugin.
|
17
|
+
# Don't do any work here,
|
18
|
+
# especially as Guard plugins get initialized even if they are not in an active group!
|
19
|
+
#
|
20
|
+
# @param [Hash] options the custom Guard plugin options
|
21
|
+
# @option options [Array<Guard::Watcher>] watchers the Guard plugin file watchers
|
22
|
+
# @option options [Symbol] group the group this Guard plugin belongs to
|
23
|
+
# @option options [Boolean] any_return allow any object to be returned from a watcher
|
24
|
+
#
|
25
|
+
def initialize(options = {})
|
26
|
+
default_options = DEFAULT_OPTIONS.dup
|
27
|
+
@options = default_options.merge!(slim_dires: default_slim_dirs).merge!(options)
|
28
|
+
end
|
29
|
+
|
30
|
+
# Called once when Guard starts. Please override initialize method to init stuff.
|
31
|
+
#
|
32
|
+
# @raise [:task_has_failed] when start has failed
|
33
|
+
# @return [Object] the task result
|
34
|
+
#
|
35
|
+
def start
|
36
|
+
run if @options[:all_on_start]
|
37
|
+
end
|
38
|
+
|
39
|
+
# Called when `reload|r|z + enter` is pressed.
|
40
|
+
# This method should be mainly used for "reload" (really!)
|
41
|
+
# actions like reloading passenger/spork/bundler/...
|
42
|
+
#
|
43
|
+
# @return [nil]
|
44
|
+
#
|
45
|
+
def reload; end
|
46
|
+
|
47
|
+
# Called when just `enter` is pressed
|
48
|
+
# This method should be principally used for long action like running all specs/tests/...
|
49
|
+
#
|
50
|
+
# @raise [:task_has_failed] when run_all has failed
|
51
|
+
# @return [Object] the task result
|
52
|
+
#
|
53
|
+
def run_all
|
54
|
+
run
|
55
|
+
end
|
56
|
+
|
57
|
+
# Called on file(s) additions that the Guard plugin watches.
|
58
|
+
#
|
59
|
+
# @param [Array<String>] paths the changes files or paths
|
60
|
+
# @raise [:task_has_failed] when run_on_additions has failed
|
61
|
+
# @return [Object] the task result
|
62
|
+
#
|
63
|
+
def run_on_additions(paths)
|
64
|
+
run(paths)
|
65
|
+
end
|
66
|
+
|
67
|
+
# Called on file(s) modifications that the Guard plugin watches.
|
68
|
+
#
|
69
|
+
# @param [Array<String>] paths the changes files or paths
|
70
|
+
# @raise [:task_has_failed] when run_on_modifications has failed
|
71
|
+
# @return [Object] the task result
|
72
|
+
#
|
73
|
+
def run_on_modifications(paths)
|
74
|
+
run(paths)
|
75
|
+
end
|
76
|
+
|
77
|
+
# Called on file(s) removals that the Guard plugin watches.
|
78
|
+
#
|
79
|
+
# @return [nil]
|
80
|
+
#
|
81
|
+
def run_on_removals(paths); end
|
82
|
+
|
83
|
+
private
|
84
|
+
|
85
|
+
# @param [Array<String>] paths the changes files or paths
|
86
|
+
# @raise [:task_has_failed] when run_on_additions has failed
|
87
|
+
# @return [Object] the task result
|
88
|
+
#
|
89
|
+
def run(paths = [])
|
90
|
+
command = ['slim-lint']
|
91
|
+
command.concat build_cli_command(@options[:cli])
|
92
|
+
|
93
|
+
if paths.empty?
|
94
|
+
Guard::Compat::UI.info 'Running Slim-Lint for all slim files'
|
95
|
+
command.concat @options[:slim_dires]
|
96
|
+
else
|
97
|
+
Guard::Compat::UI.info "Running Slim-Lint for some of the slim files: #{paths.join('\n')}"
|
98
|
+
command.concat paths
|
99
|
+
end
|
100
|
+
|
101
|
+
throw :task_has_failed unless system(*command)
|
102
|
+
end
|
103
|
+
|
104
|
+
# @param [String] commands
|
105
|
+
#
|
106
|
+
def build_cli_command(commands)
|
107
|
+
case commands
|
108
|
+
when String then commands.shellsplit
|
109
|
+
when NilClass then []
|
110
|
+
else raise ArgumentError, 'Please specify only String for :cli option'
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# @return [Array<String>] slim directory paths
|
115
|
+
#
|
116
|
+
def default_slim_dirs
|
117
|
+
File.exist?('app/views') ? ['app/views'] : ['.']
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Guard-SlimLint supports a lot options with default values:
|
2
|
+
# all_on_start: true # Check all files at Guard startup. default: true
|
3
|
+
# slim_dires: ['app/views'] # Check Directories. default: 'app/views' or '.'
|
4
|
+
# cli: '--no-color' # Additional command line options to slim-lint.
|
5
|
+
guard :slim_lint do
|
6
|
+
watch(%r{.+\.html.*\.slim$})
|
7
|
+
watch(%r{(?:.+/)?\.slim-lint\.yml$}) { |m| File.dirname(m[0]) }
|
8
|
+
end
|
metadata
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: guard-slim_lint
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yasuhiko Katoh
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: guard
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: guard-compat
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.2'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.2'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: slim_lint
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.15.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.15.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.16'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.16'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 3.7.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 3.7.0
|
97
|
+
description: Guard::SlimLint automatically runs Slim Lint tools.
|
98
|
+
email:
|
99
|
+
- toyasyu@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- ".travis.yml"
|
107
|
+
- CODE_OF_CONDUCT.md
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
110
|
+
- LICENSE.txt
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- bin/console
|
114
|
+
- bin/setup
|
115
|
+
- guard-slim_lint.gemspec
|
116
|
+
- lib/guard/slim_lint.rb
|
117
|
+
- lib/guard/slim_lint/templates/Guardfile
|
118
|
+
- lib/guard/slim_lint/version.rb
|
119
|
+
homepage: https://github.com/yatmsu/guard-slim-lint
|
120
|
+
licenses:
|
121
|
+
- MIT
|
122
|
+
metadata: {}
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
require_paths:
|
126
|
+
- lib
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.2.6
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
requirements: []
|
138
|
+
rubyforge_project:
|
139
|
+
rubygems_version: 2.7.6
|
140
|
+
signing_key:
|
141
|
+
specification_version: 4
|
142
|
+
summary: Guard plugin for Slim-Lint
|
143
|
+
test_files: []
|