restrack 0.0.2 → 0.0.3
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/README.rdoc +1 -1
- data/lib/restrack/version.rb +1 -1
- data/restrack.gemspec +14 -1
- metadata +18 -4
data/README.rdoc
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
through supplying custom code blocks to class methods such as
|
8
8
|
'has_relationship_to', 'has_mapped_relationships_to',
|
9
9
|
'has_direct_relationship_to', and 'has_direct_relationships_to'.
|
10
|
-
RESTRack aims at being lightweight and easy to use.
|
10
|
+
RESTRack aims at being lightweight and easy to use. It will
|
11
11
|
automatically render JSON and XML for the data structures you return in your
|
12
12
|
actions (any structure parsable by the 'json' and 'xml-simple' gems,
|
13
13
|
respectively).
|
data/lib/restrack/version.rb
CHANGED
data/restrack.gemspec
CHANGED
@@ -10,7 +10,20 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.email = ['chris@stjohnstudios.com']
|
11
11
|
s.homepage = 'http://github.com/stjohncj'
|
12
12
|
s.summary = %q{A lightweight MVC framework developed specifically for JSON and XML REST services.}
|
13
|
-
s.description = %q{RESTRack is
|
13
|
+
s.description = %q{RESTRack is a Rack based MVC framework that makes it extremely easy to
|
14
|
+
develop RESTful data services. It is inspired by Rails, and follows a few of
|
15
|
+
its conventions. But it has no routes file, routing relationships are done
|
16
|
+
through supplying custom code blocks to class methods such as
|
17
|
+
'has_relationship_to', 'has_mapped_relationships_to',
|
18
|
+
'has_direct_relationship_to', and 'has_direct_relationships_to'.
|
19
|
+
RESTRack aims at being lightweight and easy to use. It will
|
20
|
+
automatically render JSON and XML for the data structures you return in your
|
21
|
+
actions (any structure parsable by the 'json' and 'xml-simple' gems,
|
22
|
+
respectively).
|
23
|
+
If you supply a view for a controller action, you do that using a builder
|
24
|
+
file (view/<controller>/<action>.xml.builder). XML format requests will then
|
25
|
+
render the view template with the builder gem, rather than generating XML with
|
26
|
+
XmlSimple.}
|
14
27
|
|
15
28
|
s.rubyforge_project = "restrack"
|
16
29
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restrack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris St. John
|
@@ -90,7 +90,21 @@ dependencies:
|
|
90
90
|
version: "0"
|
91
91
|
type: :runtime
|
92
92
|
version_requirements: *id005
|
93
|
-
description:
|
93
|
+
description: |-
|
94
|
+
RESTRack is a Rack based MVC framework that makes it extremely easy to
|
95
|
+
develop RESTful data services. It is inspired by Rails, and follows a few of
|
96
|
+
its conventions. But it has no routes file, routing relationships are done
|
97
|
+
through supplying custom code blocks to class methods such as
|
98
|
+
'has_relationship_to', 'has_mapped_relationships_to',
|
99
|
+
'has_direct_relationship_to', and 'has_direct_relationships_to'.
|
100
|
+
RESTRack aims at being lightweight and easy to use. It will
|
101
|
+
automatically render JSON and XML for the data structures you return in your
|
102
|
+
actions (any structure parsable by the 'json' and 'xml-simple' gems,
|
103
|
+
respectively).
|
104
|
+
If you supply a view for a controller action, you do that using a builder
|
105
|
+
file (view/<controller>/<action>.xml.builder). XML format requests will then
|
106
|
+
render the view template with the builder gem, rather than generating XML with
|
107
|
+
XmlSimple.
|
94
108
|
email:
|
95
109
|
- chris@stjohnstudios.com
|
96
110
|
executables:
|