social_nets_db 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/social_nets_db/social_net.rb +2 -2
- data/lib/social_nets_db/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3ab9cf4043cbcf478b953642ac43a17ac0d9c629031195b83a86261567dff36
|
4
|
+
data.tar.gz: 39c106fa105f86275155f9673994ab92a4dcd9a51426191044bcc8b01ba01c6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1df5f62af4545f80b59830cd1720ce907eba907df990788290f73bbb5697d85d310eb5bc7e0e817ecae466ceebd4df0aea7af42fc1555ba203d9b21aa26bacb
|
7
|
+
data.tar.gz: 340aa65a98823f0d72da7f5dd12c9de6d613a678e9b65493d13bc2512fcc064eef5a5c8a5ff1987fb696b248ea8d065dd6cf99978f00ccd252fc488fd6fd4247
|
data/CHANGELOG.md
CHANGED
@@ -38,10 +38,10 @@ class SocialNetsDB
|
|
38
38
|
|
39
39
|
if username && page["by_username"]
|
40
40
|
fail ArgumentError, "Either a username or an account id must be provided" unless present_str?(username)
|
41
|
-
template.sub("${domain}", domain).sub("${uid}", username)
|
41
|
+
template.sub("${domain}", domain.to_s).sub("${uid}", username)
|
42
42
|
elsif account_id && page["by_account_id"]
|
43
43
|
fail ArgumentError, "Either a username or an account id must be provided" unless present_str?(account_id)
|
44
|
-
template.sub("${domain}", domain).sub("${uid}", account_id)
|
44
|
+
template.sub("${domain}", domain.to_s).sub("${uid}", account_id)
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|