friendly_id 3.3.0.1 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -6,6 +6,10 @@ suggestions, ideas and improvements to FriendlyId.
6
6
  * Table of Contents
7
7
  {:toc}
8
8
 
9
+ ## 3.1.1 (2011-12-12)
10
+
11
+ * Fix for "can't modify frozen hash" on 3.1 ([Theo Cushion](https://github.com/theozaurus))
12
+
9
13
  ## 3.3.0 (2011-08-31)
10
14
 
11
15
  * Support for Active Record 2.3 dropped
data/README.md CHANGED
@@ -17,7 +17,7 @@ instead of:
17
17
  FriendlyId offers many advanced features, including: slug history and
18
18
  versioning, scoped slugs, reserved words, custom slug generators, and
19
19
  excellent Unicode support. For complete information on using FriendlyId,
20
- please see the [FriendlyId Guide](http://norman.github.com/friendly_id/file.Guide.html).
20
+ please see the [FriendlyId Guide](https://github.com/norman/friendly_id/blob/3.x/Guide.md)
21
21
 
22
22
  ## Compatibility
23
23
 
@@ -36,8 +36,7 @@ released by September, 2011.
36
36
 
37
37
  ## Docs, Info and Support
38
38
 
39
- * [FriendlyId Guide](http://norman.github.com/friendly_id/file.Guide.html)
40
- * [API Docs](http://norman.github.com/friendly_id)
39
+ * [FriendlyId Guide](https://github.com/norman/friendly_id/blob/3.x/Guide.md)
41
40
  * [Source Code](http://github.com/norman/friendly_id/)
42
41
  * [Issue Tracker](http://github.com/norman/friendly_id/issues)
43
42
 
@@ -4,8 +4,8 @@ module FriendlyId
4
4
 
5
5
  def self.included(base)
6
6
  base.class_eval do
7
- has_many :slugs, :order => 'id DESC', :as => :sluggable, :dependent => :destroy
8
7
  has_one :slug, :order => 'id DESC', :as => :sluggable, :dependent => :nullify
8
+ has_many :slugs, :order => 'id DESC', :as => :sluggable, :dependent => :destroy
9
9
  before_save :build_a_slug
10
10
  after_save :set_slug_cache
11
11
  after_update :update_scope
@@ -2,8 +2,8 @@ module FriendlyId
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 3
5
- TINY = 0
6
- BUILD = 1
5
+ TINY = 1
6
+ BUILD = nil
7
7
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
8
8
  end
9
9
  end
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: 3.3.0.1
4
+ version: 3.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,12 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2011-08-31 00:00:00.000000000 -03:00
15
- default_executable:
14
+ date: 2011-12-12 00:00:00.000000000 Z
16
15
  dependencies:
17
16
  - !ruby/object:Gem::Dependency
18
17
  name: babosa
19
- requirement: &70155981374180 !ruby/object:Gem::Requirement
18
+ requirement: &70225690142080 !ruby/object:Gem::Requirement
20
19
  none: false
21
20
  requirements:
22
21
  - - ~>
@@ -24,10 +23,10 @@ dependencies:
24
23
  version: 0.3.0
25
24
  type: :runtime
26
25
  prerelease: false
27
- version_requirements: *70155981374180
26
+ version_requirements: *70225690142080
28
27
  - !ruby/object:Gem::Dependency
29
28
  name: activerecord
30
- requirement: &70155981373480 !ruby/object:Gem::Requirement
29
+ requirement: &70225690140260 !ruby/object:Gem::Requirement
31
30
  none: false
32
31
  requirements:
33
32
  - - ~>
@@ -35,10 +34,10 @@ dependencies:
35
34
  version: '3.0'
36
35
  type: :development
37
36
  prerelease: false
38
- version_requirements: *70155981373480
37
+ version_requirements: *70225690140260
39
38
  - !ruby/object:Gem::Dependency
40
39
  name: mocha
41
- requirement: &70155981372860 !ruby/object:Gem::Requirement
40
+ requirement: &70225690139000 !ruby/object:Gem::Requirement
42
41
  none: false
43
42
  requirements:
44
43
  - - ~>
@@ -46,10 +45,10 @@ dependencies:
46
45
  version: '0.9'
47
46
  type: :development
48
47
  prerelease: false
49
- version_requirements: *70155981372860
48
+ version_requirements: *70225690139000
50
49
  - !ruby/object:Gem::Dependency
51
50
  name: sqlite3
52
- requirement: &70155981372000 !ruby/object:Gem::Requirement
51
+ requirement: &70225690138340 !ruby/object:Gem::Requirement
53
52
  none: false
54
53
  requirements:
55
54
  - - ~>
@@ -57,10 +56,10 @@ dependencies:
57
56
  version: '1.3'
58
57
  type: :development
59
58
  prerelease: false
60
- version_requirements: *70155981372000
59
+ version_requirements: *70225690138340
61
60
  - !ruby/object:Gem::Dependency
62
61
  name: rake
63
- requirement: &70155981371220 !ruby/object:Gem::Requirement
62
+ requirement: &70225690157500 !ruby/object:Gem::Requirement
64
63
  none: false
65
64
  requirements:
66
65
  - - ~>
@@ -68,7 +67,7 @@ dependencies:
68
67
  version: 0.9.2
69
68
  type: :development
70
69
  prerelease: false
71
- version_requirements: *70155981371220
70
+ version_requirements: *70225690157500
72
71
  description: ! " FriendlyId is the \"Swiss Army bulldozer\" of slugging and permalink
73
72
  plugins\n for Ruby on Rails. It allows you to create pretty URL's and work with\n
74
73
  \ human-friendly strings as if they were numeric ids for ActiveRecord models.\n"
@@ -139,7 +138,6 @@ files:
139
138
  - extras/template-gem.rb
140
139
  - extras/template-plugin.rb
141
140
  - .gemtest
142
- has_rdoc: true
143
141
  homepage: http://norman.github.com/friendly_id
144
142
  licenses: []
145
143
  post_install_message: ! " FriendlyId 3.3.x is now in long-term maintanence. For
@@ -154,9 +152,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
152
  - - ! '>='
155
153
  - !ruby/object:Gem::Version
156
154
  version: '0'
157
- segments:
158
- - 0
159
- hash: -124065484793691993
160
155
  required_rubygems_version: !ruby/object:Gem::Requirement
161
156
  none: false
162
157
  requirements:
@@ -165,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
160
  version: '0'
166
161
  requirements: []
167
162
  rubyforge_project: friendly-id
168
- rubygems_version: 1.6.2
163
+ rubygems_version: 1.8.10
169
164
  signing_key:
170
165
  specification_version: 3
171
166
  summary: A comprehensive slugging and pretty-URL plugin.