querly 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/lib/querly/script_enumerator.rb +13 -4
- data/lib/querly/version.rb +1 -1
- data/querly.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5456868e454a547396bd4b60fbf2b0ac444c2b9
|
4
|
+
data.tar.gz: 3a04207f49e5ea83fea0b56b6be17211bd9ab60b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ff30c3f252e24793e5a00b244a7c67453b64e2e746cf508647abfc8a35e7a02a28e243cd4593ac4e7e76aef557dcf4af4f9ce4890b3a028e166d1ce2c8ee94c
|
7
|
+
data.tar.gz: 5aad7656fe6e61c7ca70542b379f16166929ccc288149c8b2e0230029cef6e4ff4d3b1dfe28231eaa139b19decbc6cbbc7051ffd03550cbbefa09d53f5bda07d
|
data/.travis.yml
CHANGED
@@ -70,12 +70,21 @@ module Querly
|
|
70
70
|
enumerate_files_in_dir child, &block
|
71
71
|
end
|
72
72
|
when path.file?
|
73
|
+
|
74
|
+
|
75
|
+
extensions = %w[
|
76
|
+
.rb .builder .fcgi .gemspec .god .jbuilder .jb .mspec .opal .pluginspec
|
77
|
+
.podspec .rabl .rake .rbuild .rbw .rbx .ru .ruby .spec .thor .watchr
|
78
|
+
]
|
79
|
+
basenames = %w[
|
80
|
+
.irbrc .pryrc buildfile Appraisals Berksfile Brewfile Buildfile Capfile
|
81
|
+
Cheffile Dangerfile Deliverfile Fastfile Gemfile Guardfile Jarfile Mavenfile
|
82
|
+
Podfile Puppetfile Rakefile Snapfile Thorfile Vagabondfile Vagrantfile
|
83
|
+
]
|
73
84
|
should_load_file = case
|
74
|
-
when path.extname
|
75
|
-
true
|
76
|
-
when path.extname == ".gemspec"
|
85
|
+
when extensions.include?(path.extname)
|
77
86
|
true
|
78
|
-
when path.basename.to_s
|
87
|
+
when basenames.include?(path.basename.to_s)
|
79
88
|
true
|
80
89
|
else
|
81
90
|
preprocessors.key?(path.extname)
|
data/lib/querly/version.rb
CHANGED
data/querly.gemspec
CHANGED
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency "unification_assertion", "0.0.1"
|
29
29
|
|
30
30
|
spec.add_dependency 'thor', "~> 0.19"
|
31
|
-
spec.add_dependency "parser", "~> 2.
|
31
|
+
spec.add_dependency "parser", "~> 2.4.0"
|
32
32
|
spec.add_dependency "rainbow", "~> 2.1"
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: querly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
103
|
+
version: 2.4.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.
|
110
|
+
version: 2.4.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rainbow
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
190
|
rubyforge_project:
|
191
|
-
rubygems_version: 2.6.
|
191
|
+
rubygems_version: 2.6.10
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: Pattern Based Checking Tool for Ruby
|