cin7_api 1.0.2 → 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: c3b3fe3b171c2a4f65118b746ac6077dd6f62b8d9a6caf668a349a9d01493b73
4
- data.tar.gz: e70bb152e82ae044e06f0d4643f79db8f4a98cc0ec44395c273eada96bea85b7
3
+ metadata.gz: 00aa61f9aba5bdaed71770a08bf215e94cc7dded390dcf68c04b175d672e359b
4
+ data.tar.gz: cf3b16f9e72f5f213c2b6a9fc6cab2517354ca238eea1af5afd24b3da02f2a82
5
5
  SHA512:
6
- metadata.gz: 6bee735e52e782948744515f76f5ac7e12703b51ce94dc687ae5b6bbebcf00e6cec6d255f9353dcab30467aa60e96a326f1c6addb715de8b1261412dd26fbad7
7
- data.tar.gz: 9f062cdcc070be82a74846dadaa7e4dc251f3ba328f51f61566375f15595767619c13afa297a6e7df86b8c05a57e5152924731e87cd3e76af596913949bdc2fe
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 (1.0.1)
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.2"
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.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wei Zhe Heng