sinatra-resources 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+
2
+ == 0.1.1 (January 14, 2010)
3
+
4
+ * Fixed nested symbol routes - eddanger (Michael Wood)
5
+
6
+ * Renamed tests and updated README.txt for clarify
7
+
8
+ == 0.1.0 (January 4, 2010)
9
+
10
+ * Initial release
11
+
@@ -36,6 +36,7 @@ module Sinatra
36
36
 
37
37
  def make_path(path)
38
38
  return path if path.is_a?(Regexp) || @path_parts.nil? || @path_parts.empty?
39
+ path = path.to_s if path.is_a?(Symbol)
39
40
  route = @path_parts.join('/')
40
41
  route += '/' + path if path
41
42
  '/' + route.squeeze('/')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Wiger
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-04 00:00:00 -08:00
12
+ date: 2010-01-14 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -29,13 +29,15 @@ executables: []
29
29
  extensions: []
30
30
 
31
31
  extra_rdoc_files:
32
+ - CHANGELOG.rdoc
32
33
  - README.rdoc
33
34
  files:
34
35
  - lib/sinatra/resources.rb
35
36
  - test/contest.rb
36
37
  - test/helper.rb
37
- - test/routing_test.rb
38
+ - test/sinatra_resources_test.rb
38
39
  - test/test_app.rb
40
+ - CHANGELOG.rdoc
39
41
  - README.rdoc
40
42
  has_rdoc: true
41
43
  homepage: http://github.com/nateware/sinatra-resources