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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0645b5631d4655534fde0e63ccb1f558c2698bbe
4
- data.tar.gz: 89f489c7aed064a961467444db525d5f10c6e3a7
3
+ metadata.gz: 99569f98e3c2f1d75bbab5ca651eca5187ef1e77
4
+ data.tar.gz: 91dc35e31bf2f3c43099b09ac6a2631480d5310e
5
5
  SHA512:
6
- metadata.gz: 55f0559e3b5d37205c317baf36721b6b3a5ed95372da7bfdb1e9130e2b65a251526ed4bb0d26ab16aa335cca15b31455455aa4d8d38d8de379226c38addc2735
7
- data.tar.gz: e65ca7d4efa35746fa99272cf97eb0a8484fdb4513b80e2c4ab71af517f599c23cc10b240e54700989870b1aede154acb4cdc7c0dbca01dc731bf53271011255
6
+ metadata.gz: d68026945dfa183dd584f7019661b92b5b7e09a0e808d5e003f496cf921097f357abcad1d6424d448b479de8df2b8f8b2e330d4851b688744d47716b46efcf96
7
+ data.tar.gz: c969f356bb18ba6d9be5c9cd8098c64dfe6e2ad810abf37ab6214b3f848c13e740f628dffa01be50c8f92f2ecc567f19bee39d7769f907c02753a31f3ca70735
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kansou (0.1.1)
4
+ kansou (0.1.3)
5
+ json
5
6
  oga
6
7
 
7
8
  GEM
@@ -10,6 +11,7 @@ GEM
10
11
  ansi (1.5.0)
11
12
  ast (2.1.0)
12
13
  diff-lcs (1.2.5)
14
+ json (1.8.3)
13
15
  oga (1.3.1)
14
16
  ast
15
17
  ruby-ll (~> 2.1)
Binary file
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Kansou
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
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.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: 2015-12-24 00:00:00.000000000 Z
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