inherited_resources 1.0.pre → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +1 -1
- data/README.rdoc +7 -7
- data/lib/inherited_resources/version.rb +1 -1
- metadata +4 -4
data/MIT-LICENSE
CHANGED
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ a screencast made by Fabio Akita about its features:
|
|
10
10
|
|
11
11
|
http://akitaonrails.com/2009/09/01/screencast-real-thin-restful-controllers-with-inherited-resources
|
12
12
|
|
13
|
-
Inherited Resources is tested and compatible with Rails 2.
|
13
|
+
Inherited Resources is tested and compatible with Rails 2.3.x.
|
14
14
|
|
15
15
|
== Installation
|
16
16
|
|
@@ -22,14 +22,14 @@ If you want it as plugin, just do:
|
|
22
22
|
|
23
23
|
script/plugin install git://github.com/josevalim/inherited_resources.git
|
24
24
|
|
25
|
-
== Inherited Resources 1.0
|
25
|
+
== Upgrading to Inherited Resources 1.0
|
26
26
|
|
27
|
-
Inherited Resources
|
28
|
-
so be sure to read the following sections
|
27
|
+
Inherited Resources finally reached 1.0 version. A couple things changed,
|
28
|
+
so be sure to read the following sections:
|
29
29
|
|
30
30
|
=== HasScope
|
31
31
|
|
32
|
-
|
32
|
+
Since Inherited Resources 1.0, has_scope is not part of its core anymore.
|
33
33
|
However, if you are using has_scope in your application, Inherited Resources
|
34
34
|
will handle all the required hooks automatically.
|
35
35
|
|
@@ -43,7 +43,7 @@ And can be installed as:
|
|
43
43
|
|
44
44
|
=== Responders
|
45
45
|
|
46
|
-
|
46
|
+
Since Inherited Resources 1.0, responders are not part of its core anymore,
|
47
47
|
but is set as Inherited Resources dependency and it's used by default by
|
48
48
|
InheritedResources controllers. Be sure to check the documentation to see
|
49
49
|
how it will change your application:
|
@@ -74,7 +74,7 @@ To use Inherited Resources you just have to inherit (duh) it:
|
|
74
74
|
|
75
75
|
And all actions are defined and working, check it! Your projects collection
|
76
76
|
(in the index action) is still available in the instance variable @projects
|
77
|
-
and your project resource (all other actions) is available as @
|
77
|
+
and your project resource (all other actions) is available as @project.
|
78
78
|
|
79
79
|
The next step is to define which mime types this controller provides:
|
80
80
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inherited_resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Jos\xC3\xA9 Valim"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-23 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -79,9 +79,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version:
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- - "
|
82
|
+
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version:
|
84
|
+
version: "0"
|
85
85
|
version:
|
86
86
|
requirements: []
|
87
87
|
|