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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9697edf2e13d9622e387d3fa9531e4b89c9d26db
4
- data.tar.gz: 0a063915efe75a369509a7c7ba9fb6f24db6b313
3
+ metadata.gz: b5456868e454a547396bd4b60fbf2b0ac444c2b9
4
+ data.tar.gz: 3a04207f49e5ea83fea0b56b6be17211bd9ab60b
5
5
  SHA512:
6
- metadata.gz: 900358afd4ab7fe0e8bd04283258449352177619ae615bfbd5a0add6f6e5bffbe425df94f839c527711214cb212f2c7b9c8a40be11c85618d7713aaa8f21ce07
7
- data.tar.gz: 3c176c2cd22af63f9a2b0f90c19bd98deda0227926e8e3b8cd27f98c527cb1de3684b4b32006fd96fc299a9671075317772a29c53931748729ecb78dab4ee2fb
6
+ metadata.gz: 9ff30c3f252e24793e5a00b244a7c67453b64e2e746cf508647abfc8a35e7a02a28e243cd4593ac4e7e76aef557dcf4af4f9ce4890b3a028e166d1ce2c8ee94c
7
+ data.tar.gz: 5aad7656fe6e61c7ca70542b379f16166929ccc288149c8b2e0230029cef6e4ff4d3b1dfe28231eaa139b19decbc6cbbc7051ffd03550cbbefa09d53f5bda07d
data/.travis.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.1
4
+ - 2.3.3
5
+ - 2.4.0
5
6
  before_install: gem install bundler -v 1.12.5
@@ -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 == ".rb"
75
- true
76
- when path.extname == ".gemspec"
85
+ when extensions.include?(path.extname)
77
86
  true
78
- when path.basename.to_s == "Rakefile"
87
+ when basenames.include?(path.basename.to_s)
79
88
  true
80
89
  else
81
90
  preprocessors.key?(path.extname)
@@ -1,3 +1,3 @@
1
1
  module Querly
2
- VERSION = "0.3.1"
2
+ VERSION = "0.4.0"
3
3
  end
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.3.1"
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.3.1
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-02-16 00:00:00.000000000 Z
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.3.1
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.3.1
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.8
191
+ rubygems_version: 2.6.10
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Pattern Based Checking Tool for Ruby