bp3-friendly_id 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 57f7115811accda4d3cf2c7f304545fc5ca7ec7529972430984e4dacdfc297aa
4
+ data.tar.gz: ea5220fe126ecdc12c7c3a59eff37d98eccedfe3ea17f6b6fff4106b2d35252a
5
+ SHA512:
6
+ metadata.gz: ef7049fe0db833ee7b89e9a5376463fc989a7f2979d0e0570090f43411bf5d40241d6ae89560714b47e61da9b9ab129adf10b44fa2bedddec96d1b72bc3459a2
7
+ data.tar.gz: e8fb6ddf9faaaa093e4c8d3bc2f1cf911555e21334c7629147d495cf70a3b3fe6872b2bcad2691fde52b52d0608e08728c8e1745560a91519e253302d1f71e2f
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,51 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+ - rubocop-capybara
5
+ - rubocop-factory_bot
6
+
7
+ AllCops:
8
+ TargetRubyVersion: 3.2.2
9
+ NewCops: enable
10
+
11
+ Gemspec/DevelopmentDependencies:
12
+ EnforcedStyle: gemspec
13
+
14
+ Lint/ConstantDefinitionInBlock:
15
+ Exclude:
16
+ - lib/bp3/**/railtie.rb
17
+
18
+ Lint/Void:
19
+ Exclude:
20
+ - lib/bp3/**/railtie.rb
21
+
22
+ Metrics/AbcSize:
23
+ Max: 26
24
+
25
+ Metrics/BlockLength:
26
+ Max: 66
27
+
28
+ Metrics/CyclomaticComplexity:
29
+ Max: 10
30
+
31
+ Metrics/MethodLength:
32
+ Max: 15
33
+
34
+ Metrics/ModuleLength:
35
+ Max: 150
36
+
37
+ Metrics/PerceivedComplexity:
38
+ Max: 10
39
+
40
+ Naming/FileName:
41
+ Exclude:
42
+ - lib/bp3-*.rb
43
+
44
+ RSpec/ExampleLength:
45
+ Max: 10
46
+
47
+ RSpec/MultipleExpectations:
48
+ Max: 4
49
+
50
+ Style/Documentation:
51
+ Enabled: false
data/.yardopts ADDED
@@ -0,0 +1,8 @@
1
+ --charset utf-8
2
+ --readme README.md
3
+ --markup markdown
4
+ --title "bp3-friendly_id"
5
+ --private
6
+ -
7
+ CHANGELOG.md
8
+ LICENSE.txt
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.1] - 2024-06-03
4
+
5
+ - Tweaks and documentation
6
+
7
+ ## [0.1.0] - 2024-01-08
8
+
9
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in bp3-friendly_id.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,186 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ bp3-friendly_id (0.1.1)
5
+ bp3-action_dispatch (>= 0.1, < 1)
6
+ bp3-core (>= 0.1, < 1)
7
+ bp3-string (>= 0.1, < 1)
8
+ friendly_id (~> 5.5)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ actionpack (7.1.3.3)
14
+ actionview (= 7.1.3.3)
15
+ activesupport (= 7.1.3.3)
16
+ nokogiri (>= 1.8.5)
17
+ racc
18
+ rack (>= 2.2.4)
19
+ rack-session (>= 1.0.1)
20
+ rack-test (>= 0.6.3)
21
+ rails-dom-testing (~> 2.2)
22
+ rails-html-sanitizer (~> 1.6)
23
+ actionview (7.1.3.3)
24
+ activesupport (= 7.1.3.3)
25
+ builder (~> 3.1)
26
+ erubi (~> 1.11)
27
+ rails-dom-testing (~> 2.2)
28
+ rails-html-sanitizer (~> 1.6)
29
+ activemodel (7.1.3.3)
30
+ activesupport (= 7.1.3.3)
31
+ activerecord (7.1.3.3)
32
+ activemodel (= 7.1.3.3)
33
+ activesupport (= 7.1.3.3)
34
+ timeout (>= 0.4.0)
35
+ activesupport (7.1.3.3)
36
+ base64
37
+ bigdecimal
38
+ concurrent-ruby (~> 1.0, >= 1.0.2)
39
+ connection_pool (>= 2.2.5)
40
+ drb
41
+ i18n (>= 1.6, < 2)
42
+ minitest (>= 5.1)
43
+ mutex_m
44
+ tzinfo (~> 2.0)
45
+ ast (2.4.2)
46
+ base64 (0.2.0)
47
+ bigdecimal (3.1.8)
48
+ bp3-action_dispatch (0.1.1)
49
+ actionpack (>= 7.1.2, < 8)
50
+ activesupport (>= 7.1.2, < 8)
51
+ i18n (>= 1.8.11, < 2)
52
+ bp3-core (0.1.2)
53
+ actionview (>= 7.1.2, < 8)
54
+ activesupport (>= 7.1.2, < 8)
55
+ bp3-string (0.1.1)
56
+ activerecord (~> 7.1)
57
+ activesupport (>= 7.1.2, < 8)
58
+ railties (~> 7.1)
59
+ builder (3.2.4)
60
+ byebug (11.1.3)
61
+ concurrent-ruby (1.3.1)
62
+ connection_pool (2.4.1)
63
+ crass (1.0.6)
64
+ diff-lcs (1.5.1)
65
+ drb (2.2.1)
66
+ erubi (1.12.0)
67
+ friendly_id (5.5.1)
68
+ activerecord (>= 4.0.0)
69
+ i18n (1.14.5)
70
+ concurrent-ruby (~> 1.0)
71
+ io-console (0.7.2)
72
+ irb (1.13.1)
73
+ rdoc (>= 4.0.0)
74
+ reline (>= 0.4.2)
75
+ json (2.7.2)
76
+ language_server-protocol (3.17.0.3)
77
+ loofah (2.22.0)
78
+ crass (~> 1.0.2)
79
+ nokogiri (>= 1.12.0)
80
+ minitest (5.23.1)
81
+ mutex_m (0.2.0)
82
+ nokogiri (1.16.5-x86_64-darwin)
83
+ racc (~> 1.4)
84
+ parallel (1.24.0)
85
+ parser (3.3.2.0)
86
+ ast (~> 2.4.1)
87
+ racc
88
+ psych (5.1.2)
89
+ stringio
90
+ racc (1.8.0)
91
+ rack (3.0.11)
92
+ rack-session (2.0.0)
93
+ rack (>= 3.0.0)
94
+ rack-test (2.1.0)
95
+ rack (>= 1.3)
96
+ rackup (2.1.0)
97
+ rack (>= 3)
98
+ webrick (~> 1.8)
99
+ rails-dom-testing (2.2.0)
100
+ activesupport (>= 5.0.0)
101
+ minitest
102
+ nokogiri (>= 1.6)
103
+ rails-html-sanitizer (1.6.0)
104
+ loofah (~> 2.21)
105
+ nokogiri (~> 1.14)
106
+ railties (7.1.3.3)
107
+ actionpack (= 7.1.3.3)
108
+ activesupport (= 7.1.3.3)
109
+ irb
110
+ rackup (>= 1.0.0)
111
+ rake (>= 12.2)
112
+ thor (~> 1.0, >= 1.2.2)
113
+ zeitwerk (~> 2.6)
114
+ rainbow (3.1.1)
115
+ rake (13.2.1)
116
+ rdoc (6.7.0)
117
+ psych (>= 4.0.0)
118
+ regexp_parser (2.9.2)
119
+ reline (0.5.8)
120
+ io-console (~> 0.5)
121
+ rexml (3.2.8)
122
+ strscan (>= 3.0.9)
123
+ rspec (3.13.0)
124
+ rspec-core (~> 3.13.0)
125
+ rspec-expectations (~> 3.13.0)
126
+ rspec-mocks (~> 3.13.0)
127
+ rspec-core (3.13.0)
128
+ rspec-support (~> 3.13.0)
129
+ rspec-expectations (3.13.0)
130
+ diff-lcs (>= 1.2.0, < 2.0)
131
+ rspec-support (~> 3.13.0)
132
+ rspec-mocks (3.13.1)
133
+ diff-lcs (>= 1.2.0, < 2.0)
134
+ rspec-support (~> 3.13.0)
135
+ rspec-support (3.13.1)
136
+ rubocop (1.64.1)
137
+ json (~> 2.3)
138
+ language_server-protocol (>= 3.17.0)
139
+ parallel (~> 1.10)
140
+ parser (>= 3.3.0.2)
141
+ rainbow (>= 2.2.2, < 4.0)
142
+ regexp_parser (>= 1.8, < 3.0)
143
+ rexml (>= 3.2.5, < 4.0)
144
+ rubocop-ast (>= 1.31.1, < 2.0)
145
+ ruby-progressbar (~> 1.7)
146
+ unicode-display_width (>= 2.4.0, < 3.0)
147
+ rubocop-ast (1.31.3)
148
+ parser (>= 3.3.1.0)
149
+ rubocop-capybara (2.20.0)
150
+ rubocop (~> 1.41)
151
+ rubocop-factory_bot (2.25.1)
152
+ rubocop (~> 1.41)
153
+ rubocop-rake (0.6.0)
154
+ rubocop (~> 1.0)
155
+ rubocop-rspec (2.30.0)
156
+ rubocop (~> 1.40)
157
+ rubocop-capybara (~> 2.17)
158
+ rubocop-factory_bot (~> 2.22)
159
+ rubocop-rspec_rails (~> 2.28)
160
+ rubocop-rspec_rails (2.28.3)
161
+ rubocop (~> 1.40)
162
+ ruby-progressbar (1.13.0)
163
+ stringio (3.1.0)
164
+ strscan (3.1.0)
165
+ thor (1.3.1)
166
+ timeout (0.4.1)
167
+ tzinfo (2.0.6)
168
+ concurrent-ruby (~> 1.0)
169
+ unicode-display_width (2.5.0)
170
+ webrick (1.8.1)
171
+ zeitwerk (2.6.15)
172
+
173
+ PLATFORMS
174
+ x86_64-darwin-22
175
+
176
+ DEPENDENCIES
177
+ bp3-friendly_id!
178
+ byebug
179
+ rake (~> 13.0)
180
+ rspec (~> 3.0)
181
+ rubocop (~> 1.21)
182
+ rubocop-rake (~> 0.6)
183
+ rubocop-rspec (~> 2.25)
184
+
185
+ BUNDLED WITH
186
+ 2.5.11
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Wim den Braven
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.
data/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # Bp3::FriendlyId
2
+
3
+ bp3-friendly_id adapts friendly_id for BP3, the persuavis/black_phoebe_3
4
+ multi-site multi-tenant rails application.
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'bp3-friendly_id'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle install
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install bp3-friendly_id
21
+
22
+ ## Usage
23
+
24
+ Just add the gem to your BP3 app.
25
+
26
+ ## Development
27
+
28
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
29
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
30
+ prompt that will allow you to experiment.
31
+
32
+ To install this gem onto your local machine, run `rake install`. To release a new
33
+ version, update the version number in `version.rb`, and then run `rake release`,
34
+ which will create a git tag for the version, push git commits and the created
35
+ tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
36
+
37
+ ## Testing
38
+ Run `rake` to run rspec tests and rubocop linting.
39
+
40
+ ## Documentation
41
+ A `.yardopts` file is provided to support yard documentation.
42
+
43
+ ## License
44
+
45
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/bp3/friendly_id/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'bp3-friendly_id'
7
+ spec.version = Bp3::FriendlyId::VERSION
8
+ spec.authors = ['Wim den Braven']
9
+ spec.email = ['wimdenbraven@persuavis.com']
10
+
11
+ spec.summary = 'bp3-friendly_id adapts friendly_id for BP3 (persuavis/black_phoebe_3).'
12
+ # spec.description = "TODO: Write a longer description or delete this line."
13
+ spec.homepage = 'https://www.black-phoebe.com'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 3.2.0'
16
+
17
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
18
+
19
+ spec.metadata['homepage_uri'] = spec.homepage
20
+ spec.metadata['source_code_uri'] = 'https://github.com/persuavis/bp3-friendly_id'
21
+ spec.metadata['changelog_uri'] = 'https://github.com/persuavis/bp3-friendly_id/blob/main/CHANGELOG.md'
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
26
+ `git ls-files -z`.split("\x0").reject do |f|
27
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
+ end
29
+ end
30
+ spec.bindir = 'exe'
31
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ['lib']
33
+
34
+ spec.add_dependency 'bp3-action_dispatch', ['>= 0.1', '< 1']
35
+ spec.add_dependency 'bp3-core', ['>= 0.1', '< 1']
36
+ spec.add_dependency 'bp3-string', ['>= 0.1', '< 1']
37
+ spec.add_dependency 'friendly_id', '~> 5.5'
38
+
39
+ spec.add_development_dependency 'byebug'
40
+ spec.add_development_dependency 'rake', '~> 13.0'
41
+ spec.add_development_dependency 'rspec', '~> 3.0'
42
+ spec.add_development_dependency 'rubocop', '~> 1.21'
43
+ spec.add_development_dependency 'rubocop-rake', '~> 0.6'
44
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.25'
45
+
46
+ # For more information and examples about making a new gem, check out our
47
+ # guide at: https://bundler.io/guides/creating_gem.html
48
+ spec.metadata['rubygems_mfa_required'] = 'true'
49
+ end
@@ -0,0 +1,95 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Bp3
4
+ module FriendlyId
5
+ if defined?(Rails.env)
6
+ class Railtie < Rails::Railtie
7
+ initializer 'bp3.friendly_id.railtie.register' do |app|
8
+ app.config.after_initialize do
9
+ ::FriendlyId::Slug # preload
10
+ module ::FriendlyId
11
+ class Slug
12
+ include Bp3::Core::Rqid
13
+ include Bp3::Core::Sqnr
14
+ include Bp3::Core::Tenantable
15
+ include Bp3::Core::Displayable
16
+ include Bp3::Core::Ransackable
17
+
18
+ configure_tenancy
19
+ use_sqnr_for_ordering
20
+ has_paper_trail
21
+
22
+ scope :current_site, -> { where(sites_site_id: global_request_state_class.current_site_id) }
23
+
24
+ def self.global_request_state_class
25
+ Bp3::Core::Rqid.global_request_state_class
26
+ end
27
+
28
+ def global_request_state_class
29
+ Bp3::Core::Rqid.global_request_state_class
30
+ end
31
+
32
+ def self.site_class
33
+ Bp3::ActionDispatch.site_class
34
+ end
35
+
36
+ def site_class
37
+ Bp3::ActionDispatch.site_class
38
+ end
39
+
40
+ def self.table_name_basis
41
+ table_name.gsub(/\Apublic\./, '').singularize
42
+ end
43
+
44
+ def self.find(id_or_slug)
45
+ where(id: id_or_slug).or(where(slug: id_or_slug)).first
46
+ end
47
+
48
+ def url
49
+ return nil if slug.blank?
50
+ return "#{sluggable.site.url}#{slug}" unless draft?
51
+
52
+ # slug is supposed to start with '/'
53
+ "#{sluggable.site.url}#{slug}?preview=on&id=#{sluggable.id}"
54
+ end
55
+
56
+ def display_name
57
+ slug
58
+ end
59
+
60
+ def controllerize
61
+ self.class.model_name.name.underscore.tr('/', '_').controllerize
62
+ end
63
+
64
+ private
65
+
66
+ def version_filter_mask
67
+ '[FILTERED][FR]'
68
+ end
69
+
70
+ def draft?
71
+ sluggable.draft?
72
+ end
73
+
74
+ # override Tenantable method to use the sluggable's site, if it *is* a site, or
75
+ # if it *has* a site
76
+ def set_sites_site_id
77
+ return if sluggable_type.blank?
78
+
79
+ self.sites_site_id = if sluggable.is_a?(site_class)
80
+ sluggable.id
81
+ elsif sluggable.respond_to?(:sites_site_id)
82
+ sluggable.sites_site_id
83
+ end
84
+ return if sites_site_id.present?
85
+
86
+ super
87
+ end
88
+ end
89
+ end
90
+ end
91
+ end
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Bp3
4
+ module FriendlyId
5
+ VERSION = '0.1.1'
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'friendly_id/railtie'
4
+ require_relative 'friendly_id/version'
5
+
6
+ module Bp3
7
+ module FriendlyId
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bp3/friendly_id'
@@ -0,0 +1,6 @@
1
+ module Bp3
2
+ module FriendlyId
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,221 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bp3-friendly_id
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Wim den Braven
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bp3-action_dispatch
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.1'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '1'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '1'
33
+ - !ruby/object:Gem::Dependency
34
+ name: bp3-core
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0.1'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '1'
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0.1'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '1'
53
+ - !ruby/object:Gem::Dependency
54
+ name: bp3-string
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0.1'
60
+ - - "<"
61
+ - !ruby/object:Gem::Version
62
+ version: '1'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0.1'
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '1'
73
+ - !ruby/object:Gem::Dependency
74
+ name: friendly_id
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '5.5'
80
+ type: :runtime
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - "~>"
85
+ - !ruby/object:Gem::Version
86
+ version: '5.5'
87
+ - !ruby/object:Gem::Dependency
88
+ name: byebug
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ type: :development
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ - !ruby/object:Gem::Dependency
102
+ name: rake
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - "~>"
106
+ - !ruby/object:Gem::Version
107
+ version: '13.0'
108
+ type: :development
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - "~>"
113
+ - !ruby/object:Gem::Version
114
+ version: '13.0'
115
+ - !ruby/object:Gem::Dependency
116
+ name: rspec
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - "~>"
120
+ - !ruby/object:Gem::Version
121
+ version: '3.0'
122
+ type: :development
123
+ prerelease: false
124
+ version_requirements: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - "~>"
127
+ - !ruby/object:Gem::Version
128
+ version: '3.0'
129
+ - !ruby/object:Gem::Dependency
130
+ name: rubocop
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - "~>"
134
+ - !ruby/object:Gem::Version
135
+ version: '1.21'
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - "~>"
141
+ - !ruby/object:Gem::Version
142
+ version: '1.21'
143
+ - !ruby/object:Gem::Dependency
144
+ name: rubocop-rake
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '0.6'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - "~>"
155
+ - !ruby/object:Gem::Version
156
+ version: '0.6'
157
+ - !ruby/object:Gem::Dependency
158
+ name: rubocop-rspec
159
+ requirement: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - "~>"
162
+ - !ruby/object:Gem::Version
163
+ version: '2.25'
164
+ type: :development
165
+ prerelease: false
166
+ version_requirements: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - "~>"
169
+ - !ruby/object:Gem::Version
170
+ version: '2.25'
171
+ description:
172
+ email:
173
+ - wimdenbraven@persuavis.com
174
+ executables: []
175
+ extensions: []
176
+ extra_rdoc_files: []
177
+ files:
178
+ - ".rspec"
179
+ - ".rubocop.yml"
180
+ - ".yardopts"
181
+ - CHANGELOG.md
182
+ - Gemfile
183
+ - Gemfile.lock
184
+ - LICENSE.txt
185
+ - README.md
186
+ - Rakefile
187
+ - bp3-friendly_id.gemspec
188
+ - lib/bp3-friendly_id.rb
189
+ - lib/bp3/friendly_id.rb
190
+ - lib/bp3/friendly_id/railtie.rb
191
+ - lib/bp3/friendly_id/version.rb
192
+ - sig/bp3/friendly_id.rbs
193
+ homepage: https://www.black-phoebe.com
194
+ licenses:
195
+ - MIT
196
+ metadata:
197
+ allowed_push_host: https://rubygems.org
198
+ homepage_uri: https://www.black-phoebe.com
199
+ source_code_uri: https://github.com/persuavis/bp3-friendly_id
200
+ changelog_uri: https://github.com/persuavis/bp3-friendly_id/blob/main/CHANGELOG.md
201
+ rubygems_mfa_required: 'true'
202
+ post_install_message:
203
+ rdoc_options: []
204
+ require_paths:
205
+ - lib
206
+ required_ruby_version: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: 3.2.0
211
+ required_rubygems_version: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ requirements: []
217
+ rubygems_version: 3.5.11
218
+ signing_key:
219
+ specification_version: 4
220
+ summary: bp3-friendly_id adapts friendly_id for BP3 (persuavis/black_phoebe_3).
221
+ test_files: []