restify 0.1.2.1.b37 → 0.1.2.1.b38
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.
- checksums.yaml +8 -8
- data/spec/restify/relation_spec.rb +14 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmE0MzA0MGE4NTMyYTQ4YzA1M2IzNjEyMjUzODBmMjlkZjI5ZDM5YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDZiNjMyNmE1N2M3ODI3ZTE5YzhhN2NiZWIwNGU5NDZiODZkMjhmNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmViYzlmNGVkMjQ4NTRkYTQyNDczOTY0ZmI0ZTdjNWU3YWEzODk2ZjQ3MmU1
|
10
|
+
NmUwZmIzMzBlY2QyMjllNGQzODEwNmJkM2I5MGMzMmM3ODcxYzkxYTk1MWZm
|
11
|
+
ODA4Y2I4ZGY2ODYwZTM2YWY2Zjk3NDlmZjlhMzA5YzA1MzE1YTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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.
|
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
|