sk_api_schema 0.0.11 → 0.0.12

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/README.rdoc CHANGED
@@ -7,22 +7,35 @@ relationships with other resources.
7
7
  For ruby users this project provides a gem with some basic utility functions
8
8
  besides the schema. Other languages can take advantage of the raw json files.
9
9
 
10
- == TODO
10
+ == Tutorial & Docs
11
11
 
12
- The urls in the link sections, need some love, so please don't rely on them right now
12
+ http://dev.blog.salesking.eu/api/
13
13
 
14
- == Notice:
14
+ == Versioning
15
+
16
+ The API-version, is kept in the folder-name and as long as there are no major
17
+ changes(breaking backwards compatibility), the version number will remain.
18
+
19
+ The gem has its own version, not reflecting the api version. It is used in
20
+ SalesKing to deliver it's resources BUT changes might not be directly reflected.
21
+ A new gem version indicates a change, but we first try it on our staging environment
22
+ before any live instances are updated.
23
+
24
+ You can get the current schema at your SalesKing api url:
25
+ my.salesking.eu/api/schema
26
+ my.salesking.eu/api/clients/schema
15
27
 
16
- This gem is used actively by SalesKing to deliver it's api resources BUT commits
17
- and changes in here might not be directly reflected.
28
+ The version to use can be set with the "v" url parameter:
29
+ my.salesking.eu/api/clients?v='1.0'
30
+
31
+
32
+ == Notice:
18
33
 
19
- The gem version does not reflect the api version. The version, for now, is keept
20
- in the folder-name and as long as there are no major changes(breaking backwards
21
- compatibility), the version number will remain.
34
+ Those relative urls in the link sections, need some love, so please don't rely on
35
+ them to much right now.
22
36
 
23
37
  Especially within the next couple of weeks (until beginning of march) you will
24
- see some more resources made available. Links within each resource, will
25
- also be available but still need some cleanup.
38
+ see bugfixes since more resources where made available.
26
39
 
27
40
  == Install
28
41
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.11
1
+ 0.0.12
@@ -12,7 +12,7 @@
12
12
  "type":"string"
13
13
  },
14
14
  "organisation": {
15
- "description": "Name of a company. At least this or the lastname field must be filled for new records",
15
+ "description": "Name of a company. This or lastname must be present",
16
16
  "required" : true,
17
17
  "type":"string"
18
18
  },
@@ -58,7 +58,7 @@
58
58
  "type":"string"
59
59
  },
60
60
  "tag_list": {
61
- "description": "Space seperated list of tags.",
61
+ "description": "Space separated list of tags.",
62
62
  "type":"string"
63
63
  },
64
64
  "created_at": {
@@ -79,11 +79,15 @@
79
79
  "type":"string"
80
80
  },
81
81
  "bank_name": {
82
- "description": "Name of the bank.",
82
+ "description": "Bank name",
83
+ "type":"string"
84
+ },
85
+ "bank_number": {
86
+ "description": "Bank number",
83
87
  "type":"string"
84
88
  },
85
89
  "bank_account_number": {
86
- "description": "Number of the bank account.",
90
+ "description": "Bank account number.",
87
91
  "type":"string"
88
92
  },
89
93
  "bank_iban": {
@@ -95,7 +99,7 @@
95
99
  "type":"string"
96
100
  },
97
101
  "bank_owner": {
98
- "description": "Owner of the bank account.",
102
+ "description": "Bank account owner",
99
103
  "type":"string"
100
104
  },
101
105
  "phone_fax": {
@@ -107,7 +111,7 @@
107
111
  "type":"string"
108
112
  },
109
113
  "phone_home": {
110
- "description": "Private phone number.",
114
+ "description": "Private phone number",
111
115
  "type":"string"
112
116
  },
113
117
  "phone_mobile": {
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sk_api_schema}
8
- s.version = "0.0.11"
8
+ s.version = "0.0.12"
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 = %q{2011-01-25}
12
+ s.date = %q{2011-01-29}
13
13
  s.description = %q{SalesKing API JSON schema and utility methods}
14
14
  s.email = %q{gl@salesking.eu}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sk_api_schema
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 11
10
- version: 0.0.11
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Georg Leciejewski
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-25 00:00:00 +01:00
18
+ date: 2011-01-29 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency