restfulie 0.1.0.beta1 → 0.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.
Files changed (111) hide show
  1. data/README.textile +87 -99
  2. data/Rakefile +14 -109
  3. data/lib/restfulie.rb +183 -23
  4. metadata +12 -197
  5. data/Gemfile +0 -28
  6. data/Gemfile.lock +0 -128
  7. data/LICENSE +0 -17
  8. data/lib/restfulie/client.rb +0 -26
  9. data/lib/restfulie/client/base.rb +0 -36
  10. data/lib/restfulie/client/cache.rb +0 -11
  11. data/lib/restfulie/client/cache/basic.rb +0 -76
  12. data/lib/restfulie/client/cache/fake.rb +0 -15
  13. data/lib/restfulie/client/cache/http_ext.rb +0 -123
  14. data/lib/restfulie/client/cache/restrictions.rb +0 -13
  15. data/lib/restfulie/client/configuration.rb +0 -67
  16. data/lib/restfulie/client/dsl.rb +0 -66
  17. data/lib/restfulie/client/entry_point.rb +0 -61
  18. data/lib/restfulie/client/ext/atom_ext.rb +0 -14
  19. data/lib/restfulie/client/ext/http_ext.rb +0 -22
  20. data/lib/restfulie/client/ext/json_ext.rb +0 -16
  21. data/lib/restfulie/client/feature.rb +0 -5
  22. data/lib/restfulie/client/feature/base.rb +0 -75
  23. data/lib/restfulie/client/feature/base_request.rb +0 -35
  24. data/lib/restfulie/client/feature/cache.rb +0 -16
  25. data/lib/restfulie/client/feature/enhance_response.rb +0 -12
  26. data/lib/restfulie/client/feature/follow_request.rb +0 -41
  27. data/lib/restfulie/client/feature/history.rb +0 -26
  28. data/lib/restfulie/client/feature/history_request.rb +0 -19
  29. data/lib/restfulie/client/feature/open_search.rb +0 -21
  30. data/lib/restfulie/client/feature/open_search/pattern_matcher.rb +0 -25
  31. data/lib/restfulie/client/feature/serialize_body.rb +0 -32
  32. data/lib/restfulie/client/feature/setup_header.rb +0 -22
  33. data/lib/restfulie/client/feature/throw_error.rb +0 -41
  34. data/lib/restfulie/client/feature/verb.rb +0 -119
  35. data/lib/restfulie/client/http.rb +0 -7
  36. data/lib/restfulie/client/http/cache.rb +0 -28
  37. data/lib/restfulie/client/http/error.rb +0 -77
  38. data/lib/restfulie/client/http/response_holder.rb +0 -29
  39. data/lib/restfulie/client/master_delegator.rb +0 -31
  40. data/lib/restfulie/client/mikyung.rb +0 -15
  41. data/lib/restfulie/client/mikyung/concatenator.rb +0 -18
  42. data/lib/restfulie/client/mikyung/core.rb +0 -70
  43. data/lib/restfulie/client/mikyung/languages.rb +0 -11
  44. data/lib/restfulie/client/mikyung/languages/german.rb +0 -24
  45. data/lib/restfulie/client/mikyung/languages/portuguese.rb +0 -23
  46. data/lib/restfulie/client/mikyung/rest_process_model.rb +0 -191
  47. data/lib/restfulie/client/mikyung/steady_state_walker.rb +0 -38
  48. data/lib/restfulie/client/mikyung/then_condition.rb +0 -39
  49. data/lib/restfulie/client/mikyung/when_condition.rb +0 -57
  50. data/lib/restfulie/common.rb +0 -18
  51. data/lib/restfulie/common/converter.rb +0 -43
  52. data/lib/restfulie/common/converter/atom.rb +0 -12
  53. data/lib/restfulie/common/converter/atom/base.rb +0 -91
  54. data/lib/restfulie/common/converter/atom/builder.rb +0 -111
  55. data/lib/restfulie/common/converter/atom/helpers.rb +0 -17
  56. data/lib/restfulie/common/converter/json.rb +0 -12
  57. data/lib/restfulie/common/converter/json/base.rb +0 -87
  58. data/lib/restfulie/common/converter/json/builder.rb +0 -102
  59. data/lib/restfulie/common/converter/json/helpers.rb +0 -17
  60. data/lib/restfulie/common/converter/open_search.rb +0 -16
  61. data/lib/restfulie/common/converter/open_search/descriptor.rb +0 -32
  62. data/lib/restfulie/common/converter/values.rb +0 -33
  63. data/lib/restfulie/common/converter/xml.rb +0 -14
  64. data/lib/restfulie/common/converter/xml/base.rb +0 -63
  65. data/lib/restfulie/common/converter/xml/builder.rb +0 -113
  66. data/lib/restfulie/common/converter/xml/helpers.rb +0 -17
  67. data/lib/restfulie/common/converter/xml/link.rb +0 -30
  68. data/lib/restfulie/common/converter/xml/links.rb +0 -21
  69. data/lib/restfulie/common/core_ext.rb +0 -1
  70. data/lib/restfulie/common/core_ext/hash.rb +0 -18
  71. data/lib/restfulie/common/error.rb +0 -19
  72. data/lib/restfulie/common/links.rb +0 -9
  73. data/lib/restfulie/common/logger.rb +0 -19
  74. data/lib/restfulie/common/representation.rb +0 -3
  75. data/lib/restfulie/common/representation/atom.rb +0 -20
  76. data/lib/restfulie/common/representation/atom/atom.rng +0 -597
  77. data/lib/restfulie/common/representation/atom/base.rb +0 -142
  78. data/lib/restfulie/common/representation/atom/category.rb +0 -41
  79. data/lib/restfulie/common/representation/atom/entry.rb +0 -59
  80. data/lib/restfulie/common/representation/atom/factory.rb +0 -43
  81. data/lib/restfulie/common/representation/atom/feed.rb +0 -110
  82. data/lib/restfulie/common/representation/atom/link.rb +0 -68
  83. data/lib/restfulie/common/representation/atom/person.rb +0 -48
  84. data/lib/restfulie/common/representation/atom/source.rb +0 -59
  85. data/lib/restfulie/common/representation/atom/tag_collection.rb +0 -38
  86. data/lib/restfulie/common/representation/atom/xml.rb +0 -90
  87. data/lib/restfulie/common/representation/generic.rb +0 -22
  88. data/lib/restfulie/common/representation/json.rb +0 -13
  89. data/lib/restfulie/common/representation/json/base.rb +0 -27
  90. data/lib/restfulie/common/representation/json/keys_as_methods.rb +0 -74
  91. data/lib/restfulie/common/representation/json/link.rb +0 -29
  92. data/lib/restfulie/common/representation/json/link_collection.rb +0 -23
  93. data/lib/restfulie/common/representation/links.rb +0 -11
  94. data/lib/restfulie/server.rb +0 -25
  95. data/lib/restfulie/server/action_controller.rb +0 -11
  96. data/lib/restfulie/server/action_controller/base.rb +0 -48
  97. data/lib/restfulie/server/action_controller/params_parser.rb +0 -100
  98. data/lib/restfulie/server/action_controller/patch.rb +0 -6
  99. data/lib/restfulie/server/action_controller/restful_responder.rb +0 -12
  100. data/lib/restfulie/server/action_controller/trait.rb +0 -9
  101. data/lib/restfulie/server/action_controller/trait/cacheable.rb +0 -81
  102. data/lib/restfulie/server/action_controller/trait/created.rb +0 -17
  103. data/lib/restfulie/server/action_view.rb +0 -10
  104. data/lib/restfulie/server/action_view/helpers.rb +0 -50
  105. data/lib/restfulie/server/action_view/template_handlers.rb +0 -30
  106. data/lib/restfulie/server/action_view/template_handlers/tokamak.rb +0 -21
  107. data/lib/restfulie/server/configuration.rb +0 -24
  108. data/lib/restfulie/server/controller.rb +0 -74
  109. data/lib/restfulie/server/core_ext.rb +0 -1
  110. data/lib/restfulie/server/core_ext/array.rb +0 -61
  111. data/lib/restfulie/version.rb +0 -14
metadata CHANGED
@@ -1,88 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restfulie
3
3
  version: !ruby/object:Gem::Version
4
- hash: 299253573
5
- prerelease: true
6
- segments:
7
- - 0
8
- - 1
9
- - 0
10
- - beta1
11
- version: 0.1.0.beta1
4
+ version: "0.1"
12
5
  platform: ruby
13
6
  authors:
14
- - Guilherme Silveira, Caue Guerra, Luis Cipriani, Everton Ribeiro, George Guimaraes, Paulo Ahagon, Several contributors
7
+ - Guilherme Silveira, Caue Guerra
15
8
  autorequire:
16
9
  bindir: bin
17
10
  cert_chain: []
18
11
 
19
- date: 2010-10-29 00:00:00 -02:00
12
+ date: 2009-11-03 00:00:00 -02:00
20
13
  default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
23
- name: nokogiri
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 1
33
- - 4
34
- - 2
35
- version: 1.4.2
36
- type: :runtime
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: actionpack
40
- prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 7
47
- segments:
48
- - 2
49
- - 3
50
- - 2
51
- version: 2.3.2
52
- type: :runtime
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: activesupport
56
- prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- hash: 7
63
- segments:
64
- - 2
65
- - 3
66
- - 2
67
- version: 2.3.2
68
- type: :runtime
69
- version_requirements: *id003
70
- - !ruby/object:Gem::Dependency
71
- name: json_pure
72
- prerelease: false
73
- requirement: &id004 !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- hash: 23
79
- segments:
80
- - 1
81
- - 2
82
- - 4
83
- version: 1.2.4
84
- type: :runtime
85
- version_requirements: *id004
14
+ dependencies: []
15
+
86
16
  description:
