visma_eaccounting 0.0.5 → 0.0.7

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: 705adf9df4f3bb1b7ae01506f64e2b1012e98281268039f5dd51ee7ba021bdda
4
- data.tar.gz: 32798ebd37bce73b8536ac812092d50c6d4d1432e4728b74f240f34a8b0b1b42
3
+ metadata.gz: 9e0ec1c1cec97468b7c7656ffc062a0e31a46f9779523f6b3c20a8787b0539c4
4
+ data.tar.gz: d3ad62d6bba2319004fef8136b884ee0d03460d2a3ee6c77b0ddf5f067fde249
5
5
  SHA512:
6
- metadata.gz: 63fc82b57b5e9f76fdc09b2314d459a8ee4873012db5b07e53d3dba867f43149e177935a598e2e946078ac9a7df21d84914256f089fc89ffed05fc945fc67e32
7
- data.tar.gz: 88d934be8d45be3d5542d02fbf4882d80adb68624025a4a817cb4b364cd73e554c54cb8a23f3b2ee05c4ac4e809c16479b81f03a01bde9b2428f439c0591f321
6
+ metadata.gz: 20d44bae2754a5b235b2cc9e5d428818768319adfaa7fa3eb9f0203aa70830b9f8f15ff195a38c6074da845cd139cd18ca056185fa5b60409c65bd2d13b1c944
7
+ data.tar.gz: a41db40c9453c5ed39dd8a526846ba4219ce8e0c8a43f0ac71817da346bf77545cb16cfbfb9dc318bbfa88ca3504288177e188feccae6e8784881b921c04d608
data/Gemfile CHANGED
@@ -1,8 +1,3 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- platforms :rbx do
4
- gem 'rubysl'
5
- gem 'rubinius-developer_tools'
6
- end
7
-
8
3
  gemspec
@@ -149,15 +149,14 @@ module VismaEaccounting
149
149
  end
150
150
 
151
151
  def rest_client
152
- client = Faraday.new(self.api_url, proxy: self.proxy, ssl: { version: "TLSv1_2" }) do |faraday|
152
+ Faraday.new(self.api_url, proxy: self.proxy, ssl: { version: "TLSv1_2" }) do |faraday|
153
153
  faraday.response :raise_error
154
154
  faraday.adapter adapter
155
155
  if @request_builder.debug
156
156
  faraday.response :logger, @request_builder.logger, bodies: true
157
157
  end
158
+ faraday.request :authorization, 'Bearer', self.token
158
159
  end
159
- client.authorization :Bearer, self.token
160
- client
161
160
  end
162
161
 
163
162
  def parse_response(response)
@@ -1,3 +1,3 @@
1
1
  module VismaEaccounting
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visma_eaccounting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Espen Antonsen
8
8
  - Amro Mousa
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-18 00:00:00.000000000 Z
12
+ date: 2024-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -82,7 +82,7 @@ dependencies:
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  description: A wrapper for Visma eAccounting API 2.0
85
- email:
85
+ email:
86
86
  executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
@@ -111,7 +111,7 @@ homepage: http://github.com/espen/visma_eaccounting
111
111
  licenses:
112
112
  - MIT
113
113
  metadata: {}
114
- post_install_message:
114
+ post_install_message:
115
115
  rdoc_options: []
116
116
  require_paths:
117
117
  - lib
@@ -126,8 +126,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.1.2
130
- signing_key:
129
+ rubygems_version: 3.5.5
130
+ signing_key:
131
131
  specification_version: 4
132
132
  summary: A wrapper for Visma eAccounting API 2.0
133
133
  test_files: