inherited_resources 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/CHANGELOG +103 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +524 -0
  4. data/Rakefile +40 -0
  5. data/lib/inherited_resources.rb +23 -0
  6. data/lib/inherited_resources/actions.rb +79 -0
  7. data/lib/inherited_resources/base.rb +42 -0
  8. data/lib/inherited_resources/base_helpers.rb +363 -0
  9. data/lib/inherited_resources/belongs_to_helpers.rb +89 -0
  10. data/lib/inherited_resources/class_methods.rb +338 -0
  11. data/lib/inherited_resources/dsl.rb +26 -0
  12. data/lib/inherited_resources/dumb_responder.rb +20 -0
  13. data/lib/inherited_resources/has_scope_helpers.rb +83 -0
  14. data/lib/inherited_resources/legacy/respond_to.rb +156 -0
  15. data/lib/inherited_resources/legacy/responder.rb +200 -0
  16. data/lib/inherited_resources/polymorphic_helpers.rb +155 -0
  17. data/lib/inherited_resources/singleton_helpers.rb +95 -0
  18. data/lib/inherited_resources/url_helpers.rb +179 -0
  19. data/test/aliases_test.rb +139 -0
  20. data/test/association_chain_test.rb +125 -0
  21. data/test/base_test.rb +225 -0
  22. data/test/belongs_to_test.rb +87 -0
  23. data/test/class_methods_test.rb +138 -0
  24. data/test/customized_base_test.rb +162 -0
  25. data/test/customized_belongs_to_test.rb +76 -0
  26. data/test/defaults_test.rb +70 -0
  27. data/test/flash_test.rb +88 -0
  28. data/test/has_scope_test.rb +139 -0
  29. data/test/nested_belongs_to_test.rb +108 -0
  30. data/test/optional_belongs_to_test.rb +164 -0
  31. data/test/polymorphic_test.rb +186 -0
  32. data/test/redirect_to_test.rb +51 -0
  33. data/test/respond_to_test.rb +155 -0
  34. data/test/singleton_test.rb +83 -0
  35. data/test/test_helper.rb +38 -0
  36. data/test/url_helpers_test.rb +537 -0
  37. metadata +89 -0
metadata ADDED
@@ -0,0 +1,89 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: inherited_resources
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.2
5
+ platform: ruby
6
+ authors:
7
+ - "Jos\xC3\xA9 Valim"
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-10-15 00:00:00 -03:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important.
17
+ email: jose.valim@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README.rdoc
24
+ files:
25
+ - CHANGELOG
26
+ - MIT-LICENSE
27
+ - README.rdoc
28
+ - Rakefile
29
+ - lib/inherited_resources.rb
30
+ - lib/inherited_resources/actions.rb
31
+ - lib/inherited_resources/base.rb
32
+ - lib/inherited_resources/base_helpers.rb
33
+ - lib/inherited_resources/belongs_to_helpers.rb
34
+ - lib/inherited_resources/class_methods.rb
35
+ - lib/inherited_resources/dsl.rb
36
+ - lib/inherited_resources/dumb_responder.rb
37
+ - lib/inherited_resources/has_scope_helpers.rb
38
+ - lib/inherited_resources/legacy/respond_to.rb
39
+ - lib/inherited_resources/legacy/responder.rb
40
+ - lib/inherited_resources/polymorphic_helpers.rb
41
+ - lib/inherited_resources/singleton_helpers.rb
42
+ - lib/inherited_resources/url_helpers.rb
43
+ has_rdoc: true
44
+ homepage: http://github.com/josevalim/inherited_resources
45
+ licenses: []
46
+
47
+ post_install_message:
48
+ rdoc_options:
49
+ - --charset=UTF-8
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
57
+ version:
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: "0"
63
+ version:
64
+ requirements: []
65
+
66
+ rubyforge_project: inherited_resources
67
+ rubygems_version: 1.3.5
68
+ signing_key:
69
+ specification_version: 3
70
+ summary: Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important.
71
+ test_files:
72
+ - test/respond_to_test.rb
73
+ - test/customized_belongs_to_test.rb
74
+ - test/nested_belongs_to_test.rb
75
+ - test/base_test.rb
76
+ - test/redirect_to_test.rb
77
+ - test/has_scope_test.rb
78
+ - test/class_methods_test.rb
79
+ - test/association_chain_test.rb
80
+ - test/aliases_test.rb
81
+ - test/flash_test.rb
82
+ - test/url_helpers_test.rb
83
+ - test/belongs_to_test.rb
84
+ - test/customized_base_test.rb
85
+ - test/polymorphic_test.rb
86
+ - test/defaults_test.rb
87
+ - test/singleton_test.rb
88
+ - test/optional_belongs_to_test.rb
89
+ - test/test_helper.rb