described_routes 0.4.0 → 0.4.1
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/History.txt +4 -0
- data/README.rdoc +8 -6
- data/Rakefile +10 -3
- data/lib/described_routes.rb +1 -1
- metadata +19 -4
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,8 +1,12 @@
|
|
1
|
-
= described_routes
|
1
|
+
= described_routes
|
2
2
|
|
3
|
-
|
3
|
+
== DESCRIPTION
|
4
4
|
|
5
|
-
|
5
|
+
Framework-neutral metadata, describing (among other things) your Rails routes in JSON, YAML, XML and plain text formats.
|
6
|
+
|
7
|
+
Also the home (for now at least) of the ResourceTemplate class.
|
8
|
+
|
9
|
+
See roadmap for described_routes and path-to[http://github.com/asplake/path-to/tree] at http://positiveincline.com/?p=213.
|
6
10
|
|
7
11
|
== SYNOPSIS:
|
8
12
|
|
@@ -214,9 +218,7 @@ This hook operates on the raw "parsed" (Array/Hash) data before conversion to Re
|
|
214
218
|
|
215
219
|
Rails, for the Rake tasks and Rails controller. The ResourceTemplate class and its formats are however Rails-independent.
|
216
220
|
|
217
|
-
The addressable[http://github.com/sporkmonger/addressable/tree
|
218
|
-
expansion. You will need to grab the latest from github as (at the time of writing) the latest gem package hasn't been released
|
219
|
-
to Rubyforge.
|
221
|
+
The addressable[http://github.com/sporkmonger/addressable/tree] gem, 2.1.0 or above. This is now available as a regular gem install from Rubyforge.
|
220
222
|
|
221
223
|
== INSTALL:
|
222
224
|
|
data/Rakefile
CHANGED
@@ -10,9 +10,9 @@ $hoe = Hoe.new('described_routes', DescribedRoutes::VERSION) do |p|
|
|
10
10
|
p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
|
11
11
|
p.rubyforge_name = 'describedroutes'
|
12
12
|
p.url = 'http://positiveincline.com/?p=213'
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
p.extra_deps = [
|
14
|
+
['addressable','>= 2.1.0'],
|
15
|
+
]
|
16
16
|
p.extra_dev_deps = [
|
17
17
|
['newgem', ">= #{::Newgem::VERSION}"]
|
18
18
|
]
|
@@ -23,6 +23,13 @@ $hoe = Hoe.new('described_routes', DescribedRoutes::VERSION) do |p|
|
|
23
23
|
p.rsync_args = '-av --delete --ignore-errors'
|
24
24
|
end
|
25
25
|
|
26
|
+
task :info do
|
27
|
+
puts "version=#{DescribedRoutes::VERSION}"
|
28
|
+
[:description, :summary, :changes, :author, :url].each do |attr|
|
29
|
+
puts "#{attr}=#{$hoe.send(attr)}\n"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
26
33
|
require 'newgem/tasks' # load /tasks/*.rake
|
27
34
|
Dir['tasks/**/*.rake'].each { |t| load t }
|
28
35
|
|
data/lib/described_routes.rb
CHANGED
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.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Burrows
|
@@ -9,9 +9,19 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-20 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: addressable
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.1.0
|
24
|
+
version:
|
15
25
|
- !ruby/object:Gem::Dependency
|
16
26
|
name: newgem
|
17
27
|
type: :development
|
@@ -32,7 +42,12 @@ dependencies:
|
|
32
42
|
- !ruby/object:Gem::Version
|
33
43
|
version: 1.8.0
|
34
44
|
version:
|
35
|
-
description:
|
45
|
+
description: |-
|
46
|
+
Framework-neutral metadata, describing (among other things) your Rails routes in JSON, YAML, XML and plain text formats.
|
47
|
+
|
48
|
+
Also the home (for now at least) of the ResourceTemplate class.
|
49
|
+
|
50
|
+
See roadmap for described_routes and path-to[http://github.com/asplake/path-to/tree] at http://positiveincline.com/?p=213.
|
36
51
|
email:
|
37
52
|
- mjb@asplake.co.uk
|
38
53
|
executables: []
|
@@ -123,7 +138,7 @@ rubyforge_project: describedroutes
|
|
123
138
|
rubygems_version: 1.3.3
|
124
139
|
signing_key:
|
125
140
|
specification_version: 3
|
126
|
-
summary:
|
141
|
+
summary: Framework-neutral metadata, describing (among other things) your Rails routes in JSON, YAML, XML and plain text formats
|
127
142
|
test_files:
|
128
143
|
- test/test_described_routes.rb
|
129
144
|
- test/test_helper.rb
|