87
17
  email: guilherme.silveira@caelum.com.br
88
18
  executables: []
@@ -92,118 +22,11 @@ extensions: []
92
22
  extra_rdoc_files: []
93
23
 
94
24
  files:
95
- - lib/restfulie/client/base.rb
96
- - lib/restfulie/client/cache/basic.rb
97
- - lib/restfulie/client/cache/fake.rb
98
- - lib/restfulie/client/cache/http_ext.rb
99
- - lib/restfulie/client/cache/restrictions.rb
100
- - lib/restfulie/client/cache.rb
101
- - lib/restfulie/client/configuration.rb
102
- - lib/restfulie/client/dsl.rb
103
- - lib/restfulie/client/entry_point.rb
104
- - lib/restfulie/client/ext/atom_ext.rb
105
- - lib/restfulie/client/ext/http_ext.rb
106
- - lib/restfulie/client/ext/json_ext.rb
107
- - lib/restfulie/client/feature/base.rb
108
- - lib/restfulie/client/feature/base_request.rb
109
- - lib/restfulie/client/feature/cache.rb
110
- - lib/restfulie/client/feature/enhance_response.rb
111
- - lib/restfulie/client/feature/follow_request.rb
112
- - lib/restfulie/client/feature/history.rb
113
- - lib/restfulie/client/feature/history_request.rb
114
- - lib/restfulie/client/feature/open_search/pattern_matcher.rb
115
- - lib/restfulie/client/feature/open_search.rb
116
- - lib/restfulie/client/feature/serialize_body.rb
117
- - lib/restfulie/client/feature/setup_header.rb
118
- - lib/restfulie/client/feature/throw_error.rb
119
- - lib/restfulie/client/feature/verb.rb
120
- - lib/restfulie/client/feature.rb
121
- - lib/restfulie/client/http/cache.rb
122
- - lib/restfulie/client/http/error.rb
123
- - lib/restfulie/client/http/response_holder.rb
124
- - lib/restfulie/client/http.rb
125
- - lib/restfulie/client/master_delegator.rb
126
- - lib/restfulie/client/mikyung/concatenator.rb
127
- - lib/restfulie/client/mikyung/core.rb
128
- - lib/restfulie/client/mikyung/languages/german.rb
129
- - lib/restfulie/client/mikyung/languages/portuguese.rb
130
- - lib/restfulie/client/mikyung/languages.rb
131
- - lib/restfulie/client/mikyung/rest_process_model.rb
132
- - lib/restfulie/client/mikyung/steady_state_walker.rb
133
- - lib/restfulie/client/mikyung/then_condition.rb
134
- - lib/restfulie/client/mikyung/when_condition.rb
135
- - lib/restfulie/client/mikyung.rb
136
- - lib/restfulie/client.rb
137
- - lib/restfulie/common/converter/atom/base.rb
138
- - lib/restfulie/common/converter/atom/builder.rb
139
- - lib/restfulie/common/converter/atom/helpers.rb
140
- - lib/restfulie/common/converter/atom.rb
141
- - lib/restfulie/common/converter/json/base.rb
142
- - lib/restfulie/common/converter/json/builder.rb
143
- - lib/restfulie/common/converter/json/helpers.rb
144
- - lib/restfulie/common/converter/json.rb
145
- - lib/restfulie/common/converter/open_search/descriptor.rb
146
- - lib/restfulie/common/converter/open_search.rb
147
- - lib/restfulie/common/converter/values.rb
148
- - lib/restfulie/common/converter/xml/base.rb
149
- - lib/restfulie/common/converter/xml/builder.rb
150
- - lib/restfulie/common/converter/xml/helpers.rb
151
- - lib/restfulie/common/converter/xml/link.rb
152
- - lib/restfulie/common/converter/xml/links.rb
153
- - lib/restfulie/common/converter/xml.rb
154
- - lib/restfulie/common/converter.rb
155
- - lib/restfulie/common/core_ext/hash.rb
156
- - lib/restfulie/common/core_ext.rb
157
- - lib/restfulie/common/error.rb
158
- - lib/restfulie/common/links.rb
159
- - lib/restfulie/common/logger.rb
160
- - lib/restfulie/common/representation/atom/base.rb
161
- - lib/restfulie/common/representation/atom/category.rb
162
- - lib/restfulie/common/representation/atom/entry.rb
163
- - lib/restfulie/common/representation/atom/factory.rb
164
- - lib/restfulie/common/representation/atom/feed.rb
165
- - lib/restfulie/common/representation/atom/link.rb
166
- - lib/restfulie/common/representation/atom/person.rb
167
- - lib/restfulie/common/representation/atom/source.rb
168
- - lib/restfulie/common/representation/atom/tag_collection.rb
169
- - lib/restfulie/common/representation/atom/xml.rb
170
- - lib/restfulie/common/representation/atom.rb
171
- - lib/restfulie/common/representation/generic.rb
172
- - lib/restfulie/common/representation/json/base.rb
173
- - lib/restfulie/common/representation/json/keys_as_methods.rb
174
- - lib/restfulie/common/representation/json/link.rb
175
- - lib/restfulie/common/representation/json/link_collection.rb
176
- - lib/restfulie/common/representation/json.rb
177
- - lib/restfulie/common/representation/links.rb
178
- - lib/restfulie/common/representation.rb
179
- - lib/restfulie/common.rb
180
- - lib/restfulie/server/action_controller/base.rb
181
- - lib/restfulie/server/action_controller/params_parser.rb
182
- - lib/restfulie/server/action_controller/patch.rb
183
- - lib/restfulie/server/action_controller/restful_responder.rb
184
- - lib/restfulie/server/action_controller/trait/cacheable.rb
185
- - lib/restfulie/server/action_controller/trait/created.rb
186
- - lib/restfulie/server/action_controller/trait.rb
187
- - lib/restfulie/server/action_controller.rb
188
- - lib/restfulie/server/action_view/helpers.rb
189
- - lib/restfulie/server/action_view/template_handlers/tokamak.rb
190
- - lib/restfulie/server/action_view/template_handlers.rb
191
- - lib/restfulie/server/action_view.rb
192
- - lib/restfulie/server/configuration.rb
193
- - lib/restfulie/server/controller.rb
194
- - lib/restfulie/server/core_ext/array.rb
195
- - lib/restfulie/server/core_ext.rb
196
- - lib/restfulie/server.rb
197
- - lib/restfulie/version.rb
198
25
  - lib/restfulie.rb
199
- - Gemfile
200
- - Gemfile.lock
201
- - LICENSE
202
26
  - Rakefile
203
27
  - README.textile
204
- - lib/restfulie/common/representation/atom/atom.rng
205
28
  has_rdoc: true
206
- homepage: http://restfulie.caelumobjects.com
29
+ homepage: http://github.com/caelum/restfulie
207
30
  licenses: []
208
31
 
209
32
  post_install_message:
@@ -212,31 +35,23 @@ rdoc_options: []
212
35
  require_paths:
213
36
  - lib
214
37
  required_ruby_version: !ruby/object:Gem::Requirement
215
- none: false
216
38
  requirements:
217
39
  - - ">="
218
40
  - !ruby/object:Gem::Version
219
- hash: 3
220
- segments:
221
- - 0
222
41
  version: "0"
42
+ version:
223
43
  required_rubygems_version: !ruby/object:Gem::Requirement
224
- none: false
225
44
  requirements:
226
- - - ">"
45
+ - - ">="
227
46
  - !ruby/object:Gem::Version
228
- hash: 25
229
- segments:
230
- - 1
231
- - 3
232
- - 1
233
- version: 1.3.1
47
+ version: "0"
48
+ version:
234
49
  requirements: []
235
50
 
236
51
  rubyforge_project:
