kansou 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -1
- data/kansou-0.1.1.gem +0 -0
- data/kansou.gemspec +1 -0
- data/lib/kansou/google_play_review.rb +2 -1
- data/lib/kansou/version.rb +1 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99569f98e3c2f1d75bbab5ca651eca5187ef1e77
|
4
|
+
data.tar.gz: 91dc35e31bf2f3c43099b09ac6a2631480d5310e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d68026945dfa183dd584f7019661b92b5b7e09a0e808d5e003f496cf921097f357abcad1d6424d448b479de8df2b8f8b2e330d4851b688744d47716b46efcf96
|
7
|
+
data.tar.gz: c969f356bb18ba6d9be5c9cd8098c64dfe6e2ad810abf37ab6214b3f848c13e740f628dffa01be50c8f92f2ecc567f19bee39d7769f907c02753a31f3ca70735
|
data/Gemfile.lock
CHANGED
data/kansou-0.1.1.gem
ADDED
Binary file
|
data/kansou.gemspec
CHANGED
@@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.bindir = "exe"
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
|
+
spec.add_dependency "json"
|
21
22
|
spec.add_dependency "oga"
|
22
23
|
|
23
24
|
spec.add_development_dependency "bundler", "~> 1.9"
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'json'
|
2
2
|
require 'oga'
|
3
|
+
require 'net/http'
|
3
4
|
|
4
5
|
module Kansou
|
5
6
|
class GooglePlayReview
|
@@ -25,7 +26,7 @@ module Kansou
|
|
25
26
|
http = Net::HTTP.new('play.google.com', 443)
|
26
27
|
http.use_ssl = true
|
27
28
|
path = "/store/getreviews"
|
28
|
-
data = "id=#{app_id}&reviewSortOrder=0&reviewType=1&pageNum=#{page}"
|
29
|
+
data = "id=#{app_id}&reviewSortOrder=0&reviewType=1&pageNum=#{page}&xhr=1"
|
29
30
|
response = http.post(path, data)
|
30
31
|
return response.body
|
31
32
|
end
|
data/lib/kansou/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kansou
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- punchdrunker
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: oga
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,6 +99,7 @@ files:
|
|
85
99
|
- bin/console
|
86
100
|
- bin/setup
|
87
101
|
- circle.yml
|
102
|
+
- kansou-0.1.1.gem
|
88
103
|
- kansou.gemspec
|
89
104
|
- lib/kansou.rb
|
90
105
|
- lib/kansou/app_store_review.rb
|