mention_system 0.1.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +14 -0
  3. data/.github/stale.yml +17 -0
  4. data/.github/workflows/ci.yml +83 -0
  5. data/.gitignore +8 -6
  6. data/.rspec +2 -0
  7. data/.ruby-version +1 -1
  8. data/.travis.yml +9 -10
  9. data/.yardopts +2 -0
  10. data/Appraisals +8 -16
  11. data/LICENSE.txt +1 -1
  12. data/README.md +3 -3
  13. data/Rakefile +0 -1
  14. data/gemfiles/{rails5.1.2.gemfile → rails6.0.gemfile} +1 -1
  15. data/gemfiles/{rails5.0.0.gemfile → rails6.1.gemfile} +1 -1
  16. data/gemfiles/{rails5.0.0.1.gemfile → rails7.gemfile} +1 -1
  17. data/gemfiles/{rails5.1.0.gemfile → rails_main.gemfile} +1 -1
  18. data/lib/generators/mention_system/mention_system_generator.rb +0 -1
  19. data/lib/generators/mention_system/templates/migration.rb +0 -1
  20. data/lib/mention_system/mention.rb +0 -1
  21. data/lib/mention_system/mention_processor.rb +0 -1
  22. data/lib/mention_system/mentionee.rb +0 -1
  23. data/lib/mention_system/mentioner.rb +0 -1
  24. data/lib/mention_system/version.rb +1 -1
  25. data/lib/mention_system.rb +0 -1
  26. data/mention_system.gemspec +8 -8
  27. data/spec/db/migrate/20140926000000_create_mentions.rb +0 -1
  28. data/spec/db/migrate/20140926000005_create_dummy_mentioners.rb +0 -1
  29. data/spec/db/migrate/20140926000010_create_dummy_mentionees.rb +0 -1
  30. data/spec/mention_system/mention_processor_spec.rb +0 -1
  31. data/spec/mention_system/mention_spec.rb +0 -1
  32. data/spec/mention_system/mentionee_spec.rb +0 -1
  33. data/spec/mention_system/mentioner_spec.rb +1 -2
  34. data/spec/spec_helper.rb +0 -1
  35. data/spec/support/active_record.rb +1 -5
  36. data/spec/support/shoulda_matchers.rb +0 -1
  37. metadata +27 -83
  38. data/.empty +0 -0
  39. data/.keep +0 -0
  40. data/gemfiles/.empty +0 -0
  41. data/gemfiles/.gitignore +0 -0
  42. data/gemfiles/.keep +0 -0
  43. data/gemfiles/rails5.1.1.gemfile +0 -7
  44. data/gemfiles/rails5.2.0.gemfile +0 -7
  45. data/lib/.empty +0 -0
  46. data/lib/.gitignore +0 -0
  47. data/lib/.keep +0 -0
  48. data/lib/generators/.empty +0 -0
  49. data/lib/generators/.gitignore +0 -0
  50. data/lib/generators/.keep +0 -0
  51. data/lib/generators/mention_system/.empty +0 -0
  52. data/lib/generators/mention_system/.gitignore +0 -0
  53. data/lib/generators/mention_system/.keep +0 -0
  54. data/lib/generators/mention_system/templates/.empty +0 -0
  55. data/lib/generators/mention_system/templates/.gitignore +0 -0
  56. data/lib/generators/mention_system/templates/.keep +0 -0
  57. data/lib/mention_system/.empty +0 -0
  58. data/lib/mention_system/.gitignore +0 -0
  59. data/lib/mention_system/.keep +0 -0
  60. data/spec/.empty +0 -0
  61. data/spec/.gitignore +0 -0
  62. data/spec/.keep +0 -0
  63. data/spec/db/.empty +0 -0
  64. data/spec/db/.gitignore +0 -0
  65. data/spec/db/.keep +0 -0
  66. data/spec/db/migrate/.empty +0 -0
  67. data/spec/db/migrate/.gitignore +0 -0
  68. data/spec/db/migrate/.keep +0 -0
  69. data/spec/mention_system/.empty +0 -0
  70. data/spec/mention_system/.gitignore +0 -0
  71. data/spec/mention_system/.keep +0 -0
  72. data/spec/support/.empty +0 -0
  73. data/spec/support/.gitignore +0 -0
  74. data/spec/support/.keep +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b5c605146ec3208e23f7ef9ecd7c89ce8014a104ab0c4beef6ca7fd18dcb82d
