webfinger 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20903f1ccf0e5605a976381cdbb8d97a0a810b84
4
- data.tar.gz: 57304dadd541de3ff4b15561d469a9ceea73feca
3
+ metadata.gz: 8b2a7233db5df2ebd152285c101b3fede565eda3
4
+ data.tar.gz: 643c6f52b73b28de9f93691d2ea12252686e23af
5
5
  SHA512:
6
- metadata.gz: 5c4031213d7a1a145b377e1e4c87b2433904202c468009bdee24d8c016298df1c51244ba435ab23ca809ed14fb6010b674773234e9777a69c98cf6b359c2384f
7
- data.tar.gz: 182b375638a9dbc3b201a1992aafae95a0d1903b52a97c5959281c34abd1ce2742474da53e85932791f3607939ef34eabb57c294e32ac82b00d33804abeb2b62
6
+ metadata.gz: 969cbf56d25a9d2046faff88a17983c7ae3fe8c754fbd9e660525dd73e2cb195604b9b8b745f5f785c09e1c465e910db097112bd8c8c57d776969de908a98639
7
+ data.tar.gz: e4eae54fe3df0559ad0e203f9de151c2c9abfd7884cad930922d7c6d1f7998a361623d2a4d7171eccacf68723b3e2b517be1471ae8d29e305e5f9e552d9a6e17
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -2,7 +2,7 @@
2
2
  # Make a JSON Resource Descriptor (JRD) gem as separate one and use it as superclass?
3
3
 
4
4
  module WebFinger
5
- class Response < Hash
5
+ class Response < ActiveSupport::HashWithIndifferentAccess
6
6
  def initialize(jrd)
7
7
  replace jrd
8
8
  end
@@ -10,15 +10,18 @@ describe WebFinger::Response do
10
10
  [{
11
11
  rel: 'http://openid.net/specs/connect/1.0/issuer',
12
12
  href: 'https://openid.example.com/'
13
- }]
13
+ }.with_indifferent_access]
14
14
  end
15
- subject do
16
- WebFinger::Response.new(
15
+ let(:attributes) do
16
+ {
17
17
  subject: _subject_,
18
18
  aliases: aliases,
19
19
  properties: properties,
20
20
  links: links
21
- )
21
+ }.with_indifferent_access
22
+ end
23
+ subject do
24
+ WebFinger::Response.new attributes
22
25
  end
23
26
 
24
27
  its(:subject) { should == _subject_ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webfinger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake