cin7_api 1.0.1 → 1.0.3

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: 86ef4d3e34b8bc9f482bb344359db33c9f616638e0e67f0cee02de20277750af
4
- data.tar.gz: 64b8c04ac3cb227ac1a8ec3e83c5592f4f8de7d7e4aaea2349ea0e6de974b7f2
3
+ metadata.gz: 00aa61f9aba5bdaed71770a08bf215e94cc7dded390dcf68c04b175d672e359b
4
+ data.tar.gz: cf3b16f9e72f5f213c2b6a9fc6cab2517354ca238eea1af5afd24b3da02f2a82
5
5
  SHA512:
6
- metadata.gz: 8d980925e1e68a16369fdbde259ef83b83b663d63d72fa141ee72e5d2500042d25343e12d77e79c194df914a6eb1ff2978168595e65d6614fd08a00eb49f4b53
7
- data.tar.gz: 28bb4be922acfcc9f62d91b3fcc109699ab056153a60b3fcbfe6fe3c72957c3023ffef8ab764b82088babc0b1dbd1958764cb1388e456f7bee7f759cb574d676
6
+ metadata.gz: ef12eed82b1d6ffdfdbcf6881d5fd83b91552df444d4b016008253b8763e4cd893f101175e474d85b62196e16422211f0d0c89490f2b7d17171f803f7ffd2e0a
7
+ data.tar.gz: 89e8c1b6f97614e2914bcc89e049a7e3273625e4e785be2a44a9c8a529504fd0a4e51e326f51c7aaba491c8f3e7462b438f1ce9c71e87bb191ec4886040ecef3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cin7_api (0.1.0)
4
+ cin7_api (1.0.2)
5
5
  activesupport
6
6
  faraday (~> 2.5)
7
7
  zeitwerk
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cin7API
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.3"
5
5
  end
data/lib/cin7_api.rb CHANGED
@@ -4,19 +4,10 @@ require_relative "cin7_api/version"
4
4
  require "zeitwerk"
5
5
 
6
6
  loader = Zeitwerk::Loader.for_gem
7
- loader.inflector.inflect(
8
- "cin7_api" => "Cin7API"
9
- )
7
+ loader.inflector.inflect("cin7_api" => "Cin7API")
10
8
  loader.collapse("#{__dir__}/cin7_api/objects")
11
9
  loader.collapse("#{__dir__}/cin7_api/resources")
12
10
  loader.setup # ready!
13
11
 
14
- module Cin7Api
15
- require "cin7_api/resources/sales_order_resource"
16
- require "cin7_api/resources/payment_resource"
17
- require "cin7_api/resources/credit_note_resource"
18
- require "cin7_api/objects/credit_note"
19
- require "cin7_api/objects/payment"
20
- require "cin7_api/objects/response"
21
- require "cin7_api/objects/sales_order"
12
+ module Cin7API
22
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cin7_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wei Zhe Heng