follow_system 0.0.8 → 0.0.9
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/.ruby-version +1 -1
- data/.travis.yml +7 -4
- data/Appraisals +16 -8
- data/follow_system.gemspec +1 -1
- data/gemfiles/{rails4.1.13.gemfile → rails4.1.15.gemfile} +1 -1
- data/gemfiles/{rails4.1.14.gemfile → rails4.1.16.gemfile} +1 -1
- data/gemfiles/rails4.2.7.1.gemfile +7 -0
- data/gemfiles/{rails4.2.4.gemfile → rails4.2.7.gemfile} +1 -1
- data/gemfiles/rails5.0.0.1.gemfile +7 -0
- data/gemfiles/{rails4.2.5.gemfile → rails5.0.0.gemfile} +1 -1
- data/lib/follow_system/version.rb +1 -1
- data/spec/follow_system/follow_spec.rb +4 -4
- metadata +10 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ff2c9770bdcf48f3ea33fddc67dc3c33dbc4671
|
|
4
|
+
data.tar.gz: 3633faa77844ba6793a9e045db7f22e5c2a2ef10
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb7ad0110b86ebd6937aa795c2617e011cecfca6a742e544dd940a583fe17afdc25e75402083174b2838ab1236a665b6944e4f4b1b8c824e2e3331f549e4bcfd
|
|
7
|
+
data.tar.gz: 9cfb03425b49284d5b1cf56c4794c1254b8f81f932ddf513ec279c37de5e76ccd95fd46bf23552d8be96d51a6d2a29da6bde49cb63601477aab1e8ccbdf1250e
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-2.2.
|
|
1
|
+
ruby-2.2.3
|
data/.travis.yml
CHANGED
|
@@ -5,12 +5,15 @@ rvm:
|
|
|
5
5
|
- 2.0.0
|
|
6
6
|
- 2.1.3
|
|
7
7
|
- 2.2.1
|
|
8
|
+
- 2.2.3
|
|
8
9
|
|
|
9
10
|
gemfile:
|
|
10
|
-
- gemfiles/rails4.1.
|
|
11
|
-
- gemfiles/rails4.1.
|
|
12
|
-
- gemfiles/rails4.2.
|
|
13
|
-
- gemfiles/rails4.2.
|
|
11
|
+
- gemfiles/rails4.1.15.gemfile
|
|
12
|
+
- gemfiles/rails4.1.16.gemfile
|
|
13
|
+
- gemfiles/rails4.2.7.gemfile
|
|
14
|
+
- gemfiles/rails4.2.7.1.gemfile
|
|
15
|
+
- gemfiles/rails5.0.0.gemfile
|
|
16
|
+
- gemfiles/rails5.0.0.1.gemfile
|
|
14
17
|
|
|
15
18
|
install:
|
|
16
19
|
- "gem install bundler"
|
data/Appraisals
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
appraise "rails4.1.
|
|
2
|
-
gem "rails", "4.1.
|
|
1
|
+
appraise "rails4.1.15" do
|
|
2
|
+
gem "rails", "4.1.15"
|
|
3
3
|
end
|
|
4
4
|
|
|
5
|
-
appraise "rails4.1.
|
|
6
|
-
gem "rails", "4.1.
|
|
5
|
+
appraise "rails4.1.16" do
|
|
6
|
+
gem "rails", "4.1.16"
|
|
7
7
|
end
|
|
8
8
|
|
|
9
|
-
appraise "rails4.2.
|
|
10
|
-
gem "rails", "4.2.
|
|
9
|
+
appraise "rails4.2.7" do
|
|
10
|
+
gem "rails", "4.2.7"
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
appraise "rails4.2.
|
|
14
|
-
gem "rails", "4.2.
|
|
13
|
+
appraise "rails4.2.7.1" do
|
|
14
|
+
gem "rails", "4.2.7.1"
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
appraise "rails5.0.0" do
|
|
18
|
+
gem "rails", "5.0.0"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
appraise "rails5.0.0.1" do
|
|
22
|
+
gem "rails", "5.0.0.1"
|
|
15
23
|
end
|
data/follow_system.gemspec
CHANGED
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.require_paths = ["lib"]
|
|
20
20
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.0.0")
|
|
21
21
|
|
|
22
|
-
spec.add_dependency "rails", [ ">= 4.1", "< 5" ]
|
|
22
|
+
spec.add_dependency "rails", [ ">= 4.1", "< 5.1" ]
|
|
23
23
|
|
|
24
24
|
spec.add_development_dependency "appraisal", "~> 2.1"
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.10"
|
|
@@ -150,9 +150,9 @@ describe FollowSystem::Follow, type: :model do
|
|
|
150
150
|
# Should scope follows by followee type
|
|
151
151
|
####
|
|
152
152
|
it "should scope follows by followee type" do
|
|
153
|
-
scope = FollowSystem::Follow.where(followee_type: DummyFollowee)
|
|
153
|
+
scope = FollowSystem::Follow.where(followee_type: "DummyFollowee")
|
|
154
154
|
|
|
155
|
-
expect(FollowSystem::Follow.scope_by_followee_type(DummyFollowee)).to eq(scope)
|
|
155
|
+
expect(FollowSystem::Follow.scope_by_followee_type("DummyFollowee")).to eq(scope)
|
|
156
156
|
end
|
|
157
157
|
|
|
158
158
|
###
|
|
@@ -168,9 +168,9 @@ describe FollowSystem::Follow, type: :model do
|
|
|
168
168
|
# Should scope follows by follower type
|
|
169
169
|
####
|
|
170
170
|
it "should scope follows by follower type" do
|
|
171
|
-
scope = FollowSystem::Follow.where(follower_type: DummyFollower)
|
|
171
|
+
scope = FollowSystem::Follow.where(follower_type: "DummyFollower")
|
|
172
172
|
|
|
173
|
-
expect(FollowSystem::Follow.scope_by_follower_type(DummyFollower)).to eq(scope)
|
|
173
|
+
expect(FollowSystem::Follow.scope_by_follower_type("DummyFollower")).to eq(scope)
|
|
174
174
|
end
|
|
175
175
|
end
|
|
176
176
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: follow_system
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pablo Martin Viva
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '4.1'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '5'
|
|
22
|
+
version: '5.1'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '4.1'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '5'
|
|
32
|
+
version: '5.1'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: appraisal
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -153,10 +153,12 @@ files:
|
|
|
153
153
|
- gemfiles/.empty
|
|
154
154
|
- gemfiles/.gitignore
|
|
155
155
|
- gemfiles/.keep
|
|
156
|
-
- gemfiles/rails4.1.
|
|
157
|
-
- gemfiles/rails4.1.
|
|
158
|
-
- gemfiles/rails4.2.
|
|
159
|
-
- gemfiles/rails4.2.
|
|
156
|
+
- gemfiles/rails4.1.15.gemfile
|
|
157
|
+
- gemfiles/rails4.1.16.gemfile
|
|
158
|
+
- gemfiles/rails4.2.7.1.gemfile
|
|
159
|
+
- gemfiles/rails4.2.7.gemfile
|
|
160
|
+
- gemfiles/rails5.0.0.1.gemfile
|
|
161
|
+
- gemfiles/rails5.0.0.gemfile
|
|
160
162
|
- lib/.empty
|
|
161
163
|
- lib/.gitignore
|
|
162
164
|
- lib/.keep
|
|
@@ -252,4 +254,3 @@ test_files:
|
|
|
252
254
|
- spec/support/.keep
|
|
253
255
|
- spec/support/active_record.rb
|
|
254
256
|
- spec/support/shoulda_matchers.rb
|
|
255
|
-
has_rdoc:
|