restify 0.1.2.1.b37 → 0.1.2.1.b38

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/relation_spec.rb +14 -0
  3. metadata +3 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTM5ZTQ3ZTFjODAyZjJhMzIwNDNjN2U0MWU1NTNiNDM3NzgxYWExZA==
4
+ YmE0MzA0MGE4NTMyYTQ4YzA1M2IzNjEyMjUzODBmMjlkZjI5ZDM5YQ==
5
5
  data.tar.gz: !binary |-
6
- MjdlMDA0NGJlMjdiMTMxNWNhYWQyOGUwZjkxYmFlNjE0NzlkNmQyYg==
6
+ ZDZiNjMyNmE1N2M3ODI3ZTE5YzhhN2NiZWIwNGU5NDZiODZkMjhmNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWVkNjZjMTRhYWJiNjhhOWIyODQ2OThlZmE2YWNhYmQ2YWU0MWY5MWJlNmJk
10
- NTA0ODQ2ZDc4NDFkZjA0NjBlZjhmNTFmOGY2MjkxZTdmZTNiODg2ODdmZmU5
11
- Y2NlM2UwNzQwNjcxNWY5ZjliYzQ4ODcwZGVkYzFkZjkzNzk3NjM=
9
+ NmViYzlmNGVkMjQ4NTRkYTQyNDczOTY0ZmI0ZTdjNWU3YWEzODk2ZjQ3MmU1
10
+ NmUwZmIzMzBlY2QyMjllNGQzODEwNmJkM2I5MGMzMmM3ODcxYzkxYTk1MWZm
11
+ ODA4Y2I4ZGY2ODYwZTM2YWY2Zjk3NDlmZjlhMzA5YzA1MzE1YTU=
12
12
  data.tar.gz: !binary |-
13
- MDIxYjRlYmNlN2M2N2QzZjk5OTUyODEzMzcxN2ZmMWZlZTY1MDg1ZTA3YzQx
14
- NmM5M2EwNTY5ZmU2YzU5Yzg2OWVkYzk4ZmJjNjE1MjNiNTBjOWMzOTVlOTJk
15
- NzkyYjQyNjFjZjhiN2Y0NDZlZTA2MTNiZDQ1YjFhZTVkMjlhMWI=
13
+ MmMyNzljYTY3OGEzZjdhM2IyZDQwM2U1ZDg2ZDBkMTQ5M2VjZTBlNDhhNjk2
14
+ MWVhODFiZDVjOTg4ZmI3YTg1NmYyMjY0OTM2ZjI0ODc5OWJmMDMxMmZhMWY0
15
+ MjVhOWJiMzBkM2Q0ZjkxZGY1NmYyNWZkYjI4YzM4YWU3ZDJiZTM=
@@ -0,0 +1,14 @@
1
+ require 'spec_helper'
2
+
3
+ describe Restify::Relation do
4
+ let(:client) { double 'client' }
5
+ let(:pattern) { 'http://test.host/resource/{id}' }
6
+ let(:relation) { described_class.new client, pattern }
7
+ subject { relation }
8
+
9
+ describe '#==' do
10
+ it 'should equal pattern' do
11
+ expect(subject).to eq pattern
12
+ end
13
+ end
14
+ end
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.b37
4
+ version: 0.1.2.1.b38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
@@ -134,6 +134,7 @@ files:
134
134
  - restify.gemspec
135
135
  - spec/restify/collection_spec.rb
136
136
  - spec/restify/link_spec.rb
137
+ - spec/restify/relation_spec.rb
137
138
  - spec/restify/resource_spec.rb
138
139
  - spec/restify_spec.rb
139
140
  - spec/spec_helper.rb
@@ -164,6 +165,7 @@ summary: An experimental hypermedia REST client.
164
165
  test_files:
165
166
  - spec/restify/collection_spec.rb
166
167
  - spec/restify/link_spec.rb
168
+ - spec/restify/relation_spec.rb
167
169
  - spec/restify/resource_spec.rb
168
170
  - spec/restify_spec.rb
169
171
  - spec/spec_helper.rb