moysklad 0.4.0 → 0.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: ac800af878e9eda7d3452b7b4b416dfd9e88b834bec446e18f77a12a8a1d7f08
4
- data.tar.gz: e70f8fed1d9a27dc108380900037517c818e73e8d3456f33b76b82ee59a6a3ee
3
+ metadata.gz: 3d6deac98d910e2122e5d088e5f296d5862e0444d321f6020c074d339b2c7e1c
4
+ data.tar.gz: 32b680c577404846d787bf849f0a9c6b32cdcf857405c49b8c7d8177dd75edb7
5
5
  SHA512:
6
- metadata.gz: af8dfe3809f719f2aa9ee89214adf498d16a0d2b735c413e5dc373a1b2fcf507bfa726d43f5404799369e63e3173ce68d4e238b3c96b9dd9e8a412876e1b6bbe
7
- data.tar.gz: 4ac7ad746a4ddd88170c7a0813903ebf68762528a83c98793c71e0b11d119c42896e4a2e490051c332fd6b738831fbe07693629e5c3997a4936e3aeec4c93863
6
+ metadata.gz: d256705204b4c6823c7d729c47cfd4d2ad62cc9e66688e171033a437c8d84973c469fe35fc86197bcb5a14c6001db1995ca3e16b3f381c9831780f30a994b5ee
7
+ data.tar.gz: bb721e69e475031587bfedf6c3022640020d867fbb305dd452838a4a68d8dff56d31a2d7725574a6afb11227af3579af977036d86256524cbb105a14f7aefcee
@@ -4,11 +4,10 @@ module AttributesConverter
4
4
  if data['attributes']
5
5
  if data['attributes'].is_a? Array
6
6
  data['attrs'] = data.delete 'attributes'
7
- binding.pry
8
7
  elsif data['attributes'].is_a? Hash
9
- puts data['attributes']
8
+ # do nothing
10
9
  else
11
- binding.pry
10
+ raise "Strange attribute class #{data['attribute']}"
12
11
  end
13
12
  end
14
13
  super data
@@ -10,7 +10,6 @@ class Moysklad::Client
10
10
  def initialize login: nil, password: nil, logger: nil
11
11
  @client = Faraday.new URL do |conn|
12
12
  unless logger.nil?
13
- binding.pry
14
13
  conn.response :detailed_logger, logger
15
14
  conn.request :curl, logger, :info
16
15
  end
@@ -1,3 +1,3 @@
1
1
  module Moysklad
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moysklad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danil Pismenny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-14 00:00:00.000000000 Z
11
+ date: 2023-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday