described_routes 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +10 -0
  2. data/lib/described_routes.rb +2 -1
  3. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,13 @@
1
+ == 0.1.1 2009-04-24
2
+
3
+ * 1 minor enhancement:
4
+ * include uri_template elements in XML
5
+
6
+ == 0.1.0 2009-04-24
7
+
8
+ * 1 major enhancement:
9
+ * added Rails controller
10
+
1
11
  == 0.0.1 2009-04-24
2
12
 
3
13
  * 1 major enhancement:
@@ -2,7 +2,7 @@ require 'described_routes/resource_template'
2
2
 
3
3
  module DescribedRoutes
4
4
  # rubygem version
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
 
7
7
  # Convert an array of ResourceTemplate objects to array of hashes equivalent to their JSON or YAML representations
8
8
  def self.to_parsed(resource_templates)
@@ -48,6 +48,7 @@ module DescribedRoutes
48
48
  value_tag(xm, resource_template, "rel")
49
49
  value_tag(xm, resource_template, "name")
50
50
  value_tag(xm, resource_template, "path_template")
51
+ value_tag(xm, resource_template, "uri_template")
51
52
 
52
53
  list_tag(xm, resource_template["params"], "Params", "param")
53
54
  list_tag(xm, resource_template["optional_params"], "OptionalParams", "param")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: described_routes
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
  - Mike Burrows