billomat 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 46ed797579c37a183f62382779f2872a04db5e36
4
- data.tar.gz: 2f48fd804b7b06cb2805bbb62125b251392bb080
2
+ SHA256:
3
+ metadata.gz: 17a9ee09e73616ee7ad1742d020dfeb57d3c526873cd164e7d79a2ed2d0952c5
4
+ data.tar.gz: dc647e0eda845c5d32737c718ea2fb15e44f1b036a2acef8bfc67518c7efdd44
5
5
  SHA512:
6
- metadata.gz: 3ba4b8f7405ea77675a2559014199c251c008c5f6ab6d96661dfd02f4eedc35536d7c88430017a7db53c50238045b99dc0f62a58c459bb43f430c4923a20abf9
7
- data.tar.gz: e50580b56bc197307da0168607c82a0e6f3386d5208bcc03e15ed97ccd4cdb6c8f0707ae0dd36004b6cfd104f5bbe62d76c8d3a0d0a379ec36731411d6b38582
6
+ metadata.gz: 99b36daa45bf11cb37e524032d44120f7aa2fbcec5c49ca2bc305803a90ea43b022173b464b6849c72b4125ee4dffcddf96dc23bac62727b0724b5f084249eb8
7
+ data.tar.gz: 34fd75ef5f5a83b47bd495d0bed039f5c4e78b040f0f95a5f12bd4f1fda9d9e6a64c90ac750d1313bfbfd3ab42f926000fa8df3c78618fc0c1aada646dada152
data/.editorconfig ADDED
@@ -0,0 +1,30 @@
1
+ # http://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.md]
13
+ trim_trailing_whitespace = true
14
+
15
+ [*.json]
16
+ indent_style = space
17
+ indent_size = 2
18
+
19
+ [*.yml]
20
+ indent_style = space
21
+ indent_size = 2
22
+
23
+ [Makefile]
24
+ trim_trailing_whitespace = true
25
+ indent_style = tab
26
+ indent_size = 4
27
+
28
+ [*.sh]
29
+ indent_style = space
30
+ indent_size = 2
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  /Gemfile.lock
4
4
  /_yardoc/
5
5
  /coverage/
6
- /doc/
7
6
  /pkg/
8
7
  /spec/reports/
9
8
  /tmp/
data/.simplecov ADDED
@@ -0,0 +1,3 @@
1
+ SimpleCov.start 'test_frameworks' do
2
+ add_filter '/vendor/bundle/'
3
+ end
data/.travis.yml CHANGED
@@ -1,18 +1,19 @@
1
+ sudo: false
1
2
  env:
2
3
  global:
3
- - CC_TEST_REPORTER_ID=a77802032cccc178727a1df1ff1f283a8255959f9a175f20b73b8231ca35da2f
4
- sudo: false
4
+ - CC_TEST_REPORTER_ID=0038fa77f81e980be74aed2e240dbcedd853de3a3ea3ff71cbb344e282d284a9
5
5
  language: ruby
6
6
  rvm:
7
- - 2.0
8
- - 2.1
9
- - 2.2
10
- - 2.3
7
+ - 2.6
8
+ - 2.5
11
9
  - 2.4
12
- before_install: gem install bundler -v 1.15.1
10
+ - 2.3
11
+ before_install: gem install bundler
13
12
  before_script:
14
13
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
15
14
  - chmod +x ./cc-test-reporter
16
15
  - ./cc-test-reporter before-build
16
+ script:
17
+ - bundle exec rspec
17
18
  after_script:
