sk_api_schema 0.10.3 → 0.10.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OGQ5ZTg5YmM2Mjc2NWQ5ZDFiMTljMTdlYTUwYTcwNTI2NTBkMjBmNw==
5
+ data.tar.gz: !binary |-
6
+ NGViM2Y2MDBhNWRmYjE2ZTdjOWYyNTQxMTNlODJiMTRiYWFjNTk1Yw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NjBkNmUxZGRiNTU1MjVjYjJiODY3M2Q1ZDcwNzlhZGU1MmZlNjY2ZGE4MGZm
10
+ MDY2ZmJmOTlkZGYxYjRlYmM2MjJmYTgzZGYwNzA3ZTMwZjFjZTAwOTE5OTg5
11
+ MjA0NGNlMzE5ZWY4NmU5OTk0ZDQyMzJlOTkxNGZmM2QwMzFiYWU=
12
+ data.tar.gz: !binary |-
13
+ NzNiNmZkMjdhMDI5YmZkMGQ2NzU4ZGIyZjMwOWExYzc3MjYwYmIzOTE5MzUz
14
+ MTlkNjQ1Y2FmMjBmYjAyYWYzMDEwMWY5YzdjMjViMjRkNDc4N2E5OTAwZGM0
15
+ NmQ3MTlhZTg0NGUxZGJhNTZiYmU4NzE0ZjFiODA0OGNkMGE0Njc=
data/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  See [commit messages](https://github.com/salesking/sk_api_schema/commits/) for details.
4
4
  Also sign up to our [Developer Newsletter](http://www.salesking.eu/dev/newsletter/) to stay up-to-date !!!
5
5
 
6
+ ##2014-08
7
+
8
+ * Estimate: add close_date, probability percent, expected_revenue
9
+ * Estimate: filter by close_date, updated_at, probability range
10
+ * Contact: add sales_potential, probability percent, expected_revenue
11
+ * Contact: filter by sales_potential range, probability range
12
+
6
13
  ##2014-06
7
14
 
8
15
  * add budget to account
data/README.rdoc CHANGED
@@ -3,6 +3,11 @@
3
3
  {<img src="https://secure.travis-ci.org/salesking/sk_api_schema.png?branch=master" alt="Build Status" />}[http://travis-ci.org/salesking/sk_api_schema]
4
4
 
5
5
  Our API (objects,resources) is described with JSON Schema (http://json-schema.org).
6
+
7
+ See our {API Browser}[http://sk-api-browser.herokuapp.com/] for a visual presentation.
8
+
9
+ == Intro
10
+
6
11
  Each Object has its own description, with those top-level keys:
7
12
 
8
13
  {
@@ -21,7 +26,7 @@ Other languages should take advantage of the raw json files.
21
26
 
22
27
  == Tutorial & Docs
23
28
 
24
- * {API Browser}[http://sk-api-browser.heroku.com/]
29
+ * {API Browser}[http://sk-api-browser.herokuapp.com/]
25
30
  * {API Intro}[http://www.salesking.eu/dev/api/]
26
31
  * {Ruby SDK - API Client}[https://github.com/salesking/sk_sdk]
27
32
  * {PHP SDK - API Client}[https://github.com/salesking/salesking_php_sdk]
@@ -158,7 +163,4 @@ course you can run them too. Install required gems with bundler and go for it:
158
163
 
159
164
  == ToDo:
160
165
 
161
- Those relative urls in the link sections, need some love, so please don't rely on
162
- them to much right now.
163
-
164
- Copyright (c) 2010-2012 Georg Leciejewski, released under the MIT license
166
+ Copyright (c) 2010-2014 Georg Leciejewski, released under the MIT license
@@ -127,7 +127,7 @@
127
127
  },
128
128
  "per_page":{
129
129
  "title" : "Per page",
130
- "description": "Results per page. Default is 10, max is 100",
130
+ "description": "Results per page. Default is 50, max is 200",
131
131
  "type":"number"
132
132
  },
133
133
  "sort_by":{
@@ -102,7 +102,7 @@
102
102
  },
103
103
  "per_page":{
104
104
  "title" : "Per page",
105
- "description": "Results per page. Default is 10, max is 100",
105
+ "description": "Results per page. Default is 50, max is 200",
106
106
  "type":"number"
107
107
  },
108
108
  "sort_by":{
@@ -113,7 +113,7 @@
113
113
  },
114
114
  "per_page":{
115
115
  "title" : "Per page",
116
- "description": "Results per page. Default is 10, max is 100",
116
+ "description": "Results per page. Default is 50, max is 200",
117
117
  "type":"number"
118
118
  },
119
119
  "filter[q]":{
@@ -86,7 +86,7 @@
86
86
  },
87
87
  "per_page":{
88
88
  "title" : "Per page",
89
- "description": "Results per page. Default is 10, max is 100",
89
+ "description": "Results per page. Default is 50, max is 200",
90
90
  "type":"number"
91
91
  },
92
92
  "filter[q]":{
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "per_page":{
48
48
  "title" : "Per page",
49
- "description": "Results per page. Default is 10, max is 100",
49
+ "description": "Results per page. Default is 50, max is 200",
50
50
  "type":"number"
51
51
  },
52
52
  "filter[q]":{
@@ -202,7 +202,7 @@
202
202
  },
203
203
  "per_page":{
204
204
  "title" : "Per page",
205
- "description": "Results per page. Default is 10, max is 100",
205
+ "description": "Results per page. Default is 50, max is 200",
206
206
  "type":"number"
207
207
  },
208
208
  "filter[q]":{
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "per_page":{
64
64
  "title" : "Per page",
65
- "description": "Results per page. Default is 10, max is 100",
65
+ "description": "Results per page. Default is 50, max is 200",
66
66
  "type":"number"
67
67
  },
68
68
  "filter[q]":{
@@ -222,6 +222,19 @@
222
222
  "description": "Date the contact converted from lead to client or any other contact type (supplier)",
223
223
  "format":"date-time",
224
224
  "type":"string"
225
+ },
226
+ "sales_potential":{
227
+ "description": "Sales potential for the contact e.g what is his budget, how much can he spend?",
228
+ "type":"number"
229
+ },
230
+ "probability":{
231
+ "description": "Likelihood that the sales potential will be realised in percent e.g. How hot is the contact, How much of the sales potential will we get also see expected_revenue?",
232
+ "type":"number"
233
+ },
234
+ "expected_revenue":{
235
+ "description": "Product of the probability and sales potential. e.g how much of the sales_potential can we get?",
236
+ "readonly":true,
237
+ "type":"number"
225
238
  }
226
239
  },
227
240
  "links":[
@@ -238,7 +251,7 @@
238
251
  },
239
252
  "per_page":{
240
253
  "title" : "Per page",
241
- "description": "Results per page. Default is 10, max is 100",
254
+ "description": "Results per page. Default is 50, max is 200",
242
255
  "type":"number"
243
256
  },
244
257
  "filter[q]":{
@@ -306,6 +319,24 @@
306
319
  "enum":["Client", "Lead", "Supplier"],
307
320
  "type" : "string"
308
321
  },
322
+ "filter[probability_from]":{
323
+ "title" : "By probability from",
324
+ "description": "Find contacts with a probability greater(>=) than given number. Minimum is 0 for percent fields, max 100",
325
+ "type":"number"
326
+ },
327
+ "filter[probability_to]": {
328
+ "title": "By probability to",
329
+ "description": "Find contacts with a probability smaller(<=) than given number."
330
+ },
331
+ "filter[sales_potential_from]":{
332
+ "title" : "By sales potential from",
333
+ "description": "Find contacts with a sales potential greater(>=) than given number.",
334
+ "type":"number"
335
+ },
336
+ "filter[sales_potential_to]": {
337
+ "title": "By sales potential to",
338
+ "description": "Find contacts with a sales potential smaller(<=) than given number."
339
+ },
309
340
  "sort_by":{
310
341
  "title" : "Sort by",
311
342
  "description": "Sort the results by the given field => number",
@@ -217,7 +217,7 @@
217
217
  },
218
218
  "per_page":{
219
219
  "title" : "Per page",
220
- "description": "Results per page. Default is 10, max is 100",
220
+ "description": "Results per page. Default is 50, max is 200",
221
221
  "type":"number"
222
222
  },
223
223
  "filter[q]":{
@@ -155,7 +155,7 @@
155
155
  },
156
156
  "per_page":{
157
157
  "title" : "Per page",
158
- "description": "Results per page. Default is 10, max is 100",
158
+ "description": "Results per page. Default is 50, max is 200",
159
159
  "type":"number"
160
160
  },
161
161
  "filter[q]":{
data/json/v1.0/email.json CHANGED
@@ -112,7 +112,7 @@
112
112
  },
113
113
  "per_page":{
114
114
  "title" : "Per page",
115
- "description": "Results per page. Default is 10, max is 100",
115
+ "description": "Results per page. Default is 50, max is 200",
116
116
  "type":"number"
117
117
  },
118
118
  "filter[q]":{
@@ -88,7 +88,7 @@
88
88
  },
89
89
  "per_page":{
90
90
  "title" : "Per page",
91
- "description": "Results per page. Default is 10, max is 100",
91
+ "description": "Results per page. Default is 50, max is 200",
92
92
  "type":"number"
93
93
  },
94
94
  "sort_by":{
@@ -186,6 +186,19 @@
186
186
  "description": "Percentage of gross profit to cost of items sold. Calculated from gross_margin_total/net_total*100",
187
187
  "readonly":true,
188
188
  "type":"number"
189
+ },
190
+ "probability":{
191
+ "description": "Percentage of estimated confidence in closing the deal. Estimated Probability percentage of the net total amount",
192
+ "type":"number"
193
+ },
194
+ "expected_revenue":{
195
+ "description": "Product of the probability and net total. In company currency",
196
+ "readonly":true,
197
+ "type":"number"
198
+ },
199
+ "close_date":{
200
+ "description": "Date when the deal is expected to be closed.",
201
+ "type":"number"
189
202
  }
190
203
  },
191
204
  "links":[
@@ -202,7 +215,7 @@
202
215
  },
203
216
  "per_page":{
204
217
  "title" : "Per page",
205
- "description": "Results per page. Default is 10, max is 100",
218
+ "description": "Results per page. Default is 50, max is 200",
206
219
  "type":"number"
207
220
  },
208
221
  "filter[q]":{
@@ -225,6 +238,16 @@
225
238
  "description": "Filter by a space delimited list of tags",
226
239
  "type":"string"
227
240
  },
241
+ "filter[probability_from]":{
242
+ "title" : "By probability from",
243
+ "description": "Find documents with a probability greater(>=) than given number. Minimum is 0 for percent fields, max 100",
244
+ "type":"number"
245
+ },
246
+ "filter[probability_to]":{
247
+ "title" : "By probability to",
248
+ "description": "Find accounts with a probability smaller(<=) than given number.",
249
+ "type":"number"
250
+ },
228
251
  "filter[from]":{
229
252
  "title" : "From date",
230
253
  "description": "Objects with a date after the date. YYYY-MM-DD",
@@ -237,18 +260,42 @@
237
260
  "format" : "date",
238
261
  "type" : "string"
239
262
  },
263
+ "filter[close_date_from]":{
264
+ "title" : "Close date from",
265
+ "description": "Objects with a closing date after the date. YYYY-MM-DD",
266
+ "format" : "date",
267
+ "type" : "string"
268
+ },
269
+ "filter[close_date_to]":{
270
+ "title" : "Close date to",
271
+ "description": "Objects with closing date before the date. YYYY-MM-DD",
272
+ "format" : "date",
273
+ "type" : "string"
274
+ },
240
275
  "filter[created_at_from]":{
241
- "title" : "From date",
276
+ "title" : "Created from",
242
277
  "description": "Objects with a creation on/after the date(>=). ISO 8601 format YYY-MM-DDThh:mm:ss+z or just a date YYY-MM-DD. If date is given the time is set to the start of the day(00:00:00) so all objects created on this day are included. A time should be already utc time",
243
278
  "format" : "date-time",
244
279
  "type" : "string"
245
280
  },
246
281
  "filter[created_at_to]":{
247
- "title" : "To date",
282
+ "title" : "Created to",
248
283
  "description": "Objects with a creation until the date(<=). ISO 8601 format YYY-MM-DDThh:mm:ss+z or just a date YYY-MM-DD. If date is given the time is set to the end of the day(23:59:59) so all objects created on that day are included. A time should be already utc time.",
249
284
  "format" : "date-time",
250
285
  "type" : "string"
251
286
  },
287
+ "filter[updated_at_from]":{
288
+ "title" : "Updated from",
289
+ "description": "Objects updated on/after the date(>=). ISO 8601 format YYY-MM-DDThh:mm:ss+z or just a date YYY-MM-DD. If date is given the time is set to the start of the day(00:00:00) so all objects updated on this day are included. A time should be already utc time",
290
+ "format" : "date-time",
291
+ "type" : "string"
292
+ },
293
+ "filter[updated_at_to]":{
294
+ "title" : "Updated to",
295
+ "description": "Objects updated until the date(<=). ISO 8601 format YYY-MM-DDThh:mm:ss+z or just a date YYY-MM-DD. If date is given the time is set to the end of the day(23:59:59) so all objects updated on that day are included. A time should be already utc time.",
296
+ "format" : "date-time",
297
+ "type" : "string"
298
+ },
252
299
  "filter[languages]":{
253
300
  "title" : "Languages",
254
301
  "description": "A list of language codes, comma separated",
@@ -97,7 +97,7 @@
97
97
  },
98
98
  "per_page":{
99
99
  "title" : "Per page",
100
- "description": "Results per page. Default is 10, max is 100",
100
+ "description": "Results per page. Default is 50, max is 200",
101
101
  "type":"number"
102
102
  },
103
103
  "filter[from]":{
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "per_page":{
69
69
  "title" : "Per page",
70
- "description": "Results per page. Default is 10, max is 100",
70
+ "description": "Results per page. Default is 50, max is 200",
71
71
  "type":"number"
72
72
  },
73
73
  "sort_by":{
@@ -239,7 +239,7 @@
239
239
  },
240
240
  "per_page":{
241
241
  "title" : "Per page",
242
- "description": "Results per page. Default is 10, max is 100",
242
+ "description": "Results per page. Default is 50, max is 200",
243
243
  "type":"number"
244
244
  },
245
245
  "filter[q]":{
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "per_page":{
51
51
  "title" : "Per page",
52
- "description": "Results per page. Default is 10, max is 100",
52
+ "description": "Results per page. Default is 50, max is 200",
53
53
  "type":"number"
54
54
  },
55
55
  "sort_by":{
data/json/v1.0/order.json CHANGED
@@ -214,7 +214,7 @@
214
214
  },
215
215
  "per_page":{
216
216
  "title" : "Per page",
217
- "description": "Results per page. Default is 10, max is 100",
217
+ "description": "Results per page. Default is 50, max is 200",
218
218
  "type":"number"
219
219
  },
220
220
  "filter[q]":{
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "per_page":{
103
103
  "title" : "Per page",
104
- "description": "Results per page. Default is 10, max is 100",
104
+ "description": "Results per page. Default is 50, max is 200",
105
105
  "type":"number"
106
106
  },
107
107
  "filter[q]":{
@@ -179,7 +179,7 @@
179
179
  },
180
180
  "per_page":{
181
181
  "title" : "Per page",
182
- "description": "Results per page. Default is 10, max is 100",
182
+ "description": "Results per page. Default is 50, max is 200",
183
183
  "type":"number"
184
184
  },
185
185
  "filter[q]":{
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "per_page":{
68
68
  "title" : "Per page",
69
- "description": "Results per page. Default is 10, max is 100",
69
+ "description": "Results per page. Default is 50, max is 200",
70
70
  "type":"number"
71
71
  },
72
72
  "sort_by":{
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "per_page":{
93
93
  "title" : "Per page",
94
- "description": "Results per page. Default is 10, max is 100",
94
+ "description": "Results per page. Default is 50, max is 200",
95
95
  "type":"number"
96
96
  },
97
97
  "filter[q]":{
@@ -227,7 +227,7 @@
227
227
  },
228
228
  "per_page":{
229
229
  "title" : "Per page",
230
- "description": "Results per page. Default is 10, max is 100",
230
+ "description": "Results per page. Default is 50, max is 200",
231
231
  "type":"number"
232
232
  },
233
233
  "filter[q]":{
data/json/v1.0/tag.json CHANGED
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "per_page":{
39
39
  "title" : "Per page",
40
- "description": "Results per page. Default is 10, max is 100",
40
+ "description": "Results per page. Default is 50, max is 200",
41
41
  "type":"number"
42
42
  },
43
43
  "filter[q]":{
data/json/v1.0/task.json CHANGED
@@ -173,7 +173,7 @@
173
173
  },
174
174
  "per_page":{
175
175
  "title" : "Per page",
176
- "description": "Results per page. Default is 10, max is 100",
176
+ "description": "Results per page. Default is 50, max is 200",
177
177
  "type":"number"
178
178
  },
179
179
  "sort_by":{
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "per_page":{
64
64
  "title" : "Per page",
65
- "description": "Results per page. Default is 10, max is 100",
65
+ "description": "Results per page. Default is 50, max is 200",
66
66
  "type":"number"
67
67
  },
68
68
  "sort_by":{
data/lib/sk_api_schema.rb CHANGED
@@ -170,12 +170,13 @@ module SK
170
170
  # readonly
171
171
  def clean_hash!(obj_name, props, version, opts={})
172
172
  # gather allowed properties
173
- schema = SK::Api::Schema.read(obj_name, version)
174
- setters = []
175
- schema['properties'].each{ |k,v| setters << k if !v['readonly'] }
176
- setters += opts[:keep] if opts[:keep] && opts[:keep].is_a?(Array)
173
+ schema = SK::Api::Schema.read(obj_name, version)
174
+ setters = schema['properties'].select{|_,property|!property['readonly']}.keys
175
+ setters += opts[:keep] if Array === opts[:keep]
176
+
177
177
  # kick readonly
178
178
  props.delete_if { |k,v| !setters.include?("#{k}") }
179
+
179
180
  #convert to type in schema
180
181
  props.each do |k,v|
181
182
  if schema['properties']["#{k}"]['type'] == 'string' && !v.is_a?(String)
@@ -1,7 +1,7 @@
1
1
  module SK
2
2
  module Api
3
3
  class Schema
4
- VERSION='0.10.3'
4
+ VERSION='0.10.4'
5
5
  end
6
6
  end
7
7
  end
@@ -16,7 +16,7 @@ describe SK::Api::Schema do
16
16
  schema[:title].should == 'invoice'
17
17
  schema[:type].should == 'object'
18
18
  schema['properties'].should be_a Hash
19
- schema['properties']['id']['identity'].should be_true
19
+ schema['properties']['id']['identity'].should == true
20
20
  end
21
21
 
22
22
  it "should read json schema file with simple version" do
@@ -24,7 +24,7 @@ describe SK::Api::Schema do
24
24
  schema[:title].should == 'invoice'
25
25
  schema[:type].should == 'object'
26
26
  schema['properties'].should be_a Hash
27
- schema['properties']['id']['identity'].should be_true
27
+ schema['properties']['id']['identity'].should == true
28
28
  end
29
29
 
30
30
  it "should read all json schemas" do
metadata CHANGED
@@ -1,105 +1,96 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sk_api_schema
3
- version: !ruby/object:Gem::Version
4
- hash: 49
5
- prerelease:
6
- segments:
7
- - 0
8
- - 10
9
- - 3
10
- version: 0.10.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.10.4
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Georg Leciejewski
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2014-06-25 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
- none: false
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- hash: 3
27
- segments:
28
- - 0
29
- version: "0"
30
- requirement: *id001
31
- prerelease: false
32
- type: :runtime
11
+ date: 2014-08-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
33
14
  name: activesupport
34
- - !ruby/object:Gem::Dependency
35
- version_requirements: &id002 !ruby/object:Gem::Requirement
36
- none: false
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- hash: 3
41
- segments:
42
- - 0
43
- version: "0"
44
- requirement: *id002
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
45
21
  prerelease: false
46
- type: :development
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
47
28
  name: rdoc
48
- - !ruby/object:Gem::Dependency
49
- version_requirements: &id003 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- hash: 3
55
- segments:
56
- - 0
57
- version: "0"
58
- requirement: *id003
59
- prerelease: false
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
60
34
  type: :development
61
- name: rspec
62
- - !ruby/object:Gem::Dependency
63
- version_requirements: &id004 !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- hash: 3
69
- segments:
70
- - 0
71
- version: "0"
72
- requirement: *id004
73
35
  prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
74
48
  type: :development
75
- name: simplecov
76
- - !ruby/object:Gem::Dependency
77
- version_requirements: &id005 !ruby/object:Gem::Requirement
78
- none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- hash: 63
83
- segments:
84
- - 0
85
- - 9
86
- - 2
87
- version: 0.9.2
88
- requirement: *id005
89
49
  prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
90
62
  type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
91
70
  name: rake
92
- description: |-
93
- The SalesKing JSON Schema describes our business API in terms of available objects, their fields and links to url endpoints with related objects.
94
- Besides ruby users can use a small lib with utility methods to load and test the schema files.
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: 0.9.2
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: 0.9.2
83
+ description: ! 'The SalesKing JSON Schema describes our business API in terms of available
84
+ objects, their fields and links to url endpoints with related objects.
85
+
86
+ Besides ruby users can use a small lib with utility methods to load and test the
87
+ schema files.'
95
88
  email: gl@salesking.eu
96
89
  executables: []
97
-
98
90
  extensions: []
99
-
100
- extra_rdoc_files:
91
+ extra_rdoc_files:
101
92
  - README.rdoc
102
- files:
93
+ files:
103
94
  - .gitignore
104
95
  - .travis.yml
105
96
  - CHANGELOG.md
@@ -145,37 +136,27 @@ files:
145
136
  - spec/sk_api_schema_spec.rb
146
137
  - spec/spec_helper.rb
147
138
  homepage: http://github.com/salesking/sk_api_schema
148
- licenses:
139
+ licenses:
149
140
  - MIT
141
+ metadata: {}
150
142
  post_install_message:
151
143
  rdoc_options: []
152
-
153
- require_paths:
144
+ require_paths:
154
145
  - lib
155
- required_ruby_version: !ruby/object:Gem::Requirement
156
- none: false
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- hash: 3
161
- segments:
162
- - 0
163
- version: "0"
164
- required_rubygems_version: !ruby/object:Gem::Requirement
165
- none: false
166
- requirements:
167
- - - ">="
168
- - !ruby/object:Gem::Version
169
- hash: 3
170
- segments:
171
- - 0
172
- version: "0"
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
173
156
  requirements: []
174
-
175
157
  rubyforge_project:
176
- rubygems_version: 1.8.24
158
+ rubygems_version: 2.2.2
177
159
  signing_key:
178
- specification_version: 3
160
+ specification_version: 4
179
161
  summary: SalesKing API - JSON Schema
180
162
  test_files: []
181
-