activeresource 2.3.6 → 2.3.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activeresource might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ *2.3.7 (May 24, 2010)*
2
+
3
+ * Version bump.
4
+
5
+
1
6
  *2.3.6 (May 23, 2010)*
2
7
 
3
8
  * No changes, just a version bump.
data/Rakefile CHANGED
@@ -66,7 +66,7 @@ spec = Gem::Specification.new do |s|
66
66
  s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
67
67
  end
68
68
 
69
- s.add_dependency('activesupport', '= 2.3.6' + PKG_BUILD)
69
+ s.add_dependency('activesupport', '= 2.3.7' + PKG_BUILD)
70
70
 
71
71
  s.require_path = 'lib'
72
72
  s.autorequire = 'active_resource'
@@ -2,7 +2,7 @@ module ActiveResource
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/test/debug.log CHANGED
@@ -80024,3 +80024,327 @@ POST http://somewhere.else:80/people.json
80024
80024
  --> 201 201 (50 0ms)
80025
80025
  POST http://somewhere.else:80/people.xml
80026
80026
  --> 201 201 (132 0ms)
80027
+ DELETE http://localhost:80/people/2.xml
80028
+ --> 200 200 (0 0ms)
80029
+ GET http://localhost:80/people/2.xml
80030
+ --> 200 200 (107 0ms)
80031
+ POST http://localhost:80/people/2/addresses.xml
80032
+ --> 201 201 (0 0ms)
80033
+ PUT http://localhost:80/people/2.xml
80034
+ --> 204 204 (0 0ms)
80035
+ POST http://localhost:80/people/2.xml
80036
+ POST http://localhost:80/people/2/addresses.xml
80037
+ PUT http://localhost:80/people/2.xml
80038
+ DELETE http://localhost:80/people/2.xml
80039
+ POST http://37s.sunrise.i:3000/people.xml
80040
+ --> 422 422 (209 0ms)
80041
+ POST http://37s.sunrise.i:3000/people.json
80042
+ --> 422 422 (118 0ms)
80043
+ POST http://37s.sunrise.i:3000/people.xml
80044
+ --> 422 422 (209 0ms)
80045
+ POST http://37s.sunrise.i:3000/people.xml
80046
+ --> 422 422 (209 0ms)
80047
+ POST http://37s.sunrise.i:3000/people.json
80048
+ --> 422 422 (118 0ms)
80049
+ POST http://37s.sunrise.i:3000/people.xml
80050
+ --> 422 422 (209 0ms)
80051
+ POST http://37s.sunrise.i:3000/people.xml
80052
+ --> 422 422 (209 0ms)
80053
+ POST http://37s.sunrise.i:3000/people.json
80054
+ --> 422 422 (118 0ms)
80055
+ POST http://37s.sunrise.i:3000/people.xml
80056
+ --> 422 422 (209 0ms)
80057
+ POST http://37s.sunrise.i:3000/people.xml
80058
+ --> 422 422 (209 0ms)
80059
+ POST http://37s.sunrise.i:3000/people.json
80060
+ --> 422 422 (118 0ms)
80061
+ POST http://37s.sunrise.i:3000/people.xml
80062
+ --> 422 422 (209 0ms)
80063
+ POST http://37s.sunrise.i:3000/people.xml
80064
+ --> 422 422 (209 0ms)
80065
+ POST http://37s.sunrise.i:3000/people.json
80066
+ --> 422 422 (118 0ms)
80067
+ POST http://37s.sunrise.i:3000/people.xml
80068
+ --> 422 422 (209 0ms)
80069
+ POST http://37s.sunrise.i:3000/people.xml
80070
+ --> 422 422 (209 0ms)
80071
+ POST http://37s.sunrise.i:3000/people.json
80072
+ --> 422 422 (118 0ms)
80073
+ POST http://37s.sunrise.i:3000/people.xml
80074
+ --> 422 422 (209 0ms)
80075
+ POST http://37s.sunrise.i:3000/people.xml
80076
+ --> 422 422 (209 0ms)
80077
+ POST http://37s.sunrise.i:3000/people.json
80078
+ --> 422 422 (118 0ms)
80079
+ POST http://37s.sunrise.i:3000/people.xml
80080
+ --> 422 422 (209 0ms)
80081
+ GET http://37s.sunrise.i:3000/people/1.xml
80082
+ --> 200 200 (106 0ms)
80083
+ GET http://37s.sunrise.i:3000/people/1.xml
80084
+ --> 200 200 (106 0ms)
80085
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80086
+ --> 200 200 (120 0ms)
80087
+ POST http://37s.sunrise.i:3000/people.xml
80088
+ --> 201 201 (109 0ms)
80089
+ POST http://37s.sunrise.i:3000/people.xml
80090
+ --> 409 409 (0 0ms)
80091
+ POST http://37s.sunrise.i:3000/people/1/addresses.xml
80092
+ --> 201 201 (0 0ms)
80093
+ POST http://37s.sunrise.i:3000/people.xml
80094
+ --> 201 201 (0 0ms)
80095
+ GET http://37s.sunrise.i:3000/people/Greg.xml
80096
+ --> 200 200 (106 0ms)
80097
+ GET http://37s.sunrise.i:3000/people/4.xml
80098
+ --> 404 404 (0 0ms)
80099
+ DELETE http://37s.sunrise.i:3000/people/1.xml
80100
+ --> 200 200 (0 0ms)
80101
+ GET http://37s.sunrise.i:3000/people/1.xml
80102
+ --> 404 404 (0 0ms)
80103
+ DELETE http://37s.sunrise.i:3000/people/1.xml
80104
+ --> 200 200 (0 0ms)
80105
+ GET http://37s.sunrise.i:3000/people/1.xml
80106
+ --> 410 410 (0 0ms)
80107
+ DELETE http://37s.sunrise.i:3000/people/1/addresses/1.xml
80108
+ --> 200 200 (0 0ms)
80109
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80110
+ --> 404 404 (0 0ms)
80111
+ GET http://37s.sunrise.i:3000/people/1.xml
80112
+ --> 200 200 (106 0ms)
80113
+ DELETE http://37s.sunrise.i:3000/people/1.xml
80114
+ --> 200 200 (0 0ms)
80115
+ GET http://37s.sunrise.i:3000/people/1.xml
80116
+ --> 404 404 (0 0ms)
80117
+ GET http://37s.sunrise.i:3000/people/1.xml
80118
+ --> 200 200 (106 0ms)
80119
+ DELETE http://37s.sunrise.i:3000/people/1.xml
80120
+ --> 200 200 (0 0ms)
80121
+ GET http://37s.sunrise.i:3000/people/1.xml
80122
+ --> 410 410 (0 0ms)
80123
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80124
+ --> 200 200 (120 0ms)
80125
+ DELETE http://37s.sunrise.i:3000/people/1/addresses/1.xml
80126
+ --> 200 200 (0 0ms)
80127
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80128
+ --> 404 404 (0 0ms)
80129
+ HEAD http://37s.sunrise.i:3000/people/1.xml
80130
+ --> 200 200 (0 0ms)
80131
+ HEAD http://37s.sunrise.i:3000/people/99.xml
80132
+ --> 404 404 (0 0ms)
80133
+ GET http://37s.sunrise.i:3000/people/1.xml
80134
+ --> 200 200 (106 0ms)
80135
+ HEAD http://37s.sunrise.i:3000/people/1.xml
80136
+ --> 200 200 (0 0ms)
80137
+ HEAD http://37s.sunrise.i:3000/people/99.xml
80138
+ --> 404 404 (0 0ms)
80139
+ HEAD http://37s.sunrise.i:3000/people/1/addresses/1.xml
80140
+ --> 200 200 (0 0ms)
80141
+ HEAD http://37s.sunrise.i:3000/people/2/addresses/1.xml
80142
+ --> 404 404 (0 0ms)
80143
+ HEAD http://37s.sunrise.i:3000/people/1/addresses/2.xml
80144
+ --> 404 404 (0 0ms)
80145
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80146
+ --> 200 200 (120 0ms)
80147
+ HEAD http://37s.sunrise.i:3000/people/1/addresses/1.xml
80148
+ --> 200 200 (0 0ms)
80149
+ HEAD http://37s.sunrise.i:3000/people/2/addresses/1.xml
80150
+ --> 404 404 (0 0ms)
80151
+ HEAD http://37s.sunrise.i:3000/people/1/addresses/2.xml
80152
+ --> 404 404 (0 0ms)
80153
+ HEAD http://37s.sunrise.i:3000/people/1.xml
80154
+ --> 410 410 (0 0ms)
80155
+ HEAD http://37s.sunrise.i:3000/people/Greg.xml
80156
+ --> 200 200 (0 0ms)
80157
+ GET http://37s.sunrise.i:3000/people/Greg.xml
80158
+ --> 200 200 (106 0ms)
80159
+ HEAD http://37s.sunrise.i:3000/people/Greg.xml
80160
+ --> 200 200 (0 0ms)
80161
+ GET http://37s.sunrise.i:3000/people/Greg.xml
80162
+ --> 200 200 (106 0ms)
80163
+ HEAD http://37s.sunrise.i:3000/people/Greg/addresses/1.xml
80164
+ --> 200 200 (0 0ms)
80165
+ GET http://37s.sunrise.i:3000/people/Greg.xml
80166
+ --> 200 200 (106 0ms)
80167
+ GET http://37s.sunrise.i:3000/people/Greg/addresses/1.xml
80168
+ --> 200 200 (120 0ms)
80169
+ HEAD http://37s.sunrise.i:3000/people/Greg/addresses/1.xml
80170
+ --> 200 200 (0 0ms)
80171
+ HEAD http://37s.sunrise.i:3000/people/not-mocked.xml
80172
+ --> 200 200 (0 0ms)
80173
+ GET http://37s.sunrise.i:3000/people.xml
80174
+ --> 200 200 (222 0ms)
80175
+ GET http://37s.sunrise.i:3000/companies/1/people.xml
80176
+ --> 200 200 (147 0ms)
80177
+ GET http://37s.sunrise.i:3000/companies/1/people.xml
80178
+ --> 200 200 (147 0ms)
80179
+ GET http://37s.sunrise.i:3000/people/managers.xml
80180
+ --> 200 200 (147 0ms)
80181
+ GET http://37s.sunrise.i:3000/people/1.xml
80182
+ --> 200 200 (106 0ms)
80183
+ GET http://37s.sunrise.i:3000/people/99.xml
80184
+ --> 404 404 (0 0ms)
80185
+ GET http://37s.sunrise.i:3000/people//addresses/1.xml
80186
+ --> 404 404 (0 0ms)
80187
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80188
+ --> 200 200 (120 0ms)
80189
+ GET http://37s.sunrise.i:3000/people.xml
80190
+ --> 200 200 (222 0ms)
80191
+ GET http://37s.sunrise.i:3000/people.xml
80192
+ --> 200 200 (222 0ms)
80193
+ GET http://37s.sunrise.i:3000/companies/1/manager.xml
80194
+ --> 200 200 (107 0ms)
80195
+ GET http://37s.sunrise.i:3000/people/leader.xml
80196
+ --> 200 200 (107 0ms)
80197
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80198
+ --> 200 200 (120 0ms)
80199
+ GET http://37s.sunrise.i:3000/people/5.xml
80200
+ --> 200 200 (223 0ms)
80201
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80202
+ --> 200 200 (120 0ms)
80203
+ GET http://37s.sunrise.i:3000/customers/1.xml
80204
+ --> 200 200 (1458 0ms)
80205
+ GET http://37s.sunrise.i:3000/people/Greg.xml
80206
+ --> 200 200 (106 0ms)
80207
+ GET http://37s.sunrise.i:3000/people/Greg.xml
80208
+ --> 200 200 (106 0ms)
80209
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80210
+ --> 200 200 (120 0ms)
80211
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80212
+ --> 200 200 (120 0ms)
80213
+ GET http://37s.sunrise.i:3000/people.xml
80214
+ --> 200 200 (222 0ms)
80215
+ GET http://37s.sunrise.i:3000/people/1.xml
80216
+ --> 200 200 (106 0ms)
80217
+ GET http://37s.sunrise.i:3000/people/1.xml
80218
+ --> 200 200 (106 0ms)
80219
+ POST http://37s.sunrise.i:3000/people.xml
80220
+ --> 201 201 (109 0ms)
80221
+ GET http://somewhere.else:80/people/6.json
80222
+ --> 200 200 (32 0ms)
80223
+ GET http://somewhere.else:80/people/6.json
80224
+ --> 200 200 (32 0ms)
80225
+ GET http://somewhere.else:80/people/1.xml
80226
+ --> 200 200 (106 0ms)
80227
+ GET http://somewhere.else:80/people/1.xml
80228
+ --> 200 200 (106 0ms)
80229
+ GET http://somewhere.else:80/people/1.xml
80230
+ --> 200 200 (106 0ms)
80231
+ GET http://somewhere.else:80/people.xml
80232
+ --> 200 200 (222 0ms)
80233
+ PUT http://somewhere.else:80/people/1.xml
80234
+ --> 204 204 (0 0ms)
80235
+ GET http://somewhere.else:80/people/2.xml
80236
+ --> 200 200 (107 0ms)
80237
+ PUT http://somewhere.else:80/people/2.xml
80238
+ --> 409 409 (0 0ms)
80239
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80240
+ --> 200 200 (120 0ms)
80241
+ PUT http://37s.sunrise.i:3000/people/1/addresses/1.xml
80242
+ --> 204 204 (0 0ms)
80243
+ GET http://37s.sunrise.i:3000/people/1/addresses.xml
80244
+ --> 200 200 (166 0ms)
80245
+ PUT http://37s.sunrise.i:3000/people/1/addresses/1.xml
80246
+ --> 204 204 (0 0ms)
80247
+ GET http://localhost:80/people/1.xml
80248
+ --> 200 200 (106 0ms)
80249
+ DELETE http://localhost:80/people/1.xml
80250
+ --> 200 200 (0 0ms)
80251
+ DELETE http://localhost:80/people/2.xml
80252
+ --> 200 200 (0 0ms)
80253
+ GET http://localhost:80/people/1.xml
80254
+ --> 200 200 (106 0ms)
80255
+ GET http://localhost:80/people.xml
80256
+ --> 200 200 (222 0ms)
80257
+ GET http://localhost:80/people_empty_elements.xml
80258
+ --> 200 200 (77 0ms)
80259
+ GET http://localhost:80/people_single_elements.xml
80260
+ --> 200 200 (208 0ms)
80261
+ GET http://localhost:80/people/2.xml
80262
+ --> 200 200 (107 0ms)
80263
+ HEAD http://localhost:80/people/1.xml
80264
+ --> 200 200 (0 0ms)
80265
+ POST http://localhost:80/people.xml
80266
+ --> 201 201 (0 0ms)
80267
+ POST http://localhost:80/members.xml
80268
+ --> 201 201 (1 0ms)
80269
+ PUT http://localhost:80/people/1.xml
80270
+ --> 204 204 (0 0ms)
80271
+ PUT http://localhost:80/people/2.xml
80272
+ --> 204 204 (0 0ms)
80273
+ GET http://localhost:80/people/1.xml
80274
+ GET http://localhost:80/people_timeout.xml
80275
+ GET http://somewhere.else:80/people/retrieve.xml?name=Matz
80276
+ --> 200 200 (146 0ms)
80277
+ POST http://somewhere.else:80/people/hire.xml?name=Matz
80278
+ --> 201 201 (0 0ms)
80279
+ PUT http://somewhere.else:80/people/promote.xml?name=Matz
80280
+ --> 204 204 (0 0ms)
80281
+ PUT http://somewhere.else:80/people/sort.xml?by=name
80282
+ --> 204 204 (0 0ms)
80283
+ DELETE http://somewhere.else:80/people/deactivate.xml?name=Matz
80284
+ --> 200 200 (0 0ms)
80285
+ PUT http://37s.sunrise.i:3000/people/1/addresses/sort.xml?by=name
80286
+ --> 204 204 (0 0ms)
80287
+ GET http://somewhere.else:80/people/1.xml
80288
+ --> 200 200 (106 0ms)
80289
+ GET http://somewhere.else:80/people/1/shallow.xml
80290
+ --> 200 200 (106 0ms)
80291
+ GET http://somewhere.else:80/people/1.xml
80292
+ --> 200 200 (106 0ms)
80293
+ GET http://somewhere.else:80/people/1/deep.xml
80294
+ --> 200 200 (129 0ms)
80295
+ GET http://somewhere.else:80/people/1.xml
80296
+ --> 200 200 (106 0ms)
80297
+ PUT http://somewhere.else:80/people/1/promote.xml?position=Manager
80298
+ --> 204 204 (0 0ms)
80299
+ GET http://somewhere.else:80/people/1.xml
80300
+ --> 200 200 (106 0ms)
80301
+ DELETE http://somewhere.else:80/people/1/deactivate.xml
80302
+ --> 200 200 (0 0ms)
80303
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80304
+ --> 200 200 (120 0ms)
80305
+ GET http://37s.sunrise.i:3000/people/1/addresses/1/deep.xml
80306
+ --> 200 200 (139 0ms)
80307
+ GET http://37s.sunrise.i:3000/people/1/addresses/1.xml
80308
+ --> 200 200 (120 0ms)
80309
+ PUT http://37s.sunrise.i:3000/people/1/addresses/1/normalize_phone.xml?locale=US
80310
+ --> 204 204 (0 0ms)
80311
+ POST http://somewhere.else:80/people/new/register.xml
80312
+ --> 201 201 (78 0ms)
80313
+ POST http://37s.sunrise.i:3000/people/1/addresses/new/link.xml
80314
+ --> 201 201 (92 0ms)
80315
+ POST http://somewhere.else:80/people/1/register.xml
80316
+ --> 201 201 (106 0ms)
80317
+ GET http://somewhere.else:80/people/managers.xml
80318
+ --> 200 200 (146 0ms)
80319
+ GET http://somewhere.else:80/people.json
80320
+ --> 200 200 (48 0ms)
80321
+ GET http://somewhere.else:80/people.xml
80322
+ --> 200 200 (224 0ms)
80323
+ GET http://somewhere.else:80/people/retrieve.json?name=David
80324
+ --> 200 200 (25 0ms)
80325
+ GET http://somewhere.else:80/people/retrieve.xml?name=David
80326
+ --> 200 200 (149 0ms)
80327
+ GET http://somewhere.else:80/people/2.json
80328
+ --> 200 200 (23 0ms)
80329
+ GET http://somewhere.else:80/people/2/shallow.json
80330
+ --> 200 200 (23 0ms)
80331
+ GET http://somewhere.else:80/people/2.xml
80332
+ --> 200 200 (103 0ms)
80333
+ GET http://somewhere.else:80/people/2/shallow.xml
80334
+ --> 200 200 (103 0ms)
80335
+ POST http://somewhere.else:80/people.json
80336
+ --> 201 201 (15 0ms)
80337
+ POST http://somewhere.else:80/people/new/register.json
80338
+ --> 201 201 (15 0ms)
80339
+ POST http://somewhere.else:80/people.xml
80340
+ --> 201 201 (74 0ms)
80341
+ POST http://somewhere.else:80/people/new/register.xml
80342
+ --> 201 201 (74 0ms)
80343
+ GET http://somewhere.else:80/people/1.json
80344
+ --> 200 200 (23 0ms)
80345
+ GET http://somewhere.else:80/people/1.xml
80346
+ --> 200 200 (103 0ms)
80347
+ POST http://somewhere.else:80/people.json
80348
+ --> 201 201 (50 1ms)
80349
+ POST http://somewhere.else:80/people.xml
80350
+ --> 201 201 (132 0ms)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 3
8
- - 6
9
- version: 2.3.6
8
+ - 7
9
+ version: 2.3.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Heinemeier Hansson
@@ -14,7 +14,7 @@ autorequire: active_resource
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-23 00:00:00 -07:00
17
+ date: 2010-05-24 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -27,8 +27,8 @@ dependencies:
27
27
  segments:
28
28
  - 2
29
29
  - 3
30
- - 6
31
- version: 2.3.6
30
+ - 7
31
+ version: 2.3.7
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
34
  description: Wraps web resources in model classes that can be manipulated through XML over REST.