18
19
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/README.md CHANGED
@@ -1,9 +1,20 @@
1
- # Billomat
2
- [![Build Status](https://travis-ci.org/hausgold/billomat.svg?branch=master)](https://travis-ci.org/hausgold/billomat)
3
- [![Maintainability](https://api.codeclimate.com/v1/badges/49baf848f42a2e5b95db/maintainability)](https://codeclimate.com/github/hausgold/billomat/maintainability)
4
- [![Test Coverage](https://api.codeclimate.com/v1/badges/49baf848f42a2e5b95db/test_coverage)](https://codeclimate.com/github/hausgold/billomat/test_coverage)
1
+ ![Billomat](doc/assets/project.svg)
5
2
 
6
- This gem provides a Ruby API for [billomat.com](https://billomat.com) - an online accounting service.
3
+ [![Build Status](https://travis-ci.com/hausgold/billomat.svg?branch=master)](https://travis-ci.com/hausgold/billomat)
4
+ [![Gem Version](https://badge.fury.io/rb/billomat.svg)](https://badge.fury.io/rb/billomat)
5
+ [![Maintainability](https://api.codeclimate.com/v1/badges/21ac719680afa0a102c0/maintainability)](https://codeclimate.com/repos/5cac8ab2feb8e979a4008130/maintainability)
6
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/21ac719680afa0a102c0/test_coverage)](https://codeclimate.com/repos/5cac8ab2feb8e979a4008130/test_coverage)
7
+ [![API docs](https://img.shields.io/badge/docs-API-blue.svg)](https://www.rubydoc.info/gems/billomat)
8
+
9
+ This gem provides a Ruby API for [billomat.com](https://billomat.com) - an
10
+ online accounting service.
11
+
12
+ - [Installation](#installation)
13
+ - [Usage](#usage)
14
+ - [Configuration](#configuration)
15
+ - [Basic usage](#basic-usage)
16
+ - [Development](#development)
17
+ - [Contributing](#contributing)
7
18
 
8
19
  ## Installation
9
20
 
@@ -29,18 +40,35 @@ $ gem install billomat
29
40
 
30
41
  ### Configuration
31
42
 
32
- The configuration takes two settings: `api_key` and `subdomain`. The latter is e.g. the name of your organization.
43
+ The billomat gem can be easily configured.
44
+ If you're using Rails you might want to put this in your `application.rb`
45
+ or inside an initializer.
33
46
 
34
47
  ```ruby
35
48
  Billomat.configure do |config|
36
- config.subdomain = 'your-company'
37
- config.api_key = 'a3b148a61cb642389b4f9953f6233f20'
49
+ # Subdomain, e.g. example.billomat.net
50
+ config.subdomain = 'example'
51
+ # API key
52
+ config.api_key = '4aefdc...'
53
+ # timeout in seconds
54
+ config.timeout = 5
55
+
56
+ # You can also configure a registerd app to increase your
57
+ # API call limit as described here:
58
+ # https://www.billomat.com/en/api/basics/rate-limiting/
59
+ config.app_id = '12345'
60
+ config.app_secret = 'c3df...'
38
61
  end
39
62
  ```
40
63
 
41
64
  ### Basic usage
42
65
 
43
- Currently there is basic support for the models `Invoice`, `Client`, `InvoicePayment`, `InvoiceItem`
66
+ Currently there is basic support for the models:
67
+ * `Invoice`
68
+ * `Client`
69
+ * `InvoicePayment`
70
+ * `InvoiceItem`
71
+ * `Contact`
44
72
 
45
73
  ```ruby
46
74
  Billomat::Models::Invoice.where(invoice_number: 'RE1234')
@@ -59,10 +87,17 @@ client.delete
59
87
 
60
88
  ## Development
61
89
 
62
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
90
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
91
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
92
+ prompt that will allow you to experiment.
63
93
 
64
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
94
+ To install this gem onto your local machine, run `bundle exec rake install`. To
95
+ release a new version, update the version number in `version.rb`, and then run
96
+ `bundle exec rake release`, which will create a git tag for the version, push
97
+ git commits and tags, and push the `.gem` file to
98
+ [rubygems.org](https://rubygems.org).
65
99
 
66
100
  ## Contributing
67
101
 
68
- Bug reports and pull requests are welcome on GitHub at https://github.com/hausgold/billomat.
102
+ Bug reports and pull requests are welcome on GitHub at
103
+ https://github.com/hausgold/billomat.
data/billomat.gemspec CHANGED
@@ -1,40 +1,43 @@
1
- # coding: utf-8
2
- lib = File.expand_path("../lib", __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "billomat/version"
5
+ require 'billomat/version'
5
6
 
6
7
  Gem::Specification.new do |spec|
7
- spec.name = "billomat"
8
+ spec.name = 'billomat'
8
9
  spec.version = Billomat::VERSION
9
10
  spec.licenses = ['MIT']
10
- spec.authors = ["Henning Vogt"]
11
- spec.email = ["henning.vogt@hausgold.de"]
11
+ spec.authors = ['Henning Vogt']
12
+ spec.email = ['henning.vogt@hausgold.de']
12
13
 
13
- spec.summary = %q{Wrapper for the Billomat API}
14
- spec.homepage = "https://github.com/hausgold/billomat"
14
+ spec.summary = 'Wrapper for the Billomat API'
15
+ spec.homepage = 'https://github.com/hausgold/billomat'
15
16
 
16
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
- # to allow pushing to a single host or delete this section to allow pushing to any host.
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the
18
+ # 'allowed_push_host'
19
+ # to allow pushing to a single host or delete this section to allow pushing
20
+ # to any host.
18
21
  if spec.respond_to?(:metadata)
19
- spec.metadata["allowed_push_host"] = "https://rubygems.org"
22
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
20
23
  else
21
- raise "RubyGems 2.0 or newer is required to protect against " \
22
- "public gem pushes."
24
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
25
+ 'public gem pushes.'
23
26
  end
24
27
 
25
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
28
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
29
  f.match(%r{^(test|spec|features)/})
27
30
  end
28
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
- spec.require_paths = ["lib"]
32
+ spec.require_paths = ['lib']
30
33
 
31
34
  spec.required_ruby_version = '>= 2.0'
32
35
 
33
36
  spec.add_dependency 'rest-client', '~> 2.0', '>= 2.0.2'
34
37
 
35
- spec.add_development_dependency "bundler", "~> 1.15"
36
- spec.add_development_dependency "rake", "~> 10.0"
37
- spec.add_development_dependency "rspec", "~> 3.0"
38
- spec.add_development_dependency "simplecov", "~> 0.15"
39
- spec.add_development_dependency "pry", "~> 0.11"
38
+ spec.add_development_dependency 'bundler', '>= 1.15', '< 3'
39
+ spec.add_development_dependency 'pry', '~> 0.11'
40
+ spec.add_development_dependency 'rake', '~> 10.0'
41
+ spec.add_development_dependency 'rspec', '~> 3.0'
42
+ spec.add_development_dependency 'simplecov', '~> 0.15'
40
43
  end
@@ -0,0 +1,68 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+ xmlns:cc="http://creativecommons.org/ns#"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:svg="http://www.w3.org/2000/svg"
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ version="1.1"
9
+ id="Ebene_1"
10
+ x="0px"
11
+ y="0px"
12
+ viewBox="0 0 800 200"
13
+ xml:space="preserve"
14
+ width="800"
15
+ height="200"><metadata
16
+ id="metadata33"><rdf:RDF><cc:Work
17
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
18
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
19
+ id="defs31" />
20
+ <style
21
+ type="text/css"
22
+ id="style2">
23
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#E73E11;}
24
+ .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#0371B9;}
25
+ .st2{fill:#132E48;}
26
+ .st3{font-family:'OpenSans-Bold';}
27
+ .st4{font-size:29.5168px;}
28
+ .st5{fill-rule:evenodd;clip-rule:evenodd;fill:none;}
29
+ .st6{opacity:0.5;fill:#132E48;}
30
+ .st7{font-family:'OpenSans';}
31
+ .st8{font-size:12px;}
32
+ </style>
33
+ <g
34
+ transform="translate(0,1.53584)"
35
+ id="g828"><g
36
+ transform="translate(35.93985,35.66416)"
37
+ id="g8">
38
+ <path
39
+ style="clip-rule:evenodd;fill:#e73e11;fill-rule:evenodd"
40
+ id="path4"
41
+ d="m -0.1,124.4 c 0,0 33.7,-123.2 66.7,-123.2 12.8,0 26.9,21.9 38.8,47.2 -23.6,27.9 -66.6,59.7 -94,76 -7.1,0 -11.5,0 -11.5,0 z"
42
+ class="st0" />
43
+ <path
44
+ style="clip-rule:evenodd;fill:#0371b9;fill-rule:evenodd"
45
+ id="path6"
46
+ d="m 88.1,101.8 c 13.5,-10.4 18.4,-16.2 27.1,-25.4 10,25.7 16.7,48 16.7,48 0,0 -41.4,0 -78,0 14.6,-7.9 18.7,-10.7 34.2,-22.6 z"
47
+ class="st1" />
48
+ </g><text
49
+ y="106.40316"
50
+ x="192.43155"
51
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:29.51733398px;font-family:'Open Sans', sans-serif;-inkscape-font-specification:'OpenSans-Bold, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#132e48"
52
+ id="text10"
53
+ class="st2 st3 st4">Billomat</text>
54
+ <rect
55
+ style="clip-rule:evenodd;fill:none;fill-rule:evenodd"
56
+ id="rect12"
57
+ height="24"
58
+ width="314.5"
59
+ class="st5"
60
+ y="118.06416"
61
+ x="194.23985" /><text
62
+ y="127.22146"
63
+ x="194.21715"
64
+ style="font-size:12px;font-family:'Open Sans', sans-serif;opacity:0.5;fill:#132e48;-inkscape-font-specification:'Open Sans, sans-serif, Normal';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;"
65
+ id="text14"
66
+ class="st6 st7 st8">API wrapper for billomat.com</text>
67
+ </g>
68
+ </svg>
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Billomat
4
4
  class Configuration
5
- attr_accessor :api_key, :subdomain
5
+ attr_accessor :api_key, :subdomain, :timeout, :app_id, :app_secret
6
6
  end
7
7
  end
@@ -33,18 +33,22 @@ module Billomat
33
33
  # Executes the API call
34
34
  # @return [Hash] The response body
35
35
  def run
36
- resp = RestClient::Request.execute(
36
+ resp = response
37
+
38
+ raise GatewayError, resp.body if resp.code > 299
39
+ return nil if resp.body.empty?
40
+
41
+ JSON.parse(resp.body)
42
+ end
43
+
44
+ def response
45
+ RestClient::Request.execute(
37
46
  method: method,
38
47
  url: url,
39
48
  timeout: timeout,
40
49
  headers: headers,
41
50
  payload: body.to_json
42
51
  )
43
-
44
- raise GatewayError, resp.body if resp.code > 299
45
- return nil if resp.body.empty?
46
-
47
- JSON.parse(resp.body)
48
52
  end
49
53
 
50
54
  # @return [String] The complete URL for the request
@@ -54,7 +58,7 @@ module Billomat
54
58
 
55
59
  # @return [Integer]
56
60
  def timeout
57
- 5
61
+ config.timeout || 5
58
62
  end
59
63
 
60
64
  # @return [Hash] The headers for the request.
@@ -62,11 +66,15 @@ module Billomat
62
66
  {
63
67
  'Accept' => 'application/json',
64
68
  'Content-Type' => 'application/json',
65
- 'X-BillomatApiKey' => config.api_key
66
- }
69
+ 'X-BillomatApiKey' => config.api_key,
70
+ 'X-AppId' => config.app_id,
71
+ 'X-AppSecret' => config.app_secret
72
+ }.reject { |_, val| val.nil? }
67
73
  end
68
74
 
69
75
  # @return [Billomat::Configuration] The global gem configuration
76
+ #
77
+ # :reek:UtilityFunction because it's a shorthand
70
78
  def config
71
79
  Billomat.configuration
72
80
  end
@@ -5,6 +5,9 @@ require 'billomat/models/client'
5
5
  require 'billomat/models/invoice'
6
6
  require 'billomat/models/invoice_item'
7
7
  require 'billomat/models/invoice_payment'
8
+ require 'billomat/models/contact'
9
+ require 'billomat/models/tag'
10
+ require 'billomat/models/template'
8
11
 
9
12
  module Billomat
10
13
  ##
@@ -94,6 +94,14 @@ module Billomat
94
94
  { self.class.resource_name => @data.to_h }
95
95
  end
96
96
 
97
+ ##
98
+ # Returns the object with the right JSON structure
99
+ #
100
+ # @return [Hash] The objects data
101
+ def as_json(_options = nil)
102
+ @data.to_h
103
+ end
104
+
97
105
  ##
98
106
  # All values in the @data hash can be accessed like a 'normal' method
99
107
  #
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Billomat
4
+ module Models
5
+ ##
6
+ # Representation of the client resource
7
+ class Contact < Base
8
+ # @return [String] The resource's base path
9
+ def self.base_path
10
+ '/contacts'
11
+ end
12
+
13
+ # @return [String] The resource's name
14
+ def self.resource_name
15
+ 'contact'
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Billomat
4
+ module Models
5
+ ##
6
+ # Representation of the tag resource
7
+ class Tag < Base
8
+ # @return [String] The resource's base path
9
+ def self.base_path
10
+ '/tags'
11
+ end
12
+
13
+ # @return [String] The resource's name
14
+ def self.resource_name
15
+ 'tag'
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Billomat
4
+ module Models
5
+ ##
6
+ # Representation of the template resource
7
+ class Template < Base
8
+ # @return [String] The resource's base path
9
+ def self.base_path
10
+ '/templates'
11
+ end
12
+
13
+ # @return [String] The resource's name
14
+ def self.resource_name
15
+ 'template'
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Billomat
4
- VERSION = "0.1.2"
4
+ VERSION = '0.2.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billomat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Vogt
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-27 00:00:00.000000000 Z
11
+ date: 2021-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -34,81 +34,89 @@ dependencies:
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '1.15'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '3'
40
43
  type: :development
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
45
48
  - !ruby/object:Gem::Version
46
49
  version: '1.15'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '3'
47
53
  - !ruby/object:Gem::Dependency
48
- name: rake
54
+ name: pry
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
57
  - - "~>"
52
58
  - !ruby/object:Gem::Version
53
- version: '10.0'
59
+ version: '0.11'
54
60
  type: :development
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
57
63
  requirements:
58
64
  - - "~>"
59
65
  - !ruby/object:Gem::Version
60
- version: '10.0'
66
+ version: '0.11'
61
67
  - !ruby/object:Gem::Dependency
62
- name: rspec
68
+ name: rake
63
69
  requirement: !ruby/object:Gem::Requirement
64
70
  requirements:
65
71
  - - "~>"
66
72
  - !ruby/object:Gem::Version
67
- version: '3.0'
73
+ version: '10.0'
68
74
  type: :development
69
75
  prerelease: false
70
76
  version_requirements: !ruby/object:Gem::Requirement
71
77
  requirements:
72
78
  - - "~>"
73
79
  - !ruby/object:Gem::Version
74
- version: '3.0'
80
+ version: '10.0'
75
81
  - !ruby/object:Gem::Dependency
76
- name: simplecov
82
+ name: rspec
77
83
  requirement: !ruby/object:Gem::Requirement
78
84
  requirements:
79
85
  - - "~>"
80
86
  - !ruby/object:Gem::Version
81
- version: '0.15'
87
+ version: '3.0'
82
88
  type: :development
83
89
  prerelease: false
84
90
  version_requirements: !ruby/object:Gem::Requirement
85
91
  requirements:
86
92
  - - "~>"
87
93
  - !ruby/object:Gem::Version
88
- version: '0.15'
94
+ version: '3.0'
89
95
  - !ruby/object:Gem::Dependency
90
- name: pry
96
+ name: simplecov
91
97
  requirement: !ruby/object:Gem::Requirement
92
98
  requirements:
93
99
  - - "~>"
94
100
  - !ruby/object:Gem::Version
95
- version: '0.11'
101
+ version: '0.15'
96
102
  type: :development
97
103
  prerelease: false
98
104
  version_requirements: !ruby/object:Gem::Requirement
99
105
  requirements:
100
106
  - - "~>"
101
107
  - !ruby/object:Gem::Version
102
- version: '0.11'
103
- description:
108
+ version: '0.15'
109
+ description:
104
110
  email:
105
111
  - henning.vogt@hausgold.de
106
112
  executables: []
107
113
  extensions: []
108
114
  extra_rdoc_files: []
109
115
  files:
116
+ - ".editorconfig"
110
117
  - ".gitignore"
111
118
  - ".rspec"
119
+ - ".simplecov"
112
120
  - ".travis.yml"
113
121
  - Gemfile
114
122
  - LICENSE
@@ -117,6 +125,7 @@ files:
117
125
  - billomat.gemspec
118
126
  - bin/console
119
127
  - bin/setup
128
+ - doc/assets/project.svg
120
129
  - lib/billomat.rb
121
130
  - lib/billomat/actions.rb
122
131
  - lib/billomat/actions/cancel.rb
@@ -129,9 +138,12 @@ files:
129
138
  - lib/billomat/models.rb
130
139
  - lib/billomat/models/base.rb
131
140
  - lib/billomat/models/client.rb
141
+ - lib/billomat/models/contact.rb
132
142
  - lib/billomat/models/invoice.rb
133
143
  - lib/billomat/models/invoice_item.rb
134
144
  - lib/billomat/models/invoice_payment.rb
145
+ - lib/billomat/models/tag.rb
146
+ - lib/billomat/models/template.rb
135
147
  - lib/billomat/search.rb
136
148
  - lib/billomat/version.rb
137
149
  homepage: https://github.com/hausgold/billomat
@@ -139,7 +151,7 @@ licenses:
139
151
  - MIT
140
152
  metadata:
141
153
  allowed_push_host: https://rubygems.org
142
- post_install_message:
154
+ post_install_message:
143
155
  rdoc_options: []
144
156
  require_paths:
145
157
  - lib
@@ -154,9 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
166
  - !ruby/object:Gem::Version
155
167
  version: '0'
156
168
  requirements: []
157
- rubyforge_project:
158
- rubygems_version: 2.6.11
159
- signing_key:
169
+ rubygems_version: 3.2.16
170
+ signing_key:
160
171
  specification_version: 4
161
172
  summary: Wrapper for the Billomat API
162
173
  test_files: []