mobile_version_thrift_client 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mobile_version_thrift_client.rb +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49034f545c67e2f89e88a93001362f60a66b7c75
|
4
|
+
data.tar.gz: 7f9a358430483db1f2ef1079094f291eda568f3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a0b127cc06f339b6703a48565a886848f5c9bff8b8128736cc7a0575e5ea948ba8c723b077deea5300de555b846370346a76835d51dee9983d2319102f823b
|
7
|
+
data.tar.gz: ac892b080c2f6ca08e3c667677c37605b8be1eef702430287b6228c99ec3c8f8e7f35e7b6296386978943013eb981878ca8d4a3e0b76cc4bcc7609a19f897ce6
|
@@ -52,12 +52,12 @@ module Mobile
|
|
52
52
|
@logger.error("version manage thrift service destroyed!!")
|
53
53
|
end
|
54
54
|
|
55
|
-
def checkForUpgrade(app_definition={}, version=nil)
|
56
|
-
if app_definition['appId'].nil? || app_definition['appId'].to_i <= 0 || version.nil?
|
57
|
-
raise 'appId, version can not be null!'
|
55
|
+
def checkForUpgrade(app_definition={}, version=nil, device_id=nil)
|
56
|
+
if app_definition['appId'].nil? || app_definition['appId'].to_i <= 0 || version.nil? || device_id.nil?
|
57
|
+
raise 'appId, version, device_id can not be null!'
|
58
58
|
end
|
59
59
|
app_definition_struct = Mobile::Version::Thrift::AppDefinition.new(app_definition)
|
60
|
-
return @thrift_client.checkForUpgrade(app_definition_struct, version)
|
60
|
+
return @thrift_client.checkForUpgrade(app_definition_struct, version, device_id)
|
61
61
|
end
|
62
62
|
|
63
63
|
def getSecurityToken(app_definition={}, version=nil)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobile_version_thrift_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rick
|
@@ -29,17 +29,17 @@ require_paths:
|
|
29
29
|
- lib
|
30
30
|
required_ruby_version: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
35
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- -
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '0'
|
40
40
|
requirements: []
|
41
41
|
rubyforge_project:
|
42
|
-
rubygems_version: 2.0.
|
42
|
+
rubygems_version: 2.0.14
|
43
43
|
signing_key:
|
44
44
|
specification_version: 4
|
45
45
|
summary: mobile_version_thrift_client is a thrift client of mobile-version
|