social_media_parser 0.1.4 → 0.1.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4316d98ba9de8b7b91b53dc24e6a587776b908e2
|
4
|
+
data.tar.gz: e2c12e56af485cf282f2cc1663c75b78892a9cdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9da63632bf66faea39e9d8f0ad159e555466df0c688460b1409076dbde0585a53d9b16d93e41971042465e94a7649d19b7a261fbdbdece507674eb0cd6951193
|
7
|
+
data.tar.gz: f557c2603b7e1a30f5d92f13477f2566d7e36376f6e6b888c322124cc58fac4ce2e668b9563b3910524a67c16eb413d675b096e63fd89c3ee45c9d601d9ccd75
|
@@ -6,7 +6,7 @@ module SocialMediaParser
|
|
6
6
|
class Base < ::SocialMediaParser::Link
|
7
7
|
def self.parse(attributes)
|
8
8
|
providers.map do |provider|
|
9
|
-
|
9
|
+
SocialMediaParser::Provider.const_get(provider.capitalize).new(attributes)
|
10
10
|
end.find(&:valid?) or ::SocialMediaParser::Link.new(attributes)
|
11
11
|
end
|
12
12
|
|
data/social_media_parser.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
|
20
20
|
spec.required_ruby_version = ">= 1.9"
|
21
21
|
|
22
|
-
spec.add_dependency "public_suffix", "~> 1.
|
22
|
+
spec.add_dependency "public_suffix", "~> 1.5"
|
23
23
|
|
24
24
|
spec.add_development_dependency "rspec", "~> 3.0"
|
25
25
|
spec.add_development_dependency "pry", "~> 0.10"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_media_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Nordin
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-07-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: public_suffix
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1.
|
21
|
+
version: '1.5'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '1.
|
28
|
+
version: '1.5'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rspec
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|