economic-rest 0.3.3 → 0.3.4

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: f07142ac737270da387a5543607748365f160daf4713f4808eb94c5377553e90
4
- data.tar.gz: cf04625b96cf2a72b6092c8954ba3abc94da2fe39750cb60f1b33f30c28e8d8c
3
+ metadata.gz: a633a68e3f3e3964b2e10f80edb798c311e3fd8c37698a1d0ad5b03a2204d6e2
4
+ data.tar.gz: 65e84202a3457bb9f6fcf1e8a850775eb6194b584c0b5bf5586a71655524fa73
5
5
  SHA512:
6
- metadata.gz: ba7f7e85705e88898c51c689de76c5de9431771182379e5a7165b776cb9d15bdf74bf9ad7e96d3c7163d049e0305d395b0456a9e505adbf5652ea3ca9b7390d3
7
- data.tar.gz: 9cae3cb5c72e0e3799b8febd81f96fff4ce6533fa5e1c4260ffc769c2a0180e07980a2d37669b00def566e0dbb3292bc8afc64207fa02e184ef06edd192e0adf
6
+ metadata.gz: da971e525dcf7da5e976fce77ff63331417bc6d015f0819f68d29a0a8beddb2752336d0eb0f8af210c789463bd7a66d42fcfb82131e49123d5451d0db06dd91b
7
+ data.tar.gz: ebec1e21d5838c138f97caf560f25197a156bb359b2fb4592f3be340362e93b0ef8297d99f41284a7c35ea1e551cca4d4984dfb278c9eaed0c992ee767380326
@@ -0,0 +1,4 @@
1
+ module Economic
2
+ class CustomerGroupRepo < Economic::BaseRepo
3
+ end
4
+ end
@@ -1,5 +1,6 @@
1
1
  module Economic
2
2
  class Layout < Base
3
3
  field :layoutNumber
4
+ field :name
4
5
  end
5
6
  end
@@ -0,0 +1,4 @@
1
+ module Economic
2
+ class LayoutRepo < Economic::BaseRepo
3
+ end
4
+ end
@@ -1,5 +1,5 @@
1
1
  module Economic
2
2
  module Rest
3
- VERSION = '0.3.3'.freeze
3
+ VERSION = '0.3.4'.freeze
4
4
  end
5
5
  end
data/lib/economic/rest.rb CHANGED
@@ -6,6 +6,9 @@ require 'economic/base'
6
6
 
7
7
  require 'economic/currency'
8
8
  require 'economic/vat_zone'
9
+ require 'economic/vat_zone_repo'
10
+ require 'economic/vat_type'
11
+ require 'economic/vat_type_repo'
9
12
  require 'economic/inventory'
10
13
  require 'economic/customer_group'
11
14
  require 'economic/product_group'
@@ -13,6 +16,7 @@ require 'economic/product_group'
13
16
  require 'economic/pricing'
14
17
  require 'economic/delivery'
15
18
  require 'economic/layout'
19
+ require 'economic/layout_repo'
16
20
  require 'economic/notes'
17
21
  require 'economic/payment_terms'
18
22
  require 'economic/pdf'
@@ -22,6 +26,7 @@ require 'economic/references'
22
26
 
23
27
  require 'economic/customer_repo'
24
28
  require 'economic/customer'
29
+ require 'economic/customer_group_repo'
25
30
  require 'economic/product_repo'
26
31
  require 'economic/product'
27
32
  require 'economic/pricing_repo'
@@ -41,6 +46,9 @@ require 'economic/voucher'
41
46
  require 'economic/accounting_year'
42
47
  require 'economic/accounting_year_repo'
43
48
 
49
+ require 'economic/unit'
50
+ require 'economic/unit_repo'
51
+
44
52
  module Economic
45
53
  class Demo
46
54
  def self.hello
@@ -0,0 +1,6 @@
1
+ module Economic
2
+ class Unit < Base
3
+ field :name
4
+ field :unitNumber, id: true
5
+ end
6
+ end
@@ -0,0 +1,4 @@
1
+ module Economic
2
+ class UnitRepo < Economic::BaseRepo
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module Economic
2
+ class VatType < Base
3
+ field :vatTypeNumber
4
+ field :name
5
+ end
6
+ end
@@ -0,0 +1,4 @@
1
+ module Economic
2
+ class VatTypeRepo < Economic::BaseRepo
3
+ end
4
+ end
@@ -1,5 +1,8 @@
1
1
  module Economic
2
2
  class VatZone < Base
3
3
  field :vatZoneNumber
4
+ field :enabledForCustomer
5
+ field :enabledForSupplier
6
+ field :name
4
7
  end
5
8
  end
@@ -0,0 +1,4 @@
1
+ module Economic
2
+ class VatZoneRepo < Economic::BaseRepo
3
+ end
4
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: economic-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Klogborg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-19 00:00:00.000000000 Z
11
+ date: 2019-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -132,6 +132,7 @@ files:
132
132
  - lib/economic/currency.rb
133
133
  - lib/economic/customer.rb
134
134
  - lib/economic/customer_group.rb
135
+ - lib/economic/customer_group_repo.rb
135
136
  - lib/economic/customer_repo.rb
136
137
  - lib/economic/delivery.rb
137
138
  - lib/economic/inventory.rb
@@ -139,6 +140,7 @@ files:
139
140
  - lib/economic/journal_repo.rb
140
141
  - lib/economic/journal_voucher_repo.rb
141
142
  - lib/economic/layout.rb
143
+ - lib/economic/layout_repo.rb
142
144
  - lib/economic/notes.rb
143
145
  - lib/economic/order.rb
144
146
  - lib/economic/orders/archived_repo.rb
@@ -159,7 +161,12 @@ files:
159
161
  - lib/economic/rest.rb
160
162
  - lib/economic/rest/version.rb
161
163
  - lib/economic/session.rb
164
+ - lib/economic/unit.rb
165
+ - lib/economic/unit_repo.rb
166
+ - lib/economic/vat_type.rb
167
+ - lib/economic/vat_type_repo.rb
162
168
  - lib/economic/vat_zone.rb
169
+ - lib/economic/vat_zone_repo.rb
163
170
  - lib/economic/voucher.rb
164
171
  homepage: https://bitbucket.org/traels/economic-rest
165
172
  licenses:
@@ -180,7 +187,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
187
  - !ruby/object:Gem::Version
181
188
  version: '0'
182
189
  requirements: []
183
- rubygems_version: 3.0.1
190
+ rubyforge_project:
191
+ rubygems_version: 2.7.6
184
192
  signing_key:
185
193
  specification_version: 4
186
194
  summary: Ruby wrapper for the e-conomic REST API, that aims at making working with