partisan 0.5 → 0.5.1
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 +4 -4
- data/.travis.yml +0 -2
- data/lib/generators/partisan/templates/migration.rb +1 -1
- data/lib/partisan/version.rb +1 -1
- data/partisan.gemspec +1 -1
- metadata +4 -6
- data/gemfiles/Gemfile.activerecord-4.1 +0 -5
- data/gemfiles/Gemfile.activerecord-4.2 +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e4712bb3dc761fefa6b0d5916a0fe5a723bf4f90
|
|
4
|
+
data.tar.gz: 2210b1a35a0c47f238e6d3062c5972441e9fb971
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 072f678a9a7be39f1690eef14371231d5b2dcf11479590ad18a5b5c8e8d0865c3f2a5a0402345ac32ff278eef564197d9053be3b63944eb0d8e383fb0c4d013f
|
|
7
|
+
data.tar.gz: 4b89640dbee08c5a5eb07d7152c51376044e4b32b84e7bba0bcf472596d20253893952da78b55bad047984cb21df902c6ba10ea719350c52c0fa975ea2b5d80e
|
data/.travis.yml
CHANGED
|
@@ -9,7 +9,7 @@ class AddFollowsMigration < ActiveRecord::Migration
|
|
|
9
9
|
|
|
10
10
|
add_index :follows, ['follower_id', 'follower_type'], name: 'index_partisan_followers'
|
|
11
11
|
add_index :follows, ['followable_id', 'followable_type'], name: 'index_partisan_followables'
|
|
12
|
-
add_index :follows, ['follower_id', 'follower_type', 'followable_id', '
|
|
12
|
+
add_index :follows, ['follower_id', 'follower_type', 'followable_id', 'followable_type'], name: 'index_partisan_unique_follow', unique: true
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def down
|
data/lib/partisan/version.rb
CHANGED
data/partisan.gemspec
CHANGED
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
|
7
7
|
spec.name = 'partisan'
|
|
8
8
|
spec.version = Partisan::VERSION
|
|
9
9
|
spec.authors = ['Simon Prévost', 'Rémi Prévost']
|
|
10
|
-
spec.email = ['sprevost@mirego.com', '
|
|
10
|
+
spec.email = ['sprevost@mirego.com', 'rprevost@mirego.com']
|
|
11
11
|
spec.description = 'Partisan is a Ruby library that allows ActiveRecord records to be follower and followable, just like on popular social networks. It’s heavily inspired by acts_as_follower which is no longer maintained.'
|
|
12
12
|
spec.summary = 'Partisan is a Ruby library that allows ActiveRecord records to be follower and followable'
|
|
13
13
|
spec.homepage = 'https://github.com/mirego/partisan'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: partisan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Prévost
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2017-12-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activerecord
|
|
@@ -86,7 +86,7 @@ description: Partisan is a Ruby library that allows ActiveRecord records to be f
|
|
|
86
86
|
which is no longer maintained.
|
|
87
87
|
email:
|
|
88
88
|
- sprevost@mirego.com
|
|
89
|
-
-
|
|
89
|
+
- rprevost@mirego.com
|
|
90
90
|
executables: []
|
|
91
91
|
extensions: []
|
|
92
92
|
extra_rdoc_files: []
|
|
@@ -98,8 +98,6 @@ files:
|
|
|
98
98
|
- LICENSE.md
|
|
99
99
|
- README.md
|
|
100
100
|
- Rakefile
|
|
101
|
-
- gemfiles/Gemfile.activerecord-4.1
|
|
102
|
-
- gemfiles/Gemfile.activerecord-4.2
|
|
103
101
|
- gemfiles/Gemfile.activerecord-5.0
|
|
104
102
|
- lib/generators/partisan/USAGE
|
|
105
103
|
- lib/generators/partisan/install_generator.rb
|
|
@@ -139,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
139
137
|
version: '0'
|
|
140
138
|
requirements: []
|
|
141
139
|
rubyforge_project:
|
|
142
|
-
rubygems_version: 2.
|
|
140
|
+
rubygems_version: 2.6.8
|
|
143
141
|
signing_key:
|
|
144
142
|
specification_version: 4
|
|
145
143
|
summary: Partisan is a Ruby library that allows ActiveRecord records to be follower
|