chinese_permalink 1.3.0 → 1.3.1

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{chinese_permalink}
8
- s.version = "1.3.0"
7
+ s.name = "chinese_permalink"
8
+ s.version = "1.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Richard Huang"]
12
- s.date = %q{2011-10-08}
13
- s.description = %q{This plugin adds a capability for AR model to create a seo permalink with your chinese text. It will translate your chinese text to english url based on google translate.}
14
- s.email = %q{flyerhzm@gmail.com}
12
+ s.date = "2011-10-26"
13
+ s.description = "This plugin adds a capability for AR model to create a seo permalink with your chinese text. It will translate your chinese text to english url based on google translate."
14
+ s.email = "flyerhzm@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "README.textile"
17
17
  ]
@@ -29,10 +29,10 @@ Gem::Specification.new do |s|
29
29
  "rails/init.rb",
30
30
  "test/chines_permalink_test.rb"
31
31
  ]
32
- s.homepage = %q{http://github.com/flyerhzm/chinese_permalink}
32
+ s.homepage = "http://github.com/flyerhzm/chinese_permalink"
33
33
  s.require_paths = ["lib"]
34
- s.rubygems_version = %q{1.6.2}
35
- s.summary = %q{This plugin adds a capability for AR model to create a seo permalink with your chinese text.}
34
+ s.rubygems_version = "1.8.10"
35
+ s.summary = "This plugin adds a capability for AR model to create a seo permalink with your chinese text."
36
36
 
37
37
  if s.respond_to? :specification_version then
38
38
  s.specification_version = 3
data/init.rb CHANGED
@@ -1 +1 @@
1
- ActiveRecord::Base.send :include, ChinesePermalink
1
+ require File.join(File.dirname(__FILE__), 'rails', 'init')
@@ -82,3 +82,5 @@ module ChinesePermalink
82
82
  end
83
83
  end
84
84
  end
85
+
86
+ ActiveRecord::Base.send :include, ChinesePermalink
@@ -1 +1 @@
1
- ActiveRecord::Base.send :include, ChinesePermalink
1
+ require File.join(File.dirname(__FILE__), 'rails', 'init')
metadata CHANGED
@@ -1,28 +1,25 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: chinese_permalink
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.1
4
5
  prerelease:
5
- version: 1.3.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Richard Huang
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-10-08 00:00:00 +08:00
14
- default_executable:
12
+ date: 2011-10-26 00:00:00.000000000Z
15
13
  dependencies: []
16
-
17
- description: This plugin adds a capability for AR model to create a seo permalink with your chinese text. It will translate your chinese text to english url based on google translate.
14
+ description: This plugin adds a capability for AR model to create a seo permalink
15
+ with your chinese text. It will translate your chinese text to english url based
16
+ on google translate.
18
17
  email: flyerhzm@gmail.com
19
18
  executables: []
20
-
21
19
  extensions: []
22
-
23
- extra_rdoc_files:
20
+ extra_rdoc_files:
24
21
  - README.textile
25
- files:
22
+ files:
26
23
  - .autotest
27
24
  - MIT-LICENSE
28
25
  - README.textile
@@ -35,33 +32,29 @@ files:
35
32
  - lib/chinese_permalink.rb
36
33
  - rails/init.rb
37
34
  - test/chines_permalink_test.rb
38
- has_rdoc: true
39
35
  homepage: http://github.com/flyerhzm/chinese_permalink
40
36
  licenses: []
41
-
42
37
  post_install_message:
43
38
  rdoc_options: []
44
-
45
- require_paths:
39
+ require_paths:
46
40
  - lib
47
- required_ruby_version: !ruby/object:Gem::Requirement
41
+ required_ruby_version: !ruby/object:Gem::Requirement
48
42
  none: false
49
- requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: "0"
53
- required_rubygems_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
48
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- version: "0"
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
59
53
  requirements: []
60
-
61
54
  rubyforge_project:
62
- rubygems_version: 1.6.2
55
+ rubygems_version: 1.8.10
63
56
  signing_key:
64
57
  specification_version: 3
65
- summary: This plugin adds a capability for AR model to create a seo permalink with your chinese text.
58
+ summary: This plugin adds a capability for AR model to create a seo permalink with
59
+ your chinese text.
66
60
  test_files: []
67
-