ruby_odata 0.1.6 → 0.2.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -0
  3. data/CHANGELOG.md +5 -0
  4. data/Gemfile +2 -0
  5. data/Guardfile +1 -1
  6. data/features/basic_auth.feature +13 -13
  7. data/features/cassettes/basic_auth_protected_resource.yml +22 -20
  8. data/features/cassettes/batch_request_additions.yml +26 -26
  9. data/features/cassettes/batch_request_deletes.yml +27 -27
  10. data/features/cassettes/batch_request_updates.yml +26 -26
  11. data/features/cassettes/clean_database_for_testing.yml +10 -10
  12. data/features/cassettes/cucumber_tags/basic_auth.yml +54 -163
  13. data/features/cassettes/cucumber_tags/batch_request.yml +229 -1118
  14. data/features/cassettes/cucumber_tags/complex_types.yml +81 -191
  15. data/features/cassettes/cucumber_tags/error_handling.yml +45 -33
  16. data/features/cassettes/cucumber_tags/query_builder.yml +555 -1248
  17. data/features/cassettes/cucumber_tags/service_manage.yml +216 -591
  18. data/features/cassettes/cucumber_tags/service_methods.yml +137 -412
  19. data/features/cassettes/cucumber_tags/ssl.yml +121 -117
  20. data/features/cassettes/cucumber_tags/type_conversion.yml +104 -170
  21. data/features/cassettes/service_manage_additions.yml +26 -28
  22. data/features/cassettes/service_manage_deletions.yml +21 -21
  23. data/features/cassettes/service_manage_deletions_2.yml +21 -21
  24. data/features/cassettes/unsecured_metadata.yml +14 -14
  25. data/features/service.feature +37 -37
  26. data/features/service_methods.feature +38 -38
  27. data/features/step_definitions/pickle_steps.rb +5 -5
  28. data/features/step_definitions/service_steps.rb +26 -26
  29. data/features/support/hooks.rb +3 -2
  30. data/features/support/vcr.rb +13 -13
  31. data/lib/ruby_odata.rb +4 -1
  32. data/lib/ruby_odata/association.rb +15 -8
  33. data/lib/ruby_odata/class_builder.rb +5 -1
  34. data/lib/ruby_odata/query_builder.rb +171 -173
  35. data/lib/ruby_odata/resource.rb +153 -0
  36. data/lib/ruby_odata/service.rb +30 -30
  37. data/lib/ruby_odata/version.rb +1 -1
  38. data/ruby_odata.gemspec +48 -43
  39. data/spec/association_spec.rb +15 -11
  40. data/spec/fixtures/decimal/metadata.xml +1 -0
  41. data/spec/fixtures/v4/edmx_metadata.xml +145 -0
  42. data/spec/fixtures/v4/result_categories.xml +0 -0
  43. data/spec/revised_service_spec.rb +16 -11
  44. data/spec/service_spec.rb +149 -114
  45. data/spec/service_v4_spec.rb +102 -0
  46. data/spec/spec_helper.rb +6 -1
  47. metadata +109 -32
  48. data/features/cassettes/cucumber_tags/service.yml +0 -234
@@ -1,39 +1,35 @@
1
1
  ---
2
2
  http_interactions:
3
3
  - request:
4
- method: post
5
- uri: https://admin:passwd@win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories
4
+ method: get
5
+ uri: https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/$metadata
6
6
  body:
7
- encoding: ASCII-8BIT
8
- string: ! '{"Name":"Auth Test Category","AuditFields":{"CreatedBy":"Machinist"}}'
7
+ encoding: US-ASCII
8
+ string: ''
9
9
  headers:
10
- Accept:
11
- - ! '*/*; q=0.5, application/xml'
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- Content-Length:
17
- - '69'
18
10
  User-Agent:
19
11
  - Ruby
12
+ Accept:
13
+ - "*/*; q=0.5, application/xml"
14
+ Authorization:
15
+ - Basic YWRtaW46cGFzc3dk
16
+ Accept-Encoding:
17
+ - gzip,deflate
20
18
  response:
21
19
  status:
22
- code: 201
23
- message: Created
20
+ code: 200
21
+ message: ''
24
22
  headers:
25
23
  Cache-Control:
26
24
  - no-cache
27
25
  Content-Length:
28
- - '1282'
26
+ - '4055'
29
27
  Content-Type:
30
- - application/atom+xml;type=entry;charset=utf-8
31
- Location:
32
- - https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
28
+ - application/xml;charset=utf-8
33
29
  Server:
34
- - Microsoft-IIS/7.5
30
+ - Microsoft-IIS/8.0
35
31
  Set-Cookie:
36
- - ASP.NET_SessionId=o5sznpaa1cviza5dsdjbbrgx; path=/; HttpOnly
32
+ - ASP.NET_SessionId=actpbfderh0tojhcwyq5bz0d; path=/; HttpOnly
37
33
  X-Content-Type-Options:
38
34
  - nosniff
39
35
  Dataserviceversion:
@@ -43,51 +39,89 @@ http_interactions:
43
39
  X-Powered-By:
44
40
  - ASP.NET
45
41
  Date:
46
- - Tue, 07 Aug 2012 21:21:56 GMT
42
+ - Sun, 26 Apr 2015 16:29:58 GMT
47
43
  body:
48
- encoding: US-ASCII
49
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/"
50
- xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
51
- xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
52
- xmlns:gml="http://www.opengis.net/gml"><id>https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
53
- term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
54
- /><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
55
- type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
56
- /><title /><updated>2012-08-07T21:21:56Z</updated><author><name /></author><content
57
- type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Auth
58
- Test Category</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
59
- m:type="Edm.DateTime">2012-08-07T21:21:56.953125Z</d:CreateDate><d:ModifiedDate
60
- m:type="Edm.DateTime">2012-08-07T21:21:56.953125Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
61
- http_version: !!null
62
- recorded_at: Tue, 07 Aug 2012 21:21:57 GMT
44
+ encoding: UTF-8
45
+ string: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"><edmx:DataServices
46
+ m:DataServiceVersion="1.0" m:MaxDataServiceVersion="3.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><Schema
47
+ Namespace="RubyODataService" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"><EntityType
48
+ Name="Product"><Key><PropertyRef Name="Id" /></Key><Property Name="Id" Type="Edm.Int32"
49
+ Nullable="false" p6:StoreGeneratedPattern="Identity" xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation"
50
+ /><Property Name="Name" Type="Edm.String" MaxLength="4000" FixedLength="false"
51
+ Unicode="true" /><Property Name="Description" Type="Edm.String" MaxLength="4000"
52
+ FixedLength="false" Unicode="true" /><Property Name="Price" Type="Edm.Decimal"
53
+ Nullable="false" Precision="18" Scale="2" /><Property Name="DiscontinuedDate"
54
+ Type="Edm.DateTime" /><Property Name="CategoryId" Type="Edm.Int32" Nullable="false"
55
+ /><Property Name="AuditFields" Type="RubyODataService.AuditFields" Nullable="false"
56
+ /><NavigationProperty Name="Category" Relationship="RubyODataService.Category_Products"
57
+ ToRole="Category_Products_Source" FromRole="Category_Products_Target" /></EntityType><ComplexType
58
+ Name="AuditFields"><Property Name="CreateDate" Type="Edm.DateTime" Nullable="false"
59
+ /><Property Name="ModifiedDate" Type="Edm.DateTime" Nullable="false" /><Property
60
+ Name="CreatedBy" Type="Edm.String" MaxLength="4000" FixedLength="false" Unicode="true"
61
+ /></ComplexType><EntityType Name="Category"><Key><PropertyRef Name="Id" /></Key><Property
62
+ Name="Id" Type="Edm.Int32" Nullable="false" p6:StoreGeneratedPattern="Identity"
63
+ xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation" /><Property
64
+ Name="Name" Type="Edm.String" MaxLength="4000" FixedLength="false" Unicode="true"
65
+ /><Property Name="AuditFields" Type="RubyODataService.AuditFields" Nullable="false"
66
+ /><NavigationProperty Name="Products" Relationship="RubyODataService.Category_Products"
67
+ ToRole="Category_Products_Target" FromRole="Category_Products_Source" /></EntityType><EntityType
68
+ Name="EdmMetadata"><Key><PropertyRef Name="Id" /></Key><Property Name="Id"
69
+ Type="Edm.Int32" Nullable="false" p6:StoreGeneratedPattern="Identity" xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation"
70
+ /><Property Name="ModelHash" Type="Edm.String" MaxLength="4000" FixedLength="false"
71
+ Unicode="true" /></EntityType><Association Name="Category_Products"><End Type="RubyODataService.Product"
72
+ Role="Category_Products_Target" Multiplicity="*" /><End Type="RubyODataService.Category"
73
+ Role="Category_Products_Source" Multiplicity="1"><OnDelete Action="Cascade"
74
+ /></End><ReferentialConstraint><Principal Role="Category_Products_Source"><PropertyRef
75
+ Name="Id" /></Principal><Dependent Role="Category_Products_Target"><PropertyRef
76
+ Name="CategoryId" /></Dependent></ReferentialConstraint></Association><EntityContainer
77
+ Name="RubyODataContext" m:IsDefaultEntityContainer="true"><EntitySet Name="Products"
78
+ EntityType="RubyODataService.Product" /><EntitySet Name="Categories" EntityType="RubyODataService.Category"
79
+ /><EntitySet Name="EdmMetadatas" EntityType="RubyODataService.EdmMetadata"
80
+ /><AssociationSet Name="Category_Products" Association="RubyODataService.Category_Products"><End
81
+ Role="Category_Products_Target" EntitySet="Products" /><End Role="Category_Products_Source"
82
+ EntitySet="Categories" /></AssociationSet><FunctionImport Name="CleanDatabaseForTesting"
83
+ m:HttpMethod="POST" /><FunctionImport Name="EntityCategoryWebGet" ReturnType="Collection(RubyODataService.Category)"
84
+ EntitySet="Categories" m:HttpMethod="GET" /><FunctionImport Name="CategoryNames"
85
+ ReturnType="Collection(Edm.String)" m:HttpMethod="GET" /><FunctionImport Name="FirstCategoryId"
86
+ ReturnType="Edm.Int32" m:HttpMethod="GET" /><FunctionImport Name="EntitySingleCategoryWebGet"
87
+ ReturnType="RubyODataService.Category" EntitySet="Categories" m:HttpMethod="GET"><Parameter
88
+ Name="id" Type="Edm.Int32" /></FunctionImport></EntityContainer></Schema></edmx:DataServices></edmx:Edmx>
89
+ http_version:
90
+ recorded_at: Sun, 26 Apr 2015 16:29:59 GMT
63
91
  - request:
64
- method: get
65
- uri: https://admin:passwd@win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
92
+ method: post
93
+ uri: https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories
66
94
  body:
67
- encoding: US-ASCII
68
- string: ''
95
+ encoding: UTF-8
96
+ string: '{"Name":"Auth Test Category","AuditFields":{"CreatedBy":"Machinist"}}'
69
97
  headers:
70
- Accept:
71
- - ! '*/*; q=0.5, application/xml'
72
- Accept-Encoding:
73
- - gzip, deflate
74
98
  User-Agent:
75
99
  - Ruby
100
+ Accept:
101
+ - "*/*; q=0.5, application/xml"
102
+ Authorization:
103
+ - Basic YWRtaW46cGFzc3dk
104
+ Content-Type:
105
+ - application/json
106
+ Accept-Encoding:
107
+ - gzip,deflate
76
108
  response:
77
109
  status:
78
- code: 200
79
- message: OK
110
+ code: 201
111
+ message: ''
80
112
  headers:
81
113
  Cache-Control:
82
114
  - no-cache
83
115
  Content-Length:
84
- - '1274'
116
+ - '1288'
85
117
  Content-Type:
86
118
  - application/atom+xml;type=entry;charset=utf-8
119
+ Location:
120
+ - https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
87
121
  Server:
88
- - Microsoft-IIS/7.5
122
+ - Microsoft-IIS/8.0
89
123
  Set-Cookie:
90
- - ASP.NET_SessionId=xa4wqiktizqq2hfjeibtjacv; path=/; HttpOnly
124
+ - ASP.NET_SessionId=5nxzsgnedd4aytyfoebtuuhq; path=/; HttpOnly
91
125
  X-Content-Type-Options:
92
126
  - nosniff
93
127
  Dataserviceversion:
@@ -97,51 +131,53 @@ http_interactions:
97
131
  X-Powered-By:
98
132
  - ASP.NET
99
133
  Date:
100
- - Tue, 07 Aug 2012 21:21:56 GMT
134
+ - Sun, 26 Apr 2015 16:29:58 GMT
101
135
  body:
102
- encoding: US-ASCII
103
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/"
136
+ encoding: UTF-8
137
+ string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/"
104
138
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
105
139
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
106
- xmlns:gml="http://www.opengis.net/gml"><id>https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
140
+ xmlns:gml="http://www.opengis.net/gml"><id>https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
107
141
  term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
108
142
  /><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
109
143
  type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
110
- /><title /><updated>2012-08-07T21:21:57Z</updated><author><name /></author><content
144
+ /><title /><updated>2015-04-26T16:29:59Z</updated><author><name /></author><content
111
145
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Auth
112
146
  Test Category</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
113
- m:type="Edm.DateTime">2012-08-07T21:21:56.953</d:CreateDate><d:ModifiedDate
114
- m:type="Edm.DateTime">2012-08-07T21:21:56.953</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
115
- http_version: !!null
116
- recorded_at: Tue, 07 Aug 2012 21:21:57 GMT
147
+ m:type="Edm.DateTime">2015-04-26T16:29:59.458032Z</d:CreateDate><d:ModifiedDate
148
+ m:type="Edm.DateTime">2015-04-26T16:29:59.458032Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
149
+ http_version:
150
+ recorded_at: Sun, 26 Apr 2015 16:29:59 GMT
117
151
  - request:
118
152
  method: get
119
- uri: https://admin:passwd@win7dev:44300/SampleService/BasicAuth/RubyOData.svc/$metadata
153
+ uri: https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
120
154
  body:
121
155
  encoding: US-ASCII
122
156
  string: ''
123
157
  headers:
124
- Accept:
125
- - ! '*/*; q=0.5, application/xml'
126
- Accept-Encoding:
127
- - gzip, deflate
128
158
  User-Agent:
