flex-source-inspector 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,8 @@ module FlexSourceInspector
|
|
6
6
|
|
7
7
|
def self.inspect( src_folder, *link_reports)
|
8
8
|
|
9
|
-
puts "
|
10
|
-
puts "
|
9
|
+
puts "\nFlex Source Inspector : Version: #{Flex::Source::Inspector::VERSION}"
|
10
|
+
puts "-- inspect --"
|
11
11
|
|
12
12
|
raise "FlexSourceInspector::Error source folder doesn't exist #{src_folder}" unless File.exists? src_folder
|
13
13
|
|
@@ -16,12 +16,11 @@ module FlexSourceInspector
|
|
16
16
|
|
17
17
|
used = Array.new
|
18
18
|
|
19
|
-
puts ""
|
20
19
|
puts "src folder: #{src_folder}"
|
21
|
-
puts ""
|
22
20
|
|
21
|
+
names = link_reports.map{ |n| File.basename(n)}
|
22
|
+
puts "reading: #{names.join(', ')}"
|
23
23
|
link_reports.each{|report|
|
24
|
-
puts "reading: #{report}"
|
25
24
|
raise "FlexSourceInspector::Error: #{report} doesn't exist!" unless File.exists?( report )
|
26
25
|
|
27
26
|
file = File.open( report )
|
@@ -32,7 +31,6 @@ module FlexSourceInspector
|
|
32
31
|
add_to_used( used, project_files, name, src_folder )
|
33
32
|
}
|
34
33
|
}
|
35
|
-
puts ""
|
36
34
|
unused = project_files - used
|
37
35
|
lines = unused.join("\n")
|
38
36
|
"result:\n#{lines}\nend"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flex-source-inspector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|