friendly_id-mobility 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da48ff2e6d8e7b0ea037e9a03b0b4c2988daf268adda2aac5193963d05bb4e27
4
- data.tar.gz: ee15149efe01574a05a189f77b89bd0bb0339e00cb797636358f4aaa023e2766
3
+ metadata.gz: c089209f9e5ea3862e403ad58d1cc6702fe8d7c4f5381db463e5a42f41d193e3
4
+ data.tar.gz: d9350b6980866f9a8c19806dbaf743ef3c59e1ca2525daad006c1fb1e9a42cc2
5
5
  SHA512:
6
- metadata.gz: 2e726d2b956f6f89d9fcca3b65d9d52aa230308417086edc4de21c75b4f9fb5467c8b3239a4c841e563a4d567e6d7ee06d8bcf4f81f88ee1da392411106f7a2a
7
- data.tar.gz: fffd9dbacbdef0cca9736f8528a9055a48d73ac2f1f5c9ac4ac8859b4036b479db822222af54e65c57b7d230b9ce74316e0e8872d86f1f2eceb3c0f52857b48c
6
+ metadata.gz: b90a44acb388f6b62154bff32d71f51680690858c26fc260dc25e55483a2dfd95d8cd2f4fa5c10629db94fa50dbd1c1af591847ff718eba5db9d4b85ccdcdd43
7
+ data.tar.gz: 233dc0e6675cb19d9879beeeaeb2aa658df612e1f73c6d660e4e0ca01d8cf097e6c65b71d6aefd3c12757fd1a32202d8b8f1c2d034a52b3f728347e5f319faef
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## 1.0
4
4
 
5
+ ### 1.0.5
6
+ * Update CI matrix to be inline with mobility
7
+ * Remove Ruby 3.1, Rails 7.0/7.1 from CI matrix
8
+ * Fix unsupported/explicit after: :scope in migration
9
+
5
10
  ### 1.0.4
6
11
  * Convert field from symbol to string value when comparing with
7
12
  `mobility_attributes`
data/Gemfile CHANGED
@@ -4,15 +4,9 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  group :development, :test do
7
- gem 'rake'
7
+ gem 'sqlite3'
8
8
 
9
- if ENV['RAILS_VERSION'] && ENV['RAILS_VERSION'] < '5.2'
10
- gem 'sqlite3', '~> 1.3.13'
11
- else
12
- gem 'sqlite3'
13
- end
14
-
15
- gem 'rails', "~> #{ENV['RAILS_VERSION'] || '6.0'}.0"
9
+ gem 'rails', "~> #{ENV['RAILS_VERSION'] || '7.0'}.0"
16
10
 
17
11
  gem 'pry'
18
12
  gem 'pry-byebug'
data/README.md CHANGED
@@ -18,7 +18,7 @@ Installation
18
18
  Add this line to your application's Gemfile:
19
19
 
20
20
  ```ruby
21
- gem 'friendly_id-mobility', '~> 1.0.4'
21
+ gem 'friendly_id-mobility', '~> 1.0.5'
22
22
  ```
23
23
 
24
24
  And then execute:
@@ -1,5 +1,5 @@
1
1
  module FriendlyId
2
2
  module Mobility
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  class AddLocaleToFriendlyIdSlugs < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
2
2
  def change
3
- add_column :friendly_id_slugs, :locale, :string, null: :false, after: :scope
3
+ add_column :friendly_id_slugs, :locale, :string, null: :false
4
4
 
5
5
  remove_index :friendly_id_slugs, [:slug, :sluggable_type]
6
6
  add_index :friendly_id_slugs, [:slug, :sluggable_type, :locale], length: { slug: 140, sluggable_type: 50, locale: 2 }
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: friendly_id-mobility
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Salzberg
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-02-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: mobility
@@ -39,7 +38,7 @@ dependencies:
39
38
  version: 5.0.0
40
39
  - - "<"
41
40
  - !ruby/object:Gem::Version
42
- version: '5.5'
41
+ version: '5.6'
43
42
  type: :runtime
44
43
  prerelease: false
45
44
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +48,7 @@ dependencies:
49
48
  version: 5.0.0
50
49
  - - "<"
51
50
  - !ruby/object:Gem::Version
52
- version: '5.5'
51
+ version: '5.6'
53
52
  - !ruby/object:Gem::Dependency
54
53
  name: rake
55
54
  requirement: !ruby/object:Gem::Requirement
@@ -112,7 +111,6 @@ dependencies:
112
111
  - - "~>"
113
112
  - !ruby/object:Gem::Version
114
113
  version: 0.9.3
115
- description:
116
114
  email:
117
115
  - chris@dejimata.com
118
116
  executables: []
@@ -134,7 +132,6 @@ homepage: https://github.com/shioyama/friendly_id-mobility
134
132
  licenses:
135
133
  - MIT
136
134
  metadata: {}
137
- post_install_message:
138
135
  rdoc_options: []
139
136
  require_paths:
140
137
  - lib
@@ -149,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
146
  - !ruby/object:Gem::Version
150
147
  version: '0'
151
148
  requirements: []
152
- rubygems_version: 3.3.7
153
- signing_key:
149
+ rubygems_version: 3.7.2
154
150
  specification_version: 4
155
151
  summary: Translate your FriendlyId slugs with Mobility.
156
152
  test_files: []