129
159
  - Ruby
160
+ Accept:
161
+ - "*/*; q=0.5, application/xml"
162
+ Authorization:
163
+ - Basic YWRtaW46cGFzc3dk
164
+ Accept-Encoding:
165
+ - gzip,deflate
130
166
  response:
131
167
  status:
132
168
  code: 200
133
- message: OK
169
+ message: ''
134
170
  headers:
135
171
  Cache-Control:
136
172
  - no-cache
137
173
  Content-Length:
138
- - '4055'
174
+ - '1280'
139
175
  Content-Type:
140
- - application/xml;charset=utf-8
176
+ - application/atom+xml;type=entry;charset=utf-8
141
177
  Server:
142
- - Microsoft-IIS/7.5
178
+ - Microsoft-IIS/8.0
143
179
  Set-Cookie:
144
- - ASP.NET_SessionId=nqu2cmw2lsdcdow1tflssuqz; path=/; HttpOnly
180
+ - ASP.NET_SessionId=ywz0ygdefx0vdsa5pvgg2jdp; path=/; HttpOnly
145
181
  X-Content-Type-Options:
146
182
  - nosniff
147
183
  Dataserviceversion:
@@ -151,53 +187,21 @@ http_interactions:
151
187
  X-Powered-By:
152
188
  - ASP.NET
153
189
  Date:
154
- - Tue, 07 Aug 2012 21:21:56 GMT
190
+ - Sun, 26 Apr 2015 16:29:58 GMT
155
191
  body:
156
- encoding: US-ASCII
157
- string: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"><edmx:DataServices
158
- m:DataServiceVersion="1.0" m:MaxDataServiceVersion="3.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><Schema
159
- Namespace="RubyODataService" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"><EntityType
160
- Name="Product"><Key><PropertyRef Name="Id" /></Key><Property Name="Id" Type="Edm.Int32"
161
- Nullable="false" p6:StoreGeneratedPattern="Identity" xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation"
162
- /><Property Name="Name" Type="Edm.String" MaxLength="4000" FixedLength="false"
163
- Unicode="true" /><Property Name="Description" Type="Edm.String" MaxLength="4000"
164
- FixedLength="false" Unicode="true" /><Property Name="Price" Type="Edm.Decimal"
165
- Nullable="false" Precision="18" Scale="2" /><Property Name="DiscontinuedDate"
166
- Type="Edm.DateTime" /><Property Name="CategoryId" Type="Edm.Int32" Nullable="false"
167
- /><Property Name="AuditFields" Type="RubyODataService.AuditFields" Nullable="false"
168
- /><NavigationProperty Name="Category" Relationship="RubyODataService.Category_Products"
169
- ToRole="Category_Products_Source" FromRole="Category_Products_Target" /></EntityType><ComplexType
170
- Name="AuditFields"><Property Name="CreateDate" Type="Edm.DateTime" Nullable="false"
171
- /><Property Name="ModifiedDate" Type="Edm.DateTime" Nullable="false" /><Property
172
- Name="CreatedBy" Type="Edm.String" MaxLength="4000" FixedLength="false" Unicode="true"
173
- /></ComplexType><EntityType Name="Category"><Key><PropertyRef Name="Id" /></Key><Property
174
- Name="Id" Type="Edm.Int32" Nullable="false" p6:StoreGeneratedPattern="Identity"
175
- xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation" /><Property
176
- Name="Name" Type="Edm.String" MaxLength="4000" FixedLength="false" Unicode="true"
177
- /><Property Name="AuditFields" Type="RubyODataService.AuditFields" Nullable="false"
178
- /><NavigationProperty Name="Products" Relationship="RubyODataService.Category_Products"
179
- ToRole="Category_Products_Target" FromRole="Category_Products_Source" /></EntityType><EntityType
180
- Name="EdmMetadata"><Key><PropertyRef Name="Id" /></Key><Property Name="Id"
181
- Type="Edm.Int32" Nullable="false" p6:StoreGeneratedPattern="Identity" xmlns:p6="http://schemas.microsoft.com/ado/2009/02/edm/annotation"
182
- /><Property Name="ModelHash" Type="Edm.String" MaxLength="4000" FixedLength="false"
183
- Unicode="true" /></EntityType><Association Name="Category_Products"><End Type="RubyODataService.Product"
184
- Role="Category_Products_Target" Multiplicity="*" /><End Type="RubyODataService.Category"
185
- Role="Category_Products_Source" Multiplicity="1"><OnDelete Action="Cascade"
186
- /></End><ReferentialConstraint><Principal Role="Category_Products_Source"><PropertyRef
187
- Name="Id" /></Principal><Dependent Role="Category_Products_Target"><PropertyRef
188
- Name="CategoryId" /></Dependent></ReferentialConstraint></Association><EntityContainer
189
- Name="RubyODataContext" m:IsDefaultEntityContainer="true"><EntitySet Name="Products"
190
- EntityType="RubyODataService.Product" /><EntitySet Name="Categories" EntityType="RubyODataService.Category"
191
- /><EntitySet Name="EdmMetadatas" EntityType="RubyODataService.EdmMetadata"
192
- /><AssociationSet Name="Category_Products" Association="RubyODataService.Category_Products"><End
193
- Role="Category_Products_Target" EntitySet="Products" /><End Role="Category_Products_Source"
194
- EntitySet="Categories" /></AssociationSet><FunctionImport Name="CleanDatabaseForTesting"
195
- m:HttpMethod="POST" /><FunctionImport Name="EntityCategoryWebGet" ReturnType="Collection(RubyODataService.Category)"
196
- EntitySet="Categories" m:HttpMethod="GET" /><FunctionImport Name="CategoryNames"
197
- ReturnType="Collection(Edm.String)" m:HttpMethod="GET" /><FunctionImport Name="FirstCategoryId"
198
- ReturnType="Edm.Int32" m:HttpMethod="GET" /><FunctionImport Name="EntitySingleCategoryWebGet"
199
- ReturnType="RubyODataService.Category" EntitySet="Categories" m:HttpMethod="GET"><Parameter
200
- Name="id" Type="Edm.Int32" /></FunctionImport></EntityContainer></Schema></edmx:DataServices></edmx:Edmx>
201
- http_version: !!null
202
- recorded_at: Tue, 07 Aug 2012 21:21:57 GMT
203
- recorded_with: VCR 2.2.4
192
+ encoding: UTF-8
193
+ string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/"
194
+ xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
195
+ xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
196
+ xmlns:gml="http://www.opengis.net/gml"><id>https://10.10.0.17:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
197
+ term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
198
+ /><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
199
+ type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
200
+ /><title /><updated>2015-04-26T16:29:59Z</updated><author><name /></author><content
201
+ type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Auth
202
+ Test Category</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
203
+ m:type="Edm.DateTime">2015-04-26T16:29:59.457</d:CreateDate><d:ModifiedDate
204
+ m:type="Edm.DateTime">2015-04-26T16:29:59.457</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
205
+ http_version:
206
+ recorded_at: Sun, 26 Apr 2015 16:29:59 GMT
207
+ recorded_with: VCR 2.5.0
@@ -1,95 +1,33 @@
1
1
  ---
