invoice_printer_server 2.0.0.alpha1 → 2.0.0.beta1

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: a0ff1de59a0faaa03ec5b8713dceb066590cb27981b509b289d2e838f5e1dd68
4
- data.tar.gz: b24e759907d4010526fbafa90bfb1bfee7f2c0aa1f54b5ee754eda55f9201143
3
+ metadata.gz: 06a7debe89eb966de54ddb9c828c1534a826ee913f1d2276a5876cd79e78b2af
4
+ data.tar.gz: 905840c12e1ff454814e5ae4743d373ed3516c5b840847df8a7da01054d2ff80
5
5
  SHA512:
6
- metadata.gz: 869995621f683dc022bf6fe26540f93ffe9e20a0d408dcf9bc5c3e37ac061e82f41eb370aa8f558004cd6c5b628d8a7fddb0d36dc9a2e904a264493835c48d39
7
- data.tar.gz: 9de382e4925f18e704cbfcfe862cebc90d6d75b3b60de3d92fb90262607559da91704670b39aba3c652e99d8b3e8a8f6812919cfc081b479b6431bb750775de8
6
+ metadata.gz: 94dbe1398a9965f65ee0d633d028cb0b64add5084ac3eeaffebd58e217291bc71a94a260698a6062bafe4d1a6a260fe766c23741a11b7de3f44a2133e497163c
7
+ data.tar.gz: a3e92a1917994414ce1362ac138380a46b46c207b92899f839e647c20ff8c83cd64c36f7cb075d2e4ce7a615666dd171e79c4e875d71bd7db00af2fe8995bd7a
@@ -7,7 +7,7 @@ require 'invoice_printer/version'
7
7
  require 'invoice_printer/server'
8
8
 
9
9
  def show_version
10
- puts "InvoicePrinter v#{InvoicePrinter::VERSION}"
10
+ puts "InvoicePrinter Server v#{InvoicePrinter::VERSION}"
11
11
 
12
12
  exit 0
13
13
  end
@@ -79,7 +79,7 @@ class InvoicePrinter::Server < Roda
79
79
  page_size: page_size
80
80
  )
81
81
 
82
- { result: 'ok', data: Base64.encode64(stream) }.to_json
82
+ { result: 'ok', data: Base64.strict_encode64(stream) }.to_json
83
83
  rescue => e
84
84
  response.status = 400
85
85
  response.write({ result: 'error', error: e.message }.to_json)
@@ -1,3 +1,3 @@
1
1
  module InvoicePrinter
2
- VERSION = '2.0.0.alpha1'
2
+ VERSION = '2.0.0.beta1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invoice_printer_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha1
4
+ version: 2.0.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Strzibny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-04 00:00:00.000000000 Z
11
+ date: 2019-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: invoice_printer
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0.alpha1
19
+ version: 2.0.0.beta1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.0.alpha1
26
+ version: 2.0.0.beta1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
117
  requirements:
118
118
  - - ">="
119
119
  - !ruby/object:Gem::Version
120
- version: '0'
120
+ version: '2.4'
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">"