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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8405ec1a75beb2e68be8e23fcaec7b97125e9ea3
4
- data.tar.gz: 1c536dc6e78a3f6019e0bbcd31683456f789bf69
3
+ metadata.gz: 2c248188fd3112addf9a46c84dd2adf04c72055b
4
+ data.tar.gz: 75a14633e1867fa4b6f3e124840c5eeabd5a92b8
5
5
  SHA512:
6
- metadata.gz: d934a2caa544a82b011df8e84b2113ebf0bcbabb63d30caffcd787874367994084c5f098018e2037c8fe325458d43220a28765c800bd110898dd13ff7c0100f1
7
- data.tar.gz: 7d5b30d3f2f68bd3f3d0697a9067a40892138a9df9b34e1546a05fdfc228c42d9aaeda8aad84bfae07b4943e265dbfeae2d4ed35f0b2ab51c3a022d0344b8d37
6
+ metadata.gz: f003ed34a15aefda73534d8281c9991e84aef0c9da80bdb309441654e8649b7904211e059319672a6820cb049122cacdab0d10b18d50f126b18d84e1001d0e77
7
+ data.tar.gz: 7566f7bd669366c7a259bc3e4c0231a75e1182a6bd05065b20cd8d2bdfa220ee274da2481ea7ec8dc693c3d9b937e975b51305f2e71d9d5f00cb8264d4659e77
@@ -1,3 +1,8 @@
1
+ before_install:
2
+ - gem install bundler
3
+
1
4
  rvm:
2
- - 1.9.3
3
- - 2.0.0
5
+ - 2.0
6
+ - 2.1
7
+ - 2.2
8
+ - 2.3.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -1,4 +1,3 @@
1
- require 'digest/md5'
2
1
  require 'httpclient'
3
2
  require 'multi_json'
4
3
  require 'active_support'
@@ -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.1
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: 2014-12-22 00:00:00.000000000 Z
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.2.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.