railhead_permalink 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5644af8bc56be30d9bb8818f3f6875fa301ec71c
4
- data.tar.gz: b1c9488866ca0c075a483135fbeb7cf29b918813
3
+ metadata.gz: 0d405133a464a9ddffa07a2bee89b65935b0c520
4
+ data.tar.gz: 203e8c960c51188b1c021a54746851e5b14828e3
5
5
  SHA512:
6
- metadata.gz: 6a40084fb028e0ac6b79bba9b5a3c11cab309a6b0cbc4e7b973911886606526ea1bf54e3aac9dedaa8afbb4668f010c3c487475e278e7ced3bf601972507d001
7
- data.tar.gz: b747141abb3b2723cbaa1f12d3538eb8079b13306400cc41126df5e56fc77c37d097ce529f92b83a262064733dc162f226e65385d63c0c080b4ed73f707c045a
6
+ metadata.gz: 980d5972ce3b6e68d1e9b7ba561f5a07618b1d48d5463395cc3aa01b63e68106645a2dc325f1adec2f5fc9ffa56b1173b090f5d9ba8baa1b410a40a5b57d1e6c
7
+ data.tar.gz: 2b71750a92e3f3697b09d53aec96665fcc6ea9d78fdeff36c311abde23431f9fbce922ce5708bb9b5d44d7ec222feeb609cad4876278483aa01bb5dc6baa4288
data/README.rdoc CHANGED
@@ -4,13 +4,9 @@ RailheadPermalink is a Ruby on Rails plugin that automatically finds ActiveRecor
4
4
 
5
5
  == Installation
6
6
 
7
- Installation is available as gem (recommended):
7
+ Add to your Gemfile:
8
8
 
9
- config.gem 'railhead_permalink'
10
-
11
- Or as Rails plugin:
12
-
13
- $ ruby script/plugin install git://github.com/nagybence/railhead_permalink.git
9
+ gem 'railhead_permalink'
14
10
 
15
11
  == Usage
16
12
 
@@ -24,12 +20,12 @@ Setup permalink for your ActiceRecord object:
24
20
 
25
21
  You can setup reserved names too:
26
22
 
27
- auto_permalink :title, :reserved_names => %w(reserved names)
23
+ auto_permalink :title, reserved_names: %w(reserved names)
28
24
 
29
25
  You can keep already existing permalinks:
30
26
 
31
- auto_permalink :title, :keep_existing => true
27
+ auto_permalink :title, keep_existing: true
32
28
 
33
29
  == License
34
30
 
35
- Copyright (c) 2008-2009 Bence Nagy (nagybence@tipogral.hu), released under the MIT license.
31
+ Copyright (c) 2008-2015 Bence Nagy (bence.nagy@gmail.com), released under the MIT license.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "railhead_permalink"
3
- s.version = "0.2.3"
3
+ s.version = "0.2.5"
4
4
  s.date = "2015-02-23"
5
5
  s.summary = "RailheadPermalink is a Ruby on Rails plugin that automatically finds ActiveRecord objects with permalink."
6
6
  s.email = "bence.nagy@gmail.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railhead_permalink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bence Nagy