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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b51c8b6945cfbfdb04e4d83b6ae72e171a18947
4
- data.tar.gz: 8faf6354831c3abc991fe515338aa76a2098cd28
3
+ metadata.gz: b4f99a905e1b2c57169901565f565febec84b673
4
+ data.tar.gz: 9a61756f64068b77af37442b43410ac58cd9f2b9
5
5
  SHA512:
6
- metadata.gz: 391d0a0d9e78319e18cdc99ddf3b3419293a76321b7d7c45da8f65662968993951570f9cc6ed0593e92de9ec4825efee3ad61e3a4ce7142cd9eff225455a5509
7
- data.tar.gz: 82d40ae082ed44dc2a742faaf93af442fe2e9fa7b0ba7add77da829ce3049618e9dfad4e4b967c6ab9ff3b1e58af3c284b9ea8724f754bbd773ca74e522d33a9
6
+ metadata.gz: d56f68ae5a32df021057cb2e7e8674c5fee4a5aa4798ab8275cefa83e6ce7ca865af3a276e756c4b307fb56174fe8caddd53a20ce41f3caec0fde5cb5afbfd01
7
+ data.tar.gz: 110371836ae8b88626c8a4cf2970c9e44548f8174b1aec5d623b15adb2fa9fb90720b435ded6e218d5c827df3888f69b563547d72b1c1e1c03f29b3d3018ff8c
@@ -1,5 +1,10 @@
1
1
  # FriendlyId Mobility Changelog
2
2
 
3
+ ## 0.4
4
+
5
+ ### 0.4.0
6
+ * Update Mobility dependency to 0.2.x
7
+
3
8
  ## 0.3
4
9
 
5
10
  ### 0.3.1
data/README.md CHANGED
@@ -67,7 +67,7 @@ table named `name`):
67
67
 
68
68
  ```ruby
69
69
  class Journalist < ActiveRecord::Base
70
- include Mobility
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
- include Mobility
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
- include Mobility
152
+ extend Mobility
153
153
  translates :slug, :title, dirty: true
154
154
 
155
155
  extend FriendlyId
@@ -1,5 +1,5 @@
1
1
  module FriendlyId
2
2
  module Mobility
3
- VERSION = "0.3.1"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
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.3.1
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-06-22 00:00:00.000000000 Z
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.1.13
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.1.13
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.12
163
+ rubygems_version: 2.6.11
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: Translate your FriendlyId slugs with Mobility.