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: 351e4155270d4785dd842f2e879fdbdee3242582281a4eba239d399a6a235300
4
- data.tar.gz: faa2addf712dc25028fbd6bea3a248f4e64e1f22b9da9706b06a42f9b01a2b62
3
+ metadata.gz: ce23dbf32261a5beae5c05bfbb691bb0c4d44af7fc4128e2ccf3965efce0755d
4
+ data.tar.gz: 0e347d65ef022f9a1aff09a792f15c543fb5b58af72dfa0649fa08d9d3d46582
5
5
  SHA512:
6
- metadata.gz: 980b0ea2fd7de9ec77b454a749de301c026fb65519b7a7df99ab8a85d2801f105dc55e84dbdf60435d113e1feb83ac0c568c2f6ee8d68ecd6b2c8d710180a5dc
7
- data.tar.gz: ef4c060047469cfd217e3da81f7f027a725e2fc5c6805e66c588c949cdf70ca8c07660b65e4269b9747dfb55c5847ae73fcc6bb07fe342ae9a62053eb9347bbf
6
+ metadata.gz: cfb79dcbee2801478b7bafc627e5d3c103f349ab0410853e409a32564cfb884bbdb58b3ea5678ea7d474bf487c8aa8f25a2efe434590bb625af8df9051513a65
7
+ data.tar.gz: '03794ce1e4209e47313f4c779e5d14c18030652f5552cb2f7461d08b09e9b4f73f2a92587d95f26146eee683d53eebdea7db9fa07a32d81946f98344fdac3c32'
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2015 Sung Won Cho
1
+ Copyright 2024 Tim Carey
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -3,7 +3,7 @@
3
3
  module RailsFriends
4
4
  module Generators
5
5
  class InstallGenerator < Rails::Generators::Base
6
- # include Rails::Generators::ResourceHelpers
6
+ include Rails::Generators
7
7
 
8
8
  source_root File.expand_path('templates', __dir__)
9
9
 
@@ -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, algorithm: :concurrently
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsFriends
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_friends
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Carey