237
- rubygems_version: 1.3.7
52
+ rubygems_version: 1.3.5
238
53
  signing_key:
239
54
  specification_version: 3
240
- summary: Hypermedia aware resource based library in ruby (client side) and ruby on rails (server side).
55
+ summary: This is a small cute plugin to show how to implement hypermedia based services in a easy way using rails.
241
56
  test_files: []
242
57
 
data/Gemfile DELETED
@@ -1,28 +0,0 @@
1
- # A sample Gemfile
2
- source :gemcutter
3
- #
4
- gem "rails", ">= 3.0.0"
5
- gem "libxml-ruby"
6
-
7
- gem "rack-conneg"
8
- gem "json_pure"
9
- gem "sqlite3-ruby"
10
- gem "yard"
11
-
12
- gem "respondie"
13
-
14
- if RUBY_VERSION < "1.9"
15
- gem "ruby-debug"
16
- else
17
- gem "ruby-debug19", :require => "ruby-debug"
18
- end
19
-
20
- group :test do
21
- gem "nokogiri"
22
- gem "rspec-rails", ">= 2.0.0.beta.19"
23
- gem "rcov"
24
- gem "sinatra"
25
- gem "state_machine"
26
- gem "test-unit", "= 1.2.3"
27
- gem "fakeweb"
28
- end
data/Gemfile.lock DELETED
@@ -1,128 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- abstract (1.0.0)
5
- actionmailer (3.0.0)
6
- actionpack (= 3.0.0)
7
- mail (~> 2.2.5)
8
- actionpack (3.0.0)
9
- activemodel (= 3.0.0)
10
- activesupport (= 3.0.0)
11
- builder (~> 2.1.2)
12
- erubis (~> 2.6.6)
13
- i18n (~> 0.4.1)
14
- rack (~> 1.2.1)
15
- rack-mount (~> 0.6.12)
16
- rack-test (~> 0.5.4)
17
- tzinfo (~> 0.3.23)
18
- activemodel (3.0.0)
19
- activesupport (= 3.0.0)
20
- builder (~> 2.1.2)
21
- i18n (~> 0.4.1)
22
- activerecord (3.0.0)
23
- activemodel (= 3.0.0)
24
- activesupport (= 3.0.0)
25
- arel (~> 1.0.0)
26
- tzinfo (~> 0.3.23)
27
- activeresource (3.0.0)
28
- activemodel (= 3.0.0)
29
- activesupport (= 3.0.0)
30
- activesupport (3.0.0)
31
- arel (1.0.1)
32
- activesupport (~> 3.0.0)
33
- builder (2.1.2)
34
- columnize (0.3.1)
35
- diff-lcs (1.1.2)
36
- erubis (2.6.6)
37
- abstract (>= 1.0.0)
38
- fakeweb (1.2.8)
39
- hoe (2.6.1)
40
- rake (>= 0.8.7)
41
- rubyforge (>= 2.0.4)
42
- i18n (0.4.1)
43
- json_pure (1.4.6)
44
- libxml-ruby (1.1.4)
45
- linecache (0.43)
46
- mail (2.2.5)
47
- activesupport (>= 2.3.6)
48
- mime-types
49
- treetop (>= 1.4.5)
50
- mime-types (1.16)
51
- nokogiri (1.4.3.1)
52
- polyglot (0.3.1)
53
- rack (1.2.1)
54
- rack-conneg (0.1.4)
55
- rack (>= 1.0)
56
- rack-mount (0.6.12)
57
- rack (>= 1.0.0)
58
- rack-test (0.5.4)
59
- rack (>= 1.0)
60
- rails (3.0.0)
61
- actionmailer (= 3.0.0)
62
- actionpack (= 3.0.0)
63
- activerecord (= 3.0.0)
64
- activeresource (= 3.0.0)
65
- activesupport (= 3.0.0)
66
- bundler (~> 1.0.0)
67
- railties (= 3.0.0)
68
- railties (3.0.0)
69
- actionpack (= 3.0.0)
70
- activesupport (= 3.0.0)
71
- rake (>= 0.8.4)
72
- thor (~> 0.14.0)
73
- rake (0.8.7)
74
- rcov (0.9.8)
75
- respondie (0.9.0)
76
- rspec (2.0.0.beta.19)
77
- rspec-core (= 2.0.0.beta.19)
78
- rspec-expectations (= 2.0.0.beta.19)
79
- rspec-mocks (= 2.0.0.beta.19)
80
- rspec-core (2.0.0.beta.19)
81
- rspec-expectations (2.0.0.beta.19)
82
- diff-lcs (>= 1.1.2)
83
- rspec-mocks (2.0.0.beta.19)
84
- rspec-rails (2.0.0.beta.19)
85
- rspec (= 2.0.0.beta.19)
86
- webrat (>= 0.7.2.beta.1)
87
- ruby-debug (0.10.3)
88
- columnize (>= 0.1)
89
- ruby-debug-base (~> 0.10.3.0)
90
- ruby-debug-base (0.10.3)
91
- linecache (>= 0.3)
92
- rubyforge (2.0.4)
93
- json_pure (>= 1.1.7)
94
- sinatra (1.0)
95
- rack (>= 1.0)
96
- sqlite3-ruby (1.3.1)
97
- state_machine (0.9.4)
98
- test-unit (1.2.3)
99
- hoe (>= 1.5.1)
100
- thor (0.14.0)
101
- treetop (1.4.8)
102
- polyglot (>= 0.3.1)
103
- tzinfo (0.3.23)
104
- webrat (0.7.2.beta.1)
105
- nokogiri (>= 1.2.0)
106
- rack (>= 1.0)
107
- rack-test (>= 0.5.3)
108
- yard (0.5.8)
109
-
110
- PLATFORMS
111
- ruby
112
-
113
- DEPENDENCIES
114
- fakeweb
115
- json_pure
116
- libxml-ruby
117
- nokogiri
118
- rack-conneg
119
- rails (>= 3.0.0)
120
- rcov
121
- respondie
122
- rspec-rails (>= 2.0.0.beta.19)
123
- ruby-debug
124
- sinatra
125
- sqlite3-ruby
126
- state_machine
127
- test-unit (= 1.2.3)
128
- yard
data/LICENSE DELETED
@@ -1,17 +0,0 @@
1
- /***
2
- * Copyright (c) 2009 Caelum - www.caelum.com.br/opensource
3
- * All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
-
@@ -1,26 +0,0 @@
1
- require 'restfulie/common'
2
-
3
- module Restfulie
4
- module Client
5
- autoload :MasterDelegator, 'restfulie/client/master_delegator'
6
- autoload :HTTP, 'restfulie/client/http'
7
- autoload :Configuration, 'restfulie/client/configuration'
8
- autoload :EntryPoint, 'restfulie/client/entry_point'
9
- autoload :Base, 'restfulie/client/base'
10
- autoload :Mikyung, 'restfulie/client/mikyung'
11
- autoload :Cache, 'restfulie/client/cache'
12
- autoload :Feature, 'restfulie/client/feature'
13
- autoload :Dsl, 'restfulie/client/dsl'
14
-
15
- mattr_accessor :cache_provider, :cache_store
16
-
17
- Restfulie::Client.cache_store = ActiveSupport::Cache::MemoryStore.new
18
- Restfulie::Client.cache_provider = Restfulie::Client::Cache::Basic.new
19
-
20
- end
21
- end
22
-
23
- require 'restfulie/client/ext/http_ext'
24
- require 'restfulie/client/ext/atom_ext'
25
- require 'restfulie/client/ext/json_ext'
26
-