resource_inclusion 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +95 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +126 -0
- data/Rakefile +44 -0
- data/lib/resource_inclusion/class_methods.rb +24 -0
- data/lib/resource_inclusion/instance_methods.rb +9 -0
- data/lib/resource_inclusion/resource_include_responder.rb +10 -0
- data/lib/resource_inclusion/resource_inclusion.rb +13 -0
- data/lib/resource_inclusion/version.rb +3 -0
- data/lib/resource_inclusion.rb +4 -0
- data/resource_inclusion.gemspec +97 -0
- data/test/app/Gemfile +8 -0
- data/test/app/Gemfile.lock +88 -0
- data/test/app/Rakefile +7 -0
- data/test/app/app/controllers/application_controller.rb +4 -0
- data/test/app/app/controllers/comments_controller.rb +17 -0
- data/test/app/app/models/comment.rb +3 -0
- data/test/app/app/models/user.rb +2 -0
- data/test/app/config/application.rb +17 -0
- data/test/app/config/boot.rb +13 -0
- data/test/app/config/database.yml +17 -0
- data/test/app/config/environment.rb +5 -0
- data/test/app/config/environments/test.rb +35 -0
- data/test/app/config/routes.rb +3 -0
- data/test/app/config.ru +4 -0
- data/test/app/db/development.sqlite3 +0 -0
- data/test/app/db/migrate/20110111090943_initial_test.rb +22 -0
- data/test/app/db/test.sqlite3 +0 -0
- data/test/app/log/development.log +288 -0
- data/test/app/log/test.log +90 -0
- data/test/app/spec/controllers/comments_controller_spec.rb +53 -0
- data/test/app/spec/spec_helper.rb +27 -0
- data/test/app/spec/support/xpath_matcher.rb +108 -0
- metadata +170 -0
metadata
ADDED
@@ -0,0 +1,170 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: resource_inclusion
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- John-Mason P. Shackelford
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-01-11 00:00:00 -06:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
prerelease: false
|
23
|
+
name: rails
|
24
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 5
|
30
|
+
segments:
|
31
|
+
- 3
|
32
|
+
- 0
|
33
|
+
- 1
|
34
|
+
version: 3.0.1
|
35
|
+
requirement: *id001
|
36
|
+
type: :runtime
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
prerelease: false
|
39
|
+
name: sqlite3-ruby
|
40
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
version: "0"
|
49
|
+
requirement: *id002
|
50
|
+
type: :development
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
prerelease: false
|
53
|
+
name: rspec-rails
|
54
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
requirement: *id003
|
64
|
+
type: :development
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
prerelease: false
|
67
|
+
name: jeweler
|
68
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
75
|
+
- 0
|
76
|
+
version: "0"
|
77
|
+
requirement: *id004
|
78
|
+
type: :development
|
79
|
+
description: Resource Inclusion allows one to specify once per controller associated resources to be included when a resource is serialized.
|
80
|
+
email: jpshack@gmail.com
|
81
|
+
executables: []
|
82
|
+
|
83
|
+
extensions: []
|
84
|
+
|
85
|
+
extra_rdoc_files:
|
86
|
+
- README.rdoc
|
87
|
+
files:
|
88
|
+
- CHANGELOG
|
89
|
+
- Gemfile
|
90
|
+
- Gemfile.lock
|
91
|
+
- MIT-LICENSE
|
92
|
+
- README.rdoc
|
93
|
+
- Rakefile
|
94
|
+
- lib/resource_inclusion.rb
|
95
|
+
- lib/resource_inclusion/class_methods.rb
|
96
|
+
- lib/resource_inclusion/instance_methods.rb
|
97
|
+
- lib/resource_inclusion/resource_include_responder.rb
|
98
|
+
- lib/resource_inclusion/resource_inclusion.rb
|
99
|
+
- lib/resource_inclusion/version.rb
|
100
|
+
- resource_inclusion.gemspec
|
101
|
+
- test/app/Gemfile
|
102
|
+
- test/app/Gemfile.lock
|
103
|
+
- test/app/Rakefile
|
104
|
+
- test/app/app/controllers/application_controller.rb
|
105
|
+
- test/app/app/controllers/comments_controller.rb
|
106
|
+
- test/app/app/models/comment.rb
|
107
|
+
- test/app/app/models/user.rb
|
108
|
+
- test/app/config.ru
|
109
|
+
- test/app/config/application.rb
|
110
|
+
- test/app/config/boot.rb
|
111
|
+
- test/app/config/database.yml
|
112
|
+
- test/app/config/environment.rb
|
113
|
+
- test/app/config/environments/test.rb
|
114
|
+
- test/app/config/routes.rb
|
115
|
+
- test/app/db/development.sqlite3
|
116
|
+
- test/app/db/migrate/20110111090943_initial_test.rb
|
117
|
+
- test/app/db/test.sqlite3
|
118
|
+
- test/app/log/development.log
|
119
|
+
- test/app/log/test.log
|
120
|
+
- test/app/spec/controllers/comments_controller_spec.rb
|
121
|
+
- test/app/spec/spec_helper.rb
|
122
|
+
- test/app/spec/support/xpath_matcher.rb
|
123
|
+
has_rdoc: true
|
124
|
+
homepage: http://github.com/jpshackelford/resource_inclusion
|
125
|
+
licenses: []
|
126
|
+
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
|
130
|
+
require_paths:
|
131
|
+
- lib
|
132
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
hash: 3
|
138
|
+
segments:
|
139
|
+
- 0
|
140
|
+
version: "0"
|
141
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
hash: 3
|
147
|
+
segments:
|
148
|
+
- 0
|
149
|
+
version: "0"
|
150
|
+
requirements: []
|
151
|
+
|
152
|
+
rubyforge_project:
|
153
|
+
rubygems_version: 1.3.7
|
154
|
+
signing_key:
|
155
|
+
specification_version: 3
|
156
|
+
summary: A handy macro for including associated models in your REST APIs.
|
157
|
+
test_files:
|
158
|
+
- test/app/app/controllers/application_controller.rb
|
159
|
+
- test/app/app/controllers/comments_controller.rb
|
160
|
+
- test/app/app/models/comment.rb
|
161
|
+
- test/app/app/models/user.rb
|
162
|
+
- test/app/config/application.rb
|
163
|
+
- test/app/config/boot.rb
|
164
|
+
- test/app/config/environment.rb
|
165
|
+
- test/app/config/environments/test.rb
|
166
|
+
- test/app/config/routes.rb
|
167
|
+
- test/app/db/migrate/20110111090943_initial_test.rb
|
168
|
+
- test/app/spec/controllers/comments_controller_spec.rb
|
169
|
+
- test/app/spec/spec_helper.rb
|
170
|
+
- test/app/spec/support/xpath_matcher.rb
|