webfinger 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -2
- data/VERSION +1 -1
- data/lib/webfinger.rb +0 -1
- data/lib/webfinger/response.rb +0 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c248188fd3112addf9a46c84dd2adf04c72055b
|
4
|
+
data.tar.gz: 75a14633e1867fa4b6f3e124840c5eeabd5a92b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f003ed34a15aefda73534d8281c9991e84aef0c9da80bdb309441654e8649b7904211e059319672a6820cb049122cacdab0d10b18d50f126b18d84e1001d0e77
|
7
|
+
data.tar.gz: 7566f7bd669366c7a259bc3e4c0231a75e1182a6bd05065b20cd8d2bdfa220ee274da2481ea7ec8dc693c3d9b937e975b51305f2e71d9d5f00cb8264d4659e77
|
data/.travis.yml
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
data/lib/webfinger.rb
CHANGED
data/lib/webfinger/response.rb
CHANGED
@@ -3,10 +3,6 @@
|
|
3
3
|
|
4
4
|
module WebFinger
|
5
5
|
class Response < ActiveSupport::HashWithIndifferentAccess
|
6
|
-
def initialize(jrd)
|
7
|
-
replace jrd
|
8
|
-
end
|
9
|
-
|
10
6
|
[:subject, :aliases, :properties, :links].each do |method|
|
11
7
|
define_method method do
|
12
8
|
self[method]
|
@@ -18,13 +14,5 @@ module WebFinger
|
|
18
14
|
link[:rel] == rel
|
19
15
|
end
|
20
16
|
end
|
21
|
-
|
22
|
-
class << self
|
23
|
-
# NOTE: Ugly hack to avoid this ActiveSupport 4.0 bug.
|
24
|
-
# https://github.com/rails/rails/issues/11087
|
25
|
-
def new_from_hash_copying_default(hash)
|
26
|
-
superclass.new_from_hash_copying_default hash
|
27
|
-
end
|
28
|
-
end
|
29
17
|
end
|
30
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webfinger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
requirements: []
|
174
174
|
rubyforge_project:
|
175
|
-
rubygems_version: 2.
|
175
|
+
rubygems_version: 2.5.1
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Ruby WebFinger client library, following IETF WebFinger WG spec updates.
|