moysklad_integration 0.1.1 → 0.1.2

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: 6a69f32287dc109d257cfa66e84bd423e06884fa595140b49a43edde163572bb
4
- data.tar.gz: 5aa8b5c9aaceb5a090dcadbae816b8a7656fde958099d501dab8f77856a00923
3
+ metadata.gz: a499ef20bcf684e7a9fa9bb4e2ccb7604be96c0798e1a8c6545a76464cc806e4
4
+ data.tar.gz: de011d75988173f57d03fa3d15f1e7789e5a3d050aa1cd8c226a5580c18fd36d
5
5
  SHA512:
6
- metadata.gz: 4ad9838079330c5ed115e58cfe922f31fd1343fd853b1a9977efd262d138dda15c3aa8645e6db7a31f11f35b9f2314076c8c4aefc61daf410a40126224f49649
7
- data.tar.gz: efdbb28da30f24ec281fa2358486e3ff87b6e07dd21674c9357bf3ea8abae5f97cec889d88cd8f4f6db729c88ddd880101dd5f5d254ea21142cc33a38d46ff80
6
+ metadata.gz: d49b9d66b586b635526a9239a0596b662d32615c30b112e3a92d61e3a177c9abc3b7331a92483a23d0bde63e16f16a710bbdb8a2b18d2250364f337d0eab5588
7
+ data.tar.gz: a9ae649bd6213553ab86dedde1c67d188fce00ca51174a574f02d5f12c25d7d00005c0f5d1415cb7c5632c6ae2ba82305ef5abd0080e858a3fb9abc25c563851
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- moysklad_integration (0.1.1)
4
+ moysklad_integration (0.1.2)
5
5
  activesupport (~> 6.0, >= 6.0.3.1)
6
6
  addressable (~> 2.7)
7
7
  faraday (~> 1.0, >= 1.0.1)
@@ -31,7 +31,7 @@ GEM
31
31
  thread_safe (0.3.6)
32
32
  tzinfo (1.2.7)
33
33
  thread_safe (~> 0.1)
34
- zeitwerk (2.3.1)
34
+ zeitwerk (2.4.0)
35
35
 
36
36
  PLATFORMS
37
37
  ruby
@@ -41,7 +41,7 @@ module MoyskladIntegration
41
41
  next if keys_to_compare.present? && !keys_to_compare&.include?(key)
42
42
 
43
43
  hash[key] = current_position.instance_variable_get(var)
44
- end
44
+ end.merge!(id: current_position.id)
45
45
  end
46
46
 
47
47
  new_positions = (positions_params - current_positions)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MoyskladIntegration
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moysklad_integration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladislav Kalach
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-13 00:00:00.000000000 Z
11
+ date: 2020-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport