open_taobao 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -20,7 +20,7 @@ Run generate to complete install:
20
20
 
21
21
  $ rails g open_taobao:install
22
22
 
23
- this will create taobao.yml in your config/ directory.
23
+ 在你的`Rails`项目的`config`目录下会生成一个`taobao.yml`文件,
24
24
  打开taobao.yml文件,设置你自己的`app_key`, `secret_key`, 淘宝客的`pid`
25
25
 
26
26
  ## Usage
@@ -33,7 +33,7 @@ this will create taobao.yml in your config/ directory.
33
33
  :parent_cid => 0
34
34
  )
35
35
 
36
- 返回内容将自动转化微hash格式。
36
+ 返回内容将自动转化为hash格式。
37
37
 
38
38
  ## Contributing
39
39
 
@@ -1,3 +1,3 @@
1
1
  module OpenTaobao
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -108,14 +108,14 @@ describe OpenTaobao do
108
108
 
109
109
  it "should parse result data" do
110
110
  data = '
111
- "item_get_response": {
111
+ {"item_get_response": {
112
112
  "item": {
113
113
  "item_imgs": {
114
114
  "item_img": [
115
115
  ]
116
116
  }
117
117
  }
118
- }
118
+ }}
119
119
  '
120
120
 
121
121
  OpenTaobao.parse_result(data).should == {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_taobao
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: