cin7_api 0.1.0 → 1.0.0

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: 7da8b2f7f6c38eaccde0b704581dde8fab9337b7f12a41faef7f12070bbfd1df
4
- data.tar.gz: 6483ede66b64cb1cb877adb3b9412bcfedb4d3f91a2e87421155a12b9f51ea19
3
+ metadata.gz: '02829b7023680a67f2730db6da424bbc559cccf94657eddccd350be0e2a1e163'
4
+ data.tar.gz: c7e56a158d2056798a9edf94a78bb8a3ecf10fb6bcd415013fb56c356633836c
5
5
  SHA512:
6
- metadata.gz: c5a0fd863152ab5699888436345bc278f7de43b54761ae89546b7a08af8c0bddbdf6aaeddb4bf1d68bdac0dadee3ac5bead32d7fdb4ef905db8e6223a352e4d9
7
- data.tar.gz: 78764e32b7388deea6c9ac51aa55dad9ed8601fdf6147f2fb217cddbbd32e52db7e3b842b22c51d532f989fc8a062856c1c0adb7833e79b513155e6886beca9d
6
+ metadata.gz: e4c712f9a9da167767ec71ab8ca79e484eb5e62d37010c02a372baa785d148da859f80d9d17f47ab88e6cba599492d687007655e44bc9ed621b8d07be2b7080b
7
+ data.tar.gz: 035ede88237b67dacc759172cf76144ffd773461f4016da2ae044868629d5e9d382e9c5a1069bf4a9eca87e7f8c5215eca04bd2a62e579cf30b00efbb13ab516
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cin7API
4
- VERSION = "0.1.0"
4
+ VERSION = "1.0.0"
5
5
  end
data/lib/cin7_api.rb CHANGED
@@ -12,4 +12,11 @@ loader.collapse("./lib/cin7_api/objects")
12
12
  loader.setup # ready!
13
13
 
14
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"
15
22
  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: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wei Zhe Heng
@@ -111,7 +111,6 @@ files:
111
111
  - LICENSE.txt
112
112
  - README.md
113
113
  - Rakefile
114
- - cin7_api.gemspec
115
114
  - lib/cin7_api.rb
116
115
  - lib/cin7_api/client.rb
117
116
  - lib/cin7_api/error.rb
data/cin7_api.gemspec DELETED
@@ -1,45 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/cin7_api/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "cin7_api"
7
- spec.version = Cin7API::VERSION
8
- spec.authors = ["Wei Zhe Heng"]
9
- spec.email = ["marcusheng@postco.co"]
10
-
11
- spec.summary = "Cin7 API Wrapper"
12
- spec.homepage = "https://github.com/PostCo/cin7_api"
13
- spec.license = "MIT"
14
- spec.required_ruby_version = ">= 2.6.0"
15
-
16
- spec.metadata["allowed_push_host"] = "https://rubygems.org/"
17
-
18
- spec.metadata["homepage_uri"] = spec.homepage
19
- spec.metadata["source_code_uri"] = "https://github.com/PostCo/cin7_api"
20
- spec.metadata["changelog_uri"] = "https://github.com/PostCo/cin7_api/releases"
21
-
22
- # Specify which files should be added to the gem when it is released.
23
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
- `git ls-files -z`.split("\x0").reject do |f|
26
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
27
- end
28
- end
29
- spec.bindir = "exe"
30
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
- spec.require_paths = ["lib"]
32
-
33
- # Uncomment to register a new dependency of your gem
34
- # spec.add_dependency "example-gem", "~> 1.0"
35
-
36
- # For more information and examples about making a new gem, check out our
37
- # guide at: https://bundler.io/guides/creating_gem.html
38
- spec.add_dependency "activesupport"
39
- spec.add_dependency "zeitwerk"
40
- spec.add_development_dependency("dotenv")
41
- spec.add_dependency "faraday", "~> 2.5"
42
- spec.metadata["rubygems_mfa_required"] = "true"
43
- spec.add_development_dependency("pry")
44
- spec.add_development_dependency("vcr")
45
- end