social_nets_db 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/social_nets_db/social_net.rb +3 -3
- 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: f700a5cb68bd9fb80912d42a01bc422d5acacc5622b92774f8f00f3ba743d08b
|
4
|
+
data.tar.gz: 30293ad58dc87169511ad0cbabe3975882e8c17457efd68d8cd54e99a8f01a83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a62fe52dc23653f6711c1b122e0575e2a0da15517ebdb3e61eb3475b89a05378ab0562b929c02827552c19f5a88e7d8a9bfb2c66666a37324788f95c86825b5e
|
7
|
+
data.tar.gz: da1ed657ae79271f1ebb7254c9d43dfc9dafc6a13908913d2af7a263234965f87bf8f73b7c935df33827bd7bac06a216dc4f9bc93ec8b9d72d6213827a8caa25
|
data/CHANGELOG.md
CHANGED
@@ -92,15 +92,15 @@ class SocialNetsDB
|
|
92
92
|
end
|
93
93
|
|
94
94
|
def names
|
95
|
-
RECORDS.map { |uid, data| data[
|
95
|
+
RECORDS.map { |uid, data| data["name"] }
|
96
96
|
end
|
97
97
|
|
98
98
|
def uids
|
99
|
-
RECORDS.map { |uid, data| data[
|
99
|
+
RECORDS.map { |uid, data| data["uid"].to_s }
|
100
100
|
end
|
101
101
|
|
102
102
|
def values_for_select
|
103
|
-
RECORDS.map { |uid, data| [data[
|
103
|
+
RECORDS.map { |uid, data| [data["name"], uid] }
|
104
104
|
end
|
105
105
|
|
106
106
|
alias_method :find, :find_by_uid
|