restify 0.1.2.1.b32 → 0.1.2.1.b33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/spec/restify_spec.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjkxZWY3N2Y4NjE5ZmU1ZTE2ZjhjN2E5YjY3MGNiNjQzZGRlZjM1OA==
4
+ YzRiMjc4OTlkOGVmZTI1NmVlYmE5OTAxMjY3ZDE3MGYyZTc4YzQ4OA==
5
5
  data.tar.gz: !binary |-
6
- YzJkNTNhNzM2MzE1ZTk1Y2IxMjc1NWUyMGViZjA5NjY2ZTAwMTkzNA==
6
+ YTI3NzZhM2VlYjg4YTIxZGVmYTAyN2QwYWVjZTFlZGZkYjIwMDg2NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzZhM2U3MGM5OWZiYjVkNTBiOWQxNDg5NWZjOGZhZjhiMGQwM2I4NWUyMjI0
10
- NzkyNTE2ZjRmZThjMzg3ZDhjOTBjZWFhZDE2ODQ3OWVkZmFlN2JlNmVjZDUw
11
- YmNmOTY2ZmYyNWM4MGNhODM5MzY5YmY5NGZmMjlkODIzZWJmY2Q=
9
+ Y2Y3MTdlOTliYzYwYzFiMjkxMjQ5ZWUzMDNkODY5MzVkNjc0N2M5ZjkwZTI2
10
+ N2E2YTIwYmMxNTI1OGUxZDdhZGVjOWY2ZTg2ZjMzN2VmNzc3MDRhNDJiOWJj
11
+ MTQzN2E3NjgzYmFmNTRhYjFmNTBmZmUyM2I2OTgyZjVkN2NmMjc=
12
12
  data.tar.gz: !binary |-
13
- NGRkN2Y5NDE0MGQ0NDE4OGI4NWUzZDAzYWFkYWRmMTZmZWVlYTU2Mzk3NGIy
14
- ZTY3ZTcxOGMyMjNiYTdiOTE1MmZiZDU5MzZhZDNhYzU4ZDNiOTZiNjUzNTIw
15
- YzNkZDZhNmMzMjEzZDFjNjY2ODdlYjdhMmM0MDM1Mjg3N2ZlMWI=
13
+ MzhhNDcyMzA5MDJmNjcxOGFkZGFhN2I1M2NiNGM1NmI3YWVmYzhkNTY0ZTM5
14
+ YTI3NjY2NWE4ZWRjNjQyOTM4NzQxNDBjYzViOTkzYTA3NjUyMmE4MTdmNWVk
15
+ Njg4MTgwNDk5OGZiZGFmMWFkMWVmOWE1OGY5YmE5Yzk0ZmQ1Zjc=
data/spec/restify_spec.rb CHANGED
@@ -148,7 +148,7 @@ describe Restify do
148
148
  expect(created_user.code).to eq 201
149
149
 
150
150
  expect(created_user).to have_key :name
151
- expect(created_user[:name]).to eq 'John Smith'
151
+ expect(created_user.name).to eq 'John Smith'
152
152
 
153
153
  # Let's follow the "Location" header.
154
154
  followed_resource = created_user.follow.value
@@ -157,7 +157,7 @@ describe Restify do
157
157
  expect(followed_resource.code).to eq 200
158
158
 
159
159
  expect(followed_resource).to have_key :name
160
- expect(followed_resource[:name]).to eq 'John Smith'
160
+ expect(followed_resource.name).to eq 'John Smith'
161
161
 
162
162
  # Now we will fetch a list of all users.
163
163
  users = users_relation.get.value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.1.b32
4
+ version: 0.1.2.1.b33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen