domoscio_rails 0.4.15 → 0.4.17

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: d3c96bb491c166cdab0cf433a4d322698bfb6fc1e89e3da3fadb52abd8cd46d3
4
- data.tar.gz: 5873ddec4b8a927f091c36c672a210f9ab5a04152938f91b0422670f64fc5834
3
+ metadata.gz: b74e733694e2ac852299a7891fe42e294847b7e530b004e4824f5aa45803762c
4
+ data.tar.gz: 32e3129c7da29dcd49c2fda636186200ddd6bf06d2768c2cf89a0d3b5956ca15
5
5
  SHA512:
6
- metadata.gz: 6d47a859b46dd2c878076cba3fa067c7fb276ee1fcc15feb098a59179560d7eafdabee1586a775f04e09e5bda23da4c66c61433d2f7b7d9bb0b322db508c84ce
7
- data.tar.gz: 3a7a6706105a0d89111709d12610bcaef94d5b2b03f5b47604cb2fdb10db52b411949577f4110399ba3ad7a37d8e7f29490351449f449c19bbcecfeaa7640320
6
+ metadata.gz: 9d519cc8358dfc059fe6116fdfcc44219ca8b0cdf2f5748788e557ab02b80285204b11aba6e86a2e60abe3127d72fed42c5df36af11971a1d3ea9f0f208932a6
7
+ data.tar.gz: 85b67fa114f7dc0a9a58bbe669d41643d07f893608e3f5b920665d2417b2f0ae59bc51484ce4de441e74fcde2f69248e10180b9a19ffe54475c945fa451d7dcb
@@ -1,5 +1,6 @@
1
1
  module DomoscioRails
2
2
  class Export < Resource
3
3
  include DomoscioRails::HTTPCalls::Util
4
+ include DomoscioRails::HTTPCalls::UtilPost
4
5
  end
5
6
  end
@@ -1,3 +1,3 @@
1
1
  module DomoscioRails
2
- VERSION = '0.4.15'.freeze
2
+ VERSION = '0.4.17'.freeze
3
3
  end
@@ -96,7 +96,7 @@ module DomoscioRails
96
96
  begin
97
97
  raise_http_failure(uri, response, params)
98
98
 
99
- if response['Content-Type'] == 'application/zip'
99
+ if response['Content-Type'] == 'application/zip' || response['Content-Type'] == 'application/xlsx'
100
100
  data = response
101
101
  else
102
102
  data = DomoscioRails::JSON.load(response.body.nil? ? '' : response.body)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domoscio_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.15
4
+ version: 0.4.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit Praly
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-07 00:00:00.000000000 Z
11
+ date: 2023-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -98,7 +98,7 @@ homepage: http://www.domoscio.com
98
98
  licenses:
99
99
  - MIT
100
100
  metadata: {}
101
- post_install_message:
101
+ post_install_message:
102
102
  rdoc_options: []
103
103
  require_paths:
104
104
  - lib
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  requirements: []
116
116
  rubygems_version: 3.2.22
117
- signing_key:
117
+ signing_key:
118
118
  specification_version: 4
119
119
  summary: Summary of DomoscioRailspec.
120
120
  test_files: []