rspec-routes_coverage 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,7 +49,10 @@ module RSpec
49
49
 
50
50
  ::Rails.application.reload_routes!
51
51
 
52
- self.pending_routes = ::Rails.application.routes.routes.routes.clone
52
+ self.pending_routes = ::Rails.application.routes.routes.routes.select{|x|
53
+ !x.app.is_a?(Sprockets::Environment)
54
+ }
55
+
53
56
  self.excluded_routes = []
54
57
  self.auto_tested_routes = []
55
58
  self.manually_tested_routes = []
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module RoutesCoverage
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
6
6
  gem.email = ["a.shaydurov@roundlake.ru", "boris@roundlake.ru"]
7
7
  gem.description = %q{Rails-RSpec plugin that will track the coverage of routes among your request specs}
8
8
  gem.summary = %q{Rails-RSpec plugin that will track the coverage of routes among your request specs}
9
- gem.homepage = ""
9
+ gem.homepage = "https://github.com/inossidabile/rspec-routes_coverage"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
12
12
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,52 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-routes_coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
5
- prerelease:
4
+ prerelease:
5
+ version: 0.1.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrew Shaydurov
9
9
  - Boris Staal
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-11-25 00:00:00.000000000 Z
13
+ date: 2012-12-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec-rails
17
- requirement: &70107535544080 !ruby/object:Gem::Requirement
17
+ version_requirements: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: !binary |-
22
+ MA==
18
23
  none: false
24
+ requirement: !ruby/object:Gem::Requirement
19
25
  requirements:
20
26
  - - ! '>='
21
27
  - !ruby/object:Gem::Version
22
- version: '0'
23
- type: :runtime
28
+ version: !binary |-
29
+ MA==
30
+ none: false
24
31
  prerelease: false
25
- version_requirements: *70107535544080
32
+ type: :runtime
26
33
  - !ruby/object:Gem::Dependency
27
34
  name: colored
28
- requirement: &70107535543460 !ruby/object:Gem::Requirement
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: !binary |-
40
+ MA==
29
41
  none: false
42
+ requirement: !ruby/object:Gem::Requirement
30
43
  requirements:
31
44
  - - ! '>='
32
45
  - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
46
+ version: !binary |-
47
+ MA==
48
+ none: false
35
49
  prerelease: false
36
- version_requirements: *70107535543460
50
+ type: :runtime
37
51
  - !ruby/object:Gem::Dependency
38
52
  name: actionpack
39
- requirement: &70107535542740 !ruby/object:Gem::Requirement
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: !binary |-
58
+ MA==
40
59
  none: false
60
+ requirement: !ruby/object:Gem::Requirement
41
61
  requirements:
42
62
  - - ! '>='
43
63
  - !ruby/object:Gem::Version
44
- version: '0'
45
- type: :runtime
64
+ version: !binary |-
65
+ MA==
66
+ none: false
46
67
  prerelease: false
47
- version_requirements: *70107535542740
48
- description: Rails-RSpec plugin that will track the coverage of routes among your
49
- request specs
68
+ type: :runtime
69
+ description: Rails-RSpec plugin that will track the coverage of routes among your request specs
50
70
  email:
51
71
  - a.shaydurov@roundlake.ru
52
72
  - boris@roundlake.ru
@@ -66,29 +86,30 @@ files:
66
86
  - lib/rspec/routes_coverage/version.rb
67
87
  - lib/tasks/rspec/routes_coverage.rake
68
88
  - rspec-routes_coverage.gemspec
69
- homepage: ''
89
+ homepage: https://github.com/inossidabile/rspec-routes_coverage
70
90
  licenses: []
71
- post_install_message:
91
+ post_install_message:
72
92
  rdoc_options: []
73
93
  require_paths:
74
94
  - lib
75
95
  required_ruby_version: !ruby/object:Gem::Requirement
76
- none: false
77
96
  requirements:
78
97
  - - ! '>='
79
98
  - !ruby/object:Gem::Version
80
- version: '0'
81
- required_rubygems_version: !ruby/object:Gem::Requirement
99
+ version: !binary |-
100
+ MA==
82
101
  none: false
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
103
  requirements:
84
104
  - - ! '>='
85
105
  - !ruby/object:Gem::Version
86
- version: '0'
106
+ version: !binary |-
107
+ MA==
108
+ none: false
87
109
  requirements: []
88
- rubyforge_project:
89
- rubygems_version: 1.8.15
90
- signing_key:
110
+ rubyforge_project:
111
+ rubygems_version: 1.8.24
112
+ signing_key:
91
113
  specification_version: 3
92
- summary: Rails-RSpec plugin that will track the coverage of routes among your request
93
- specs
114
+ summary: Rails-RSpec plugin that will track the coverage of routes among your request specs
94
115
  test_files: []