speaking_id 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.rdoc +8 -2
  2. metadata +34 -7
data/README.rdoc CHANGED
@@ -13,6 +13,10 @@ Add the gem to your project's Gemfile as follows:
13
13
  Then install the gem by running:
14
14
 
15
15
  bundle install
16
+
17
+ Alternatively you can install it as a Rails plugin.
18
+
19
+ rails plugin install git://github.com/venlix/speaking_id.git
16
20
 
17
21
  === Rails 2
18
22
 
@@ -23,8 +27,8 @@ In Rails 2 you can set it up in your environment.rb file.
23
27
  And then install the gem.
24
28
 
25
29
  sudo rake gems:install
26
-
27
- Alternatively you can install it as a Rails plugin.
30
+
31
+ Or as a Rails plugin.
28
32
 
29
33
  script/plugin install git://github.com/venlix/speaking_id.git
30
34
 
@@ -62,3 +66,5 @@ By default, SpeakingId uses a column called "slug". If you want to use a differe
62
66
  has_slug :title, :column => :column_name
63
67
 
64
68
  This works also with the +has_random_slug+ method.
69
+
70
+ The gem also adds an instance method to the String class called +normalize+. The method replaces known special characters and removes unknown characters in a string.
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Martin Jagusch
@@ -14,11 +14,38 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-06 00:00:00 +02:00
17
+ date: 2010-04-15 00:00:00 +02:00
18
18
  default_executable:
19
- dependencies: []
20
-
21
- description: Creates simple and secure slugs from a given string or random slugs.
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: activerecord
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 0
30
+ - 0
31
+ version: 2.0.0
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: activesupport
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 2
43
+ - 0
44
+ - 0
45
+ version: 2.0.0
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ description: Lightweight Ruby on Rails gem to handle slugs for Active Record objects.
22
49
  email: m@venlix.net
23
50
  executables: []
24
51
 
@@ -76,6 +103,6 @@ rubyforge_project:
76
103
  rubygems_version: 1.3.6
77
104
  signing_key:
78
105
  specification_version: 3
79
- summary: Lightweight Ruby on Rails gem to handle slugs for Active Record objects.
106
+ summary: Creates simple and secure slugs from a given string or random slugs.
80
107
  test_files: []
81
108