2
2
  http_interactions:
3
- - request:
4
- method: post
5
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products
6
- body:
7
- encoding: ASCII-8BIT
8
- string: ! '{"Name":"Test Product","Description":"Test Widget","Price":"10.25","Category":{"Name":"Category
9
- 0084","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
10
- headers:
11
- Accept:
12
- - ! '*/*; q=0.5, application/xml'
13
- Accept-Encoding:
14
- - gzip, deflate
15
- Content-Type:
16
- - application/json
17
- Content-Length:
18
- - '183'
19
- User-Agent:
20
- - Ruby
21
- response:
22
- status:
23
- code: 201
24
- message: Created
25
- headers:
26
- Cache-Control:
27
- - no-cache
28
- Content-Length:
29
- - '1437'
30
- Content-Type:
31
- - application/atom+xml;type=entry;charset=utf-8
32
- Location:
33
- - http://win7dev:8989/SampleService/RubyOData.svc/Products(1)
34
- Server:
35
- - Microsoft-IIS/7.5
36
- Set-Cookie:
37
- - ASP.NET_SessionId=hdlcnddo32dwqhvdtaly2a4a; path=/; HttpOnly
38
- X-Content-Type-Options:
39
- - nosniff
40
- Dataserviceversion:
41
- - 1.0;
42
- X-Aspnet-Version:
43
- - 4.0.30319
44
- X-Powered-By:
45
- - ASP.NET
46
- Date:
47
- - Tue, 07 Aug 2012 21:21:58 GMT
48
- body:
49
- encoding: US-ASCII
50
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
51
- xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
52
- xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
53
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
54
- term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
55
- /><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
56
- type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
57
- /><title /><updated>2012-08-07T21:21:58Z</updated><author><name /></author><content
58
- type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Test
59
- Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">10.25</d:Price><d:DiscontinuedDate
60
- m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
61
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:21:58.65625Z</d:CreateDate><d:ModifiedDate
62
- m:type="Edm.DateTime">2012-08-07T21:21:58.65625Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
63
- http_version: !!null
64
- recorded_at: Tue, 07 Aug 2012 21:21:58 GMT
65
3
  - request:
66
4
  method: get
67
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products(1)
5
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
68
6
  body:
69
7
  encoding: US-ASCII
70
8
  string: ''
71
9
  headers:
72
- Accept:
73
- - ! '*/*; q=0.5, application/xml'
74
- Accept-Encoding:
75
- - gzip, deflate
76
10
  User-Agent:
77
11
  - Ruby
