aslakjo-comatose 2.0.5.11 → 2.0.5.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/comatose.gemspec +1 -1
  2. data/lib/comatose_page.rb +1 -1
  3. metadata +1 -1
@@ -1,7 +1,7 @@
1
1
  # Generated on Tue May 20 20:13:12 -0500 2008
2
2
  Gem::Specification.new do |s|
3
3
  s.name = "aslakjo-comatose"
4
- s.version = "2.0.5.11"
4
+ s.version = "2.0.5.12"
5
5
  s.date = "2008-10-31" # 2008-05-20
6
6
  s.summary = "Micro CMS designed for being embedded into existing Rails applications"
7
7
  s.email = "matt@elucidata.net"
@@ -32,7 +32,7 @@ class ComatosePage < ActiveRecord::Base
32
32
  # Create slug from title
33
33
  if record.slug.blank? and !record.title.blank?
34
34
  striped_title = record.title.downcase.lstrip.rstrip
35
- ComatosePage.slugize_foreign_leters(striped_title)
35
+ striped_title = ComatosePage.slugize_foreign_leters(striped_title)
36
36
  record.slug = striped_title.gsub( /[^-a-z0-9~\s\.:;+=_]/, '').gsub(/[\s\.:;=_+]+/, '-').gsub(/[\-]{2,}/, '-').to_s
37
37
  end
38
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aslakjo-comatose
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5.11
4
+ version: 2.0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - M@ McCray