dcrec1-rspec-vraptor 0.9.6.3 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ require 'rake/gempackagetask'
8
8
  require 'spec/rake/spectask'
9
9
 
10
10
  GEM = "rspec-vraptor"
11
- GEM_VERSION = "0.9.6.2"
11
+ GEM_VERSION = "0.9.7"
12
12
  SUMMARY = "RSpec for VRaptor Sexy/Nice URLs"
13
13
  AUTHOR = "Diego Carrion"
14
14
  EMAIL = "dc.rec1@gmail.com"
@@ -27,9 +27,9 @@ class MockedServletContext
27
27
 
28
28
  def get_resource_paths(path)
29
29
  paths = HashSet.new
30
- path = @basic_path = ($CLASSPATH.select {|p| p.include? "classes"})[0].sub("file:", "") if path.eql? "/WEB-INF/classes/"
30
+ path = @basic_path = ($CLASSPATH.select {|p| p.include? "/classes/"})[0].sub("file:", "") if path.eql? "/WEB-INF/classes/"
31
31
  Dir[path + "*"].each do |path|
32
- path = path + "/" unless path.include? "."
32
+ path = path + "/" unless File::directory?(path)
33
33
  path = path.gsub(@basic_path, "/WEB-INF/classes/") if path.include? ".class"
34
34
  paths.add path
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcrec1-rspec-vraptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6.3
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Carrion
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-18 00:00:00 -07:00
12
+ date: 2009-04-01 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,16 +22,16 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
+ - lib/environment.rb
25
26
  - lib/spec/vraptor.rb
27
+ - lib/spec/vraptor/mocked_filter_config.rb
26
28
  - lib/spec/vraptor/mocked_cookie.rb
27
- - lib/spec/vraptor/matchers.rb
28
- - lib/spec/vraptor/mocked_servlet_context.rb
29
29
  - lib/spec/vraptor/mocked_http_response.rb
30
- - lib/spec/vraptor/mocked_request_dispatcher.rb
31
30
  - lib/spec/vraptor/mocked_http_session.rb
32
- - lib/spec/vraptor/mocked_filter_config.rb
31
+ - lib/spec/vraptor/mocked_request_dispatcher.rb
32
+ - lib/spec/vraptor/mocked_servlet_context.rb
33
33
  - lib/spec/vraptor/mocked_http_request.rb
34
- - lib/environment.rb
34
+ - lib/spec/vraptor/matchers.rb
35
35
  - README.textile
36
36
  - Rakefile
37
37
  has_rdoc: false
@@ -59,6 +59,6 @@ rubyforge_project: rspec-vraptor
59
59
  rubygems_version: 1.2.0
60
60
  signing_key:
61
61
  specification_version: 2
62
- summary: RSpec for VRaptor Sexy URLs
62
+ summary: RSpec for VRaptor Sexy/Nice URLs
63
63
  test_files: []
64
64