12
+ Accept:
13
+ - "*/*; q=0.5, application/xml"
14
+ Accept-Encoding:
15
+ - gzip,deflate
78
16
  response:
79
17
  status:
80
18
  code: 200
81
- message: OK
19
+ message: ''
82
20
  headers:
83
21
  Cache-Control:
84
- - no-cache
22
+ - private
85
23
  Content-Length:
86
- - '1431'
24
+ - '1435'
87
25
  Content-Type:
88
26
  - application/atom+xml;type=entry;charset=utf-8
89
27
  Server:
90
- - Microsoft-IIS/7.5
28
+ - Microsoft-IIS/8.0
91
29
  Set-Cookie:
92
- - ASP.NET_SessionId=gxzuyuit2vnegno5zndhuyhc; path=/; HttpOnly
30
+ - ASP.NET_SessionId=q4kzxejyrn3a2haafr033nrz; path=/; HttpOnly
93
31
  X-Content-Type-Options:
94
32
  - nosniff
95
33
  Dataserviceversion:
@@ -99,52 +37,50 @@ http_interactions:
99
37
  X-Powered-By:
100
38
  - ASP.NET
101
39
  Date:
102
- - Tue, 07 Aug 2012 21:21:58 GMT
40
+ - Sun, 26 Apr 2015 16:30:01 GMT
103
41
  body:
104
- encoding: US-ASCII
105
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
42
+ encoding: UTF-8
43
+ string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
106
44
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
107
45
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
108
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
46
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
109
47
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
110
48
  /><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
111
49
  type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
112
- /><title /><updated>2012-08-07T21:21:58Z</updated><author><name /></author><content
50
+ /><title /><updated>2015-04-26T16:30:01Z</updated><author><name /></author><content
113
51
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Test
114
- Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">10.25</d:Price><d:DiscontinuedDate
52
+ Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
115
53
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
116
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:21:58.657</d:CreateDate><d:ModifiedDate
117
- m:type="Edm.DateTime">2012-08-07T21:21:58.657</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
118
- http_version: !!null
119
- recorded_at: Tue, 07 Aug 2012 21:21:58 GMT
54
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:30:01.77</d:CreateDate><d:ModifiedDate
55
+ m:type="Edm.DateTime">2015-04-26T16:30:01.77</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
56
+ http_version:
57
+ recorded_at: Sun, 26 Apr 2015 16:30:01 GMT
120
58
  - request:
121
59
  method: put
122
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products(1)
60
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
123
61
  body:
124
- encoding: ASCII-8BIT
125
- string: ! '{"Name":"Changed Test Product","Description":"Test Widget","Price":"10.25","AuditFields":{"CreatedBy":"Machinist","CreateDate":"2012-08-07T21:21:58.657","ModifiedDate":"2012-08-07T21:21:58.657"},"__metadata":{"uri":"http://win7dev:8989/SampleService/RubyOData.svc/Products(1)"},"Id":1,"DiscontinuedDate":null,"CategoryId":1}'
62
+ encoding: UTF-8
63
+ string: '{"Name":"Changed Test Product","Description":"Test Widget","Price":"25.0","AuditFields":{"CreatedBy":"Machinist","CreateDate":"2015-04-26T16:30:01.770","ModifiedDate":"2015-04-26T16:30:01.770"},"__metadata":{"uri":"http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)"},"Id":1,"DiscontinuedDate":null,"CategoryId":1}'
126
64
  headers:
65
+ User-Agent:
66
+ - Ruby
127
67
  Accept:
128
- - ! '*/*; q=0.5, application/xml'
129
- Accept-Encoding:
130
- - gzip, deflate
68
+ - "*/*; q=0.5, application/xml"
131
69
  Content-Type:
132
70
  - application/json
133
- Content-Length:
134
- - '324'
135
- User-Agent:
136
- - Ruby
71
+ Accept-Encoding:
72
+ - gzip,deflate
137
73
  response:
138
74
  status:
139
75
  code: 204
140
- message: No Content
76
+ message: ''
141
77
  headers:
142
78
  Cache-Control:
143
- - no-cache
79
+ - private
144
80
  Server:
145
- - Microsoft-IIS/7.5
81
+ - Microsoft-IIS/8.0
146
82
  Set-Cookie:
147
- - ASP.NET_SessionId=0mtbr44ryrx4om4emoipupwb; path=/; HttpOnly
83
+ - ASP.NET_SessionId=aiy2l2czpn3il0bwubbcrk33; path=/; HttpOnly
148
84
  X-Content-Type-Options:
149
85
  - nosniff
150
86
  Dataserviceversion:
@@ -154,40 +90,40 @@ http_interactions:
154
90
  X-Powered-By:
155
91
  - ASP.NET
156
92
  Date:
157
- - Tue, 07 Aug 2012 21:21:58 GMT
93
+ - Sun, 26 Apr 2015 16:30:01 GMT
158
94
  body:
