friendly_id 5.0.0.beta2 → 5.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +12 -0
- data/friendly_id.gemspec +5 -4
- data/lib/friendly_id/migration.rb +1 -1
- data/lib/friendly_id/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7dc57b3098c5b155bf109e9cefccf404bce14e5
|
4
|
+
data.tar.gz: 2958d34628cca3ae7c93fc828d10ec11da863a47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa871391245ae44af48c1e6676681f169ebf25a4d922a871e1d68344cab69705c5f63464caf1bfa0f4bb37f80ff6be45569005ea5b26fb1629477046285834b2
|
7
|
+
data.tar.gz: 2c4658fea02b39fea957a833ce3e533abaa9273c29d77af9a7f720099130fe3c63e6c4f4394217af2166d1477a1ff83251a3cab5c670fb6861f748c5718b6c11
|
data/Changelog.md
CHANGED
@@ -3,6 +3,14 @@
|
|
3
3
|
We would like to think our many {file:Contributors contributors} for
|
4
4
|
suggestions, ideas and improvements to FriendlyId.
|
5
5
|
|
6
|
+
## 5.0.0.beta3 (2013-08-20)
|
7
|
+
|
8
|
+
* Update gemspec to ensure FriendlyId 5.0 is only used with AR 4.0.x.
|
9
|
+
|
10
|
+
## 5.0.0.beta2 (2013-08-16)
|
11
|
+
|
12
|
+
* Add "finders" module to easily restore FriendlyId 4.0 finder behavior.
|
13
|
+
|
6
14
|
## 5.0.0.beta1 (2013-08-10)
|
7
15
|
|
8
16
|
* Support for Rails 4.
|
@@ -15,6 +23,10 @@ suggestions, ideas and improvements to FriendlyId.
|
|
15
23
|
* Support for Globalize has been removed until Globalize supports Rails 4.
|
16
24
|
* Removed upport for Ruby < 1.9.3 and Rails < 4.0.
|
17
25
|
|
26
|
+
## 4.0.10.1 (2013-08-20)
|
27
|
+
|
28
|
+
* Update dependencies in gemspec to avoid using with Active Record 4.
|
29
|
+
* Fixed links in docs.
|
18
30
|
|
19
31
|
## 4.0.10 (2013-08-10)
|
20
32
|
|
data/friendly_id.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.version = FriendlyId::VERSION
|
7
7
|
s.authors = ["Norman Clarke", "Philip Arndt"]
|
8
8
|
s.email = ["norman@njclarke.com", "p@arndt.io"]
|
9
|
-
s.homepage = "http://github.com/
|
9
|
+
s.homepage = "http://github.com/norman/friendly_id"
|
10
10
|
s.summary = "A comprehensive slugging and pretty-URL plugin."
|
11
11
|
s.rubyforge_project = "friendly_id"
|
12
12
|
s.files = `git ls-files`.split("\n")
|
@@ -16,8 +16,9 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.required_ruby_version = '>= 1.9.3'
|
18
18
|
|
19
|
+
s.add_dependency 'activerecord', '~> 4.0.0'
|
20
|
+
|
19
21
|
s.add_development_dependency 'railties', '~> 4.0.0'
|
20
|
-
s.add_development_dependency 'activerecord', '~> 4.0.0'
|
21
22
|
s.add_development_dependency 'minitest', '>= 4.4.0'
|
22
23
|
s.add_development_dependency 'mocha', '~> 0.13.3'
|
23
24
|
s.add_development_dependency 'yard'
|
@@ -28,7 +29,7 @@ Gem::Specification.new do |s|
|
|
28
29
|
|
29
30
|
s.description = <<-EOM
|
30
31
|
FriendlyId is the "Swiss Army bulldozer" of slugging and permalink plugins for
|
31
|
-
|
32
|
-
strings as if they were numeric ids
|
32
|
+
Active Record. It lets you create pretty URLs and work with human-friendly
|
33
|
+
strings as if they were numeric ids.
|
33
34
|
EOM
|
34
35
|
end
|
@@ -4,7 +4,7 @@ class CreateFriendlyIdSlugs < ActiveRecord::Migration
|
|
4
4
|
create_table :friendly_id_slugs do |t|
|
5
5
|
t.string :slug, :null => false
|
6
6
|
t.integer :sluggable_id, :null => false
|
7
|
-
t.string :sluggable_type, :limit =>
|
7
|
+
t.string :sluggable_type, :limit => 50
|
8
8
|
t.string :scope
|
9
9
|
t.datetime :created_at
|
10
10
|
end
|
data/lib/friendly_id/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: friendly_id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0.
|
4
|
+
version: 5.0.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Norman Clarke
|
@@ -9,16 +9,16 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: activerecord
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 4.0.0
|
21
|
-
type: :
|
21
|
+
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 4.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: railties
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
@@ -139,8 +139,8 @@ dependencies:
|
|
139
139
|
version: '0'
|
140
140
|
description: |
|
141
141
|
FriendlyId is the "Swiss Army bulldozer" of slugging and permalink plugins for
|
142
|
-
|
143
|
-
strings as if they were numeric ids
|
142
|
+
Active Record. It lets you create pretty URLs and work with human-friendly
|
143
|
+
strings as if they were numeric ids.
|
144
144
|
email:
|
145
145
|
- norman@njclarke.com
|
146
146
|
- p@arndt.io
|
@@ -201,7 +201,7 @@ files:
|
|
201
201
|
- test/simple_i18n_test.rb
|
202
202
|
- test/slugged_test.rb
|
203
203
|
- test/sti_test.rb
|
204
|
-
homepage: http://github.com/
|
204
|
+
homepage: http://github.com/norman/friendly_id
|
205
205
|
licenses:
|
206
206
|
- MIT
|
207
207
|
metadata: {}
|