chinese_permalink 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{chinese_permalink}
8
- s.version = "1.2.0"
8
+ s.version = "1.3.0"
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-09-03}
12
+ s.date = %q{2011-10-08}
13
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
14
  s.email = %q{flyerhzm@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -17,26 +17,22 @@ Gem::Specification.new do |s|
17
17
  ]
18
18
  s.files = [
19
19
  ".autotest",
20
- "MIT-LICENSE",
21
- "README.textile",
22
- "Rakefile",
23
- "VERSION",
24
- "chinese_permalink.gemspec",
25
- "generators/chinese_permalink_migration/chinese_permalink_migration_generator.rb",
26
- "generators/chinese_permalink_migration/templates/migration.rb",
27
- "init.rb",
28
- "lib/chinese_permalink.rb",
29
- "rails/init.rb",
30
- "test/chines_permalink_test.rb"
20
+ "MIT-LICENSE",
21
+ "README.textile",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "chinese_permalink.gemspec",
25
+ "generators/chinese_permalink_migration/chinese_permalink_migration_generator.rb",
26
+ "generators/chinese_permalink_migration/templates/migration.rb",
27
+ "init.rb",
28
+ "lib/chinese_permalink.rb",
29
+ "rails/init.rb",
30
+ "test/chines_permalink_test.rb"
31
31
  ]
32
32
  s.homepage = %q{http://github.com/flyerhzm/chinese_permalink}
33
- s.rdoc_options = ["--charset=UTF-8"]
34
33
  s.require_paths = ["lib"]
35
34
  s.rubygems_version = %q{1.6.2}
36
35
  s.summary = %q{This plugin adds a capability for AR model to create a seo permalink with your chinese text.}
37
- s.test_files = [
38
- "test/chines_permalink_test.rb"
39
- ]
40
36
 
41
37
  if s.respond_to? :specification_version then
42
38
  s.specification_version = 3
@@ -3,7 +3,7 @@ require 'net/http'
3
3
  module ChinesePermalink
4
4
  def self.included(base)
5
5
  base.class_eval do
6
- class_inheritable_accessor :permalink_attrs, :permalink_field, :before_methods, :after_methods
6
+ class_attribute :permalink_attrs, :permalink_field, :before_methods, :after_methods
7
7
  end
8
8
  base.extend ClassMethods
9
9
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chinese_permalink
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.0
5
+ version: 1.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Richard Huang
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-03 00:00:00 +08:00
13
+ date: 2011-10-08 00:00:00 +08:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -40,8 +40,8 @@ homepage: http://github.com/flyerhzm/chinese_permalink
40
40
  licenses: []
41
41
 
42
42
  post_install_message:
43
- rdoc_options:
44
- - --charset=UTF-8
43
+ rdoc_options: []
44
+
45
45
  require_paths:
46
46
  - lib
47
47
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -63,5 +63,5 @@ rubygems_version: 1.6.2
63
63
  signing_key:
64
64
  specification_version: 3
65
65
  summary: This plugin adds a capability for AR model to create a seo permalink with your chinese text.
66
- test_files:
67
- - test/chines_permalink_test.rb
66
+ test_files: []
67
+