social_nets_db 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eabb84b295197013fafa923bf04513f36f8acfff737fd97c24fd0f1b921c1f54
4
- data.tar.gz: c98281d4146a3e6709f740208e5c567dcd3463ab12d34b938cac562cf61b5df8
3
+ metadata.gz: a3ab9cf4043cbcf478b953642ac43a17ac0d9c629031195b83a86261567dff36
4
+ data.tar.gz: 39c106fa105f86275155f9673994ab92a4dcd9a51426191044bcc8b01ba01c6e
5
5
  SHA512:
6
- metadata.gz: a18eabf16fee2fcbd8d44660378e862844b38503191e61e156fdad135ab861b05dc204a1bcaae78c55884e0d86a0e9e9c1bd4bd035446e38fab365cab719dbd8
7
- data.tar.gz: 59fa5aad009839516180338a0920626222d0d93c7bfadd5d2df42e6d56a49960a0fb19062def33c494179a5d05507cbca71812a4eaf135ec051b0f0c0f7bd4d1
6
+ metadata.gz: a1df5f62af4545f80b59830cd1720ce907eba907df990788290f73bbb5697d85d310eb5bc7e0e817ecae466ceebd4df0aea7af42fc1555ba203d9b21aa26bacb
7
+ data.tar.gz: 340aa65a98823f0d72da7f5dd12c9de6d613a678e9b65493d13bc2512fcc064eef5a5c8a5ff1987fb696b248ea8d065dd6cf99978f00ccd252fc488fd6fd4247
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## [0.0.1] - 2021-12-02
3
+ ## [0.0.3] - 2021-12-03
4
+
5
+ - Corrects an error with email / website
6
+
7
+ ## [0.0.2] - 2021-12-02
4
8
 
5
9
  - Renames `:font_awesome` into `:font_awesome_4` because FA v5 and v6 may have different UIDs.
6
10
 
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class SocialNetsDB
4
- VERSION = "0.0.2".freeze
4
+ VERSION = "0.0.3".freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_nets_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Pedan