liblynx-api 1.0.0 → 1.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fe4d72c4727a875b22339767d341ddad10d4ea67c7d696f197e958bc047cfa9
4
- data.tar.gz: d78d47e1de2396924105918a335667928e37d7b33463fcc605d8f49b2cbbcc05
3
+ metadata.gz: 1721e67204106823f15655d3e4ac2a35ae71c23f0b716d3ff54bb321c1313e09
4
+ data.tar.gz: 53947628a0695b4430227af5883cbb7aea44497a96d89fd2bdb763292de3deca
5
5
  SHA512:
6
- metadata.gz: f9e1097852ad4a367f0c9c661307c9145aaac7b84ccf99eb026aa170529eaa51c266442decbac36d7cda52622f47a9a79332082db9ff61360a44310b50a0a5d5
7
- data.tar.gz: 6981696e13fa5ff3fb251287545982cd585b655f3828bcd9c4895fca46cfe805a40d9048d232edce81f66aa22f5266b820326ec35cb1fd5a39ee9ffa15ecd9b7
6
+ metadata.gz: 067ec4853a37ff4ee77aae4297f6a5f64605c9da7087cba6556f7792514eb6a984f18b003d1b7527ecb2a20b05753cd89de467eefe0ea3588a2d1d0933947366
7
+ data.tar.gz: b7b0eb7b424d4edc954a1a1c5f61ff141d1e827e01617c17e85d9c2e773ee2282bd0e265ab37da75294d5f8090a1212cf751d6e13b1990832a17c6da5593bb3f
@@ -0,0 +1,7 @@
1
+ deploy:
2
+ provider: rubygems
3
+ api_key:
4
+ secure: OxGYvmusVgh8GzIkRMTUXmTF/xNUs6W5pbVivRzCv1zlPmlFncbmd52WAytq7A5SioI07SYaaeF3Y9/AaEhh0vBteFcmWg32mMGt6FIAaOGyTi8s42mfp9RFZqcPZKb+DM/qr9pFPgUgFogJC7SIEEGhp07SOyrvK928A19H3XLOQbXTm11Pmf1+wBCuxOs84I74UflZw+qCRDfxGWheycna0fIEfev5tGeW/thotYKi2z5l4qNmqysnlW6zO380ORvschrWu+vSgTKELjo9d6AhK3dRBCC1c5VgVs0PaoLEpKRDtbBUuD8UmbKGTI/wgjEnwcj3S3FUoUGIBBis1WCX9TpQ7iSrWDAg1vQ3iKedWRJ65blt10kgwH5nRfk9JdmENviAGDNYwIGkKfMGRDZnq07gWUBSHx2kIKcvrFyovoHGJ8Zfk5b65YMB0JQw6sVx9kV4flstrJ4kgVMPOIy6U+RbSroSvJ2iOHsXxH1zTk4YtZrmow57jlQV4iUKOxkUIBdFKYCT9ucVOhfzfDoay4q4qY1Q/Ohf5GSJphNa7uwhjwnOkjiwvFTyfUiU6FD8NjIwlJ84dy3DrOmJBfj1Tj5/Z/hgH/lp/309T1rsY0fv5ebbktRg+L82mh0LK/bsFcVwskrOI7+WX6a4gmqBEZ4kdTNrYvU2R+VRuTY=
5
+ gem: liblynx-api
6
+ on:
7
+ repo: dsablic/liblynx-api
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- liblynx-api (1.0.0)
4
+ liblynx-api (1.0.1)
5
5
  heroics
6
6
  moneta
7
7
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # LibLynx API
1
+ # LibLynx API  [![Build Status](https://travis-ci.org/dsablic/liblynx-api.svg?branch=master)](https://travis-ci.org/dsablic/liblynx-api) [![Gem Version](https://badge.fury.io/rb/liblynx-api.svg)](https://badge.fury.io/rb/liblynx-api)
2
2
 
3
3
  Ruby HTTP client for the LibLynx API.
4
4
 
data/Rakefile CHANGED
@@ -30,6 +30,6 @@ task build: ['schema:combine', 'schema:verify', 'schema:doc', 'client']
30
30
  begin
31
31
  require 'rspec/core/rake_task'
32
32
  RSpec::Core::RakeTask.new(:spec)
33
- task default: [:spec]
33
+ task default: [:build]
34
34
  rescue LoadError
35
35
  end
data/api.md CHANGED
@@ -356,6 +356,7 @@ Stability: `production`
356
356
  | ------- | ------- | ------- | ------- |
357
357
  | **authorizations** | *array* | authorizations | |
358
358
  | **created** | *date-time* | when identification was created | `"2015-01-01T12:00:00Z"` |
359
+ | **force_sso_login** | *boolean* | force sso login | `true` |
359
360
  | **id** | *uuid* | unique identifier of identification | `"01234567-89ab-cdef-0123-456789abcdef"` |
360
361
  | **ip** | *ipv4* | ip address | `"192.0.2.1"` |
361
362
  | **publisher:id** | *integer* | | `42` |
@@ -397,6 +398,7 @@ POST /api/identifications
397
398
  | Name | Type | Description | Example |
398
399
  | ------- | ------- | ------- | ------- |
399
400
  | **email** | *email* | user email address | `"username@example.com"` |
