sk_api_schema 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +7 -2
- data/VERSION +1 -1
- data/json/v1.0/address.json +4 -3
- data/json/v1.0/attachment.json +5 -3
- data/json/v1.0/client.json +11 -7
- data/json/v1.0/comment.json +5 -3
- data/json/v1.0/credit_note.json +4 -2
- data/json/v1.0/document.json +8 -4
- data/json/v1.0/email.json +4 -2
- data/json/v1.0/estimate.json +8 -4
- data/json/v1.0/export.json +4 -2
- data/json/v1.0/invoice.json +6 -4
- data/json/v1.0/line_item.json +2 -1
- data/json/v1.0/order.json +13 -4
- data/json/v1.0/payment.json +5 -3
- data/json/v1.0/payment_reminder.json +6 -4
- data/json/v1.0/recurring.json +10 -6
- data/sk_api_schema.gemspec +3 -3
- metadata +62 -72
data/CHANGELOG.rdoc
CHANGED
@@ -5,6 +5,11 @@ A more detailed view of the changes can be found in the {commit messages}[https:
|
|
5
5
|
2012-01
|
6
6
|
* add notes field for client
|
7
7
|
|
8
|
+
2012-05
|
9
|
+
|
10
|
+
* add missing payment method to order
|
11
|
+
* fix date & date-time type definitions
|
12
|
+
* add empty links section to address, line item
|
8
13
|
|
9
14
|
2011-10
|
10
15
|
* added created_at search filter to clients and documents
|
@@ -25,7 +30,7 @@ A more detailed view of the changes can be found in the {commit messages}[https:
|
|
25
30
|
* added filter[client_ids] to documents, to search by one or multiple clients
|
26
31
|
* added filter[ids] for documents, to find multiple specific documents
|
27
32
|
* changed _delete property to _destroy for address, line_item
|
28
|
-
* removed client_id requirement for documents
|
33
|
+
* removed client_id requirement for documents
|
29
34
|
|
30
35
|
2011-05
|
31
36
|
* new hash_clean method for ruby schema reader class
|
@@ -36,7 +41,7 @@ A more detailed view of the changes can be found in the {commit messages}[https:
|
|
36
41
|
* reduced default objects in list to 10, max is 100
|
37
42
|
* added field parameter to limit returned fields in ruby to_hash_from_schema & SK
|
38
43
|
* added created_at & number filtering to client
|
39
|
-
* added _delete field to line_item & address, to be able to destroy them since both are transfered within their parent object
|
44
|
+
* added _delete field to line_item & address, to be able to destroy them since both are transfered within their parent object
|
40
45
|
|
41
46
|
2011-03
|
42
47
|
* added subscriptions
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/json/v1.0/address.json
CHANGED
@@ -55,7 +55,7 @@
|
|
55
55
|
"format":"date-time",
|
56
56
|
"readonly":true,
|
57
57
|
"type":"string"
|
58
|
-
},
|
58
|
+
},
|
59
59
|
"address_type": {
|
60
60
|
"description": "Type of the address, as seen by vCard definition. There can only be one type. Inside of SK you can use placeholders like client.parcel_address.city to access the first parcel adr(Same for work_ / home_). <br/>Besides the placeholder default_address, always returns the first address found. Sorting is done by the order(if set) else by date, newest first.",
|
61
61
|
"enum":["work","home", "parcel"],
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"type":"integer"
|
67
67
|
},
|
68
68
|
"lat": {
|
69
|
-
"description": "Geolocation latitude",
|
69
|
+
"description": "Geolocation latitude",
|
70
70
|
"type":"string"
|
71
71
|
},
|
72
72
|
"long": {
|
@@ -77,5 +77,6 @@
|
|
77
77
|
"description": "When set an existing address will be deleted. This switch is only used when addresses are passed-in nested inside their parent object(a contact).",
|
78
78
|
"type":"boolean"
|
79
79
|
}
|
80
|
-
}
|
80
|
+
},
|
81
|
+
"links":[]
|
81
82
|
}
|
data/json/v1.0/attachment.json
CHANGED
@@ -57,7 +57,7 @@
|
|
57
57
|
"description": "A team uuid. If set only the team and its parent teams can see the record.",
|
58
58
|
"type":"string"
|
59
59
|
}
|
60
|
-
|
60
|
+
|
61
61
|
},
|
62
62
|
"links":[
|
63
63
|
{ "rel": "self",
|
@@ -84,12 +84,14 @@
|
|
84
84
|
"filter[from]":{
|
85
85
|
"title" : "From date",
|
86
86
|
"description": "All objects created at and after the date",
|
87
|
-
"
|
87
|
+
"format" : "date",
|
88
|
+
"type" : "string"
|
88
89
|
},
|
89
90
|
"filter[to]":{
|
90
91
|
"title" : "To date",
|
91
92
|
"description": "All objects created at and before the date",
|
92
|
-
"
|
93
|
+
"format" : "date",
|
94
|
+
"type" : "string"
|
93
95
|
},
|
94
96
|
"sort_by":{
|
95
97
|
"title" : "Sort by",
|
data/json/v1.0/client.json
CHANGED
@@ -57,7 +57,7 @@
|
|
57
57
|
"description": "VAT number, for a company or person paying value added taxes.",
|
58
58
|
"type":"string",
|
59
59
|
"maxLength": 30
|
60
|
-
},
|
60
|
+
},
|
61
61
|
"email": {
|
62
62
|
"description": "Email address of the contact.",
|
63
63
|
"type":"string",
|
@@ -75,7 +75,7 @@
|
|
75
75
|
"tag_list": {
|
76
76
|
"description": "Space separated list of tags.",
|
77
77
|
"type":"string"
|
78
|
-
},
|
78
|
+
},
|
79
79
|
"created_at": {
|
80
80
|
"description": "Date the record was created in SK. Never changes afterwards.",
|
81
81
|
"format":"date-time",
|
@@ -205,22 +205,26 @@
|
|
205
205
|
"filter[created_at_from]":{
|
206
206
|
"title" : "From date",
|
207
207
|
"description": "Objects with a creation date after the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
208
|
-
"
|
208
|
+
"format" : "date-time",
|
209
|
+
"type" : "string"
|
209
210
|
},
|
210
211
|
"filter[created_at_to]":{
|
211
212
|
"title" : "To date",
|
212
213
|
"description": "Objects with a creation date before the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
213
|
-
"
|
214
|
+
"format" : "date-time",
|
215
|
+
"type" : "string"
|
214
216
|
},
|
215
217
|
"filter[birthday_from]":{
|
216
218
|
"title" : "From birthday date",
|
217
219
|
"description": "Contacts with a birthday after and on the date. Leave the birthday-to date blank to only search on this day.",
|
218
|
-
"
|
220
|
+
"format" : "date",
|
221
|
+
"type" : "string"
|
219
222
|
},
|
220
223
|
"filter[birthday_to]":{
|
221
224
|
"title" : "To birthday date",
|
222
225
|
"description": "Contacts with a birthday date before and on the date.",
|
223
|
-
"
|
226
|
+
"format" : "date",
|
227
|
+
"type" : "string"
|
224
228
|
},
|
225
229
|
"filter[creator_ids]":{
|
226
230
|
"title" : "Creator",
|
@@ -230,7 +234,7 @@
|
|
230
234
|
"filter[number]":{
|
231
235
|
"title" : "By number",
|
232
236
|
"description": "Search by number where the number is matched from the start: %number",
|
233
|
-
"type" : "
|
237
|
+
"type" : "string"
|
234
238
|
},
|
235
239
|
"filter[languages]":{
|
236
240
|
"title" : "Languages",
|
data/json/v1.0/comment.json
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
"description": "The comment himself.",
|
13
13
|
"required":true,
|
14
14
|
"type":"string"
|
15
|
-
},
|
15
|
+
},
|
16
16
|
"related_object_type": {
|
17
17
|
"description": "Object type of the comments parent. Is the camelcased base class name: Document for invoice, credit_note,.., Contact for client",
|
18
18
|
"required":true,
|
@@ -65,12 +65,14 @@
|
|
65
65
|
"filter[from]":{
|
66
66
|
"title" : "From date",
|
67
67
|
"description": "All objects with a date after the date",
|
68
|
-
"
|
68
|
+
"format" : "date",
|
69
|
+
"type" : "string"
|
69
70
|
},
|
70
71
|
"filter[to]":{
|
71
72
|
"title" : "To date",
|
72
73
|
"description": "All objects with date before the date",
|
73
|
-
"
|
74
|
+
"format" : "date",
|
75
|
+
"type" : "string"
|
74
76
|
},
|
75
77
|
"sort_by":{
|
76
78
|
"title" : "Sort by",
|
data/json/v1.0/credit_note.json
CHANGED
@@ -183,12 +183,14 @@
|
|
183
183
|
"filter[created_at_from]":{
|
184
184
|
"title" : "From date",
|
185
185
|
"description": "Objects with a creation date after the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
186
|
-
"
|
186
|
+
"format" : "date-time",
|
187
|
+
"type" : "string"
|
187
188
|
},
|
188
189
|
"filter[created_at_to]":{
|
189
190
|
"title" : "To date",
|
190
191
|
"description": "Objects with a creation date before the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
191
|
-
"
|
192
|
+
"format" : "date-time",
|
193
|
+
"type" : "string"
|
192
194
|
},
|
193
195
|
"filter[languages]":{
|
194
196
|
"title" : "Languages",
|
data/json/v1.0/document.json
CHANGED
@@ -132,22 +132,26 @@
|
|
132
132
|
"filter[from]":{
|
133
133
|
"title" : "From date",
|
134
134
|
"description": "Objects with a date after the date",
|
135
|
-
"
|
135
|
+
"format" : "date",
|
136
|
+
"type" : "string"
|
136
137
|
},
|
137
138
|
"filter[to]":{
|
138
139
|
"title" : "To date",
|
139
140
|
"description": "Objects with date before the date",
|
140
|
-
"
|
141
|
+
"format" : "date",
|
142
|
+
"type" : "string"
|
141
143
|
},
|
142
144
|
"filter[created_at_from]":{
|
143
145
|
"title" : "From date",
|
144
146
|
"description": "Objects with a creation date after the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
145
|
-
"
|
147
|
+
"format" : "date-time",
|
148
|
+
"type" : "string"
|
146
149
|
},
|
147
150
|
"filter[created_at_to]":{
|
148
151
|
"title" : "To date",
|
149
152
|
"description": "Objects with a creation date before the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
150
|
-
"
|
153
|
+
"format" : "date-time",
|
154
|
+
"type" : "string"
|
151
155
|
},
|
152
156
|
"filter[languages]":{
|
153
157
|
"title" : "Languages",
|
data/json/v1.0/email.json
CHANGED
@@ -117,12 +117,14 @@
|
|
117
117
|
"filter[from]":{
|
118
118
|
"title" : "From date",
|
119
119
|
"description": "All objects updated on/after the date",
|
120
|
-
"
|
120
|
+
"format" : "date",
|
121
|
+
"type" : "string"
|
121
122
|
},
|
122
123
|
"filter[to]":{
|
123
124
|
"title" : "To date",
|
124
125
|
"description": "All objects updated on/before the date",
|
125
|
-
"
|
126
|
+
"format" : "date",
|
127
|
+
"type" : "string"
|
126
128
|
},
|
127
129
|
"sort_by":{
|
128
130
|
"title" : "Sort by",
|
data/json/v1.0/estimate.json
CHANGED
@@ -163,22 +163,26 @@
|
|
163
163
|
"filter[from]":{
|
164
164
|
"title" : "From date",
|
165
165
|
"description": "Objects with a date after the date",
|
166
|
-
"
|
166
|
+
"format" : "date",
|
167
|
+
"type" : "string"
|
167
168
|
},
|
168
169
|
"filter[to]":{
|
169
170
|
"title" : "To date",
|
170
171
|
"description": "Objects with date before the date",
|
171
|
-
"
|
172
|
+
"format" : "date",
|
173
|
+
"type" : "string"
|
172
174
|
},
|
173
175
|
"filter[created_at_from]":{
|
174
176
|
"title" : "From date",
|
175
177
|
"description": "Objects with a creation date after the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
176
|
-
"
|
178
|
+
"format" : "date-time",
|
179
|
+
"type" : "string"
|
177
180
|
},
|
178
181
|
"filter[created_at_to]":{
|
179
182
|
"title" : "To date",
|
180
183
|
"description": "Objects with a creation date before the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
181
|
-
"
|
184
|
+
"format" : "date-time",
|
185
|
+
"type" : "string"
|
182
186
|
},
|
183
187
|
"filter[languages]":{
|
184
188
|
"title" : "Languages",
|
data/json/v1.0/export.json
CHANGED
@@ -93,12 +93,14 @@
|
|
93
93
|
"filter[from]":{
|
94
94
|
"title" : "From date",
|
95
95
|
"description": "All objects with a date after the date",
|
96
|
-
"
|
96
|
+
"format" : "date",
|
97
|
+
"type" : "string"
|
97
98
|
},
|
98
99
|
"filter[to]":{
|
99
100
|
"title" : "To date",
|
100
101
|
"description": "All objects with date before the date",
|
101
|
-
"
|
102
|
+
"format" : "date",
|
103
|
+
"type" : "string"
|
102
104
|
},
|
103
105
|
"sort_by":{
|
104
106
|
"title" : "Sort by",
|
data/json/v1.0/invoice.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{ "type":"object",
|
2
2
|
"title": "invoice",
|
3
|
-
"description": "An invoice",
|
3
|
+
"description": "An invoice",
|
4
4
|
"properties":{
|
5
5
|
"id":{
|
6
6
|
"description": "UUID assigned by SK",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"type":"string"
|
42
42
|
},
|
43
43
|
"payment_method":{
|
44
|
-
"description": "How the
|
44
|
+
"description": "How the document is beeing payed. Used in new payments.",
|
45
45
|
"enum":["cash","bank_transfer","credit_card","paypal","direct_debit","cheque", "moneybookers", "premium_sms"],
|
46
46
|
"type":"string"
|
47
47
|
},
|
@@ -173,12 +173,14 @@
|
|
173
173
|
"filter[from]":{
|
174
174
|
"title" : "From date",
|
175
175
|
"description": "Objects with a date after the date",
|
176
|
-
"
|
176
|
+
"format" : "date",
|
177
|
+
"type" : "string"
|
177
178
|
},
|
178
179
|
"filter[to]":{
|
179
180
|
"title" : "To date",
|
180
181
|
"description": "Objects with date before the date",
|
181
|
-
"
|
182
|
+
"format" : "date",
|
183
|
+
"type" : "string"
|
182
184
|
},
|
183
185
|
"filter[languages]":{
|
184
186
|
"title" : "Languages",
|
data/json/v1.0/line_item.json
CHANGED
@@ -67,5 +67,6 @@
|
|
67
67
|
"description": "When set an existing item will be deleted. This switch is used for items passed-in nested inside their parent object(a document), which is default as long as there is no line item endpoint available.",
|
68
68
|
"type":"boolean"
|
69
69
|
}
|
70
|
-
}
|
70
|
+
},
|
71
|
+
"links":[]
|
71
72
|
}
|
data/json/v1.0/order.json
CHANGED
@@ -31,6 +31,11 @@
|
|
31
31
|
"description": "Some external reference, whatever this may be.",
|
32
32
|
"type":"string"
|
33
33
|
},
|
34
|
+
"payment_method":{
|
35
|
+
"description": "How the document is beeing payed. Used in new payments.",
|
36
|
+
"enum":["cash","bank_transfer","credit_card","paypal","direct_debit","cheque", "moneybookers", "premium_sms"],
|
37
|
+
"type":"string"
|
38
|
+
},
|
34
39
|
"title":{
|
35
40
|
"description": "The headline of a document. Use SK placeholders to prevent exessive typing e.g. 'Your order [number]'",
|
36
41
|
"type":"string"
|
@@ -149,22 +154,26 @@
|
|
149
154
|
"filter[from]":{
|
150
155
|
"title" : "From date",
|
151
156
|
"description": "Objects with a date after the date",
|
152
|
-
"
|
157
|
+
"format" : "date",
|
158
|
+
"type" : "string"
|
153
159
|
},
|
154
160
|
"filter[to]":{
|
155
161
|
"title" : "To date",
|
156
162
|
"description": "Objects with date before the date",
|
157
|
-
"
|
163
|
+
"format" : "date",
|
164
|
+
"type" : "string"
|
158
165
|
},
|
159
166
|
"filter[created_at_from]":{
|
160
167
|
"title" : "From date",
|
161
168
|
"description": "Objects with a creation date after the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
162
|
-
"
|
169
|
+
"format" : "date-time",
|
170
|
+
"type" : "string"
|
163
171
|
},
|
164
172
|
"filter[created_at_to]":{
|
165
173
|
"title" : "To date",
|
166
174
|
"description": "Objects with a creation date before the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
167
|
-
"
|
175
|
+
"format" : "date-time",
|
176
|
+
"type" : "string"
|
168
177
|
},
|
169
178
|
"filter[languages]":{
|
170
179
|
"title" : "Languages",
|
data/json/v1.0/payment.json
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
"description": "The payment amount",
|
13
13
|
"required":true,
|
14
14
|
"type":"number"
|
15
|
-
},
|
15
|
+
},
|
16
16
|
"external_ref":{
|
17
17
|
"description": "Reference number f.ex. issued by the bank.",
|
18
18
|
"type":"string"
|
@@ -74,13 +74,15 @@
|
|
74
74
|
"filter[from]":{
|
75
75
|
"title" : "From date",
|
76
76
|
"description": "All objects with a date after the date",
|
77
|
-
"
|
77
|
+
"format" : "date",
|
78
|
+
"type" : "string"
|
78
79
|
|
79
80
|
},
|
80
81
|
"filter[to]":{
|
81
82
|
"title" : "To date",
|
82
83
|
"description": "All objects with date before the date",
|
83
|
-
"
|
84
|
+
"format" : "date",
|
85
|
+
"type" : "string"
|
84
86
|
},
|
85
87
|
"sort_by":{
|
86
88
|
"title" : "Sort by",
|
@@ -99,10 +99,10 @@
|
|
99
99
|
"type":"integer"
|
100
100
|
},
|
101
101
|
"gross_total":{
|
102
|
-
"description": "
|
102
|
+
"description": "DEPRECATED use net_total bcs there are no taxes applied",
|
103
103
|
"readonly":true,
|
104
104
|
"type":"number"
|
105
|
-
},
|
105
|
+
},
|
106
106
|
"net_total":{
|
107
107
|
"description": "Net total, 2 decimals places",
|
108
108
|
"readonly":true,
|
@@ -139,12 +139,14 @@
|
|
139
139
|
"filter[from]":{
|
140
140
|
"title" : "From date",
|
141
141
|
"description": "All objects with a date after the date",
|
142
|
-
"
|
142
|
+
"format" : "date",
|
143
|
+
"type" : "string"
|
143
144
|
},
|
144
145
|
"filter[to]":{
|
145
146
|
"title" : "To date",
|
146
147
|
"description": "All objects with date before the date",
|
147
|
-
"
|
148
|
+
"format" : "date",
|
149
|
+
"type" : "string"
|
148
150
|
},
|
149
151
|
"filter[languages]":{
|
150
152
|
"title" : "Languages",
|
data/json/v1.0/recurring.json
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
"required":true
|
41
41
|
},
|
42
42
|
"payment_method":{
|
43
|
-
"description": "How the
|
43
|
+
"description": "How the document is beeing payed. Used in new payments.",
|
44
44
|
"enum":["cash","bank_transfer","credit_card","paypal","direct_debit","cheque", "moneybookers", "premium_sms"],
|
45
45
|
"type":"string"
|
46
46
|
},
|
@@ -155,22 +155,26 @@
|
|
155
155
|
"filter[from]":{
|
156
156
|
"title" : "From date",
|
157
157
|
"description": "Objects with a date after the date",
|
158
|
-
"
|
158
|
+
"format" : "date",
|
159
|
+
"type" : "string"
|
159
160
|
},
|
160
161
|
"filter[to]":{
|
161
162
|
"title" : "To date",
|
162
163
|
"description": "Objects with date before the date",
|
163
|
-
"
|
164
|
+
"format" : "date",
|
165
|
+
"type" : "string"
|
164
166
|
},
|
165
167
|
"filter[created_at_from]":{
|
166
168
|
"title" : "From date",
|
167
169
|
"description": "Objects with a creation date after the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
168
|
-
"
|
170
|
+
"format" : "date-time",
|
171
|
+
"type" : "string"
|
169
172
|
},
|
170
173
|
"filter[created_at_to]":{
|
171
174
|
"title" : "To date",
|
172
175
|
"description": "Objects with a creation date before the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
|
173
|
-
"
|
176
|
+
"format" : "date-time",
|
177
|
+
"type" : "string"
|
174
178
|
},
|
175
179
|
"filter[languages]":{
|
176
180
|
"title" : "Languages",
|
@@ -230,7 +234,7 @@
|
|
230
234
|
},
|
231
235
|
{ "rel": "attachments",
|
232
236
|
"href": "recurrings/{id}/attachments"
|
233
|
-
},
|
237
|
+
},
|
234
238
|
{ "rel": "comments",
|
235
239
|
"href": "recurrings/{id}/comments"
|
236
240
|
}
|
data/sk_api_schema.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "sk_api_schema"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Georg Leciejewski"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-05-31"
|
13
13
|
s.description = "The SalesKing JSON Schema describes our business API in terms of available objects, their fields and links to url endpoints with related objects. Besides ruby users can use a smal lib with utility methods to load and test the schema files."
|
14
14
|
s.email = "gl@salesking.eu"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -53,7 +53,7 @@ Gem::Specification.new do |s|
|
|
53
53
|
]
|
54
54
|
s.homepage = "http://github.com/salesking/sk_api_schema"
|
55
55
|
s.require_paths = ["lib"]
|
56
|
-
s.rubygems_version = "1.8.
|
56
|
+
s.rubygems_version = "1.8.24"
|
57
57
|
s.summary = "SalesKing API JSON Schema"
|
58
58
|
|
59
59
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,73 +1,73 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sk_api_schema
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 0
|
10
|
-
version: 0.3.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Georg Leciejewski
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-05-31 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: activesupport
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: rspec
|
36
23
|
prerelease: false
|
37
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
25
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rspec
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
46
38
|
type: :development
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: rcov
|
50
39
|
prerelease: false
|
51
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
41
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rcov
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
60
54
|
type: :development
|
61
|
-
|
62
|
-
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
description: The SalesKing JSON Schema describes our business API in terms of available
|
63
|
+
objects, their fields and links to url endpoints with related objects. Besides ruby
|
64
|
+
users can use a smal lib with utility methods to load and test the schema files.
|
63
65
|
email: gl@salesking.eu
|
64
66
|
executables: []
|
65
|
-
|
66
67
|
extensions: []
|
67
|
-
|
68
|
-
extra_rdoc_files:
|
68
|
+
extra_rdoc_files:
|
69
69
|
- README.rdoc
|
70
|
-
files:
|
70
|
+
files:
|
71
71
|
- CHANGELOG.rdoc
|
72
72
|
- README.rdoc
|
73
73
|
- Rakefile
|
@@ -104,36 +104,26 @@ files:
|
|
104
104
|
- spec/spec_helper.rb
|
105
105
|
homepage: http://github.com/salesking/sk_api_schema
|
106
106
|
licenses: []
|
107
|
-
|
108
107
|
post_install_message:
|
109
108
|
rdoc_options: []
|
110
|
-
|
111
|
-
require_paths:
|
109
|
+
require_paths:
|
112
110
|
- lib
|
113
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
112
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
|
119
|
-
|
120
|
-
- 0
|
121
|
-
version: "0"
|
122
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
118
|
none: false
|
124
|
-
requirements:
|
125
|
-
- -
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
|
128
|
-
segments:
|
129
|
-
- 0
|
130
|
-
version: "0"
|
119
|
+
requirements:
|
120
|
+
- - ! '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
131
123
|
requirements: []
|
132
|
-
|
133
124
|
rubyforge_project:
|
134
|
-
rubygems_version: 1.8.
|
125
|
+
rubygems_version: 1.8.24
|
135
126
|
signing_key:
|
136
127
|
specification_version: 3
|
137
128
|
summary: SalesKing API JSON Schema
|
138
129
|
test_files: []
|
139
|
-
|