billomat 0.1.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +5 -5
  2. data/.editorconfig +30 -0
  3. data/.github/workflows/documentation.yml +38 -0
  4. data/.github/workflows/test.yml +59 -0
  5. data/.gitignore +5 -0
  6. data/.rubocop.yml +53 -0
  7. data/.simplecov +3 -0
  8. data/.yardopts +6 -0
  9. data/CHANGELOG.md +48 -0
  10. data/Dockerfile +29 -0
  11. data/Envfile +6 -0
  12. data/Gemfile +3 -1
  13. data/Makefile +135 -0
  14. data/README.md +42 -17
  15. data/Rakefile +74 -3
  16. data/billomat.gemspec +28 -22
  17. data/config/docker/.bash_profile +3 -0
  18. data/config/docker/.bashrc +48 -0
  19. data/config/docker/.inputrc +17 -0
  20. data/doc/assets/project.svg +68 -0
  21. data/docker-compose.yml +9 -0
  22. data/lib/billomat/actions/cancel.rb +3 -5
  23. data/lib/billomat/actions/complete.rb +8 -12
  24. data/lib/billomat/actions/email.rb +6 -10
  25. data/lib/billomat/actions/pdf.rb +4 -10
  26. data/lib/billomat/actions/uncancel.rb +3 -6
  27. data/lib/billomat/actions.rb +0 -1
  28. data/lib/billomat/configuration.rb +2 -1
  29. data/lib/billomat/gateway.rb +52 -24
  30. data/lib/billomat/models/base.rb +26 -27
  31. data/lib/billomat/models/client.rb +3 -4
  32. data/lib/billomat/models/contact.rb +18 -0
  33. data/lib/billomat/models/credit_note.rb +18 -0
  34. data/lib/billomat/models/credit_note_item.rb +18 -0
  35. data/lib/billomat/models/invoice.rb +6 -11
  36. data/lib/billomat/models/invoice_item.rb +3 -3
  37. data/lib/billomat/models/invoice_payment.rb +3 -4
  38. data/lib/billomat/models/tag.rb +18 -0
  39. data/lib/billomat/models/template.rb +18 -0
  40. data/lib/billomat/models.rb +6 -2
  41. data/lib/billomat/search.rb +12 -14
  42. data/lib/billomat/version.rb +1 -1
  43. data/lib/billomat.rb +15 -18
  44. metadata +117 -20
  45. data/.travis.yml +0 -18
  46. data/doc/assets/logo.png +0 -0
  47. data/doc/assets/project.png +0 -0
  48. data/doc/assets/project.xcf +0 -0
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.4
4
+ version: 0.3.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-11-09 00:00:00.000000000 Z
11
+ date: 2021-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -34,16 +34,56 @@ 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'
53
+ - !ruby/object:Gem::Dependency
54
+ name: pry
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '0.11'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '0.11'
67
+ - !ruby/object:Gem::Dependency
68
+ name: railties
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 4.2.0
74
+ - - "<"
75
+ - !ruby/object:Gem::Version
76
+ version: '6.1'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: 4.2.0
84
+ - - "<"
85
+ - !ruby/object:Gem::Version
86
+ version: '6.1'
47
87
  - !ruby/object:Gem::Dependency
48
88
  name: rake
49
89
  requirement: !ruby/object:Gem::Requirement
@@ -72,54 +112,107 @@ dependencies:
72
112
  - - "~>"
73
113
  - !ruby/object:Gem::Version
74
114
  version: '3.0'
115
+ - !ruby/object:Gem::Dependency
116
+ name: rubocop
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - "~>"
120
+ - !ruby/object:Gem::Version
121
+ version: 0.63.1
122
+ type: :development
123
+ prerelease: false
124
+ version_requirements: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - "~>"
127
+ - !ruby/object:Gem::Version
128
+ version: 0.63.1
129
+ - !ruby/object:Gem::Dependency
130
+ name: rubocop-rspec
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - "~>"
134
+ - !ruby/object:Gem::Version
135
+ version: '1.31'
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - "~>"
141
+ - !ruby/object:Gem::Version
142
+ version: '1.31'
75
143
  - !ruby/object:Gem::Dependency
76
144
  name: simplecov
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "<"
148
+ - !ruby/object:Gem::Version
149
+ version: '0.18'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - "<"
155
+ - !ruby/object:Gem::Version
156
+ version: '0.18'
157
+ - !ruby/object:Gem::Dependency
158
+ name: yard
77
159
  requirement: !ruby/object:Gem::Requirement
78
160
  requirements:
79
161
  - - "~>"
80
162
  - !ruby/object:Gem::Version
81
- version: '0.15'
163
+ version: 0.9.18
82
164
  type: :development
83
165
  prerelease: false
84
166
  version_requirements: !ruby/object:Gem::Requirement
85
167
  requirements:
86
168
  - - "~>"
87
169
  - !ruby/object:Gem::Version
88
- version: '0.15'
170
+ version: 0.9.18
89
171
  - !ruby/object:Gem::Dependency
90
- name: pry
172
+ name: yard-activesupport-concern
91
173
  requirement: !ruby/object:Gem::Requirement
92
174
  requirements:
93
175
  - - "~>"
94
176
  - !ruby/object:Gem::Version
95
- version: '0.11'
177
+ version: 0.0.1
96
178
  type: :development
97
179
  prerelease: false
98
180
  version_requirements: !ruby/object:Gem::Requirement
99
181
  requirements:
100
182
  - - "~>"
101
183
  - !ruby/object:Gem::Version
102
- version: '0.11'
103
- description:
184
+ version: 0.0.1
185
+ description:
104
186
  email:
105
187
  - henning.vogt@hausgold.de
106
188
  executables: []
107
189
  extensions: []
108
190
  extra_rdoc_files: []
109
191
  files:
192
+ - ".editorconfig"
193
+ - ".github/workflows/documentation.yml"
194
+ - ".github/workflows/test.yml"
110
195
  - ".gitignore"
111
196
  - ".rspec"
112
- - ".travis.yml"
197
+ - ".rubocop.yml"
198
+ - ".simplecov"
199
+ - ".yardopts"
200
+ - CHANGELOG.md
201
+ - Dockerfile
202
+ - Envfile
113
203
  - Gemfile
114
204
  - LICENSE
205
+ - Makefile
115
206
  - README.md
116
207
  - Rakefile
117
208
  - billomat.gemspec
118
209
  - bin/console
119
210
  - bin/setup
120
- - doc/assets/logo.png
121
- - doc/assets/project.png
122
- - doc/assets/project.xcf
211
+ - config/docker/.bash_profile
212
+ - config/docker/.bashrc
213
+ - config/docker/.inputrc
214
+ - doc/assets/project.svg
215
+ - docker-compose.yml
123
216
  - lib/billomat.rb
124
217
  - lib/billomat/actions.rb
125
218
  - lib/billomat/actions/cancel.rb
@@ -132,9 +225,14 @@ files:
132
225
  - lib/billomat/models.rb
133
226
  - lib/billomat/models/base.rb
134
227
  - lib/billomat/models/client.rb
228
+ - lib/billomat/models/contact.rb
229
+ - lib/billomat/models/credit_note.rb
230
+ - lib/billomat/models/credit_note_item.rb
135
231
  - lib/billomat/models/invoice.rb
136
232
  - lib/billomat/models/invoice_item.rb
137
233
  - lib/billomat/models/invoice_payment.rb
234
+ - lib/billomat/models/tag.rb
235
+ - lib/billomat/models/template.rb
138
236
  - lib/billomat/search.rb
139
237
  - lib/billomat/version.rb
140
238
  homepage: https://github.com/hausgold/billomat
@@ -142,7 +240,7 @@ licenses:
142
240
  - MIT
143
241
  metadata:
144
242
  allowed_push_host: https://rubygems.org
145
- post_install_message:
243
+ post_install_message:
146
244
  rdoc_options: []
147
245
  require_paths:
148
246
  - lib
@@ -150,16 +248,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
248
  requirements:
151
249
  - - ">="
152
250
  - !ruby/object:Gem::Version
153
- version: '2.0'
251
+ version: '0'
154
252
  required_rubygems_version: !ruby/object:Gem::Requirement
155
253
  requirements:
156
254
  - - ">="
157
255
  - !ruby/object:Gem::Version
158
256
  version: '0'
159
257
  requirements: []
160
- rubyforge_project:
161
- rubygems_version: 2.6.11
162
- signing_key:
258
+ rubygems_version: 3.2.16
259
+ signing_key:
163
260
  specification_version: 4
164
261
  summary: Wrapper for the Billomat API
165
262
  test_files: []
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- env:
2
- global:
3
- - CC_TEST_REPORTER_ID=a77802032cccc178727a1df1ff1f283a8255959f9a175f20b73b8231ca35da2f
4
- sudo: false
5
- language: ruby
6
- rvm:
7
- - 2.0
8
- - 2.1
9
- - 2.2
10
- - 2.3
11
- - 2.4
12
- before_install: gem install bundler -v 1.15.1
13
- before_script:
14
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
15
- - chmod +x ./cc-test-reporter
16
- - ./cc-test-reporter before-build
17
- after_script:
18
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/doc/assets/logo.png DELETED
Binary file
Binary file
Binary file