cch 0.6.0 → 0.6.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 +8 -8
- data/README.md +2 -3
- data/lib/cch/runner.rb +2 -1
- data/lib/cch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Y2I3OWFlNmJhNmQ0OTljNGY3ZDNkMmEwOTkyMjQzNTQ5MTc0MjRmNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDczNTQ2ZGQxMDJhMjQ1YmQxMDJmZjhlZDY2ZmY4ZGUxYTdjNjg1Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Nzk5NmViZWYwNDk3YjQ3NTcyNzQ3OTc5MjViYWM0NDc4Zjc1ZDY3MjlmNDY0
|
10
|
+
N2JkNGU5Y2VmYzJiMDQxNDdjYTVlNjFkNjRmYzNkNGU1ODU5YWI0NTI1MWU1
|
11
|
+
YWU3MDQwNmFhNzc4NWFhMzBkZjk3MTFiZjBhYzM1ZjAyZTI0ZDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjlmNTgzYjIyY2NkNmYzYmFmNjNhZmE0OTEzOTgwZjQyOGQ1NThkM2EzYjM3
|
14
|
+
MzMwMjcyZDIyNGZlNGI5ZjM3MmEzMDA1YmIwOGVlZDI5MGUzZWNlZTE5NTBl
|
15
|
+
ZDExMjZiMGRiZmJmYjMxNTU3ODYyZjY1ZDQxZmY2YWU4NDljMDc=
|
data/README.md
CHANGED
@@ -16,13 +16,13 @@ CCH - Check on changes for ruby projects
|
|
16
16
|
gem install cch
|
17
17
|
```
|
18
18
|
|
19
|
-
Generates a `Cchfile` for project configuration:
|
19
|
+
Generates a `Cchfile` for your project configuration:
|
20
20
|
|
21
21
|
```shell
|
22
22
|
cch_install
|
23
23
|
```
|
24
24
|
|
25
|
-
Configure through the `Cchfile`
|
25
|
+
Configure through the `Cchfile` what you want to run by **cch**:
|
26
26
|
|
27
27
|
```ruby
|
28
28
|
Cch::Runner.run [:rubocop, :haml_lint, :rspec]
|
@@ -56,7 +56,6 @@ To release a new version, update the version number in `version.rb`, and then ru
|
|
56
56
|
|
57
57
|
Bug reports and pull requests are welcome on GitHub at https://github.com/vnegrisolo/cch. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://github.com/vnegrisolo/cch/blob/master/CONTRIBUTING.md) code of conduct.
|
58
58
|
|
59
|
-
|
60
59
|
## License
|
61
60
|
|
62
61
|
The gem is available as open source under the terms of the [MIT License](https://github.com/vnegrisolo/cch/blob/master/LICENSE.md).
|
data/lib/cch/runner.rb
CHANGED
@@ -24,8 +24,9 @@ module Cch
|
|
24
24
|
runners = all
|
25
25
|
runners = runners.select(&:on) if options[:on?]
|
26
26
|
if (names = [options[:name]].flatten.compact).any?
|
27
|
-
runners = runners.select { |r| names.include?(r.name) }
|
27
|
+
runners = runners.select { |r| names.include?(r.name.to_s) }
|
28
28
|
end
|
29
|
+
|
29
30
|
runners
|
30
31
|
end
|
31
32
|
end
|
data/lib/cch/version.rb
CHANGED