followable_behaviour 0.1.0 → 0.2.0

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: f52a9f214e6fd3520f27e04bbef950e6d95ed728fbfe2b674045e4aebf618a67
4
- data.tar.gz: 551eb48d28477189097281fe59a8e20c33168e567d04c4b57ce1e4eb9eb702b3
3
+ metadata.gz: 007ef152d782ce8d44c127aec1693242498c743626603fa6e58ab1e780f8025d
4
+ data.tar.gz: 946bd6bc36fea6db227e4bbfe3c1c858d32a615b2dcbf29d02d60e6a93dd328f
5
5
  SHA512:
6
- metadata.gz: e52c0f2d30a8b478b033241ce44d622d8654665c62e69dde6d0ff6db06a4617bbd8e285eba050a0e4b2d045391d4636336cf3d9a8f56b99d99bdd491ffa93641
7
- data.tar.gz: 40b075359dbedd9665762d6d141d43c5c6eb086b9f789d900d634f65dddc2f9ab6cd2594e2faf9512262193a9425791d5be71a09a6f61e3192f4933e8bfacac5
6
+ metadata.gz: 023ee6ca14372acb3da3e7a2861eb970d66628ff5c29377de276de53c06af5d98fabc0d5dbfd3d9a84198ff7b8a80fe40af2f10219f33d71ba14d140704b837d
7
+ data.tar.gz: 27a3afda85b37c451f328fedc0aaf2c9fba0b14d33525ed3aa53800c9f96be1e70b1cc49d5a4947de2941184294e479fbbb2234b98a0b47bfb0201948ba30006
data/CHANGELOG CHANGED
@@ -1 +1,2 @@
1
-
1
+ Migrated the acts_as_followers in this new followable_gem.
2
+ Changed the acts_as_followable method to followable_behaviour and acts_as_follower to follower_behaviour.
Binary file
@@ -11,6 +11,7 @@ module FollowableBehaviour #:nodoc:
11
11
  include FollowableBehaviour::Followable::InstanceMethods
12
12
  include FollowableBehaviour::FollowerLib
13
13
  end
14
+ alias_method :acts_as_followable, :followable_behaviour
14
15
  end
15
16
 
16
17
  module InstanceMethods
@@ -11,6 +11,7 @@ module FollowableBehaviour #:nodoc:
11
11
  include FollowableBehaviour::Follower::InstanceMethods
12
12
  include FollowableBehaviour::FollowerLib
13
13
  end
14
+ alias_method :acts_as_follower, :follower_behaviour
14
15
  end
15
16
 
16
17
  module InstanceMethods
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FollowableBehaviour
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: followable_behaviour
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Baptiste Francois
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-14 00:00:00.000000000 Z
11
+ date: 2023-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -108,6 +108,7 @@ files:
108
108
  - LICENSE
109
109
  - README.md
110
110
  - Rakefile
111
+ - followable_behaviour-0.1.0.gem
111
112
  - lib/followable_behaviour.rb
112
113
  - lib/followable_behaviour/follow_scopes.rb
113
114
  - lib/followable_behaviour/followable.rb
@@ -121,12 +122,13 @@ files:
121
122
  - lib/generators/templates/model.rb
122
123
  - sig/followable_behaviour.rbs
123
124
  homepage: https://gitlab.com/jbpfran/followable-behaviour
124
- licenses: []
125
+ licenses:
126
+ - MIT
125
127
  metadata:
126
128
  homepage_uri: https://gitlab.com/jbpfran/followable-behaviour
127
129
  source_code_uri: https://gitlab.com/jbpfran/followable-behaviour
128
130
  changelog_uri: https://gitlab.com/jbpfran/followable-behaviour/-/blob/main/CHANGELOG
129
- post_install_message:
131
+ post_install_message:
130
132
  rdoc_options: []
131
133
  require_paths:
132
134
  - lib
@@ -141,8 +143,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
143
  - !ruby/object:Gem::Version
142
144
  version: '0'
143
145
  requirements: []
144
- rubygems_version: 3.3.7
145
- signing_key:
146
+ rubygems_version: 3.1.4
147
+ signing_key:
146
148
  specification_version: 4
147
149
  summary: Updated fork of the unmaintained gem acts_as_followers.
148
150
  test_files: []