socialization 1.2.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/specs.yml +35 -0
  3. data/.gitignore +1 -0
  4. data/.ruby-version +1 -1
  5. data/Appraisals +4 -24
  6. data/CHANGELOG.md +6 -1
  7. data/README.md +4 -22
  8. data/lib/socialization/stores/active_record/follow.rb +2 -12
  9. data/lib/socialization/stores/active_record/like.rb +2 -12
  10. data/lib/socialization/stores/active_record/mention.rb +2 -12
  11. data/lib/socialization/stores/redis/base.rb +2 -2
  12. data/lib/socialization/version.rb +1 -1
  13. data/socialization.gemspec +1 -0
  14. data/spec/actors/liker_spec.rb +3 -4
  15. data/spec/actors/mentioner_spec.rb +3 -4
  16. data/spec/spec_helper.rb +1 -0
  17. metadata +21 -75
  18. data/.travis.yml +0 -6
  19. data/demo/.gitignore +0 -15
  20. data/demo/Gemfile +0 -35
  21. data/demo/README.rdoc +0 -261
  22. data/demo/Rakefile +0 -7
  23. data/demo/app/assets/images/rails.png +0 -0
  24. data/demo/app/assets/javascripts/application.js +0 -15
  25. data/demo/app/assets/stylesheets/application.css +0 -13
  26. data/demo/app/controllers/application_controller.rb +0 -3
  27. data/demo/app/helpers/application_helper.rb +0 -2
  28. data/demo/app/mailers/.gitkeep +0 -0
  29. data/demo/app/models/.gitkeep +0 -0
  30. data/demo/app/models/celebrity.rb +0 -4
  31. data/demo/app/models/comment.rb +0 -5
  32. data/demo/app/models/follow.rb +0 -3
  33. data/demo/app/models/like.rb +0 -2
  34. data/demo/app/models/mention.rb +0 -2
  35. data/demo/app/models/movie.rb +0 -3
  36. data/demo/app/models/user.rb +0 -7
  37. data/demo/app/views/layouts/application.html.erb +0 -14
  38. data/demo/config/application.rb +0 -59
  39. data/demo/config/boot.rb +0 -6
  40. data/demo/config/database.yml +0 -25
  41. data/demo/config/environment.rb +0 -5
  42. data/demo/config/environments/development.rb +0 -37
  43. data/demo/config/environments/production.rb +0 -67
  44. data/demo/config/environments/test.rb +0 -37
  45. data/demo/config/initializers/backtrace_silencers.rb +0 -7
  46. data/demo/config/initializers/inflections.rb +0 -15
  47. data/demo/config/initializers/mime_types.rb +0 -5
  48. data/demo/config/initializers/secret_token.rb +0 -7
  49. data/demo/config/initializers/session_store.rb +0 -8
  50. data/demo/config/initializers/wrap_parameters.rb +0 -14
  51. data/demo/config/locales/en.yml +0 -5
  52. data/demo/config/routes.rb +0 -58
  53. data/demo/config.ru +0 -4
  54. data/demo/db/migrate/20120115051222_create_users.rb +0 -9
  55. data/demo/db/migrate/20120115051234_create_movies.rb +0 -9
  56. data/demo/db/migrate/20120115051255_create_celebrities.rb +0 -9
  57. data/demo/db/migrate/20120115054646_create_follows.rb +0 -14
  58. data/demo/db/migrate/20120115054647_create_likes.rb +0 -14
  59. data/demo/db/migrate/20120221200644_create_mentions.rb +0 -14
  60. data/demo/db/migrate/20120221202703_create_comments.rb +0 -9
  61. data/demo/db/schema.rb +0 -72
  62. data/demo/db/seeds.rb +0 -17
  63. data/demo/lib/assets/.gitkeep +0 -0
  64. data/demo/lib/tasks/.gitkeep +0 -0
  65. data/demo/public/404.html +0 -26
  66. data/demo/public/422.html +0 -26
  67. data/demo/public/500.html +0 -25
  68. data/demo/public/favicon.ico +0 -0
  69. data/demo/public/index.html +0 -204
  70. data/demo/public/robots.txt +0 -5
  71. data/demo/script/rails +0 -6
  72. data/demo/test/fixtures/.gitkeep +0 -0
  73. data/demo/test/fixtures/celebrities.yml +0 -7
  74. data/demo/test/fixtures/movies.yml +0 -7
  75. data/demo/test/fixtures/users.yml +0 -7
  76. data/demo/test/functional/.gitkeep +0 -0
  77. data/demo/test/integration/.gitkeep +0 -0
  78. data/demo/test/performance/browsing_test.rb +0 -12
  79. data/demo/test/test_helper.rb +0 -13
  80. data/demo/test/unit/.gitkeep +0 -0
  81. data/demo/test/unit/celebrity_test.rb +0 -7
  82. data/demo/test/unit/movie_test.rb +0 -7
  83. data/demo/test/unit/user_test.rb +0 -7
  84. data/demo/vendor/assets/javascripts/.gitkeep +0 -0
  85. data/demo/vendor/assets/stylesheets/.gitkeep +0 -0
  86. data/demo/vendor/plugins/.gitkeep +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bb2c1347bb2975c9a229366e60e2f1552f95e28b2c4ac27ab7e48edd963caaf
