mention_system 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +7 -4
- data/Appraisals +16 -8
- 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/mention_system/version.rb +1 -1
- data/mention_system.gemspec +1 -1
- data/spec/mention_system/mention_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: 01ed5f0d2ac19b960aa443d392d01433ce46383b
|
4
|
+
data.tar.gz: 3a814b6323bd33f6368bbfdfdf7c0d2819518f37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77d5e42912bd0ebc1fe830eff90c5cd6b36380cb90806330656fb62f8411cd06b357d4b3a0e01d01c71a9b1810296d330a63026d742f07970f3501a3aa795afc
|
7
|
+
data.tar.gz: 2af9020e88a3dcb62ca63ff093a636985fb02fe48175144b8e9b665f642be6be69c547ce520ec6777010df05117560faaebde2607181c52b4bf8bdfec0100ad0
|
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/mention_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.2" ]
|
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 MentionSystem::Mention, type: :model do
|
|
150
150
|
# Should scope mentions by mentionee type
|
151
151
|
####
|
152
152
|
it "should scope mentions by mentionee type" do
|
153
|
-
scope = MentionSystem::Mention.where(mentionee_type: DummyMentionee)
|
153
|
+
scope = MentionSystem::Mention.where(mentionee_type: "DummyMentionee")
|
154
154
|
|
155
|
-
expect(MentionSystem::Mention.scope_by_mentionee_type(DummyMentionee)).to eq(scope)
|
155
|
+
expect(MentionSystem::Mention.scope_by_mentionee_type("DummyMentionee")).to eq(scope)
|
156
156
|
end
|
157
157
|
|
158
158
|
###
|
@@ -168,9 +168,9 @@ describe MentionSystem::Mention, type: :model do
|
|
168
168
|
# Should scope mentions by mentioner type
|
169
169
|
####
|
170
170
|
it "should scope mentions by mentioner type" do
|
171
|
-
scope = MentionSystem::Mention.where(mentioner_type: DummyMentioner)
|
171
|
+
scope = MentionSystem::Mention.where(mentioner_type: "DummyMentioner")
|
172
172
|
|
173
|
-
expect(MentionSystem::Mention.scope_by_mentioner_type(DummyMentioner)).to eq(scope)
|
173
|
+
expect(MentionSystem::Mention.scope_by_mentioner_type("DummyMentioner")).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: mention_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.2'
|
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.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: appraisal
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -152,10 +152,12 @@ files:
|
|
152
152
|
- gemfiles/.empty
|
153
153
|
- gemfiles/.gitignore
|
154
154
|
- gemfiles/.keep
|
155
|
-
- gemfiles/rails4.1.
|
156
|
-
- gemfiles/rails4.1.
|
157
|
-
- gemfiles/rails4.2.
|
158
|
-
- gemfiles/rails4.2.
|
155
|
+
- gemfiles/rails4.1.15.gemfile
|
156
|
+
- gemfiles/rails4.1.16.gemfile
|
157
|
+
- gemfiles/rails4.2.7.1.gemfile
|
158
|
+
- gemfiles/rails4.2.7.gemfile
|
159
|
+
- gemfiles/rails5.0.0.1.gemfile
|
160
|
+
- gemfiles/rails5.0.0.gemfile
|
159
161
|
- lib/.empty
|
160
162
|
- lib/.gitignore
|
161
163
|
- lib/.keep
|
@@ -255,4 +257,3 @@ test_files:
|
|
255
257
|
- spec/support/.keep
|
256
258
|
- spec/support/active_record.rb
|
257
259
|
- spec/support/shoulda_matchers.rb
|
258
|
-
has_rdoc:
|