Skip to content

Commit 4ff89c6

Browse files
authored
chore: fixed workflows (#78)
* chore: fixed workflows * chore: added ostruct * chore: rollback versions
1 parent 7c8260c commit 4ff89c6

9 files changed

Lines changed: 465 additions & 473 deletions

File tree

.github/workflows/release-version.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,14 @@ jobs:
8484
sha: "${{ env.commit_sha }}"
8585
})
8686
87-
# - id: publish
88-
# name: Push to rubygems.org
89-
# if: ${{ !env.ACT }}
90-
# run: |
91-
# gem build *.gemspec
92-
# gem push *.gem
87+
- id: configure-rubygems
88+
name: Configure RubyGems credentials
89+
if: ${{ !env.ACT }}
90+
uses: rubygems/configure-rubygems-credentials@v2.0.0
9391

94-
- uses: rubygems/release-gem@v1
92+
- id: publish
93+
name: Push to rubygems.org
94+
if: ${{ !env.ACT }}
95+
run: |
96+
gem build *.gemspec
97+
gem push *.gem

.github/workflows/validate.yaml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,21 @@ name: Ruby SDK Validation
99

1010
on:
1111
pull_request:
12-
branches: [ master ]
12+
branches: [master]
1313

1414
jobs:
1515
validate:
16-
1716
runs-on: ubuntu-latest
1817
strategy:
1918
matrix:
20-
ruby-version: ['2.6', '2.7', '3.0', '3.1']
19+
ruby-version: ["2.6", "2.7", "3.0", "3.1"]
2120

2221
steps:
23-
- uses: actions/checkout@v4
24-
- name: Set up Ruby
25-
uses: ruby/setup-ruby@v1
26-
with:
27-
ruby-version: ${{ matrix.ruby-version }}
28-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
29-
- name: Run tests
30-
run: bundle exec rake
22+
- uses: actions/checkout@v4
23+
- name: Set up Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: ${{ matrix.ruby-version }}
27+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
28+
- name: Run tests
29+
run: bundle exec rake

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ script:
88
- bundle install --path vendor/bundle
99
- bundle exec rspec
1010
- gem build fattureincloud_ruby_sdk.gemspec
11-
- gem install ./fattureincloud_ruby_sdk-2.1.3.gem
11+
- gem install ./fattureincloud_ruby_sdk-2.1.4.gem

CHANGELOG.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ All notable changes to this project will be documented in this file. See [standa
44

55
### 2.1.3 (2026-05-13)
66

7-
### 2.1.3 (2026-05-13)
8-
97
### 2.1.2 (2025-08-18)
108

119
### 2.1.1 (2024-10-31)
@@ -44,31 +42,27 @@ All notable changes to this project will be documented in this file. See [standa
4442

4543
### 2.0.6 (2022-03-16)
4644

47-
4845
### Bug Fixes
4946

50-
* added filter parameter and detailed countries method ([0f78c48](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/0f78c487202d8cd8a2d68010a1876e45ee047000))
47+
- added filter parameter and detailed countries method ([0f78c48](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/0f78c487202d8cd8a2d68010a1876e45ee047000))
5148

5249
### 2.0.5 (2022-03-01)
5350

54-
5551
### Bug Fixes
5652

57-
* models are now nullable ([a6a4b50](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/a6a4b50a3d849b9bf3a706ef30e4cf290f36267a))
53+
- models are now nullable ([a6a4b50](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/a6a4b50a3d849b9bf3a706ef30e4cf290f36267a))
5854

5955
### 2.0.4 (2022-02-08)
6056

61-
6257
### Bug Fixes
6358

64-
* added einvoice rejection reason and refactor cashbook ([615496c](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/615496ca267c03509f8d24ba28c41f8f0972de64))
59+
- added einvoice rejection reason and refactor cashbook ([615496c](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/615496ca267c03509f8d24ba28c41f8f0972de64))
6560

6661
### 2.0.3 (2022-01-25)
6762

68-
6963
### Bug Fixes
7064

71-
* added get xml method ([ad2e07a](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/ad2e07afdd69397a01eabfb34f1fe3e1ba764eca))
65+
- added get xml method ([ad2e07a](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/ad2e07afdd69397a01eabfb34f1fe3e1ba764eca))
7266

7367
### 2.0.2 (2022-01-10)
7468

README.md

Lines changed: 436 additions & 441 deletions
Large diffs are not rendered by default.

fattureincloud_ruby_sdk.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
2828
s.metadata = {}
2929

3030
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31+
s.add_dependency 'ostruct', '>= 0'
3132

3233
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
3334

lib/fattureincloud_ruby_sdk/api_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ApiClient
3232
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
3333
def initialize(config = Configuration.default)
3434
@config = config
35-
@user_agent = "FattureInCloud/2.1.3/Ruby-SDK"
35+
@user_agent = "FattureInCloud/2.1.4/Ruby-SDK"
3636
@default_headers = {
3737
'Content-Type' => 'application/json',
3838
'User-Agent' => @user_agent

lib/fattureincloud_ruby_sdk/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module FattureInCloud_Ruby_Sdk
14-
VERSION = '2.1.3'
14+
VERSION = '2.1.4'
1515
end

sdk-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
info:
2-
version: 2.1.3
2+
version: 2.1.4

0 commit comments

Comments
 (0)