friendly_id-mobility 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -3
- data/lib/friendly_id/mobility/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4f99a905e1b2c57169901565f565febec84b673
|
4
|
+
data.tar.gz: 9a61756f64068b77af37442b43410ac58cd9f2b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d56f68ae5a32df021057cb2e7e8674c5fee4a5aa4798ab8275cefa83e6ce7ca865af3a276e756c4b307fb56174fe8caddd53a20ce41f3caec0fde5cb5afbfd01
|
7
|
+
data.tar.gz: 110371836ae8b88626c8a4cf2970c9e44548f8174b1aec5d623b15adb2fa9fb90720b435ded6e218d5c827df3888f69b563547d72b1c1e1c03f29b3d3018ff8c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -67,7 +67,7 @@ table named `name`):
|
|
67
67
|
|
68
68
|
```ruby
|
69
69
|
class Journalist < ActiveRecord::Base
|
70
|
-
|
70
|
+
extend Mobility
|
71
71
|
translates :slug
|
72
72
|
|
73
73
|
extend FriendlyId
|
@@ -96,7 +96,7 @@ You can also translate both slug and base attribute:
|
|
96
96
|
|
97
97
|
```ruby
|
98
98
|
class Article < ActiveRecord::Base
|
99
|
-
|
99
|
+
extend Mobility
|
100
100
|
translates :slug, :title, dirty: true
|
101
101
|
|
102
102
|
extend FriendlyId
|
@@ -149,7 +149,7 @@ calling `friendly_id` from your model:
|
|
149
149
|
|
150
150
|
```ruby
|
151
151
|
class Article < ActiveRecord::Base
|
152
|
-
|
152
|
+
extend Mobility
|
153
153
|
translates :slug, :title, dirty: true
|
154
154
|
|
155
155
|
extend FriendlyId
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: friendly_id-mobility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Salzberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mobility
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: friendly_id
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.6.
|
163
|
+
rubygems_version: 2.6.11
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: Translate your FriendlyId slugs with Mobility.
|