159
- encoding: US-ASCII
95
+ encoding: UTF-8
160
96
  string: ''
161
- http_version: !!null
162
- recorded_at: Tue, 07 Aug 2012 21:21:59 GMT
97
+ http_version:
98
+ recorded_at: Sun, 26 Apr 2015 16:30:02 GMT
163
99
  - request:
164
100
  method: get
165
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products(1)
101
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
166
102
  body:
167
103
  encoding: US-ASCII
168
104
  string: ''
169
105
  headers:
170
- Accept:
171
- - ! '*/*; q=0.5, application/xml'
172
- Accept-Encoding:
173
- - gzip, deflate
174
106
  User-Agent:
175
107
  - Ruby
108
+ Accept:
109
+ - "*/*; q=0.5, application/xml"
110
+ Accept-Encoding:
111
+ - gzip,deflate
176
112
  response:
177
113
  status:
178
114
  code: 200
179
- message: OK
115
+ message: ''
180
116
  headers:
181
117
  Cache-Control:
182
- - no-cache
118
+ - private
183
119
  Content-Length:
184
- - '1439'
120
+ - '1443'
185
121
  Content-Type:
186
122
  - application/atom+xml;type=entry;charset=utf-8
187
123
  Server:
188
- - Microsoft-IIS/7.5
124
+ - Microsoft-IIS/8.0
189
125
  Set-Cookie:
190
- - ASP.NET_SessionId=cslezwh3sdww02x0qcf1suh1; path=/; HttpOnly
126
+ - ASP.NET_SessionId=v3vbwwzjqhhu3jfooylgxrzb; path=/; HttpOnly
191
127
  X-Content-Type-Options:
192
128
  - nosniff
193
129
  Dataserviceversion:
@@ -197,59 +133,57 @@ http_interactions:
197
133
  X-Powered-By:
198
134
  - ASP.NET
199
135
  Date:
200
- - Tue, 07 Aug 2012 21:21:58 GMT
136
+ - Sun, 26 Apr 2015 16:30:01 GMT
201
137
  body:
202
- encoding: US-ASCII
203
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
138
+ encoding: UTF-8
139
+ string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
204
140
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
205
141
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
206
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
142
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
207
143
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
208
144
  /><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
209
145
  type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
210
- /><title /><updated>2012-08-07T21:21:58Z</updated><author><name /></author><content
146
+ /><title /><updated>2015-04-26T16:30:02Z</updated><author><name /></author><content
211
147
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Changed
212
- Test Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">10.25</d:Price><d:DiscontinuedDate
148
+ Test Product</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
213
149
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
214
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:21:58.657</d:CreateDate><d:ModifiedDate
215
- m:type="Edm.DateTime">2012-08-07T21:21:58.657</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
216
- http_version: !!null
217
- recorded_at: Tue, 07 Aug 2012 21:21:59 GMT
150
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:30:01.77</d:CreateDate><d:ModifiedDate
151
+ m:type="Edm.DateTime">2015-04-26T16:30:01.77</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
152
+ http_version:
153
+ recorded_at: Sun, 26 Apr 2015 16:30:02 GMT
218
154
  - request:
219
155
  method: post
220
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products
156
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products
221
157
  body:
222
- encoding: ASCII-8BIT
223
- string: ! '{"Name":"Widget 0073","Description":"Test Widget","Price":"100.00","Category":{"Name":"Category
224
- 0085","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
158
+ encoding: UTF-8
159
+ string: '{"Name":"Widget 0072","Description":"Test Widget","Price":"100.00","Category":{"Name":"Category
160
+ 0081","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
225
161
  headers:
162
+ User-Agent:
163
+ - Ruby
226
164
  Accept:
227
- - ! '*/*; q=0.5, application/xml'
228
- Accept-Encoding:
229
- - gzip, deflate
165
+ - "*/*; q=0.5, application/xml"
230
166
  Content-Type:
231
167
  - application/json
232
- Content-Length:
233
- - '183'
234
- User-Agent:
235
- - Ruby
168
+ Accept-Encoding:
169
+ - gzip,deflate
236
170
  response:
237
171
  status:
238
172
  code: 201
239
- message: Created
173
+ message: ''
240
174
  headers:
241
175
  Cache-Control:
242
- - no-cache
176
+ - private
243
177
  Content-Length:
244
- - '1439'
178
+ - '1445'
245
179
  Content-Type:
246
180
  - application/atom+xml;type=entry;charset=utf-8
247
181
  Location:
248
- - http://win7dev:8989/SampleService/RubyOData.svc/Products(1)
182
+ - http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
249
183
  Server:
250
- - Microsoft-IIS/7.5
184
+ - Microsoft-IIS/8.0
251
185
  Set-Cookie:
252
- - ASP.NET_SessionId=a5r2goobthww5j3fdaal1cdo; path=/; HttpOnly
186
+ - ASP.NET_SessionId=3dzididjnc2v5b0fk3nfc3b0; path=/; HttpOnly
253
187
  X-Content-Type-Options:
