insurance 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ EOF
25
25
  opts.separator ''
26
26
  opts.on_tail('-h', '--help', 'Show this message') do
27
27
  puts opts
28
- exit!
28
+ exit
29
29
  end
30
30
  opts.on_tail('--version', 'Show version') do
31
31
  puts "Insurance #{Insurance::VERSION}, #{Insurance::RELEASE_DATE}"
@@ -36,12 +36,12 @@ opts.parse! ARGV
36
36
  if options[:apply_to]
37
37
  require 'insurance/generators/rails/loader'
38
38
  InsuranceLoader::Generators::RailsLoader.load! options
39
- exit!
39
+ exit
40
40
  end
41
41
 
42
42
  unless File.exist?('config/environment.rb')
43
43
  puts 'Please run railscov from your RAILS_ROOT'
44
- exit!
44
+ exit
45
45
  end
46
46
 
47
47
 
@@ -82,4 +82,4 @@ module Test
82
82
  end
83
83
  end
84
84
 
85
- Insurance::RailsAnalyzer.run(Dir['test/unit/*.rb'] + Dir['test/functional/*.rb'])
85
+ Insurance::RailsAnalyzer.run(Dir['test/unit/**/*.rb'] + Dir['test/functional/**/*.rb'])
@@ -1,9 +1,9 @@
1
- require 'insurance_tracer'
1
+ require 'insurance_tracer.so'
2
2
  require 'insurance/analyzer'
3
3
  require 'insurance/source_file'
4
4
  require 'insurance/formatter'
5
5
 
6
6
  module Insurance
7
- VERSION = '0.2'
7
+ VERSION = '0.1'
8
8
  RELEASE_DATE = '28 Oct 2005'
9
9
  end
@@ -75,7 +75,7 @@ module Insurance
75
75
  require 'config/environment'
76
76
  Insurance.set_trace_func self.method(:line_trace_func).to_proc
77
77
  require 'application'
78
- (Dir['app/models/*.rb'] + Dir['app/controllers/*.rb']).each { |f| load f }
78
+ (Dir['app/models/**/*.rb'] + Dir['app/controllers/**/*.rb']).each { |f| load f }
79
79
  end
80
80
  end
81
81
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.6
2
+ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: insurance
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.2"
7
- date: 2005-10-28
6
+ version: "0.3"
7
+ date: 2006-02-19 00:00:00 -08:00
8
8
  summary: Code coverage analysis package.
9
9
  require_paths:
10
- - lib
10
+ - lib
11
11
  email: scott@elitists.net
12
12
  homepage: http://lunchboxsoftware.com/insurance
13
13
  rubyforge_project: insurance
@@ -18,50 +18,54 @@ bindir: bin
18
18
  has_rdoc: false
19
19
  required_ruby_version: !ruby/object:Gem::Version::Requirement
20
20
  requirements:
21
- -
22
- - ">"
23
- - !ruby/object:Gem::Version
24
- version: 0.0.0
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
25
24
  version:
26
25
  platform: ruby
26
+ signing_key:
27
+ cert_chain:
27
28
  authors:
28
- - Scott Barron
29
+ - Scott Barron
29
30
  files:
30
- - extconf.rb
31
- - insurance_tracer.c
32
- - bin/railscov
33
- - lib/insurance
34
- - lib/insurance.rb
35
- - lib/insurance/analyzer.rb
36
- - lib/insurance/formatter.rb
37
- - lib/insurance/generators
38
- - lib/insurance/source_file.rb
39
- - lib/insurance/templates
40
- - lib/insurance/generators/rails
41
- - lib/insurance/generators/rails/insurance
42
- - lib/insurance/generators/rails/loader.rb
43
- - lib/insurance/generators/rails/insurance/insurance_generator.rb
44
- - lib/insurance/generators/rails/insurance/templates
45
- - lib/insurance/generators/rails/insurance/templates/insurance.rake
46
- - lib/insurance/templates/code-page.rhtml
47
- - lib/insurance/templates/index.rhtml
48
- - test/test_settracefunc.rb
31
+ - extconf.rb
32
+ - insurance_tracer.c
33
+ - bin/railscov
34
+ - lib/insurance
35
+ - lib/insurance.rb
36
+ - lib/insurance/analyzer.rb
37
+ - lib/insurance/formatter.rb
38
+ - lib/insurance/generators
39
+ - lib/insurance/source_file.rb
40
+ - lib/insurance/templates
41
+ - lib/insurance/generators/rails
42
+ - lib/insurance/generators/rails/insurance
43
+ - lib/insurance/generators/rails/loader.rb
44
+ - lib/insurance/generators/rails/insurance/insurance_generator.rb
45
+ - lib/insurance/generators/rails/insurance/templates
46
+ - lib/insurance/generators/rails/insurance/templates/insurance.rake
47
+ - lib/insurance/templates/code-page.rhtml
48
+ - lib/insurance/templates/index.rhtml
49
+ - test/test_settracefunc.rb
49
50
  test_files: []
51
+
50
52
  rdoc_options: []
53
+
51
54
  extra_rdoc_files: []
55
+
52
56
  executables:
53
- - railscov
57
+ - railscov
54
58
  extensions:
55
- - extconf.rb
59
+ - extconf.rb
56
60
  requirements: []
61
+
57
62
  dependencies:
58
- - !ruby/object:Gem::Dependency
59
- name: syntax
60
- version_requirement:
61
- version_requirements: !ruby/object:Gem::Version::Requirement
62
- requirements:
63
- -
64
- - ">="
65
- - !ruby/object:Gem::Version
66
- version: 1.0.0
67
- version:
63
+ - !ruby/object:Gem::Dependency
64
+ name: syntax
65
+ version_requirement:
66
+ version_requirements: !ruby/object:Gem::Version::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 1.0.0
71
+ version: