spingying 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spingying/acts_as_spingying.rb +3 -1
- data/lib/spingying/version.rb +1 -1
- metadata +25 -5
@@ -18,7 +18,9 @@ module Spingying
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def generate_pingying
|
21
|
-
|
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
|
data/lib/spingying/version.rb
CHANGED
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
|
-
|
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-
|
18
|
+
date: 2011-05-15 00:00:00 +08:00
|
14
19
|
default_executable:
|
15
20
|
dependencies: []
|
16
21
|
|
17
|
-
description:
|
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.
|
81
|
+
rubygems_version: 1.6.0
|
64
82
|
signing_key:
|
65
83
|
specification_version: 3
|
66
|
-
summary:
|
84
|
+
summary: !binary |
|
85
|
+
5Li65oKo6Ieq5Yqo55Sf5Lqn5rGJ5a2X5ou86Z+z5a2X5q+N
|
86
|
+
|
67
87
|
test_files: []
|
68
88
|
|