254
188
  - nosniff
255
189
  Dataserviceversion:
@@ -259,52 +193,52 @@ http_interactions:
259
193
  X-Powered-By:
260
194
  - ASP.NET
261
195
  Date:
262
- - Tue, 07 Aug 2012 21:21:58 GMT
196
+ - Sun, 26 Apr 2015 16:30:01 GMT
263
197
  body:
264
- encoding: US-ASCII
265
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
198
+ encoding: UTF-8
199
+ string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
266
200
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
267
201
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
268
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
202
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
269
203
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
270
204
  /><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
271
205
  type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
272
- /><title /><updated>2012-08-07T21:21:59Z</updated><author><name /></author><content
206
+ /><title /><updated>2015-04-26T16:30:02Z</updated><author><name /></author><content
273
207
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Widget
274
- 0073</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">100.00</d:Price><d:DiscontinuedDate
208
+ 0072</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">100.00</d:Price><d:DiscontinuedDate
275
209
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
276
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:21:59.359375Z</d:CreateDate><d:ModifiedDate
277
- m:type="Edm.DateTime">2012-08-07T21:21:59.359375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
278
- http_version: !!null
279
- recorded_at: Tue, 07 Aug 2012 21:21:59 GMT
210
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:30:02.614282Z</d:CreateDate><d:ModifiedDate
211
+ m:type="Edm.DateTime">2015-04-26T16:30:02.614282Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
212
+ http_version:
213
+ recorded_at: Sun, 26 Apr 2015 16:30:02 GMT
280
214
  - request:
281
215
  method: get
282
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products
216
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products
283
217
  body:
284
218
  encoding: US-ASCII
285
219
  string: ''
286
220
  headers:
287
- Accept:
288
- - ! '*/*; q=0.5, application/xml'
289
- Accept-Encoding:
290
- - gzip, deflate
291
221
  User-Agent:
292
222
  - Ruby
223
+ Accept:
224
+ - "*/*; q=0.5, application/xml"
225
+ Accept-Encoding:
226
+ - gzip,deflate
293
227
  response:
294
228
  status:
295
229
  code: 200
296
- message: OK
230
+ message: ''
297
231
  headers:
298
232
  Cache-Control:
299
- - no-cache
233
+ - private
300
234
  Content-Length:
301
- - '1633'
235
+ - '1644'
302
236
  Content-Type:
303
237
  - application/atom+xml;type=feed;charset=utf-8
304
238
  Server:
305
- - Microsoft-IIS/7.5
239
+ - Microsoft-IIS/8.0
306
240
  Set-Cookie:
307
- - ASP.NET_SessionId=t1uyr25xdhviiv0ai4id0ru5; path=/; HttpOnly
241
+ - ASP.NET_SessionId=d1j1bp1szprf0x1nyobq0f1c; path=/; HttpOnly
308
242
  X-Content-Type-Options:
309
243
  - nosniff
310
244
  Dataserviceversion:
@@ -314,24 +248,24 @@ http_interactions:
314
248
  X-Powered-By:
315
249
  - ASP.NET
316
250
  Date:
317
- - Tue, 07 Aug 2012 21:21:58 GMT
251
+ - Sun, 26 Apr 2015 16:30:01 GMT
318
252
  body:
319
- encoding: US-ASCII
320
- string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
253
+ encoding: UTF-8
254
+ string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
321
255
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
322
256
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
323
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products</id><title
324
- type="text">Products</title><updated>2012-08-07T21:21:59Z</updated><link rel="self"
325
- title="Products" href="Products" /><entry><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
257
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products</id><title
258
+ type="text">Products</title><updated>2015-04-26T16:30:02Z</updated><link rel="self"
259
+ title="Products" href="Products" /><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
326
260
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
327
261
  /><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
328
262
  type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
329
- /><title /><updated>2012-08-07T21:21:59Z</updated><author><name /></author><content
263
+ /><title /><updated>2015-04-26T16:30:02Z</updated><author><name /></author><content
330
264
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Widget
331
- 0073</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">100.00</d:Price><d:DiscontinuedDate
265
+ 0072</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">100.00</d:Price><d:DiscontinuedDate
332
266
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
333
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:21:59.36</d:CreateDate><d:ModifiedDate
334
- m:type="Edm.DateTime">2012-08-07T21:21:59.36</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
335
- http_version: !!null
336
- recorded_at: Tue, 07 Aug 2012 21:21:59 GMT
337
- recorded_with: VCR 2.2.4
267
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:30:02.613</d:CreateDate><d:ModifiedDate
268
+ m:type="Edm.DateTime">2015-04-26T16:30:02.613</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
269
+ http_version:
270
+ recorded_at: Sun, 26 Apr 2015 16:30:02 GMT
271
+ recorded_with: VCR 2.5.0