lmb-developers 1.4.0 → 1.4.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: 5048b78a2023adb91caa9ba1a496731b7b31ec66ca3ad38bd847af03f6f2668a
4
- data.tar.gz: 25866b18dd59915a1e2d343855d1780e052835689d65dbb452b9ecfc9755ffd7
3
+ metadata.gz: 9dcb2d760bcb6a0e165e812a0cae5bafa6cbac289e5d39651064ea99d0decc2a
4
+ data.tar.gz: 30064f8ff3934197e26dbd95aa929ac76de2fbcbf972aa2b2618fec1d7468f55
5
5
  SHA512:
6
- metadata.gz: d727c35b3bf5c9f7c071954233c769a883cc8f027f7c1544b3eaeb8b8d5911bdf1c1644dbfcdf937a5785513ec29b266ee309841b1094382317ca368ed4ff751
7
- data.tar.gz: 6feab99e2fb12e7928b662b237a51d8b968dd4ed9cd394e34bc29c29099f8007d18782a05adc8c7cbbbd1675b67574fbb817279b003297b344a5735b81082ef2
6
+ metadata.gz: 462b8fa9cb69263734f46e3b2c6145db5ba707a138951d6a0bb3345919ce1b87bf6ad03b8f9ce9aa6827c306940dc30ebfd90260cae6e31709b5969b1aab2966
7
+ data.tar.gz: 8d13efadf0886944f9c7ad5c3b08688889f43d39f8fdac99b9599e1deb4d324c92db97c50d095bace7f1d3b43cdf4374706d7c1950601e3470377712047a75ce
@@ -49,7 +49,7 @@ module Lmb
49
49
  #
50
50
  # @return [String] returns the Authorization header string.
51
51
  def self.generate_basic_auth
52
- base64_encoded_credentials = Base64.encode64("#{configuration.username.to_s}:#{configuration.password.to_s}").strip
52
+ base64_encoded_credentials = Base64.encode64("#{configuration.username.to_s}:#{configuration.password.to_s}").gsub(/\n/, '')
53
53
  "Basic #{base64_encoded_credentials}"
54
54
  end
55
55
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'lmb-developers'
3
- s.version = '1.4.0'
4
- s.date = '2023-12-18'
3
+ s.version = '1.4.1'
4
+ s.date = '2023-12-19'
5
5
  s.summary = "Consume APIs at Leroy Merlin Brazil Developer's Portal"
6
6
  s.description = "Gem to consume APIs available at Leroy Merlin Brazil Developer's Portal https://developers.leroymerlin.com.br"
7
7
  s.author = "PRTE - Tecnologia e Soluções"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lmb-developers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PRTE - Tecnologia e Soluções
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2023-12-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Gem to consume APIs available at Leroy Merlin Brazil Developer's Portal
14
14
  https://developers.leroymerlin.com.br