App42_RUBY_SDK 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/App42_RUBY_SDK.gemspec +31 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +25 -0
- data/Rakefile +1 -0
- data/lib/App42BadParameterException.rb +31 -0
- data/lib/App42Exception.rb +39 -0
- data/lib/App42LimitException.rb +15 -0
- data/lib/App42NotFoundException.rb +15 -0
- data/lib/App42Response.rb +13 -0
- data/lib/App42ResponseBuilder.rb +64 -0
- data/lib/App42SecurityException.rb +15 -0
- data/lib/App42_RUBY_SDK.rb +236 -0
- data/lib/App42_RUBY_SDK/version.rb +3 -0
- data/lib/ServiceAPI.rb +246 -0
- data/lib/appTab/App.rb +105 -0
- data/lib/appTab/BandwidthUnit.rb +57 -0
- data/lib/appTab/Bill.rb +182 -0
- data/lib/appTab/BillMonth.rb +94 -0
- data/lib/appTab/BillResponseBuilder.rb +242 -0
- data/lib/appTab/BillService.rb +457 -0
- data/lib/appTab/Currency.rb +79 -0
- data/lib/appTab/DiscountResponseBuilder.rb +71 -0
- data/lib/appTab/DiscountService.rb +240 -0
- data/lib/appTab/DiscountType.rb +54 -0
- data/lib/appTab/License.rb +25 -0
- data/lib/appTab/LicenseResponseBuilder.rb +88 -0
- data/lib/appTab/LicenseService.rb +399 -0
- data/lib/appTab/PackageData.rb +83 -0
- data/lib/appTab/PackageResponseBuilder.rb +114 -0
- data/lib/appTab/PackageService.rb +506 -0
- data/lib/appTab/SchemeData.rb +11 -0
- data/lib/appTab/SchemeResponseBuilder.rb +70 -0
- data/lib/appTab/SchemeService.rb +151 -0
- data/lib/appTab/StorageUnit.rb +54 -0
- data/lib/appTab/SubscribeService.rb +180 -0
- data/lib/appTab/Test.rb +41 -0
- data/lib/appTab/TimeUnit.rb +49 -0
- data/lib/appTab/Usage.rb +206 -0
- data/lib/appTab/UsageResponseBuilder.rb +152 -0
- data/lib/appTab/UsageService.rb +1799 -0
- data/lib/connection/RESTConnection.rb +711 -0
- data/lib/email/Email.rb +51 -0
- data/lib/email/EmailMIME.rb +51 -0
- data/lib/email/EmailResponseBuilder.rb +76 -0
- data/lib/email/EmailService.rb +244 -0
- data/lib/gallery/Album.rb +56 -0
- data/lib/gallery/AlbumResponseBuilder.rb +168 -0
- data/lib/gallery/AlbumService.rb +337 -0
- data/lib/gallery/PhotoService.rb +591 -0
- data/lib/game/Game.rb +39 -0
- data/lib/game/GameResponseBuilder.rb +106 -0
- data/lib/game/GameService.rb +268 -0
- data/lib/game/Reward.rb +24 -0
- data/lib/game/RewardResponseBuilder.rb +85 -0
- data/lib/game/RewardService.rb +440 -0
- data/lib/game/ScoreBoardService.rb +433 -0
- data/lib/game/ScoreService.rb +157 -0
- data/lib/geo/Geo.rb +51 -0
- data/lib/geo/GeoPoint.rb +43 -0
- data/lib/geo/GeoResponseBuilder.rb +145 -0
- data/lib/geo/GeoService.rb +506 -0
- data/lib/imageProcessor/Image.rb +42 -0
- data/lib/imageProcessor/ImageProcessorResponseBuilder.rb +40 -0
- data/lib/imageProcessor/ImageProcessorService.rb +1054 -0
- data/lib/log/Log.rb +49 -0
- data/lib/log/LogResponseBuilder.rb +61 -0
- data/lib/log/LogService.rb +920 -0
- data/lib/message/Queue.rb +50 -0
- data/lib/message/QueueResponseBuilder.rb +64 -0
- data/lib/message/QueueService.rb +469 -0
- data/lib/push/DeviceType.rb +56 -0
- data/lib/push/PushNotification.rb +38 -0
- data/lib/push/PushNotificationResposneBuilder.rb +74 -0
- data/lib/push/PushNotificationService.rb +458 -0
- data/lib/recommend/PreferenceData.rb +25 -0
- data/lib/recommend/Recommender.rb +48 -0
- data/lib/recommend/RecommenderResponseBuilder.rb +70 -0
- data/lib/recommend/RecommenderService.rb +1092 -0
- data/lib/recommend/RecommenderSimilarity.rb +52 -0
- data/lib/review/Review.rb +38 -0
- data/lib/review/ReviewResponseBuilder.rb +76 -0
- data/lib/review/ReviewService.rb +590 -0
- data/lib/session/Session.rb +43 -0
- data/lib/session/SessionResponseBuilder.rb +70 -0
- data/lib/session/SessionService.rb +427 -0
- data/lib/shopping/Cart.rb +77 -0
- data/lib/shopping/CartResponseBuilder.rb +118 -0
- data/lib/shopping/CartService.rb +902 -0
- data/lib/shopping/Catalogue.rb +79 -0
- data/lib/shopping/CatalogueResponseBuilder.rb +170 -0
- data/lib/shopping/CatalogueService.rb +649 -0
- data/lib/shopping/ItemData.rb +29 -0
- data/lib/shopping/PaymentStatus.rb +60 -0
- data/lib/social/Social.rb +35 -0
- data/lib/social/SocialResponseBuilder.rb +38 -0
- data/lib/social/SocialService.rb +585 -0
- data/lib/storage/OrderByType.rb +29 -0
- data/lib/storage/Query.rb +39 -0
- data/lib/storage/QueryBuilder.rb +118 -0
- data/lib/storage/Storage.rb +45 -0
- data/lib/storage/StorageResponseBuilder.rb +86 -0
- data/lib/storage/StorageService.rb +775 -0
- data/lib/upload/Upload.rb +40 -0
- data/lib/upload/UploadFileType.rb +83 -0
- data/lib/upload/UploadResponseBuilder.rb +58 -0
- data/lib/upload/UploadService.rb +960 -0
- data/lib/user/User.rb +102 -0
- data/lib/user/UserResponseBuilder.rb +105 -0
- data/lib/user/UserService.rb +1253 -0
- data/lib/util/util.rb +250 -0
- metadata +134 -9
- checksums.yaml +0 -7
data/lib/util/util.rb
ADDED
@@ -0,0 +1,250 @@
|
|
1
|
+
# -----------------------------------------------------------------------
|
2
|
+
# Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved.
|
3
|
+
# -----------------------------------------------------------------------
|
4
|
+
|
5
|
+
require "rubygems"
|
6
|
+
require 'time'
|
7
|
+
require 'base64'
|
8
|
+
require 'cgi'
|
9
|
+
require 'hmac-sha1'
|
10
|
+
require 'App42Exception.rb'
|
11
|
+
require 'App42BadParameterException.rb'
|
12
|
+
require 'App42LimitException.rb'
|
13
|
+
require 'App42NotFoundException.rb'
|
14
|
+
require 'App42SecurityException.rb'
|
15
|
+
|
16
|
+
module App42
|
17
|
+
class Util
|
18
|
+
#
|
19
|
+
# Finds the current time
|
20
|
+
#
|
21
|
+
# @return time format
|
22
|
+
#
|
23
|
+
#
|
24
|
+
def get_timestamp_utc
|
25
|
+
#time_stamp = Time.now.utc.iso8601
|
26
|
+
#time_stamp = Time.now.utc.xmlschema
|
27
|
+
time_stamp = Time.now.utc
|
28
|
+
time_stamp = time_stamp.strftime("%Y-%m-%dT%H:%M:%S.%LZ")
|
29
|
+
puts "TimeStamp - #{time_stamp}"
|
30
|
+
time_stamp
|
31
|
+
end
|
32
|
+
|
33
|
+
#
|
34
|
+
# Finds the particular time for a particular date
|
35
|
+
#
|
36
|
+
# @param date
|
37
|
+
#
|
38
|
+
# @return time format
|
39
|
+
#
|
40
|
+
#
|
41
|
+
|
42
|
+
def get_timestamp_utc_from_date(date)
|
43
|
+
time = Time.parse(date).utc
|
44
|
+
time_stamp = time.strftime("%Y-%m-%dT%H:%M:%S.%LZ")
|
45
|
+
puts "TimeStamp - #{time_stamp}"
|
46
|
+
time_stamp
|
47
|
+
end
|
48
|
+
|
49
|
+
def get_timestamp_utc_from_date_discount(date)
|
50
|
+
time = Time.parse(date).utc
|
51
|
+
time_stamp = time.strftime("%a %b %d %l:%M:%S %Z %Y")
|
52
|
+
puts "TimeStamp - #{time_stamp}"
|
53
|
+
time_stamp
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# This method sorts all the values that are stored in the table.
|
58
|
+
#
|
59
|
+
# @param table
|
60
|
+
# @return sorted string
|
61
|
+
#
|
62
|
+
#
|
63
|
+
|
64
|
+
def sort_convert_table(table)
|
65
|
+
sorted_params = ""
|
66
|
+
table.sort {|a,b| a[0] <=> b[0]}.each{ |key, val|
|
67
|
+
sorted_params << key
|
68
|
+
sorted_params << val
|
69
|
+
}
|
70
|
+
puts "Sorted params #{sorted_params}"
|
71
|
+
sorted_params
|
72
|
+
end
|
73
|
+
|
74
|
+
#
|
75
|
+
# It signs the request that has to be sent in the Hmac format.
|
76
|
+
#
|
77
|
+
# @param secretKey
|
78
|
+
# @param params
|
79
|
+
#
|
80
|
+
# @throws InvalidKeyException
|
81
|
+
# @throws NoSuchAlgorithmException
|
82
|
+
# @throws IllegalStateException
|
83
|
+
# @throws UnsupportedEncodingException
|
84
|
+
#
|
85
|
+
|
86
|
+
def sign(secret_key, params)
|
87
|
+
sorted_params = sort_convert_table(params)
|
88
|
+
puts sorted_params
|
89
|
+
signature = compute_hmac(secret_key, sorted_params)
|
90
|
+
puts "Signature #{signature}"
|
91
|
+
signature
|
92
|
+
end
|
93
|
+
|
94
|
+
#
|
95
|
+
# Encoding and decoding of the queries are done using the Hmac Algorithm.
|
96
|
+
#
|
97
|
+
# @param baseString
|
98
|
+
# @param key
|
99
|
+
#
|
100
|
+
# @throws NoSuchAlgorithmException
|
101
|
+
# @throws InvalidKeyException
|
102
|
+
# @throws IllegalStateException
|
103
|
+
# @throws UnsupportedEncodingException
|
104
|
+
#
|
105
|
+
|
106
|
+
def compute_hmac(secret_key, sorted_params)
|
107
|
+
signature = Base64.encode64(HMAC::SHA1::digest(secret_key, sorted_params)).strip
|
108
|
+
puts "Signature #{signature}"
|
109
|
+
computed_hmac = CGI.escape(signature)
|
110
|
+
puts "Computed Hmac #{computed_hmac}"
|
111
|
+
computed_hmac
|
112
|
+
end
|
113
|
+
|
114
|
+
def my_strip(str)
|
115
|
+
s = str.gsub(/ /,'')
|
116
|
+
return s
|
117
|
+
end
|
118
|
+
|
119
|
+
#
|
120
|
+
# An exception to check whether the object is null or blank.
|
121
|
+
#
|
122
|
+
# @param obj
|
123
|
+
# @param name
|
124
|
+
#
|
125
|
+
|
126
|
+
def throwExceptionIfNullOrBlank(obj,name)
|
127
|
+
if obj.kind_of?(String)
|
128
|
+
trm = my_strip(obj)
|
129
|
+
else
|
130
|
+
trm = obj
|
131
|
+
end
|
132
|
+
|
133
|
+
if(trm==nil)
|
134
|
+
raise App42Exception.new(name +" parameter can not be null");
|
135
|
+
end
|
136
|
+
if(trm == "")
|
137
|
+
raise App42Exception.new(name +" parameter can not be blank");
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
#
|
142
|
+
# To check whether the max value is greater than zero or not.
|
143
|
+
#
|
144
|
+
# @param max
|
145
|
+
#
|
146
|
+
|
147
|
+
def validateMax(max)
|
148
|
+
if(max.to_i < 1)
|
149
|
+
raise App42Exception.new("Max must be greater than Zero.");
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
#
|
154
|
+
# To check whether the value of how many is less than 1000 or not.
|
155
|
+
#
|
156
|
+
# @param howMany
|
157
|
+
#
|
158
|
+
|
159
|
+
def validateHowMany(howMany)
|
160
|
+
if(howMany.to_i > 1000)
|
161
|
+
raise App42Exception.new("How Many should be less than 1000");
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
#
|
166
|
+
# An exception to check whether the email entered is valid or not.
|
167
|
+
#
|
168
|
+
# @param obj
|
169
|
+
# @param name
|
170
|
+
#
|
171
|
+
|
172
|
+
def throwExceptionIfEmailNotValid(obj, name)
|
173
|
+
if(obj==nil)
|
174
|
+
raise App42Exception.new(name +" parameter can not be null")
|
175
|
+
end
|
176
|
+
email_regex = %r{
|
177
|
+
^ # Start of string
|
178
|
+
|
179
|
+
[0-9a-z] # First character
|
180
|
+
[0-9a-z.+]+ # Middle characters
|
181
|
+
[0-9a-z] # Last character
|
182
|
+
|
183
|
+
@ # Separating @ character
|
184
|
+
|
185
|
+
[0-9a-z] # Domain name begin
|
186
|
+
[0-9a-z.-]+ # Domain name middle
|
187
|
+
[0-9a-z] # Domain name end
|
188
|
+
|
189
|
+
$ # End of string
|
190
|
+
}xi
|
191
|
+
if (obj =~ email_regex) == 0
|
192
|
+
else
|
193
|
+
raise App42Exception.new(name + " is not valid. ")
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
#
|
198
|
+
# An exception to check if the file has valid extension or not
|
199
|
+
#
|
200
|
+
# @param fileName
|
201
|
+
# @param name
|
202
|
+
#
|
203
|
+
|
204
|
+
def throwExceptionIfNotValidExtension(fileName, name)
|
205
|
+
if(fileName==nil)
|
206
|
+
raise App42Exception.new(name + " parameter can not be null")
|
207
|
+
end
|
208
|
+
if(fileName.index('.') == -1)
|
209
|
+
raise App42Exception.new(name + " does not contain valid extension. ")
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
#
|
214
|
+
# Taking extension out
|
215
|
+
#
|
216
|
+
# @param fileName
|
217
|
+
#
|
218
|
+
# @return extension
|
219
|
+
#
|
220
|
+
|
221
|
+
def extractFileExtension(fileName)
|
222
|
+
ext = File.extname(fileName)
|
223
|
+
return ext;
|
224
|
+
end
|
225
|
+
|
226
|
+
#
|
227
|
+
# To check if the image has a valid extension or not.
|
228
|
+
#
|
229
|
+
# @param fileName
|
230
|
+
# @param name
|
231
|
+
#
|
232
|
+
|
233
|
+
def throwExceptionIfNotValidImageExtension(fileName, name)
|
234
|
+
|
235
|
+
if(fileName == nil)
|
236
|
+
raise App42Exception.new(name + " parameter can not be null")
|
237
|
+
end
|
238
|
+
|
239
|
+
if(fileName.index('.') == -1)
|
240
|
+
raise App42Exception.new(name + " does not contain valid extension. ")
|
241
|
+
end
|
242
|
+
|
243
|
+
ext = extractFileExtension(fileName);
|
244
|
+
if((ext.eql?(".jpg") == false) && (ext.eql?(".JPG") == false) && (ext.eql?(".jpeg") == false) && (ext.eql?(".JPEG") == false) && (ext.eql?(".gif") == false) && (ext.eql?(".GIF") == false) && (ext.eql?(".png") == false) && (ext.eql?(".PNG") == false))
|
245
|
+
raise App42Exception.new( "The Request parameters are invalid. Only file with extensions jpg, jpeg, gif and png are supported");
|
246
|
+
end
|
247
|
+
|
248
|
+
end
|
249
|
+
end
|
250
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: App42_RUBY_SDK
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- ShepHertz Technologies Pvt. Ltd.
|
@@ -13,6 +14,7 @@ dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rest-client
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - '='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - '='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: ruby-hmac
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - '='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - '='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: json_pure
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - '='
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - '='
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: bundler
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,15 +78,17 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: rake
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- - '>='
|
83
|
+
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: '0'
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- - '>='
|
91
|
+
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: '0'
|
83
94
|
description: gem containing all the sdk
|
@@ -86,30 +97,144 @@ email:
|
|
86
97
|
executables: []
|
87
98
|
extensions: []
|
88
99
|
extra_rdoc_files: []
|
89
|
-
files:
|
100
|
+
files:
|
101
|
+
- .gitignore
|
102
|
+
- App42_RUBY_SDK.gemspec
|
103
|
+
- Gemfile
|
104
|
+
- LICENSE.txt
|
105
|
+
- README.md
|
106
|
+
- Rakefile
|
107
|
+
- lib/App42BadParameterException.rb
|
108
|
+
- lib/App42Exception.rb
|
109
|
+
- lib/App42LimitException.rb
|
110
|
+
- lib/App42NotFoundException.rb
|
111
|
+
- lib/App42Response.rb
|
112
|
+
- lib/App42ResponseBuilder.rb
|
113
|
+
- lib/App42SecurityException.rb
|
114
|
+
- lib/App42_RUBY_SDK.rb
|
115
|
+
- lib/App42_RUBY_SDK/version.rb
|
116
|
+
- lib/ServiceAPI.rb
|
117
|
+
- lib/appTab/App.rb
|
118
|
+
- lib/appTab/BandwidthUnit.rb
|
119
|
+
- lib/appTab/Bill.rb
|
120
|
+
- lib/appTab/BillMonth.rb
|
121
|
+
- lib/appTab/BillResponseBuilder.rb
|
122
|
+
- lib/appTab/BillService.rb
|
123
|
+
- lib/appTab/Currency.rb
|
124
|
+
- lib/appTab/DiscountResponseBuilder.rb
|
125
|
+
- lib/appTab/DiscountService.rb
|
126
|
+
- lib/appTab/DiscountType.rb
|
127
|
+
- lib/appTab/License.rb
|
128
|
+
- lib/appTab/LicenseResponseBuilder.rb
|
129
|
+
- lib/appTab/LicenseService.rb
|
130
|
+
- lib/appTab/PackageData.rb
|
131
|
+
- lib/appTab/PackageResponseBuilder.rb
|
132
|
+
- lib/appTab/PackageService.rb
|
133
|
+
- lib/appTab/SchemeData.rb
|
134
|
+
- lib/appTab/SchemeResponseBuilder.rb
|
135
|
+
- lib/appTab/SchemeService.rb
|
136
|
+
- lib/appTab/StorageUnit.rb
|
137
|
+
- lib/appTab/SubscribeService.rb
|
138
|
+
- lib/appTab/Test.rb
|
139
|
+
- lib/appTab/TimeUnit.rb
|
140
|
+
- lib/appTab/Usage.rb
|
141
|
+
- lib/appTab/UsageResponseBuilder.rb
|
142
|
+
- lib/appTab/UsageService.rb
|
143
|
+
- lib/connection/RESTConnection.rb
|
144
|
+
- lib/email/Email.rb
|
145
|
+
- lib/email/EmailMIME.rb
|
146
|
+
- lib/email/EmailResponseBuilder.rb
|
147
|
+
- lib/email/EmailService.rb
|
148
|
+
- lib/gallery/Album.rb
|
149
|
+
- lib/gallery/AlbumResponseBuilder.rb
|
150
|
+
- lib/gallery/AlbumService.rb
|
151
|
+
- lib/gallery/PhotoService.rb
|
152
|
+
- lib/game/Game.rb
|
153
|
+
- lib/game/GameResponseBuilder.rb
|
154
|
+
- lib/game/GameService.rb
|
155
|
+
- lib/game/Reward.rb
|
156
|
+
- lib/game/RewardResponseBuilder.rb
|
157
|
+
- lib/game/RewardService.rb
|
158
|
+
- lib/game/ScoreBoardService.rb
|
159
|
+
- lib/game/ScoreService.rb
|
160
|
+
- lib/geo/Geo.rb
|
161
|
+
- lib/geo/GeoPoint.rb
|
162
|
+
- lib/geo/GeoResponseBuilder.rb
|
163
|
+
- lib/geo/GeoService.rb
|
164
|
+
- lib/imageProcessor/Image.rb
|
165
|
+
- lib/imageProcessor/ImageProcessorResponseBuilder.rb
|
166
|
+
- lib/imageProcessor/ImageProcessorService.rb
|
167
|
+
- lib/log/Log.rb
|
168
|
+
- lib/log/LogResponseBuilder.rb
|
169
|
+
- lib/log/LogService.rb
|
170
|
+
- lib/message/Queue.rb
|
171
|
+
- lib/message/QueueResponseBuilder.rb
|
172
|
+
- lib/message/QueueService.rb
|
173
|
+
- lib/push/DeviceType.rb
|
174
|
+
- lib/push/PushNotification.rb
|
175
|
+
- lib/push/PushNotificationResposneBuilder.rb
|
176
|
+
- lib/push/PushNotificationService.rb
|
177
|
+
- lib/recommend/PreferenceData.rb
|
178
|
+
- lib/recommend/Recommender.rb
|
179
|
+
- lib/recommend/RecommenderResponseBuilder.rb
|
180
|
+
- lib/recommend/RecommenderService.rb
|
181
|
+
- lib/recommend/RecommenderSimilarity.rb
|
182
|
+
- lib/review/Review.rb
|
183
|
+
- lib/review/ReviewResponseBuilder.rb
|
184
|
+
- lib/review/ReviewService.rb
|
185
|
+
- lib/session/Session.rb
|
186
|
+
- lib/session/SessionResponseBuilder.rb
|
187
|
+
- lib/session/SessionService.rb
|
188
|
+
- lib/shopping/Cart.rb
|
189
|
+
- lib/shopping/CartResponseBuilder.rb
|
190
|
+
- lib/shopping/CartService.rb
|
191
|
+
- lib/shopping/Catalogue.rb
|
192
|
+
- lib/shopping/CatalogueResponseBuilder.rb
|
193
|
+
- lib/shopping/CatalogueService.rb
|
194
|
+
- lib/shopping/ItemData.rb
|
195
|
+
- lib/shopping/PaymentStatus.rb
|
196
|
+
- lib/social/Social.rb
|
197
|
+
- lib/social/SocialResponseBuilder.rb
|
198
|
+
- lib/social/SocialService.rb
|
199
|
+
- lib/storage/OrderByType.rb
|
200
|
+
- lib/storage/Query.rb
|
201
|
+
- lib/storage/QueryBuilder.rb
|
202
|
+
- lib/storage/Storage.rb
|
203
|
+
- lib/storage/StorageResponseBuilder.rb
|
204
|
+
- lib/storage/StorageService.rb
|
205
|
+
- lib/upload/Upload.rb
|
206
|
+
- lib/upload/UploadFileType.rb
|
207
|
+
- lib/upload/UploadResponseBuilder.rb
|
208
|
+
- lib/upload/UploadService.rb
|
209
|
+
- lib/user/User.rb
|
210
|
+
- lib/user/UserResponseBuilder.rb
|
211
|
+
- lib/user/UserService.rb
|
212
|
+
- lib/util/util.rb
|
90
213
|
homepage: http://www.shephertz.com
|
91
214
|
licenses:
|
92
215
|
- MIT
|
93
|
-
metadata: {}
|
94
216
|
post_install_message:
|
95
217
|
rdoc_options: []
|
96
218
|
require_paths:
|
97
219
|
- lib
|
98
220
|
required_ruby_version: !ruby/object:Gem::Requirement
|
221
|
+
none: false
|
99
222
|
requirements:
|
100
|
-
- - '>='
|
223
|
+
- - ! '>='
|
101
224
|
- !ruby/object:Gem::Version
|
102
225
|
version: '0'
|
103
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
|
+
none: false
|
104
228
|
requirements:
|
105
|
-
- - '>='
|
229
|
+
- - ! '>='
|
106
230
|
- !ruby/object:Gem::Version
|
107
231
|
version: 1.3.6
|
108
232
|
requirements: []
|
109
233
|
rubyforge_project:
|
110
|
-
rubygems_version:
|
234
|
+
rubygems_version: 1.8.24
|
111
235
|
signing_key:
|
112
|
-
specification_version:
|
236
|
+
specification_version: 3
|
113
237
|
summary: App42_RUBY_API is a gem containing all the api's that will be used to create
|
114
238
|
an app
|
115
239
|
test_files: []
|
240
|
+
has_rdoc:
|