rails_friends 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16d732621008d42394463d60062d252e9ff5b722cd37b89f02aa05c9366d19f4
4
- data.tar.gz: fd7493df09797d9d0ce2f24570252335642986f5fdfb3bb8bcef00b56367a9c9
3
+ metadata.gz: ce23dbf32261a5beae5c05bfbb691bb0c4d44af7fc4128e2ccf3965efce0755d
4
+ data.tar.gz: 0e347d65ef022f9a1aff09a792f15c543fb5b58af72dfa0649fa08d9d3d46582
5
5
  SHA512:
6
- metadata.gz: c88b1f09c4ebd5ec234a4ae7bee9d33743705259995773af9fc01c8ed73ed728e28b0c60689379b1af2631b460753d6869a58efcd1da4cab117202a9e0158099
7
- data.tar.gz: f0ca8788c617650ca46f6e7b5467dfb50b781d4dd6da524ec4ce35fa72371f1b5a68720f58f1543fa66111b37ff94b55ca1e1ab18f44c73bebb96e40ca5061bc
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,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module RailsFriends
2
- VERSION = '0.1.0'
4
+ VERSION = '0.1.2'
3
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.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Carey
@@ -178,7 +178,7 @@ dependencies:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
- description:
181
+ description: Add social network friendship features to your Active Record models.
182
182
  email:
183
183
  - timcarey1989@gmail.com
184
184
  executables: []
@@ -202,7 +202,10 @@ files:
202
202
  homepage: https://github.com/tim-carey-code/rails_friends
203
203
  licenses:
204
204
  - MIT
205
- metadata: {}
205
+ metadata:
206
+ homepage_uri: https://github.com/tim-carey-code/rails_friends
207
+ source_code_uri: https://github.com/tim-carey-code/rails_friends
208
+ changelog_uri: https://github.com/tim-carey-code/rails_friends/CHANGELOG.md
206
209
  post_install_message:
207
210
  rdoc_options: []
208
211
  require_paths: