quality 7.0.0 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/quality/rake/config.rb +11 -4
- data/lib/quality/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d1d2f22bee9a46ee274bd62d797a7b244adf0cf
|
4
|
+
data.tar.gz: 387cbe6830fb239fdf34f07678650b79b3ebaf74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c199d2ce881f68df95cc72b1019a46a0816492b0e5fe3cff0567f7e2ec8d7cdf9cc45468e28f9093403f9beef4f24aeb5dc07648254a9b9cfec8ce89aa487ab
|
7
|
+
data.tar.gz: 54f9f7edfb3d502756f63eea45de92672dc596d12cb30bdce67f2c295102b9424fe32554f45264de645e9d7dc9718abc68a7347adf61ea0910fb2fee3f8ed70d
|
data/lib/quality/rake/config.rb
CHANGED
@@ -58,19 +58,26 @@ module Quality
|
|
58
58
|
@extra_files ||= ['Rakefile']
|
59
59
|
end
|
60
60
|
|
61
|
+
def source_file_extensions
|
62
|
+
"#{ruby_file_extensions},swift,cpp,c,java,py,clj,cljs,scala,js"
|
63
|
+
end
|
64
|
+
|
61
65
|
def source_files_glob(dirs = source_dirs,
|
62
|
-
extensions =
|
63
|
-
'rb,swift,cpp,c,java,py,clj,cljs,scala,js')
|
66
|
+
extensions = source_file_extensions)
|
64
67
|
File.join("{#{dirs.join(',')}}", '**',
|
65
68
|
"{#{extra_files.join(',')},*.{#{extensions}}}")
|
66
69
|
end
|
67
70
|
|
71
|
+
def ruby_file_extensions
|
72
|
+
'rb,rake'
|
73
|
+
end
|
74
|
+
|
68
75
|
def ruby_files_glob
|
69
|
-
source_files_glob(ruby_dirs,
|
76
|
+
source_files_glob(ruby_dirs, ruby_file_extensions)
|
70
77
|
end
|
71
78
|
|
72
79
|
def ruby_files
|
73
|
-
@globber.glob(
|
80
|
+
@globber.glob("{*.{#{ruby_file_extensions}},Rakefile}")
|
74
81
|
.concat(@globber.glob(ruby_files_glob)).join(' ')
|
75
82
|
end
|
76
83
|
|
data/lib/quality/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quality
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cane
|