selligent 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccf89ee98092bf6e2e79ce775aee2b675f0c565cfb062c99d3b55d6f664cc1ad
4
- data.tar.gz: fee9a48adbe5efedb493e7f4d1ebfc0f828178b00594aa2245faf08a995dcba8
3
+ metadata.gz: de6faef8370041f9b1f8c5da19505e395fdcd8d8a6a3d1e4558bfd933651e220
4
+ data.tar.gz: 8e449eeb011415cc0f00166148e8509a3e10f671b6235b140b057fb595bba931
5
5
  SHA512:
6
- metadata.gz: 15c039f38aa2664885c88dcbd36a3fdb8e1ec5b78855e52f350fe8f673c9502324f06a3fda52948ca61c8b7cd3966c41e4f6241168fb1ed2bd18a55f7cca275d
7
- data.tar.gz: 51d6814010d48aa7f0977f4132ca837e46a3bc5a491fdb3a39add900c56afeedcc35fe4c08890c1c2c916539c9ccff796a770c5cda88bfee7cb61ea8cc953480
6
+ metadata.gz: eccae6c1af4879c29655efcc115370f1bfcbb96feec983ef7a92021a256767e0995b19f7d6e5add573d9add8d8ea5e8735f19520f47f17ddc14b7dc9d8c5dd0d
7
+ data.tar.gz: abea162c004234d8cbaf7117f0c674d12ada5f9a5702b8abbf30a93d3b01e5cbc069ef2002a4d83fdac62579428c2b8f323c8271224abe0c50ab07d2996cd56e
data/README.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Selligent Ruby API client
2
2
 
3
+ ## Install
4
+
5
+ Install via Rubygems
6
+
7
+ ```bash
8
+ gem install selligent
9
+ ```
10
+
11
+ ... or add to your Gemfile
12
+
13
+ ```ruby
14
+ gem 'selligent', '~> 0.1'
15
+ ```
16
+
17
+ Access the library in Ruby:
18
+
19
+ ```ruby
20
+ require 'selligent'
21
+ ```
22
+
3
23
  ## Configure
4
24
 
5
25
  ```ruby
@@ -30,6 +30,7 @@ module Selligent
30
30
  conn.request :selligent_auth
31
31
 
32
32
  conn.response :json, parser_options: { symbolize_names: true }
33
+ conn.response :raise_error
33
34
 
34
35
  conn.adapter Faraday.default_adapter
35
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Selligent
4
- VERSION = '0.1.2'.freeze
4
+ VERSION = '0.1.3'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selligent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Werner Hofstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-30 00:00:00.000000000 Z
11
+ date: 2019-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -103,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubyforge_project:
107
- rubygems_version: 2.7.7
106
+ rubygems_version: 3.0.1
108
107
  signing_key:
109
108
  specification_version: 4
110
109
  summary: Selligent Ruby API client