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 +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile +2 -8
- data/README.md +1 -1
- data/lib/friendly_id/mobility/version.rb +1 -1
- data/lib/generators/templates/migration.rb +1 -1
- metadata +5 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c089209f9e5ea3862e403ad58d1cc6702fe8d7c4f5381db463e5a42f41d193e3
|
|
4
|
+
data.tar.gz: d9350b6980866f9a8c19806dbaf743ef3c59e1ca2525daad006c1fb1e9a42cc2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 '
|
|
7
|
+
gem 'sqlite3'
|
|
8
8
|
|
|
9
|
-
|
|
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
|
@@ -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
|
|
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
|
+
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:
|
|
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.
|
|
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.
|
|
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.
|
|
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: []
|