described_routes 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.3.3 2009-05-05
2
+
3
+ * Please comment on roadmap at http://positiveincline.com/?p=213
4
+ * 1 minor fix:
5
+ * fix controller for YAML output
6
+
1
7
  == 0.3.0 2009-05-03
2
8
 
3
9
  * 1 major enhancement:
data/README.rdoc CHANGED
@@ -1,5 +1,7 @@
1
1
  = described_routes README
2
2
 
3
+ * Please comment on roadmap at http://positiveincline.com/?p=213
4
+
3
5
  == DESCRIPTION:
4
6
 
5
7
  Outputs hierarchical, framework-neutral descriptions of Rails routes in JSON, YAML, XML and plain text formats for potential consumption by client applications (e.g. those based on path-to[http://github.com/asplake/path-to/tree]).
data/Rakefile CHANGED
@@ -16,7 +16,8 @@ $hoe = Hoe.new('described_routes', DescribedRoutes::VERSION) do |p|
16
16
  p.developer('Mike Burrows', 'mjb@asplake.co.uk')
17
17
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
18
18
  p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
19
- p.rubyforge_name = 'describedroutes' # TODO this is default value
19
+ p.rubyforge_name = 'describedroutes'
20
+ p.url = 'http://positiveincline.com/?tag=described_routes'
20
21
  # p.extra_deps = [
21
22
  # ['activesupport','>= 2.0.2'],
22
23
  # ]
@@ -2,5 +2,5 @@ require 'described_routes/resource_template'
2
2
 
3
3
  module DescribedRoutes
4
4
  # rubygem version
5
- VERSION = "0.3.2"
5
+ VERSION = "0.3.3"
6
6
  end
@@ -12,7 +12,7 @@ module DescribedRoutes
12
12
  format.json { render :json => ResourceTemplate.to_json(resource_templates) }
13
13
  format.text { render :text => ResourceTemplate.to_text(resource_templates) }
14
14
  format.yaml do
15
- yaml = resource_templates.to_yaml(resource_templates)
15
+ yaml = ResourceTemplate::to_yaml(resource_templates)
16
16
  yaml = yaml.grep(/(name|rel|path_template|uri_template|resources):|^---/).to_s if ['true', '1'].member?(params["short"])
17
17
  render :text => yaml
18
18
  end
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Burrows
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-03 00:00:00 +01:00
12
+ date: 2009-05-05 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.3.0
23
+ version: 1.4.1
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hoe
@@ -64,7 +64,7 @@ files:
64
64
  - test/test_helper.rb
65
65
  - test/test_resource_template.rb
66
66
  has_rdoc: true
67
- homepage:
67
+ homepage: http://positiveincline.com/?tag=described_routes
68
68
  licenses: []
69
69
 
70
70
  post_install_message: PostInstall.txt
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements: []
89
89
 
90
90
  rubyforge_project: describedroutes
91
- rubygems_version: 1.3.2
91
+ rubygems_version: 1.3.3
92
92
  signing_key:
93
93
  specification_version: 3
94
94
  summary: Outputs hierarchical, framework-neutral descriptions of Rails routes in JSON, YAML, XML and plain text formats for potential consumption by client applications (e.g