401
+ | **force_sso_login** | *boolean* | force sso login | `true` |
400
402
 
401
403
 
402
404
  #### Curl Example
@@ -407,7 +409,8 @@ $ curl -n -X POST https://connect.liblynx.com/api/identifications \
407
409
  "email": "username@example.com",
408
410
  "ip": "192.0.2.1",
409
411
  "user_agent": "example",
410
- "url": "example"
412
+ "url": "example",
413
+ "force_sso_login": true
411
414
  }' \
412
415
  -H "Content-Type: application/json"
413
416
  ```
@@ -446,7 +449,8 @@ HTTP/1.1 201 Created
446
449
  "individual": true,
447
450
  "type": "example",
448
451
  "publisher_reference": "example"
449
- }
452
+ },
453
+ "force_sso_login": true
450
454
  }
451
455
  ```
452
456
 
@@ -499,7 +503,8 @@ HTTP/1.1 200 OK
499
503
  "individual": true,
500
504
  "type": "example",
501
505
  "publisher_reference": "example"
502
- }
506
+ },
507
+ "force_sso_login": true
503
508
  }
504
509
  ```
505
510
 
@@ -836,6 +836,12 @@ module LibLynxAPI
836
836
  "type": [
837
837
  "object"
838
838
  ]
839
+ },
840
+ "force_sso_login": {
841
+ "description": "force sso login",
842
+ "type": [
843
+ "boolean"
844
+ ]
839
845
  }
840
846
  },
841
847
  "links": [
@@ -857,6 +863,9 @@ module LibLynxAPI
857
863
  },
858
864
  "url": {
859
865
  "$ref": "#/definitions/identification/definitions/url"
866
+ },
867
+ "force_sso_login": {
868
+ "$ref": "#/definitions/identification/definitions/force_sso_login"
860
869
  }
861
870
  },
862
871
  "required": [
@@ -914,6 +923,9 @@ module LibLynxAPI
914
923
  },
915
924
  "target_account": {
916
925
  "$ref": "#/definitions/identification/definitions/target_account"
926
+ },
927
+ "force_sso_login": {
928
+ "$ref": "#/definitions/identification/definitions/force_sso_login"
917
929
  }
918
930
  }
919
931
  },
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LibLynxAPI
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
@@ -590,6 +590,12 @@
590
590
  "type": [
591
591
  "object"
592
592
  ]
593
+ },
594
+ "force_sso_login": {
595
+ "description": "force sso login",
596
+ "type": [
597
+ "boolean"
598
+ ]
593
599
  }
594
600
  },
595
601
  "links": [
@@ -611,6 +617,9 @@
611
617
  },
612
618
  "url": {
613
619
  "$ref": "#/definitions/identification/definitions/url"
620
+ },
621
+ "force_sso_login": {
622
+ "$ref": "#/definitions/identification/definitions/force_sso_login"
614
623
  }
615
624
  },
616
625
  "required": [
@@ -668,6 +677,9 @@
668
677
  },
669
678
  "target_account": {
670
679
  "$ref": "#/definitions/identification/definitions/target_account"
680
+ },
681
+ "force_sso_login": {
682
+ "$ref": "#/definitions/identification/definitions/force_sso_login"
671
683
  }
672
684
  }
673
685
  },
@@ -155,6 +155,12 @@
155
155
  "type": [
156
156
  "object"
157
157
  ]
158
+ },
159
+ "force_sso_login": {
160
+ "description": "force sso login",
161
+ "type": [
162
+ "boolean"
163
+ ]
158
164
  }
159
165
  },
160
166
  "links": [
@@ -176,6 +182,9 @@
176
182
  },
177
183
  "url": {
178
184
  "$ref": "/schemata/identification#/definitions/url"
185
+ },
186
+ "force_sso_login": {
187
+ "$ref": "/schemata/identification#/definitions/force_sso_login"
179
188
  }
180
189
  },
181
190
  "required": [
@@ -233,6 +242,9 @@
233
242
  },
234
243
  "target_account": {
235
244
  "$ref": "/schemata/identification#/definitions/target_account"
245
+ },
246
+ "force_sso_login": {
247
+ "$ref": "/schemata/identification#/definitions/force_sso_login"
236
248
  }
237
249
  },
238
250
  "id": "schemata/identification"
@@ -18,7 +18,8 @@ describe 'The generated liblynx api client' do
18
18
  user_agent: 'Some agent',
19
19
  ip: '127.0.0.1',
20
20
  url: "http://#{@test_domain}",
21
- email: "test@#{@test_domain}"
21
+ email: "test@#{@test_domain}",
22
+ force_sso_login: true
22
23
  }
23
24
  end
24
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liblynx-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Sablic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-07 00:00:00.000000000 Z
11
+ date: 2018-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -115,6 +115,7 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
+ - ".travis.yml"
118
119
  - Gemfile
119
120
  - Gemfile.lock
120
121
  - LICENSE
@@ -154,9 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
155
  version: '0'
155
156
  requirements: []
156
157
  rubyforge_project:
157
- rubygems_version: 2.7.3
158
+ rubygems_version: 2.7.6
158
159
  signing_key:
159
160
  specification_version: 4
160
161
  summary: Ruby client for the LibLynx API
161
- test_files:
162
- - spec/client_spec.rb
162
+ test_files: []