magento 0.21.0 → 0.21.1

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: 3369907b3576aff1a8d5199396f90b0431b629c9abf2a339917ace10ae3bdefa
4
- data.tar.gz: 20149d57d54c0c5be44b1ca1b9006c429db2d254ff41272c201b68e2b6aa5c68
3
+ metadata.gz: 15c67c62a1922aae194eab45cae0684451a565ff8d7897fd914e8f4c7f2b9934
4
+ data.tar.gz: 0a75750bf4e0976d81b72d69398d05ca5e7d63ea3588fe161ff6dd46d4223f7f
5
5
  SHA512:
6
- metadata.gz: cd086b7748e54381a71f96af6d1356e6124ca97b169df488ff330a21de63ec4a702dc53c28ad964e4fbbcdc0ed314e83f4ffc5e400264b04de74fc1aaab964d7
7
- data.tar.gz: 580ed9f180845668b33a46b88ab237b56e99b4237fe0d3131452b3abe7bd694d48f342b93108d85069550bc241437a503c888e6994c8aad434794def55cc8765
6
+ metadata.gz: 02e95ff4336f3312a98acd8158decb1f66241f1183bb75de941f75c2cedaa7705ffcc732a9d8cb73d925cbd5f22a4404f42462bc8be46bfe86d219e880d45949
7
+ data.tar.gz: 4f70b1965fcaeaf3f67bafee6a2a3f4d2f38296f11eb591f0e42302d796f0b4c810851facfd3d9c757d9fb97d1c4d4e996d653b6c46e4b8184205522560a655b
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Add in your Gemfile
6
6
 
7
7
  ```rb
8
- gem 'magento', '~> 0.21.0'
8
+ gem 'magento', '~> 0.21.1'
9
9
  ```
10
10
 
11
11
  or run
@@ -619,14 +619,14 @@ Magento::Product.where(name_like: 'some name%').count
619
619
  ### Check whether a product is salable
620
620
 
621
621
  ```rb
622
- Inventoty.get_product_salable_quantity(sku: '4321', stock_id: 1)
622
+ Inventory.get_product_salable_quantity(sku: '4321', stock_id: 1)
623
623
  >> 1
624
624
  ```
625
625
 
626
626
  ### Check whether a product is salable for a specified quantity
627
627
 
628
628
  ```rb
629
- Inventoty.is_product_salable_for_requested_qty(
629
+ Inventory.is_product_salable_for_requested_qty(
630
630
  sku: '4321',
631
631
  stock_id: 1,
632
632
  requested_qty: 2
@@ -1,10 +1,10 @@
1
1
  module Magento
2
- class Inventoty
2
+ class Inventory
3
3
  class << self
4
4
  #
5
5
  # ==== Example
6
6
  #
7
- # Inventoty.is_product_salable_for_requested_qty(
7
+ # Inventory.is_product_salable_for_requested_qty(
8
8
  # sku: '4321',
9
9
  # stock_id: 1,
10
10
  # requested_qty: 2
@@ -1,3 +1,3 @@
1
1
  module Magento
2
- VERSION = '0.21.0'
2
+ VERSION = '0.21.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magento
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wallas Faria