weichat_rails 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da3b102f911b8cf003da0e86d0e77421932b5c4d
4
- data.tar.gz: ac897e8c4fdfa1007db6ba9747506611ecae4b84
3
+ metadata.gz: 567fea986c06c08dcff0a914cb84576178277f74
4
+ data.tar.gz: b9f6efb6e7fefb6f515beef9919f53e9d63dd9d9
5
5
  SHA512:
6
- metadata.gz: 40f9a9f4041cdf322c20b44a50920bc2185268b1047d3fee1a0d5bfb2ad69c15b3413a7189b5fd5a043e45891f1a996faa5a0ca8893550db10f9653fb47923c9
7
- data.tar.gz: feac5322c1db96fc08ef1fbba3f97a6cb8e52a58e4f4884ec1c46a820b81a84a4e0e34598fa3b9e6816d40e1bbec4d0bfc5a83d19459de510f14d80d612160f7
6
+ metadata.gz: a821a2b69becf59201034457e40c8048e580581c5aaa98882dc1c8adf6402c85cbcd58f8e8004378358060060e5d02d77d55bd303dd88c4e62aa93a265518566
7
+ data.tar.gz: b56494932247b5cf9096df3ba426a64b31c8f9f036da578c23c2b259247fc23d1e08d16c4c243bc199fffacc1701dcff45abd84237b79c00966a5868472ee00b
@@ -49,7 +49,7 @@ class WeichatRails::Api
49
49
  end
50
50
 
51
51
  def get_duokefu_records time,pageindex
52
- json_str = JSON.generate({starttime: time.beginning_of_day.to_i,endtime: time.end_of_day.to_i,pagesize: 50,pageindex: pageindex})
52
+ json_str = JSON.generate({starttime: time.beginning_of_day.to_i,endtime: time.end_of_day.to_i,pagesize: 20,pageindex: pageindex})
53
53
  post("msgrecord/getrecord",json_str,base: KEFU_BASE)
54
54
  end
55
55
 
@@ -141,7 +141,7 @@ module WeichatRails
141
141
  end
142
142
 
143
143
  def post_xml
144
- data = Hash.from_xml(reqest.raw_post)
144
+ data = Hash.from_xml(request.raw_post)
145
145
  HashWithIndifferentAccess.new_from_hash_copying_default data.fetch('xml', {})
146
146
  end
147
147
 
@@ -1,3 +1,3 @@
1
1
  module WeichatRails
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "bundler", "~> 1.5"
22
22
  spec.add_development_dependency "rake"
23
23
 
24
- spec.add_dependency "rails", "~> 3.2.14"
24
+ spec.add_dependency "rails"#, "~> 3.2.14"
25
25
  spec.add_dependency "nokogiri", '>=1.6.0'
26
26
  spec.add_dependency 'rest-client'
27
27
  spec.add_dependency 'dalli'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weichat_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - javy_liu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-09 00:00:00.000000000 Z
11
+ date: 2016-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 3.2.14
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 3.2.14
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: nokogiri
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -136,9 +136,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.4.6
139
+ rubygems_version: 2.4.8
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: wechat interface for rails based on weichat-rails
143
143
  test_files: []
144
- has_rdoc: