spingying 0.1.0 → 0.1.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.
@@ -18,7 +18,9 @@ module Spingying
18
18
  end
19
19
 
20
20
  def generate_pingying
21
- send("#{self.class.spingying_field}=",CoreExt.get_pinying(self.send(pingyingable_field)))
21
+ if !self.send(pingyingable_field).nil?
22
+ send("#{self.class.spingying_field}=",CoreExt.get_pinying(self.send(pingyingable_field)))
23
+ end
22
24
  end
23
25
 
24
26
  module InstanceMethods
@@ -2,7 +2,7 @@ module Spingying
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
  BUILD = (ENV["BUILD"].nil? ? "" : ENV["BUILD"]).strip
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.') + BUILD
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spingying
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 25
4
5
  prerelease:
5
- version: 0.1.0
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
6
11
  platform: ruby
7
12
  authors:
8
13
  - Sephen kong
@@ -10,11 +15,16 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-05-12 00:00:00 +08:00
18
+ date: 2011-05-15 00:00:00 +08:00
14
19
  default_executable:
15
20
  dependencies: []
16
21
 
17
- description: "spingying\xE7\x94\xA8\xE4\xBA\x8EActiveRecord\xE4\xBF\x9D\xE5\xAD\x98\xE6\xB1\x89\xE5\xAD\x97\xE5\xAD\x97\xE6\xAE\xB5\xE6\x97\xB6\xE8\x87\xAA\xE5\x8A\xA8\xE7\x94\x9F\xE6\x88\x90\xE9\xA6\x96\xE5\xAD\x97\xE6\xAF\x8D\xE6\x8B\xBC\xE9\x9F\xB3.\xE6\xAF\x94\xE5\xA6\x82\"\xE8\x9C\x82\xE9\xB8\x9F\"\xE5\x8F\xAF\xE8\xBD\xAC\xE6\x88\x90\"fn\",\xE4\xBB\xA5\xE4\xBE\xBF\xE4\xBA\x8E\xE6\xB1\x89\xE5\xAD\x97\xE6\x8C\x89\xE9\x94\xAE\xE7\x9B\x98\xE5\xAD\x97\xE6\xAF\x8D\xE5\xBF\xAB\xE9\x80\x9F\xE6\x90\x9C\xE7\xB4\xA2\xE6\x8E\x92\xE5\xBA\x8F"
22
+ description: !binary |
23
+ c3Bpbmd5aW5n55So5LqOQWN0aXZlUmVjb3Jk5L+d5a2Y5rGJ5a2X5a2X5q61
24
+ 5pe26Ieq5Yqo55Sf5oiQ6aaW5a2X5q+N5ou86Z+zLuavlOWmgiLonILpuJ8i
25
+ 5Y+v6L2s5oiQImZuIizku6Xkvr/kuo7msYnlrZfmjInplK7nm5jlrZfmr43l
26
+ v6vpgJ/mkJzntKLmjpLluo8=
27
+
18
28
  email: wear63659220@gmail.com
19
29
  executables: []
20
30
 
@@ -50,19 +60,29 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
60
  requirements:
51
61
  - - ">="
52
62
  - !ruby/object:Gem::Version
63
+ hash: 3
64
+ segments:
65
+ - 0
53
66
  version: "0"
54
67
  required_rubygems_version: !ruby/object:Gem::Requirement
55
68
  none: false
56
69
  requirements:
57
70
  - - ">="
58
71
  - !ruby/object:Gem::Version
72
+ hash: 23
73
+ segments:
74
+ - 1
75
+ - 3
76
+ - 6
59
77
  version: 1.3.6
60
78
  requirements: []
61
79
 
62
80
  rubyforge_project:
63
- rubygems_version: 1.6.2
81
+ rubygems_version: 1.6.0
64
82
  signing_key:
65
83
  specification_version: 3
66
- summary: "\xE4\xB8\xBA\xE6\x82\xA8\xE8\x87\xAA\xE5\x8A\xA8\xE7\x94\x9F\xE4\xBA\xA7\xE6\xB1\x89\xE5\xAD\x97\xE6\x8B\xBC\xE9\x9F\xB3\xE5\xAD\x97\xE6\xAF\x8D"
84
+ summary: !binary |
85
+ 5Li65oKo6Ieq5Yqo55Sf5Lqn5rGJ5a2X5ou86Z+z5a2X5q+N
86
+
67
87
  test_files: []
68
88