invoiced 2.1.0 → 3.0.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
2
  SHA256:
3
- metadata.gz: 2a4b7176ca132f8c23b695c9f5ab7461400495c89370a953daef96b0e3d72ab6
4
- data.tar.gz: 542389f7ff24edf9037fd6b380491b0a9431d8447e0f66a072f4dd2e64e0494a
3
+ metadata.gz: 744fba470fc2c3433167b3af46f8f98da1f33fd23c08b4f971c83681f3605cdb
4
+ data.tar.gz: c4b6db10643c63fbc3bda83199500afaf99e439a0ae93d74d4f7ddf5cff94906
5
5
  SHA512:
6
- metadata.gz: 05a9da20d885430266a929bd26320ff50691e14be9ba3e09bea0209645cd9196fa96a7f7867f5de36fbb7ee4e1abfda28a9912911f0330b34ea86841df4dce49
7
- data.tar.gz: d716a1e9dfc4256469abb4ca963278f47583a8322ad9a4c0a6c00a66d6ad6b8fd84f718ce0461c7e54d90408eae947ac8941421914df8a4ef6b336762241c60a
6
+ metadata.gz: bcc44f6f0071db5b7b6a28ccf557b8f2ba7c38e2e626a8bb542e447919a634fe346acbb3d273313ecaa4d21db0076d059292023494c67fe6d57af59d5465f1a6
7
+ data.tar.gz: 2617903b3c510f30a170dece7e004fbb04f12c042cc41310e1af04aa790c3654771b0613308c85281ca077d5597eadda5a6404e1c7b25160aef23b38b0df22e2
@@ -12,13 +12,15 @@ jobs:
12
12
  strategy:
13
13
  matrix:
14
14
  ruby-version:
15
- - '2.1'
16
- - '2.2'
17
15
  - '2.3'
18
16
  - '2.4'
19
17
  - '2.5'
20
18
  - '2.6'
21
19
  - '2.7'
20
+ - '3.0'
21
+ - '3.1'
22
+ - '3.2'
23
+ - '3.3'
22
24
  steps:
23
25
  - uses: actions/checkout@v2
24
26
 
@@ -0,0 +1,24 @@
1
+ name: Publish
2
+
3
+ on:
4
+ workflow_dispatch: {}
5
+
6
+ jobs:
7
+ publish:
8
+ name: Publish
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+
13
+ - name: Set up Ruby
14
+ uses: ruby/setup-ruby@v1
15
+ with:
16
+ ruby-version: 3.3
17
+
18
+ - name: Build
19
+ run: gem build invoiced.gemspec
20
+
21
+ - name: Publish gems to Rubygems
22
+ run: gem push invoiced-*.gem
23
+ env:
24
+ GEM_HOST_API_KEY: ${{secrets.GEM_HOST_API_KEY}}
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source "https://rubygems.org"
2
2
  gemspec
3
3
 
4
- gem 'rest-client', '~> 2.0.0'
4
+ gem 'rest-client', '~> 2.1.0'
5
5
  gem 'jwt', '~> 2.0'
6
6
 
7
7
  gem 'mocha', '~> 0.13.2', :require => false, :group => :test
@@ -12,4 +12,4 @@ gem 'coveralls', :require => false, :group => :test
12
12
  gem 'simplecov', '~> 0.10', :require => false, :group => :test
13
13
  gem 'simplecov-console', '~> 0.3', :require => false, :group => :test
14
14
  gem 'term-ansicolor', '~> 1.3.2', :require => false, :group => :test
15
- gem 'tins', '~> 1.6.0', :require => false, :group => :test
15
+ gem 'tins', '~> 1.6.0', :require => false, :group => :test
data/README.md CHANGED
@@ -3,7 +3,7 @@ invoiced-ruby
3
3
 
4
4
  This repository contains the Ruby client library for the [Invoiced](https://invoiced.com) API.
5
5
 
6
- [![CI](https://github.com/Invoiced/invoiced-php/actions/workflows/ci.yml/badge.svg)](https://github.com/Invoiced/invoiced-php/actions/workflows/ci.yml)
6
+ [![CI](https://github.com/Invoiced/invoiced-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/Invoiced/invoiced-ruby/actions/workflows/ci.yml)
7
7
  [![Coverage Status](https://coveralls.io/repos/Invoiced/invoiced-ruby/badge.svg?branch=master&service=github)](https://coveralls.io/github/Invoiced/invoiced-ruby?branch=master)
8
8
  [![Gem Version](https://badge.fury.io/rb/invoiced.svg)](https://badge.fury.io/rb/invoiced)
9
9
 
@@ -25,7 +25,7 @@ gem 'invoiced'
25
25
 
26
26
  ## Requirements
27
27
 
28
- - Ruby 2.1+
28
+ - Ruby 2.3+
29
29
  - `rest_client` gem
30
30
  - `jwt` gem
31
31
 
@@ -74,12 +74,3 @@ gem build invoiced.gemspec
74
74
  ```
75
75
 
76
76
  The test suite can be ran with `rake test`
77
-
78
- ## Deploying
79
-
80
- The package can be uploaded to pypi with the following commands:
81
-
82
- ```
83
- gem build invoiced.gemspec
84
- gem push invoiced-X.Y.Z.gem
85
- ```
data/invoiced.gemspec CHANGED
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
12
12
  s.email = 'support@invoiced.com'
13
13
  s.files = ["lib/invoiced.rb"]
14
14
  s.homepage = 'https://invoiced.com/docs/dev'
15
- s.required_ruby_version = '>= 2.1.0'
15
+ s.required_ruby_version = '>= 2.3.0'
16
16
 
17
- s.add_dependency('rest-client', '~> 2.0.0')
17
+ s.add_dependency('rest-client', '~> 2.1.0')
18
18
  s.add_dependency('jwt', '~> 2.0')
19
19
 
20
20
  s.files = `git ls-files`.split("\n")
@@ -1,3 +1,3 @@
1
1
  module Invoiced
2
- VERSION = '2.1.0'
3
- end
2
+ VERSION = '3.0.0'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invoiced
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared King
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2024-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0
19
+ version: 2.1.0
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
26
+ version: 2.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jwt
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -45,6 +45,7 @@ extensions: []
45
45
  extra_rdoc_files: []
46
46
  files:
47
47
  - ".github/workflows/ci.yml"
48
+ - ".github/workflows/publish.yml"
48
49
  - ".gitignore"
49
50
  - Gemfile
50
51
  - LICENSE
@@ -167,7 +168,7 @@ homepage: https://invoiced.com/docs/dev
167
168
  licenses:
168
169
  - MIT
169
170
  metadata: {}
170
- post_install_message:
171
+ post_install_message:
171
172
  rdoc_options: []
172
173
  require_paths:
173
174
  - lib
@@ -175,15 +176,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
175
176
  requirements:
176
177
  - - ">="
177
178
  - !ruby/object:Gem::Version
178
- version: 2.1.0
179
+ version: 2.3.0
179
180
  required_rubygems_version: !ruby/object:Gem::Requirement
180
181
  requirements:
181
182
  - - ">="
182
183
  - !ruby/object:Gem::Version
183
184
  version: '0'
184
185
  requirements: []
185
- rubygems_version: 3.1.4
186
- signing_key:
186
+ rubygems_version: 3.5.22
187
+ signing_key:
187
188
  specification_version: 4
188
189
  summary: Ruby client library for the Invoiced API
189
190
  test_files: