yury-acts-as-taggable-on 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/acts_as_taggable_on/tag.rb +1 -1
  2. metadata +2 -2
@@ -5,7 +5,7 @@ class Tag < ActiveRecord::Base
5
5
  validates_uniqueness_of :name
6
6
 
7
7
  def self.cleanup(name)
8
- n = name.to_s.downcase.gsub(/[^a-z0-9_-]+/, '').strip
8
+ n = name.to_s.downcase.gsub(/[^а-яa-z0-9_-]+/, '').strip
9
9
  n.blank? ? nil : n
10
10
  end
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yury-acts-as-taggable-on
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-06 00:00:00 -08:00
12
+ date: 2009-04-02 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15