rails_friends 0.1.1 → 0.1.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce23dbf32261a5beae5c05bfbb691bb0c4d44af7fc4128e2ccf3965efce0755d
|
|
4
|
+
data.tar.gz: 0e347d65ef022f9a1aff09a792f15c543fb5b58af72dfa0649fa08d9d3d46582
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cfb79dcbee2801478b7bafc627e5d3c103f349ab0410853e409a32564cfb884bbdb58b3ea5678ea7d474bf487c8aa8f25a2efe434590bb625af8df9051513a65
|
|
7
|
+
data.tar.gz: '03794ce1e4209e47313f4c779e5d14c18030652f5552cb2f7461d08b09e9b4f73f2a92587d95f26146eee683d53eebdea7db9fa07a32d81946f98344fdac3c32'
|
data/MIT-LICENSE
CHANGED
|
@@ -10,7 +10,7 @@ AddUniqueIndexToFriendships.class_eval do
|
|
|
10
10
|
def self.up
|
|
11
11
|
return if index_exists?(:friendships, %i[friendable_id friend_id])
|
|
12
12
|
|
|
13
|
-
add_index :friendships, %i[friendable_id friend_id], unique: true
|
|
13
|
+
add_index :friendships, %i[friendable_id friend_id], unique: true
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
def self.down
|
|
@@ -18,4 +18,4 @@ AddUniqueIndexToFriendships.class_eval do
|
|
|
18
18
|
|
|
19
19
|
remove_index :friendships, %i[friendable_id friend_id]
|
|
20
20
|
end
|
|
21
|
-
end
|
|
21
|
+
end
|