source_finder 3.0.0 → 3.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c7fc208b386998bded145278c09bc62ed2ad8e0
|
4
|
+
data.tar.gz: 2734143440e5ef0a69b5901150fcebc6c95efc0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a2563d9e8171204f61e0f0c6b35508b31f769ded67c084dc88d2ead01e0b34c4006180a4133cb1a78848a6d159dcc120058782272d4619caa05b46ed36dfbdf
|
7
|
+
data.tar.gz: 72241b7b948495e039588b042e7f1377b650d6594d03f4a661212f1fa22b545f7cb0eac29c9a5d590343c62ac2917e3e88517836fd490798c01b99624c7150c9
|
@@ -13,13 +13,12 @@ module SourceFinder
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def js_file_extensions_arr
|
16
|
-
make_extensions_arr(@
|
17
|
-
@js_file_extensions_arr,
|
16
|
+
make_extensions_arr(@js_file_extensions_arr,
|
18
17
|
%w(js))
|
19
18
|
end
|
20
19
|
|
21
20
|
def js_file_extensions_glob
|
22
|
-
|
21
|
+
js_file_extensions_arr.join(',')
|
23
22
|
end
|
24
23
|
|
25
24
|
def js_files_glob
|
@@ -5,7 +5,7 @@ module SourceFinder
|
|
5
5
|
:python_file_extensions_arr
|
6
6
|
|
7
7
|
def python_dirs_arr
|
8
|
-
@python_dirs_arr ||= %w(src)
|
8
|
+
@python_dirs_arr ||= %w(src tests)
|
9
9
|
end
|
10
10
|
|
11
11
|
def extra_python_files_arr
|
@@ -13,8 +13,7 @@ module SourceFinder
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def python_file_extensions_arr
|
16
|
-
make_extensions_arr(@
|
17
|
-
@python_file_extensions_arr,
|
16
|
+
make_extensions_arr(@python_file_extensions_arr,
|
18
17
|
%w(py))
|
19
18
|
end
|
20
19
|
|
@@ -13,13 +13,12 @@ module SourceFinder
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def ruby_file_extensions_arr
|
16
|
-
make_extensions_arr(@
|
17
|
-
@ruby_file_extensions_arr,
|
16
|
+
make_extensions_arr(@ruby_file_extensions_arr,
|
18
17
|
%w(gemspec rake rb))
|
19
18
|
end
|
20
19
|
|
21
20
|
def ruby_file_extensions_glob
|
22
|
-
|
21
|
+
ruby_file_extensions_arr.join(',')
|
23
22
|
end
|
24
23
|
|
25
24
|
def ruby_files_glob
|
@@ -70,7 +70,7 @@ module SourceFinder
|
|
70
70
|
end
|
71
71
|
|
72
72
|
def source_file_extensions_glob
|
73
|
-
|
73
|
+
source_file_extensions_arr.join(',')
|
74
74
|
end
|
75
75
|
|
76
76
|
def source_and_doc_file_extensions_arr
|
@@ -78,15 +78,7 @@ module SourceFinder
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def source_and_doc_file_extensions_glob
|
81
|
-
|
82
|
-
@source_and_doc_file_extensions_glob
|
83
|
-
elsif @source_file_extensions_glob
|
84
|
-
@source_and_doc_file_extensions_glob ||=
|
85
|
-
@source_file_extensions_glob + ',' + doc_file_extensions_arr.join(',')
|
86
|
-
else
|
87
|
-
@source_and_doc_file_extensions_glob ||=
|
88
|
-
source_and_doc_file_extensions_arr.join(',')
|
89
|
-
end
|
81
|
+
source_and_doc_file_extensions_arr.join(',')
|
90
82
|
end
|
91
83
|
|
92
84
|
def source_files_glob
|
@@ -101,7 +93,7 @@ module SourceFinder
|
|
101
93
|
end
|
102
94
|
|
103
95
|
def arr2glob(arr)
|
104
|
-
arr.
|
96
|
+
!arr.empty? ? "#{arr.join(',')}," : ''
|
105
97
|
end
|
106
98
|
|
107
99
|
def make_files_glob(extra_source_files_arr, dirs_arr, extensions_glob)
|
@@ -110,7 +102,7 @@ module SourceFinder
|
|
110
102
|
"{*,.*}.{#{extensions_glob}}") + '}'
|
111
103
|
end
|
112
104
|
|
113
|
-
def make_extensions_arr(
|
105
|
+
def make_extensions_arr(arr_var, default_arr)
|
114
106
|
arr_var || default_arr
|
115
107
|
end
|
116
108
|
|
data/source_finder.gemspec
CHANGED
@@ -22,9 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.add_development_dependency 'bundler'
|
25
|
+
spec.add_development_dependency 'bundler'
|
26
26
|
spec.add_development_dependency 'rake', '~> 10.0'
|
27
27
|
spec.add_development_dependency 'quality'
|
28
|
+
spec.add_development_dependency 'rubocop', '!= 0.39.0'
|
28
29
|
spec.add_development_dependency 'rspec'
|
29
30
|
spec.add_development_dependency 'simplecov'
|
30
31
|
end
|
metadata
CHANGED
@@ -1,83 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: source_finder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: quality
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "!="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.39.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "!="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.39.0
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rspec
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: simplecov
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '0'
|
83
97
|
description:
|
@@ -108,17 +122,17 @@ require_paths:
|
|
108
122
|
- lib
|
109
123
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
124
|
requirements:
|
111
|
-
- -
|
125
|
+
- - ">="
|
112
126
|
- !ruby/object:Gem::Version
|
113
127
|
version: '0'
|
114
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
129
|
requirements:
|
116
|
-
- -
|
130
|
+
- - ">="
|
117
131
|
- !ruby/object:Gem::Version
|
118
132
|
version: '0'
|
119
133
|
requirements: []
|
120
134
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.4.
|
135
|
+
rubygems_version: 2.4.5.1
|
122
136
|
signing_key:
|
123
137
|
specification_version: 4
|
124
138
|
summary: SourceFinder finds source and documentation files within a project.
|