4
- data.tar.gz: a2a9d47da210368463afa8c56cc943548f4765f350c762ede7f84c9e942e2c01
3
+ metadata.gz: 50ba5e062fb98e4b8b881e29701db48b7dad1fbfd01c97dd920362a4ff003160
4
+ data.tar.gz: 95b61065f67ae9bea59bf50a5f899b7c3ab4626e93ff3e1a18f25681b59a12b9
5
5
  SHA512:
6
- metadata.gz: b903ff8c62263cf0f4f9f4a748b77c508f0d81065584a867a7c21aea2990d38873d9eb08321ceb782e733d979f985a07c0be708a8a2beac33372da4d2ce4bad0
7
- data.tar.gz: a7ac541cbf6de510aa841a622086d869406050a21dc41580c7e5ab74a0127eb18e01c6e55ba47f004ecfcc703850bb7f723ff9292fa72a9b969b5f7124e25c28
6
+ metadata.gz: 0d9e0dc1c4c399bed13bd0bf86703768c9fa420b1d9f33fad85e49c2db9609031506e3fb1b4091ca87886ff6cbbbd52ee14ebfb883a03f12bf78b194560a121d
7
+ data.tar.gz: 359c3b7154cca91d946f7072891c675ffde0929a3995ce04b51231e1df532a0fd8f0bb879730556d04d2d72ef17242f54a18043133b324e8c0a4abbda0e2fbf9
@@ -0,0 +1,35 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: "*"
13
+ pull_request:
14
+ branches: "*"
15
+
16
+ jobs:
17
+ rspec:
18
+ runs-on: ubuntu-latest
19
+ strategy:
20
+ matrix:
21
+ ruby-version: ['2.7', '3.0', '3.1']
22
+
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ - name: Set up Ruby
26
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
27
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
28
+ uses: ruby/setup-ruby@v1
29
+ with:
30
+ ruby-version: ${{ matrix.ruby-version }}
31
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
32
+ - name: Install dependencies
33
+ run: bundle exec appraisal install
34
+ - name: Run tests
35
+ run: bundle exec appraisal rspec
data/.gitignore CHANGED
@@ -11,3 +11,4 @@ doc
11
11
  .yardoc
12
12
  .rbenv-version
13
13
  gemfiles
14
+ .byebug_history
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.2
1
+ 2.7.2
data/Appraisals CHANGED
@@ -1,27 +1,7 @@
1
- appraise "activerecord30" do
2
- gem "activerecord", "~> 3.0.10"
1
+ appraise "activerecord614" do
2
+ gem "activerecord", "~> 6.1.4"
3
3
  end
4
4
 
5
- appraise "activerecord31" do
6
- gem "activerecord", "~> 3.1.1"
7
- end
8
-
9
- appraise "activerecord32" do
10
- gem "activerecord", "~> 3.2.1"
11
- end
12
-
13
- appraise "activerecord40" do
14
- gem "activerecord", "~> 4.0.13"
15
- end
16
-
17
- appraise "activerecord41" do
18
- gem "activerecord", "~> 4.1.12"
19
- end
20
-
21
- appraise "activerecord42" do
22
- gem "activerecord", "~> 4.2.3"
23
- end
24
-
25
- appraise "activerecord523" do
26
- gem "activerecord", "~> 5.2.3"
5
+ appraise "activerecord702" do
6
+ gem "activerecord", "~> 7.0.2"
27
7
  end
data/CHANGELOG.md CHANGED
@@ -1,8 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0 (February 18, 2022)
4
+
5
+ * Dropped support for old Rails versions. Updated CI.
6
+ * BREAKING CHANGE (maybe): calling `followers`, `followables`, `likers`, `likeables`, `mentioners`, `mentionables` now returns `ActiveRecord::Relation` instead of an `Array`
7
+
3
8
  ## 1.2.3 (April 17, 2019)
4
9
 
5
- * Rename "victim" methods to "subject" internally. Thanks to @jdugarte for the suggestion.
10
+ * Rename `victim` methods to `subject` internally. Thanks to @jdugarte for the suggestion.
6
11
 
7
12
  ## 1.2.2 (April 17, 2019)
8
13
 
data/README.md CHANGED
@@ -8,12 +8,10 @@ The Like feature works just like a Facebook Like. For example, John likes Pulp F
8
8
 
9
9
  The Mention feature was written with Facebook mentions in mind. For example, John mentions Jane in a comment. Typically, Jane would be highlighted in the comment user interface and possibly notified that John mentioned her. This Facebook feature is occasionally called Tagging, although tagging is generally something [entirely different](http://en.wikipedia.org/wiki/Tag_(metadata).
10
10
 
11
- [![Build Status](https://secure.travis-ci.org/cmer/socialization.png?branch=master)](http://travis-ci.org/cmer/socialization)
11
+ ![Specs](https://github.com/cmer/socialization/actions/workflows/specs.yml/badge.svg)
12
12
 
13
13
  ## Installation
14
14
 
15
- ### Rails 3/4
16
-
17
15
  Add the gem to the gemfile:
18
16
  `gem "socialization"`
19
17
 
@@ -25,9 +23,9 @@ Or if you want to use Redis as your data store:
25
23
 
26
24
  This will generate three migration files (when using ActiveRecord) and three models named Follow, Like and Mention. You may delete any of the Follow, Like or Mention models and migrations if you don't need that functionality in your application.
27
25
 
28
- ### Rails 2.3.x Support
26
+ ### Legacy Rails Support
29
27
 
30
- This gem requires Rails 3 or better. Sorry!
28
+ This gem requires Rails 6 or better. Sorry!
31
29
 
32
30
  ## Usage
33
31
 
@@ -264,22 +262,6 @@ You can find the compiled YARD documentation at http://rubydoc.info/github/cmer/
264
262
 
265
263
  ***
266
264
 
267
- ## Changelog
268
-
269
- Here it is: https://github.com/cmer/socialization/blob/master/CHANGELOG.md
270
-
271
- ## Demo App
272
-
273
- For your convenience, I have added a demo app in demo/demo_app. It does not have a web UI, but you can play with Socialization in the Rails console. It should also help you figure out hown to use Socialization in the Real World.
274
-
275
- To use the demo app:
276
-
277
- $ cd demo/demo_app
278
- $ bundle
279
- $ rake db:migrate
280
- $ rake db:seed
281
- $ rails console
282
-
283
265
 
284
266
  ## Note on Patches/Pull Requests
285
267
 
@@ -295,4 +277,4 @@ To use the demo app:
295
277
 
296
278
  ## Copyright
297
279
 
298
- Copyright (c) 2012-2015 Carl Mercier -- Released under the MIT license.
280
+ Copyright (c) 2012-2022 Carl Mercier -- Released under the MIT license.
@@ -68,12 +68,7 @@ module Socialization
68
68
 
69
69
  # Returns all the followers of a certain type that are following followable
70
70
  def followers(followable, klass, opts = {})
71
- rel = followers_relation(followable, klass, opts)
72
- if rel.is_a?(ActiveRecord::Relation)
73
- rel.to_a
74
- else
75
- rel
76
- end
71
+ followers_relation(followable, klass, opts)
77
72
  end
78
73
 
79
74
  # Returns an ActiveRecord::Relation of all the followables of a certain type that are followed by follower
@@ -94,12 +89,7 @@ module Socialization
94
89
 
95
90
  # Returns all the followables of a certain type that are followed by follower
96
91
  def followables(follower, klass, opts = {})
97
- rel = followables_relation(follower, klass, opts)
98
- if rel.is_a?(ActiveRecord::Relation)
99
- rel.to_a
100
- else
101
- rel
102
- end
92
+ followables_relation(follower, klass, opts)
103
93
  end
104
94
 
105
95
  # Remove all the followers for followable
@@ -68,12 +68,7 @@ module Socialization
68
68
 
69
69
  # Returns all the likers of a certain type that are liking likeable
70
70
  def likers(likeable, klass, opts = {})
71
- rel = likers_relation(likeable, klass, opts)
72
- if rel.is_a?(ActiveRecord::Relation)
73
- rel.to_a
74
- else
75
- rel
76
- end
71
+ likers_relation(likeable, klass, opts)
77
72
  end
78
73
 
79
74
  # Returns an ActiveRecord::Relation of all the likeables of a certain type that are liked by liker
@@ -94,12 +89,7 @@ module Socialization
94
89
 
95
90
  # Returns all the likeables of a certain type that are liked by liker
96
91
  def likeables(liker, klass, opts = {})
97
- rel = likeables_relation(liker, klass, opts)
98
- if rel.is_a?(ActiveRecord::Relation)
99
- rel.to_a
100
- else
101
- rel
102
- end
92
+ likeables_relation(liker, klass, opts)
103
93
  end
104
94
 
105
95
  # Remove all the likers for likeable
@@ -68,12 +68,7 @@ module Socialization
68
68
 
69
69
  # Returns all the mentioners of a certain type that are mentioning mentionable
70
70
  def mentioners(mentionable, klass, opts = {})
71
- rel = mentioners_relation(mentionable, klass, opts)
72
- if rel.is_a?(ActiveRecord::Relation)
73
- rel.to_a
74
- else
75
- rel
76
- end
71
+ mentioners_relation(mentionable, klass, opts)
77
72
  end
78
73
 
79
74
  # Returns an ActiveRecord::Relation of all the mentionables of a certain type that are mentioned by mentioner
@@ -94,12 +89,7 @@ module Socialization
94
89
 
95
90
  # Returns all the mentionables of a certain type that are mentioned by mentioner
96
91
  def mentionables(mentioner, klass, opts = {})
97
- rel = mentionables_relation(mentioner, klass, opts)
98
- if rel.is_a?(ActiveRecord::Relation)
99
- rel.to_a
100
- else
101
- rel
102
- end
92
+ mentionables_relation(mentioner, klass, opts)
103
93
  end
104
94
 
105
95
  # Remove all the mentioners for mentionable
@@ -11,7 +11,7 @@ module Socialization
11
11
  result
12
12
  end
13
13
  else
14
- actors_relation(subject, klass, options).to_a
14
+ actors_relation(subject, klass, options)
15
15
  end
16
16
  end
17
17
 
@@ -33,7 +33,7 @@ module Socialization
33
33
  result
34
34
  end
35
35
  else
36
- subjects_relation(actor, klass, options).to_a
36
+ subjects_relation(actor, klass, options)
37
37
  end
38
38
  end
39
39
  alias victims subjects
@@ -1,3 +1,3 @@
1
1
  module Socialization
2
- VERSION = "1.2.3"
2
+ VERSION = "2.0.0"
3
3
  end
@@ -28,4 +28,5 @@ Gem::Specification.new do |s|
28
28
  s.add_development_dependency "mock_redis"
29
29
  s.add_development_dependency "guard"
30
30
  s.add_development_dependency "guard-rspec"
31
+ s.add_development_dependency "byebug"
31
32
  end
@@ -47,15 +47,14 @@ describe Socialization::Liker do
47
47
  end
48
48
 
49
49
  it "unlikes when likeing" do
50
- expect(@liker).to receive(:likes?).with(@likeable).once.and_return(true)
51
- expect(@liker).to receive(:unlike!).with(@likeable).once
50
+ @liker.like!(@likeable)
52
51
  @liker.toggle_like!(@likeable)
52
+ expect(@liker.likes?(@likeable)).to be false
53
53
  end
54
54
 
55
55
  it "likes when not likeing" do
56
- expect(@liker).to receive(:likes?).with(@likeable).once.and_return(false)
57
- expect(@liker).to receive(:like!).with(@likeable).once
58
56
  @liker.toggle_like!(@likeable)
57
+ expect(@liker.likes?(@likeable)).to be true
59
58
  end
60
59
  end
61
60
 
@@ -47,15 +47,14 @@ describe Socialization::Mentioner do
47
47
  end
48
48
 
49
49
  it "unmentions when mentioning" do
50
- expect(@mentioner).to receive(:mentions?).with(@mentionable).once.and_return(true)
51
- expect(@mentioner).to receive(:unmention!).with(@mentionable).once
50
+ @mentioner.mention!(@mentionable)
52
51
  @mentioner.toggle_mention!(@mentionable)
52
+ expect(@mentioner.mentions?(@mentionable)).to eq false
53
53
  end
54
54
 
55
55
  it "mentions when not mentioning" do
56
- expect(@mentioner).to receive(:mentions?).with(@mentionable).once.and_return(false)
57
- expect(@mentioner).to receive(:mention!).with(@mentionable).once
58
56
  @mentioner.toggle_mention!(@mentionable)
57
+ expect(@mentioner.mentions?(@mentionable)).to eq true
59
58
  end
60
59
  end
61
60
 
data/spec/spec_helper.rb CHANGED
@@ -15,6 +15,7 @@ require "socialization"
15
15
  require 'spec_support/data_stores'
16
16
  require 'spec_support/matchers'
17
17
  require 'logger'
18
+ require 'byebug' rescue nil
18
19
 
19
20
  ActiveSupport::Inflector.inflections do |inflect|
20
21
  inflect.irregular 'cache', 'caches'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialization
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Mercier
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-17 00:00:00.000000000 Z
11
+ date: 2022-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: byebug
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
153
167
  description: Socialization allows any model to Follow and/or Like any other model.
154
168
  This is accomplished through a double polymorphic relationship on the Follow and
155
169
  Like models. But you don't need to know that since all the complexity is hidden
@@ -159,9 +173,9 @@ executables: []
159
173
  extensions: []
160
174
  extra_rdoc_files: []
161
175
  files:
176
+ - ".github/workflows/specs.yml"
162
177
  - ".gitignore"
163
178
  - ".ruby-version"
164
- - ".travis.yml"
165
179
  - Appraisals
166
180
  - CHANGELOG.md
167
181
  - Gemfile
@@ -169,74 +183,6 @@ files:
169
183
  - LICENSE
170
184
  - README.md
171
185
  - Rakefile
172
- - demo/.gitignore
173
- - demo/Gemfile
174
- - demo/README.rdoc
175
- - demo/Rakefile
176
- - demo/app/assets/images/rails.png
177
- - demo/app/assets/javascripts/application.js
178
- - demo/app/assets/stylesheets/application.css
179
- - demo/app/controllers/application_controller.rb
180
- - demo/app/helpers/application_helper.rb
181
- - demo/app/mailers/.gitkeep
182
- - demo/app/models/.gitkeep
183
- - demo/app/models/celebrity.rb
184
- - demo/app/models/comment.rb
185
- - demo/app/models/follow.rb
186
- - demo/app/models/like.rb
187
- - demo/app/models/mention.rb
188
- - demo/app/models/movie.rb
189
- - demo/app/models/user.rb
190
- - demo/app/views/layouts/application.html.erb
191
- - demo/config.ru
192
- - demo/config/application.rb
193
- - demo/config/boot.rb
194
- - demo/config/database.yml
195
- - demo/config/environment.rb
196
- - demo/config/environments/development.rb
197
- - demo/config/environments/production.rb
198
- - demo/config/environments/test.rb
199
- - demo/config/initializers/backtrace_silencers.rb
200
- - demo/config/initializers/inflections.rb
201
- - demo/config/initializers/mime_types.rb
202
- - demo/config/initializers/secret_token.rb
203
- - demo/config/initializers/session_store.rb
204
- - demo/config/initializers/wrap_parameters.rb
205
- - demo/config/locales/en.yml
206
- - demo/config/routes.rb
207
- - demo/db/migrate/20120115051222_create_users.rb
208
- - demo/db/migrate/20120115051234_create_movies.rb
209
- - demo/db/migrate/20120115051255_create_celebrities.rb
210
- - demo/db/migrate/20120115054646_create_follows.rb
211
- - demo/db/migrate/20120115054647_create_likes.rb
212
- - demo/db/migrate/20120221200644_create_mentions.rb
213
- - demo/db/migrate/20120221202703_create_comments.rb
214
- - demo/db/schema.rb
215
- - demo/db/seeds.rb
216
- - demo/lib/assets/.gitkeep
217
- - demo/lib/tasks/.gitkeep
218
- - demo/public/404.html
219
- - demo/public/422.html
220
- - demo/public/500.html
221
- - demo/public/favicon.ico
222
- - demo/public/index.html
223
- - demo/public/robots.txt
224
- - demo/script/rails
225
- - demo/test/fixtures/.gitkeep
226
- - demo/test/fixtures/celebrities.yml
227
- - demo/test/fixtures/movies.yml
228
- - demo/test/fixtures/users.yml
229
- - demo/test/functional/.gitkeep
230
- - demo/test/integration/.gitkeep
231
- - demo/test/performance/browsing_test.rb
232
- - demo/test/test_helper.rb
233
- - demo/test/unit/.gitkeep
234
- - demo/test/unit/celebrity_test.rb
235
- - demo/test/unit/movie_test.rb
236
- - demo/test/unit/user_test.rb
237
- - demo/vendor/assets/javascripts/.gitkeep
238
- - demo/vendor/assets/stylesheets/.gitkeep
239
- - demo/vendor/plugins/.gitkeep
240
186
  - init.rb
241
187
  - lib/generators/socialization/socialization_generator.rb
242
188
  - lib/generators/socialization/templates/active_record/migration_follows.rb
@@ -299,7 +245,7 @@ homepage: https://github.com/cmer/socialization
299
245
  licenses:
300
246
  - MIT
301
247
  metadata: {}
302
- post_install_message:
248
+ post_install_message:
303
249
  rdoc_options: []
304
250
  require_paths:
305
251
  - lib
@@ -314,8 +260,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
260
  - !ruby/object:Gem::Version
315
261
  version: '0'
316
262
  requirements: []
317
- rubygems_version: 3.0.3
318
- signing_key:
263
+ rubygems_version: 3.1.4
264
+ signing_key:
319
265
  specification_version: 4
320
266
  summary: Easily socialize your app with Likes and Follows
321
267
  test_files:
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.5.0
4
- - 2.6.2
5
-
6
- script: bundle exec rake spec
data/demo/.gitignore DELETED
@@ -1,15 +0,0 @@
1
- # See http://help.github.com/ignore-files/ for more about ignoring files.
2
- #
3
- # If you find yourself ignoring temporary files generated by your text editor
4
- # or operating system, you probably want to add a global ignore instead:
5
- # git config --global core.excludesfile ~/.gitignore_global
6
-
7
- # Ignore bundler config
8
- /.bundle
9
-
10
- # Ignore the default SQLite database.
11
- /db/*.sqlite3
12
-
13
- # Ignore all logfiles and tempfiles.
14
- /log/*.log
15
- /tmp
data/demo/Gemfile DELETED
@@ -1,35 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rails', '~> 4.1.11'
4
- gem 'socialization', :path => '../'
5
- # Bundle edge Rails instead:
6
- # gem 'rails', :git => 'git://github.com/rails/rails.git'
7
-
8
- gem 'sqlite3'
9
-
10
-
11
- # Gems used only for assets and not required
12
- # in production environments by default.
13
- group :assets do
14
- gem 'sass-rails'
15
- gem 'coffee-rails'
16
-
17
- gem 'uglifier'
18
- end
19
-
20
- gem 'jquery-rails'
21
-
22
- # To use ActiveModel has_secure_password
23
- # gem 'bcrypt-ruby', '~> 3.0.0'
24
-
25
- # To use Jbuilder templates for JSON
26
- # gem 'jbuilder'
27
-
28
- # Use unicorn as the web server
29
- # gem 'unicorn'
30
-
31
- # Deploy with Capistrano
32
- # gem 'capistrano'
33
-
34
- # To use debugger
35
- # gem 'ruby-debug19', :require => 'ruby-debug'