haveapi-client 0.29.0 → 0.29.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: 64e208c9297b87f784abefa3ad21ec1ee176265c7c1b0c84323f5ea93cf54dab
4
- data.tar.gz: c8d7fd4e762307fa85751ca16ab79836009d102250a7e1d57a01c61ab06e373f
3
+ metadata.gz: cf4e372761a4d79f03e00c115f0bef2b1667de1b66531abd6320595a9387096d
4
+ data.tar.gz: 6d597ac773bcbeda1c550e8110b80bb5dfac49a28cf7a8e37123bc8269bf84a0
5
5
  SHA512:
6
- metadata.gz: f4fbf3e4c7ebb8a719291c0e676e7d88cbc04e16c700c8aa4fd6f52b9c6839c1fd6fb380cd90fe714575d642e63697da65f625993654fb3340d9b44848d267f6
7
- data.tar.gz: cf35c27d7e8ac429349847ad8ba084c0f09e82c38857d94c0b08cf18649a9b99b6e684acdb726d30517d0caf8b5e8c32d8470f541bfb0d4cc59986f576b73221
6
+ metadata.gz: 89388a80d62f6a5ff08d02a57c4858143914a3c4503d02952a177d0dfac163666c38eed38d64ffd760f55c5accd05eec8596b601c071eb47677af79719200ae6
7
+ data.tar.gz: f57b317c03c5ef8b6471a6899086f6b82162268736cf4ac58299e3b300f78bcc298b26653d0ab2f073b414be10793cf4859f1658cf7147f5395168d928aa1c48
@@ -1,6 +1,6 @@
1
1
  module HaveAPI
2
2
  module Client
3
3
  PROTOCOL_VERSION = '2.0'.freeze
4
- VERSION = '0.29.0'.freeze
4
+ VERSION = '0.29.1'.freeze
5
5
  end
6
6
  end
@@ -1,8 +1,6 @@
1
1
  require 'require_all'
2
2
  require 'date'
3
3
 
4
- require_relative 'client/i18n'
5
-
6
4
  module HaveAPI
7
5
  module Client
8
6
  # Shortcut to HaveAPI::Client::Client.new
@@ -12,6 +10,7 @@ module HaveAPI
12
10
  end
13
11
  end
14
12
 
13
+ require_relative 'client/i18n'
15
14
  require_rel 'client/*.rb'
16
15
  require_rel 'client/authentication/'
17
16
  require_rel 'client/parameters/'
data/spec/load_spec.rb ADDED
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'open3'
4
+ require 'rbconfig'
5
+
6
+ RSpec.describe HaveAPI::Client do
7
+ it 'requires the Ruby client without predefining HaveAPI' do
8
+ lib = File.expand_path('../lib', __dir__)
9
+ stdout, stderr, status = Open3.capture3(
10
+ RbConfig.ruby,
11
+ '-I',
12
+ lib,
13
+ '-e',
14
+ "require 'haveapi/client'; puts HaveAPI::Client::VERSION"
15
+ )
16
+
17
+ expect(status).to be_success, stderr
18
+ expect(stdout).to include(HaveAPI::Client::VERSION)
19
+ end
20
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haveapi-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Skokan
@@ -161,6 +161,7 @@ files:
161
161
  - spec/i18n_spec.rb
162
162
  - spec/integration/client_spec.rb
163
163
  - spec/integration/typed_input_spec.rb
164
+ - spec/load_spec.rb
164
165
  - spec/spec_helper.rb
165
166
  - spec/support/test_server.rb
166
167
  homepage: ''