mentionable 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8c864d933387401eafe12e56a845f48ecb7358bd8329d687658ea8c6a7f44ab8
4
+ data.tar.gz: '099f4f497a8fa3839f22c8d5e502c3fc7dd2f86f14843c625fe4cbcd9135ea6b'
5
+ SHA512:
6
+ metadata.gz: bf5dcdecb2b8f9c2fe6f73ff52cb0af7b2273c42cfb48b2b845984b868ea7dc4e476d710372b04460250928e01fa0a25e6e8fa255bfaa271412534ba26a5898d
7
+ data.tar.gz: 9e7c07f8484023d5fb67562ae1e3c042fd079937985e0d49110a96b59f1daf50c96f84836982a83018ed293bb0345bc7ac24c9d25f92e3fa3cbc3e0c64767fdb
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /log/
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.7.1
6
+ before_install: gem install bundler -v 2.1.4
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at komagata@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in mentionable.gemspec
4
+ gemspec
5
+
6
+ gem 'rake', '~> 12.0'
7
+ gem 'minitest', '~> 5.0'
@@ -0,0 +1,183 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mentionable (0.1.0)
5
+ activerecord
6
+ railties
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (6.0.3.2)
12
+ actionpack (= 6.0.3.2)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailbox (6.0.3.2)
16
+ actionpack (= 6.0.3.2)
17
+ activejob (= 6.0.3.2)
18
+ activerecord (= 6.0.3.2)
19
+ activestorage (= 6.0.3.2)
20
+ activesupport (= 6.0.3.2)
21
+ mail (>= 2.7.1)
22
+ actionmailer (6.0.3.2)
23
+ actionpack (= 6.0.3.2)
24
+ actionview (= 6.0.3.2)
25
+ activejob (= 6.0.3.2)
26
+ mail (~> 2.5, >= 2.5.4)
27
+ rails-dom-testing (~> 2.0)
28
+ actionpack (6.0.3.2)
29
+ actionview (= 6.0.3.2)
30
+ activesupport (= 6.0.3.2)
31
+ rack (~> 2.0, >= 2.0.8)
32
+ rack-test (>= 0.6.3)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
+ actiontext (6.0.3.2)
36
+ actionpack (= 6.0.3.2)
37
+ activerecord (= 6.0.3.2)
38
+ activestorage (= 6.0.3.2)
39
+ activesupport (= 6.0.3.2)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.0.3.2)
42
+ activesupport (= 6.0.3.2)
43
+ builder (~> 3.1)
44
+ erubi (~> 1.4)
45
+ rails-dom-testing (~> 2.0)
46
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
+ activejob (6.0.3.2)
48
+ activesupport (= 6.0.3.2)
49
+ globalid (>= 0.3.6)
50
+ activemodel (6.0.3.2)
51
+ activesupport (= 6.0.3.2)
52
+ activerecord (6.0.3.2)
53
+ activemodel (= 6.0.3.2)
54
+ activesupport (= 6.0.3.2)
55
+ activestorage (6.0.3.2)
56
+ actionpack (= 6.0.3.2)
57
+ activejob (= 6.0.3.2)
58
+ activerecord (= 6.0.3.2)
59
+ marcel (~> 0.3.1)
60
+ activesupport (6.0.3.2)
61
+ concurrent-ruby (~> 1.0, >= 1.0.2)
62
+ i18n (>= 0.7, < 2)
63
+ minitest (~> 5.1)
64
+ tzinfo (~> 1.1)
65
+ zeitwerk (~> 2.2, >= 2.2.2)
66
+ addressable (2.7.0)
67
+ public_suffix (>= 2.0.2, < 5.0)
68
+ builder (3.2.4)
69
+ capybara (3.33.0)
70
+ addressable
71
+ mini_mime (>= 0.1.3)
72
+ nokogiri (~> 1.8)
73
+ rack (>= 1.6.0)
74
+ rack-test (>= 0.6.3)
75
+ regexp_parser (~> 1.5)
76
+ xpath (~> 3.2)
77
+ concurrent-ruby (1.1.6)
78
+ crass (1.0.6)
79
+ erubi (1.9.0)
80
+ globalid (0.4.2)
81
+ activesupport (>= 4.2.0)
82
+ i18n (1.8.3)
83
+ concurrent-ruby (~> 1.0)
84
+ json (2.3.0)
85
+ loofah (2.6.0)
86
+ crass (~> 1.0.2)
87
+ nokogiri (>= 1.5.9)
88
+ mail (2.7.1)
89
+ mini_mime (>= 0.1.1)
90
+ marcel (0.3.3)
91
+ mimemagic (~> 0.3.2)
92
+ method_source (1.0.0)
93
+ mimemagic (0.3.5)
94
+ mini_mime (1.0.2)
95
+ mini_portile2 (2.4.0)
96
+ minitest (5.14.1)
97
+ nio4r (2.5.2)
98
+ nokogiri (1.10.9)
99
+ mini_portile2 (~> 2.4.0)
100
+ power_assert (1.2.0)
101
+ public_suffix (4.0.5)
102
+ rack (2.2.3)
103
+ rack-test (1.1.0)
104
+ rack (>= 1.0, < 3)
105
+ rails (6.0.3.2)
106
+ actioncable (= 6.0.3.2)
107
+ actionmailbox (= 6.0.3.2)
108
+ actionmailer (= 6.0.3.2)
109
+ actionpack (= 6.0.3.2)
110
+ actiontext (= 6.0.3.2)
111
+ actionview (= 6.0.3.2)
112
+ activejob (= 6.0.3.2)
113
+ activemodel (= 6.0.3.2)
114
+ activerecord (= 6.0.3.2)
115
+ activestorage (= 6.0.3.2)
116
+ activesupport (= 6.0.3.2)
117
+ bundler (>= 1.3.0)
118
+ railties (= 6.0.3.2)
119
+ sprockets-rails (>= 2.0.0)
120
+ rails-dom-testing (2.0.3)
121
+ activesupport (>= 4.2.0)
122
+ nokogiri (>= 1.6)
123
+ rails-html-sanitizer (1.3.0)
124
+ loofah (~> 2.3)
125
+ railties (6.0.3.2)
126
+ actionpack (= 6.0.3.2)
127
+ activesupport (= 6.0.3.2)
128
+ method_source
129
+ rake (>= 0.8.7)
130
+ thor (>= 0.20.3, < 2.0)
131
+ rake (12.3.3)
132
+ regexp_parser (1.7.1)
133
+ rr (1.2.1)
134
+ sprockets (4.0.2)
135
+ concurrent-ruby (~> 1.0)
136
+ rack (> 1, < 3)
137
+ sprockets-rails (3.2.1)
138
+ actionpack (>= 4.0)
139
+ activesupport (>= 4.0)
140
+ sprockets (>= 3.0.0)
141
+ sqlite3 (1.4.2)
142
+ test-unit (3.3.6)
143
+ power_assert
144
+ test-unit-activesupport (1.0.9)
145
+ activesupport
146
+ test-unit
147
+ test-unit-capybara (1.0.9)
148
+ capybara (>= 2.1.0)
149
+ json
150
+ test-unit (>= 2.5.3)
151
+ test-unit-rails (6.0.0)
152
+ rails (>= 5.1.2)
153
+ test-unit (>= 3.1.7)
154
+ test-unit-activesupport (>= 1.0.8)
155
+ test-unit-capybara (>= 1.0.5)
156
+ test-unit-rr (>= 1.0.4)
157
+ test-unit-rr (1.0.5)
158
+ rr (>= 1.1.1)
159
+ test-unit (>= 2.5.2)
160
+ thor (1.0.1)
161
+ thread_safe (0.3.6)
162
+ tzinfo (1.2.7)
163
+ thread_safe (~> 0.1)
164
+ websocket-driver (0.7.2)
165
+ websocket-extensions (>= 0.1.0)
166
+ websocket-extensions (0.1.5)
167
+ xpath (3.2.0)
168
+ nokogiri (~> 1.8)
169
+ zeitwerk (2.3.0)
170
+
171
+ PLATFORMS
172
+ ruby
173
+
174
+ DEPENDENCIES
175
+ mentionable!
176
+ minitest (~> 5.0)
177
+ rails
178
+ rake (~> 12.0)
179
+ sqlite3
180
+ test-unit-rails
181
+
182
+ BUNDLED WITH
183
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Masaki Komagata
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,70 @@
1
+ # Mentionable
2
+
3
+ Discovery mentions from ActiveRecord column.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'mentionable'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install mentionable
20
+
21
+ ## Usage
22
+
23
+ `app/models/comment.rb`:
24
+
25
+ ```ruby
26
+ class Comment
27
+ mentionable_as :body #, on_mention: :after_mention, regexp: /@\w+/
28
+
29
+ def after_mention(mentions)
30
+ p mentions # Send notification if you want.
31
+ end
32
+ end
33
+ ```
34
+
35
+ ```sh
36
+ % rails runner "Comment.create(body: '@nobunaga @hideyosi Hi guys.')"
37
+ ["@nobunaga", "@hideyosi"]
38
+ ```
39
+
40
+ ### Utility methods
41
+
42
+ ```ruby
43
+ comment = Comment.create(body: '@nobunaga @hideyosi Hi guys.')
44
+ comment.mentions # => ["@nobunaga", "@hideyosi"]
45
+ comment.new_mentions? # => true
46
+
47
+ comment.update(body: '@nobunaga @hideyosi @ieyasu Hi guys.')
48
+ comment.mentions # => ["@nobunaga", "@hideyosi", "@ieyasu"]
49
+ comment.mentions_ware # => ["@nobunaga", "@hideyosi"]
50
+ comment.new_mentions # => ["@ieyasu"]
51
+ comment.new_mentions? # => true
52
+ ```
53
+
54
+ ## Development
55
+
56
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
57
+
58
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
59
+
60
+ ## Contributing
61
+
62
+ Bug reports and pull requests are welcome on GitHub at https://github.com/komagata/mentionable. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/komagata/mentionable/blob/master/CODE_OF_CONDUCT.md).
63
+
64
+ ## License
65
+
66
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
67
+
68
+ ## Code of Conduct
69
+
70
+ Everyone interacting in the Mentionable project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/komagata/mentionable/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "mentionable"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'mentionable/version'
4
+
5
+ module Mentionable
6
+ REGEXP = /@\w+/.freeze
7
+
8
+ def self.included(base)
9
+ base.after_save do
10
+ send self.class.on_mention, new_mentions if new_mentions?
11
+ end
12
+ base.extend ClassMethods
13
+ end
14
+
15
+ module ClassMethods
16
+ def mentionable_as(column, on_mention: :after_mention, regexp: REGEXP)
17
+ klass = name.constantize
18
+ klass.class_variable_set :@@mentionable_name, column
19
+ klass.class_variable_set :@@on_mention, on_mention
20
+ klass.class_variable_set :@@regexp, regexp
21
+ end
22
+
23
+ def mentionable_name
24
+ class_variable_get :@@mentionable_name
25
+ end
26
+
27
+ def on_mention
28
+ class_variable_get :@@on_mention
29
+ end
30
+
31
+ def regexp
32
+ class_variable_get :@@regexp
33
+ end
34
+ end
35
+
36
+ def extract_mentions(text)
37
+ text.scan(self.class.regexp).uniq
38
+ end
39
+
40
+ def mentionable
41
+ send self.class.mentionable_name
42
+ end
43
+
44
+ def mentionable_before_last_save
45
+ send "#{self.class.mentionable_name}_before_last_save"
46
+ end
47
+
48
+ def mentions
49
+ extract_mentions(mentionable)
50
+ end
51
+
52
+ def mentions?
53
+ mentions.present?
54
+ end
55
+
56
+ def mentions_were
57
+ extract_mentions(mentionable_before_last_save || '')
58
+ end
59
+
60
+ def new_mentions
61
+ mentions - mentions_were
62
+ end
63
+
64
+ def new_mentions?
65
+ new_mentions.present?
66
+ end
67
+ end
68
+
69
+ ActiveSupport.on_load :active_record do
70
+ include Mentionable
71
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mentionable
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/mentionable/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'mentionable'
7
+ spec.version = Mentionable::VERSION
8
+ spec.authors = ['Masaki Komagata']
9
+ spec.email = ['komagata@gmail.com']
10
+
11
+ spec.summary = 'Discovery mentions from ActiveRecord column.'
12
+ spec.description = spec.summary
13
+ spec.homepage = 'https://github.com/komagata/mentionable'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = spec.homepage
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ end
25
+ spec.bindir = 'exe'
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ['lib']
28
+
29
+ spec.add_dependency 'activerecord'
30
+ spec.add_dependency 'railties'
31
+ spec.add_development_dependency 'rails'
32
+ spec.add_development_dependency 'sqlite3'
33
+ spec.add_development_dependency 'test-unit-rails'
34
+ end
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mentionable
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Masaki Komagata
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-07-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: railties
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: test-unit-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Discovery mentions from ActiveRecord column.
84
+ email:
85
+ - komagata@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".travis.yml"
92
+ - CODE_OF_CONDUCT.md
93
+ - Gemfile
94
+ - Gemfile.lock
95
+ - LICENSE.txt
96
+ - README.md
97
+ - Rakefile
98
+ - bin/console
99
+ - bin/setup
100
+ - lib/mentionable.rb
101
+ - lib/mentionable/version.rb
102
+ - mentionable.gemspec
103
+ homepage: https://github.com/komagata/mentionable
104
+ licenses:
105
+ - MIT
106
+ metadata:
107
+ homepage_uri: https://github.com/komagata/mentionable
108
+ source_code_uri: https://github.com/komagata/mentionable
109
+ post_install_message:
110
+ rdoc_options: []
111
+ require_paths:
112
+ - lib
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 2.3.0
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ requirements: []
124
+ rubygems_version: 3.1.2
125
+ signing_key:
126
+ specification_version: 4
127
+ summary: Discovery mentions from ActiveRecord column.
128
+ test_files: []