magentwo 0.1.8 → 0.1.81

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: aa0539c40b51df6d70767268e48405720552c3760e5eb50bf0743de635428924
4
- data.tar.gz: e95ee4c5eac328f66fcd5653b8b5c4530eaa396df8671b6a2b2c019583043fad
3
+ metadata.gz: eda5a55a11df61797a05b2f35d3fe0b20d6479d72872b3812823ca5e38fe05b0
4
+ data.tar.gz: 3f3f4ff404035cb0f5173c568e2c70eff45c5d1b8d9cc939432d8216f7a50328
5
5
  SHA512:
6
- metadata.gz: 1924091ecf2d564e164f1dc380adaca6321016e6a6eecb9514e5a288c8be1619a6e38b60d27dd831d2e07e70b174586121367fd7c2dfbae4737cbae920d17aca
7
- data.tar.gz: edd7edc4deb94fcd308dc004fcda0cb6b6e8dcd1c692afb7b76f2db028ab28db8f4a054e1fd6421ffb93e1a3aa615ec61cd02f09aff466a85b2ecde757032b62
6
+ metadata.gz: 39cd5cf819232affd9d70751259f2312b86616ded6d44b7c5e157cc5cb813997287ab15623eb23488a96ba019e16e6c3dcd349d23512dd497b9c4831a12f2640
7
+ data.tar.gz: 070e57ef46f0129bd252693487040207655ab4e3b62171639e16dd80081d32712ac121ea191ad97ac00c2fba7ce6cee9778f2268129c968874b54033051d24da
data/.gitignore CHANGED
@@ -50,3 +50,5 @@ build-iPhoneSimulator/
50
50
 
51
51
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
52
52
  .rvmrc
53
+
54
+ /cplus
@@ -54,7 +54,7 @@ module Magentwo
54
54
  item[date_field] = Date.parse item[date_field] if item[date_field]
55
55
  end
56
56
  DateTimeFields.each do |datetime_field|
57
- item[datetime_field] = Time.parse item[datetime_field] if item[datetime_field]
57
+ item[datetime_field] = (Time.parse "#{item[datetime_field]} UTC").getlocal if item[datetime_field]
58
58
  end
59
59
  item
60
60
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'magentwo'
3
- s.version = '0.1.8'
3
+ s.version = '0.1.81'
4
4
  s.date = '2019-01-17'
5
5
  s.summary = "Magento 2 API Wrapper"
6
6
  s.description = "Provides a simple Ruby Interface to interact with the Magento 2 API"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magentwo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Mueß