4
- data.tar.gz: aac9d9ceaf1985a4236262ac3dc3f886ac6907a368357a407d9670dfe2cd52a1
3
+ metadata.gz: 8df0904f334597268a6c5d73d64d7752f4203fa2cb089e784326f676cb07cf9d
4
+ data.tar.gz: 8930b9166f31352d20119f9a0abeb6930ba2e15468b3cf07189618b8bcebff78
5
5
  SHA512:
6
- metadata.gz: 42b75b8f2d5990af15b4d8fc0bd9d56eaf0d69774a58893a392c3416b606cb2fb267fa7fe32913b4bf2bb224b88e35cc0e81ede123b4790603db8e3310bcabde
7
- data.tar.gz: 2488afe5c3e0f1c314c4ee814bde52887528a235a75ff927e43136336346124170f15f329c5c4147e3d8dfdb366b9db792bf8323d5defbdeb4e971edcb048a85
6
+ metadata.gz: 71f0b7cbbe47379f0b912a9ec0d12366496c2be45fcfab35cc5119cea7cb9a067ef41c1559e64951f75ec1955e89f14eb27e0e66b91e417e567880e33e6a54e4
7
+ data.tar.gz: 273a6550116a9054f0ae1f2cab9259a1bd9ddddeb2cc3d87c630bc5ee5a273aa77324bac8194051913d47046c475efb654ae277153a0eeefb3756c97b32df605
data/.editorconfig ADDED
@@ -0,0 +1,14 @@
1
+ # EditorConfig configuration file
2
+
3
+ root = true
4
+
5
+ [*]
6
+ charset = utf-8
7
+ end_of_line = lf
8
+ indent_size = 2
9
+ indent_style = space
10
+ insert_final_newline = true
11
+ trim_trailing_whitespace = true
12
+
13
+ [*.md]
14
+ trim_trailing_whitespace = false
data/.github/stale.yml ADDED
@@ -0,0 +1,17 @@
1
+ # Number of days of inactivity before an issue becomes stale
2
+ daysUntilStale: 240
3
+ # Number of days of inactivity before a stale issue is closed
4
+ daysUntilClose: 7
5
+ # Issues with these labels will never be considered stale
6
+ exemptLabels:
7
+ - pinned
8
+ - security
9
+ # Label to use when marking an issue as stale
10
+ staleLabel: wontfix
11
+ # Comment to post when marking an issue as stale. Set to `false` to disable
12
+ markComment: >
13
+ This issue has been automatically marked as stale because it has not had
14
+ recent activity. It will be closed if no further activity occurs. Thank you
15
+ for your contributions.
16
+ # Comment to post when closing a stale issue. Set to `false` to disable
17
+ closeComment: false
@@ -0,0 +1,83 @@
1
+ name: Tests
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - '*'
7
+ push:
8
+ branches:
9
+ - master
10
+ - rails-7
11
+ jobs:
12
+ sqlite:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ matrix:
16
+ ruby: ['2.7', '3.0', '3.1']
17
+ gemfile:
18
+ - rails6.0
19
+ - rails6.1
20
+ - rails7
21
+ - rails_main
22
+ env:
23
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
24
+ BUNDLE_PATH_RELATIVE_TO_CWD: true
25
+
26
+ steps:
27
+ - uses: actions/checkout@v3
28
+
29
+ - name: Set up Ruby
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: ${{ matrix.ruby }}
33
+ bundler: default
34
+ bundler-cache: true
35
+ rubygems: latest
36
+
37
+ - name: Run tests
38
+ env:
39
+ DATABASE_URL: "sqlite3:test"
40
+ RAILS_ENV: test
41
+ run: |
42
+ bundle exec rspec
43
+ postgres:
44
+ runs-on: ubuntu-latest
45
+ strategy:
46
+ matrix:
47
+ ruby: ['2.7', '3.0', '3.1']
48
+ gemfile:
49
+ - rails6.0
50
+ - rails6.1
51
+ - rails7
52
+ - rails_main
53
+ env:
54
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
55
+ BUNDLE_PATH_RELATIVE_TO_CWD: true
56
+
57
+ services:
58
+ postgres:
59
+ image: postgres:12
60
+ env:
61
+ POSTGRES_USER: postgres
62
+ POSTGRES_PASSWORD: password
63
+ POSTGRES_DB: test
64
+ ports: ['5432:5432']
65
+
66
+ steps:
67
+ - uses: actions/checkout@v3
68
+
69
+ - name: Set up Ruby
70
+ uses: ruby/setup-ruby@v1
71
+ with:
72
+ ruby-version: ${{ matrix.ruby }}
73
+ bundler: default
74
+ bundler-cache: true
75
+ rubygems: latest
76
+
77
+ - name: Run tests
78
+ env:
79
+ DATABASE_URL: postgres://postgres:password@localhost:5432/test
80
+ RAILS_ENV: test
81
+ run: |
82
+ bundle exec rails db:test:prepare
83
+ bundle exec rails test
data/.gitignore CHANGED
@@ -1,15 +1,17 @@
1
+ # Gitignore configuration file
2
+
3
+ *.a
4
+ *.bundle
5
+ *.o
6
+ *.so
7
+ /_yardoc/
1
8
  /.bundle/
2
9
  /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
10
  /coverage/
6
11
  /doc/
12
+ /Gemfile.lock
7
13
  /gemfiles/*.lock
8
14
  /pkg/
9
15
  /spec/reports/
10
16
  /tmp/
11
- *.bundle
12
- *.so
13
- *.o
14
- *.a
15
17
  mkmf.log
data/.rspec CHANGED
@@ -1,2 +1,4 @@
1
+ # RSpec configuration file
2
+
1
3
  --color
2
4
  --require spec_helper
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.5.0
1
+ ruby-2.6
data/.travis.yml CHANGED
@@ -2,18 +2,17 @@ language:
2
2
  - ruby
3
3
 
4
4
  rvm:
5
- - 2.2.3
6
- - 2.3.0
7
- - 2.4.0
8
- - 2.5.0
5
+ - 2.5.5
6
+ - 2.6.0
7
+ - 2.6.1
8
+ - 2.6.2
9
+ - 2.6.3
9
10
 
10
11
  gemfile:
11
- - gemfiles/rails5.0.0.gemfile
12
- - gemfiles/rails5.0.0.1.gemfile
13
- - gemfiles/rails5.1.0.gemfile
14
- - gemfiles/rails5.1.1.gemfile
15
- - gemfiles/rails5.1.2.gemfile
16
- - gemfiles/rails5.2.0.gemfile
12
+ - gemfiles/rails6.0.0.gemfile
13
+ - gemfiles/rails6.0.1.gemfile
14
+ - gemfiles/rails6.0.2.gemfile
15
+ - gemfiles/rails6.0.2.1.gemfile
17
16
 
18
17
  install:
19
18
  - "gem install bundler"
data/.yardopts CHANGED
@@ -1,3 +1,5 @@
1
+ # Yard configuration file
2
+
1
3
  --readme README.md
2
4
  --title 'MentionSystem Documentation'
3
5
  --charset utf-8
data/Appraisals CHANGED
@@ -1,23 +1,15 @@
1
- appraise "rails5.0.0" do
2
- gem "rails", "5.0.0"
1
+ appraise "rails6.0.0" do
2
+ gem "rails", "6.0.0"
3
3
  end
4
4
 
5
- appraise "rails5.0.0.1" do
6
- gem "rails", "5.0.0.1"
5
+ appraise "rails6.0.1" do
6
+ gem "rails", "6.0.1"
7
7
  end
8
8
 
9
- appraise "rails5.1.0" do
10
- gem "rails", "5.1.0"
9
+ appraise "rails6.0.2" do
10
+ gem "rails", "6.0.2"
11
11
  end
12
12
 
13
- appraise "rails5.1.1" do
14
- gem "rails", "5.1.1"
15
- end
16
-
17
- appraise "rails5.1.2" do
18
- gem "rails", "5.1.2"
19
- end
20
-
21
- appraise "rails5.2.0" do
22
- gem "rails", "5.2.0"
13
+ appraise "rails6.0.2.1" do
14
+ gem "rails", "6.0.2.1"
23
15
  end
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Pablo Martin Viva
1
+ Copyright (c) 2014 - 2020 Pablo Martin Viva
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -2,13 +2,14 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/pmviva/mention_system.png?branch=master)](https://travis-ci.org/pmviva/mention_system)
4
4
  [![Gem Version](https://badge.fury.io/rb/mention_system.svg)](http://badge.fury.io/rb/mention_system)
5
- [![Dependency Status](https://gemnasium.com/pmviva/mention_system.svg)](https://gemnasium.com/pmviva/mention_system)
6
5
  [![Code Climate](https://codeclimate.com/github/pmviva/mention_system/badges/gpa.svg)](https://codeclimate.com/github/pmviva/mention_system)
7
6
 
8
- An active record mention system developed using ruby on rails 5 applying domain driven design and test driven development principles.
7
+ An active record mention system developed using ruby on rails applying domain driven design and test driven development principles.
9
8
 
10
9
  For rails 4 support use branch v0.0.7-stable.
11
10
 
11
+ For rails 5 support use branch v0.1.1-stable.
12
+
12
13
  This gem is heavily influenced by cmer/socialization.
13
14
 
14
15
  ## Installation
@@ -171,4 +172,3 @@ For more information read the [api documentation](http://rubydoc.info/gems/menti
171
172
  3. Commit your changes (`git commit -am 'Add some feature'`)
172
173
  4. Push to the branch (`git push origin my-new-feature`)
173
174
  5. Create a new Pull Request
174
-
data/Rakefile CHANGED
@@ -5,4 +5,3 @@ desc 'run Rspec specs'
5
5
  task :spec do
6
6
  sh 'rspec spec'
7
7
  end
8
-
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.1.2"
5
+ gem "rails", "6.0.6"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.0.0"
5
+ gem "rails", "6.1.7"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.0.0.1"
5
+ gem "rails", "~> 7.0.0"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.1.0"
5
+ gem "rails", github: "rails/rails", branch: "main"
6
6
 
7
7
  gemspec path: "../"
@@ -43,4 +43,3 @@ class MentionSystemGenerator < Rails::Generators::Base
43
43
  migration_template 'migration.rb', 'db/migrate/create_mentions.rb'
44
44
  end
45
45
  end
46
-
@@ -44,4 +44,3 @@ class CreateMentions < ActiveRecord::Migration[5.0]
44
44
  add_index :mentions, [:mentionee_id, :mentionee_type, :mentioner_id, :mentioner_type], name: "mentions_mentionee_mentioner_idx", unique: true
45
45
  end
46
46
  end
47
-
@@ -152,4 +152,3 @@ module MentionSystem
152
152
  end
153
153
  end
154
154
  end
155
-
@@ -138,4 +138,3 @@ module MentionSystem
138
138
  end
139
139
  end
140
140
  end
141
-
@@ -55,4 +55,3 @@ module MentionSystem
55
55
  end
56
56
  end
57
57
  end
58
-
@@ -85,4 +85,3 @@ module MentionSystem
85
85
  end
86
86
  end
87
87
  end
88
-
@@ -7,5 +7,5 @@ module MentionSystem
7
7
  ###
8
8
  # Version constant definition
9
9
  ###
10
- VERSION = "0.1.1"
10
+ VERSION = "0.3.0"
11
11
  end
@@ -43,4 +43,3 @@ module MentionSystem
43
43
  end
44
44
 
45
45
  ActiveRecord::Base.extend MentionSystem
46
-
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Pablo Martin Viva"]
10
10
  spec.email = ["pmviva@gmail.com"]
11
11
  spec.summary = %q{An active record like system.}
12
- spec.description = %q{An active record mention system developed using ruby on rails 5 applying domain driven design and test driven development principles.}
12
+ spec.description = %q{An active record mention system developed using ruby on rails applying domain driven design and test driven development principles.}
13
13
  spec.homepage = "http://github.com/pmviva/mention_system"
14
14
  spec.license = "MIT"
15
15
 
@@ -17,15 +17,15 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
- spec.required_ruby_version = Gem::Requirement.new(">= 2.0.0")
20
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.5.5")
21
21
 
22
- spec.add_dependency "rails", [ ">= 5.0", "< 6.0" ]
22
+ spec.add_dependency "rails", [ "~> 6.0" ]
23
23
 
24
24
  spec.add_development_dependency "appraisal", "~> 2.2"
25
- spec.add_development_dependency "bundler", "~> 1.14"
26
- spec.add_development_dependency "rake", "~> 12.0"
27
- spec.add_development_dependency "rspec", "~> 3.6"
28
- spec.add_development_dependency "shoulda-matchers", "~> 3.1"
29
- spec.add_development_dependency "sqlite3", "~> 1.3"
25
+ spec.add_development_dependency "bundler", "~> 2.1"
26
+ spec.add_development_dependency "rake", "~> 13.0"
27
+ spec.add_development_dependency "rspec", "~> 3.9"
28
+ spec.add_development_dependency "shoulda-matchers", "~> 4.2"
29
+ spec.add_development_dependency "sqlite3", "~> 1.4"
30
30
  spec.add_development_dependency "yard", "~> 0.9"
31
31
  end
@@ -44,4 +44,3 @@ class CreateMentions < ActiveRecord::Migration[5.0]
44
44
  add_index :mentions, [:mentionee_id, :mentionee_type, :mentioner_id, :mentioner_type], name: "mentions_mentionee_mentioner_idx", unique: true
45
45
  end
46
46
  end
47
-
@@ -19,4 +19,3 @@ class CreateDummyMentioners < ActiveRecord::Migration[5.0]
19
19
  end
20
20
  end
21
21
  end
22
-
@@ -19,4 +19,3 @@ class CreateDummyMentionees < ActiveRecord::Migration[5.0]
19
19
  end
20
20
  end
21
21
  end
22
-
@@ -152,4 +152,3 @@ describe MentionSystem::MentionProcessor do
152
152
  end
153
153
  end
154
154
  end
155
-
@@ -174,4 +174,3 @@ describe MentionSystem::Mention, type: :model do
174
174
  end
175
175
  end
176
176
  end
177
-
@@ -66,4 +66,3 @@ describe DummyMentionee, type: :model do
66
66
  ###
67
67
  it_behaves_like MentionSystem::Mentionee
68
68
  end
69
-
@@ -79,7 +79,7 @@ shared_examples_for MentionSystem::Mentioner do
79
79
  it "should scope mentionees filtered by mentionee type" do
80
80
  scope = MentionSystem::Mention.scope_by_mentioner(mentioner).scope_by_mentionee_type(DummyMentionee)
81
81
 
82
- expect(mentioner.mentionees_by(DummyMentionee)).to eq(scope)
82
+ expect(mentioner.mentionees_by(DummyMentionee)).to eq(scope)
83
83
  end
84
84
  end
85
85
  end
@@ -93,4 +93,3 @@ describe DummyMentioner, type: :model do
93
93
  ###
94
94
  it_behaves_like MentionSystem::Mentioner
95
95
  end
96
-
data/spec/spec_helper.rb CHANGED
@@ -119,4 +119,3 @@ class DummyMentioner < ActiveRecord::Base
119
119
  # Acts as mentioner
120
120
  act_as_mentioner
121
121
  end
122
-
@@ -8,8 +8,4 @@ ActiveRecord::Base.establish_connection adapter: 'sqlite3', database: ':memory:'
8
8
  ###
9
9
  # Active record migrator configuration
10
10
  ###
11
- if ActiveRecord.version.release() < Gem::Version.new('5.2.0')
12
- ActiveRecord::Migrator.migrate 'spec/db/migrate'
13
- else
14
- ActiveRecord::MigrationContext.new('spec/db/migrate').migrate
15
- end
11
+ ActiveRecord::MigrationContext.new('spec/db/migrate', ActiveRecord::SchemaMigration).migrate
@@ -1,2 +1 @@
1
1
  require 'shoulda/matchers'
2
-
metadata CHANGED
@@ -1,33 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mention_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Martin Viva
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-11 00:00:00.000000000 Z
11
+ date: 2023-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '5.0'
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
19
  version: '6.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '5.0'
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
26
  version: '6.0'
33
27
  - !ruby/object:Gem::Dependency
@@ -50,70 +44,70 @@ dependencies:
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '1.14'
47
+ version: '2.1'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: '1.14'
54
+ version: '2.1'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: rake
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '12.0'
61
+ version: '13.0'
68
62
  type: :development
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
66
  - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '12.0'
68
+ version: '13.0'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: rspec
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
73
  - - "~>"
80
74
  - !ruby/object:Gem::Version
81
- version: '3.6'
75
+ version: '3.9'
82
76
  type: :development
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
80
  - - "~>"
87
81
  - !ruby/object:Gem::Version
88
- version: '3.6'
82
+ version: '3.9'
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: shoulda-matchers
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
87
  - - "~>"
94
88
  - !ruby/object:Gem::Version
95
- version: '3.1'
89
+ version: '4.2'
96
90
  type: :development
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
94
  - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: '3.1'
96
+ version: '4.2'
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: sqlite3
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
101
  - - "~>"
108
102
  - !ruby/object:Gem::Version
109
- version: '1.3'
103
+ version: '1.4'
110
104
  type: :development
111
105
  prerelease: false
112
106
  version_requirements: !ruby/object:Gem::Requirement
113
107
  requirements:
114
108
  - - "~>"
115
109
  - !ruby/object:Gem::Version
116
- version: '1.3'
110
+ version: '1.4'
117
111
  - !ruby/object:Gem::Dependency
118
112
  name: yard
119
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,7 +122,7 @@ dependencies:
128
122
  - - "~>"
129
123
  - !ruby/object:Gem::Version
130
124
  version: '0.9'
131
- description: An active record mention system developed using ruby on rails 5 applying
125
+ description: An active record mention system developed using ruby on rails applying
132
126
  domain driven design and test driven development principles.
133
127
  email:
134
128
  - pmviva@gmail.com
@@ -136,9 +130,10 @@ executables: []
136
130
  extensions: []
137
131
  extra_rdoc_files: []
138
132
  files:
139
- - ".empty"
133
+ - ".editorconfig"
134
+ - ".github/stale.yml"
135
+ - ".github/workflows/ci.yml"
140
136
  - ".gitignore"
141
- - ".keep"
142
137
  - ".rspec"
143
138
  - ".ruby-gemset"
144
139
  - ".ruby-version"
@@ -149,69 +144,34 @@ files:
149
144
  - LICENSE.txt
150
145
  - README.md
151
146
  - Rakefile
152
- - gemfiles/.empty
153
- - gemfiles/.gitignore
154
- - gemfiles/.keep
155
- - gemfiles/rails5.0.0.1.gemfile
156
- - gemfiles/rails5.0.0.gemfile
157
- - gemfiles/rails5.1.0.gemfile
158
- - gemfiles/rails5.1.1.gemfile
159
- - gemfiles/rails5.1.2.gemfile
160
- - gemfiles/rails5.2.0.gemfile
161
- - lib/.empty
162
- - lib/.gitignore
163
- - lib/.keep
164
- - lib/generators/.empty
165
- - lib/generators/.gitignore
166
- - lib/generators/.keep
167
- - lib/generators/mention_system/.empty
168
- - lib/generators/mention_system/.gitignore
169
- - lib/generators/mention_system/.keep
147
+ - gemfiles/rails6.0.gemfile
148
+ - gemfiles/rails6.1.gemfile
149
+ - gemfiles/rails7.gemfile
150
+ - gemfiles/rails_main.gemfile
170
151
  - lib/generators/mention_system/mention_system_generator.rb
171
- - lib/generators/mention_system/templates/.empty
172
- - lib/generators/mention_system/templates/.gitignore
173
- - lib/generators/mention_system/templates/.keep
174
152
  - lib/generators/mention_system/templates/migration.rb
175
153
  - lib/mention_system.rb
176
- - lib/mention_system/.empty
177
- - lib/mention_system/.gitignore
178
- - lib/mention_system/.keep
179
154
  - lib/mention_system/mention.rb
180
155
  - lib/mention_system/mention_processor.rb
181
156
  - lib/mention_system/mentionee.rb
182
157
  - lib/mention_system/mentioner.rb
183
158
  - lib/mention_system/version.rb
184
159
  - mention_system.gemspec
185
- - spec/.empty
186
- - spec/.gitignore
187
- - spec/.keep
188
- - spec/db/.empty
189
- - spec/db/.gitignore
190
- - spec/db/.keep
191
- - spec/db/migrate/.empty
192
- - spec/db/migrate/.gitignore
193
- - spec/db/migrate/.keep
194
160
  - spec/db/migrate/20140926000000_create_mentions.rb
195
161
  - spec/db/migrate/20140926000005_create_dummy_mentioners.rb
196
162
  - spec/db/migrate/20140926000010_create_dummy_mentionees.rb
197
- - spec/mention_system/.empty
198
- - spec/mention_system/.gitignore
199
- - spec/mention_system/.keep
200
163
  - spec/mention_system/mention_processor_spec.rb
201
164
  - spec/mention_system/mention_spec.rb
202
165
  - spec/mention_system/mentionee_spec.rb
203
166
  - spec/mention_system/mentioner_spec.rb
204
167
  - spec/spec_helper.rb
205
- - spec/support/.empty
206
- - spec/support/.gitignore
207
- - spec/support/.keep
208
168
  - spec/support/active_record.rb
209
169
  - spec/support/shoulda_matchers.rb
210
170
  homepage: http://github.com/pmviva/mention_system
211
171
  licenses:
212
172
  - MIT
213
173
  metadata: {}
214
- post_install_message:
174
+ post_install_message:
215
175
  rdoc_options: []
216
176
  require_paths:
217
177
  - lib
@@ -219,41 +179,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
179
  requirements:
220
180
  - - ">="
221
181
  - !ruby/object:Gem::Version
222
- version: 2.0.0
182
+ version: 2.5.5
223
183
  required_rubygems_version: !ruby/object:Gem::Requirement
224
184
  requirements:
225
185
  - - ">="
226
186
  - !ruby/object:Gem::Version
227
187
  version: '0'
228
188
  requirements: []
229
- rubyforge_project:
230
- rubygems_version: 2.7.3
231
- signing_key:
189
+ rubygems_version: 3.2.32
190
+ signing_key:
232
191
  specification_version: 4
233
192
  summary: An active record like system.
234
193
  test_files:
235
- - spec/.empty
236
- - spec/.gitignore
237
- - spec/.keep
238
- - spec/db/.empty
239
- - spec/db/.gitignore
240
- - spec/db/.keep
241
- - spec/db/migrate/.empty
242
- - spec/db/migrate/.gitignore
243
- - spec/db/migrate/.keep
244
194
  - spec/db/migrate/20140926000000_create_mentions.rb
245
195
  - spec/db/migrate/20140926000005_create_dummy_mentioners.rb
246
196
  - spec/db/migrate/20140926000010_create_dummy_mentionees.rb
247
- - spec/mention_system/.empty
248
- - spec/mention_system/.gitignore
249
- - spec/mention_system/.keep
250
197
  - spec/mention_system/mention_processor_spec.rb
251
198
  - spec/mention_system/mention_spec.rb
252
199
  - spec/mention_system/mentionee_spec.rb
253
200
  - spec/mention_system/mentioner_spec.rb
254
201
  - spec/spec_helper.rb
255
- - spec/support/.empty
256
- - spec/support/.gitignore
257
- - spec/support/.keep
258
202
  - spec/support/active_record.rb
259
203
  - spec/support/shoulda_matchers.rb
data/.empty DELETED
File without changes
data/.keep DELETED
File without changes
data/gemfiles/.empty DELETED
File without changes
data/gemfiles/.gitignore DELETED
File without changes
data/gemfiles/.keep DELETED
File without changes
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "5.1.1"
6
-
7
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "5.2.0"
6
-
7
- gemspec path: "../"
data/lib/.empty DELETED
File without changes
data/lib/.gitignore DELETED
File without changes
data/lib/.keep DELETED
File without changes
File without changes
File without changes
data/lib/generators/.keep DELETED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/spec/.empty DELETED
File without changes
data/spec/.gitignore DELETED
File without changes
data/spec/.keep DELETED
File without changes
data/spec/db/.empty DELETED
File without changes
data/spec/db/.gitignore DELETED
File without changes
data/spec/db/.keep DELETED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/spec/support/.empty DELETED
File without changes
File without changes
data/spec/support/.keep DELETED
File without changes