Skip to content

Commit 1cd7889

Browse files
authored
Merge pull request #41 from Quasar-Flash/build/deps/flash_integration
build(deps): bump flash_integration from 0.1.2 to 1.0.0
2 parents aa1f05e + 38928e8 commit 1cd7889

File tree

7 files changed

+103
-204
lines changed

7 files changed

+103
-204
lines changed

.github/workflows/deployment.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
RubyGems:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
- name: Setup Ruby
14+
uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: '2.7'
17+
- name: Set environment variables
18+
id: vars
19+
run: |
20+
echo ::set-output name=project_name::$(cat .ruby-gemset)
21+
echo ::set-output name=project_version::$(ruby bin/version)
22+
- name: Install dependencies
23+
run: bundle install --full-index --jobs 4 --retry 3
24+
- name: Configure the credentials
25+
run: |
26+
mkdir -p $HOME/.gem
27+
touch $HOME/.gem/credentials
28+
chmod 0600 $HOME/.gem/credentials
29+
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n:github: Bearer ${GITHUB_KEY}\n" > $HOME/.gem/credentials
30+
env:
31+
GITHUB_KEY: "${{ secrets.GITHUB_TOKEN }}"
32+
RUBYGEMS_API_KEY: "${{ secrets.RUBYGEMS_API_KEY }}"
33+
- name: Build the Gem
34+
run: gem build ${{ steps.vars.outputs.project_name }}.gemspec
35+
- name: Push to the RubyGems
36+
continue-on-error: true
37+
run: gem push ${{ steps.vars.outputs.project_name }}-${{ steps.vars.outputs.project_version }}.gem
38+
- name: Push to the GitHub repository
39+
continue-on-error: true
40+
run: gem push --key github --host https://rubygems.pkg.github.com/Quasar-Flash ${{ steps.vars.outputs.project_name }}-${{ steps.vars.outputs.project_version }}.gem
41+
- name: Get Changelog Entry
42+
id: changelog_reader
43+
uses: mindsers/changelog-reader-action@v2
44+
with:
45+
validation_depth: 10
46+
version: ${{ steps.vars.outputs.project_version }}
47+
path: ./docs/CHANGELOG.md
48+
- name: Create a GitHub release
49+
uses: ncipollo/release-action@v1
50+
with:
51+
tag: v${{ steps.vars.outputs.project_version }}
52+
name: v${{ steps.vars.outputs.project_version }}
53+
body: ${{ steps.changelog_reader.outputs.changes }}
54+
prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }}
55+
draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }}
56+
allowUpdates: true
57+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ test/tmp
1616
test/version_tmp
1717
tmp
1818
.rspec_status
19+
Gemfile.lock

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require:
33
- rubocop-performance
44

55
AllCops:
6-
TargetRubyVersion: 3.1
6+
TargetRubyVersion: 2.7
77
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
88
# to ignore them, so only the ones explicitly set in this file are enabled.
99
DisabledByDefault: true

Gemfile.lock

Lines changed: 0 additions & 118 deletions
This file was deleted.

bigid_auth.gemspec

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ Gem::Specification.new do |s|
2121
s.metadata["source_code_uri"] = "https://github.com/Quasar-Flash/bigid_auth"
2222
s.metadata["bug_tracker_uri"] = "https://github.com/Quasar-Flash/bigid_auth/issues"
2323

24-
s.add_dependency "flash_integration", "~> 0.1.2"
24+
s.add_dependency "flash_integration", "~> 1.0.0"
2525
s.add_dependency "i18n", ">= 1.8", "< 1.11"
2626
s.add_dependency "json", ">= 2.5", "< 2.7"
2727

28-
s.add_development_dependency "bundler", "~> 2.3", ">= 2.3.0"
29-
s.add_development_dependency "factory_bot", "~> 6.2"
30-
s.add_development_dependency "pry", "~> 0.14"
31-
s.add_development_dependency "rake", "~> 13.0", ">= 10.0"
32-
s.add_development_dependency "rspec", "~> 3.11"
33-
s.add_development_dependency "rubocop", "~> 1.28"
34-
s.add_development_dependency "rubocop-packaging", "~> 0.5"
35-
s.add_development_dependency "rubocop-performance", "~> 1.13"
36-
s.add_development_dependency "simplecov", "~> 0.21"
28+
s.add_development_dependency "bundler", "~> 2.3.14", ">= 2.3.0"
29+
s.add_development_dependency "factory_bot", "~> 6.2.1"
30+
s.add_development_dependency "pry", "~> 0.14.1"
31+
s.add_development_dependency "rake", "~> 13.0.6", ">= 10.0"
32+
s.add_development_dependency "rspec", "~> 3.11.0"
33+
s.add_development_dependency "rubocop", "~> 1.30.1"
34+
s.add_development_dependency "rubocop-packaging", "~> 0.5.1"
35+
s.add_development_dependency "rubocop-performance", "~> 1.14.2"
36+
s.add_development_dependency "simplecov", "~> 0.21.2"
3737
end

docs/CHANGELOG.md

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,47 @@
1-
# CHANGELOG
1+
# Changelog
22

3-
## v0.2.1.4-20220505 - [Danilo Carolino](@danilogco)
3+
All notable changes to this project will be documented in this file.
44

5-
* build(deps): bump ruby version from 3.1.0 to 3.1.2
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
67

7-
## v0.2.1.1-20220209 - [Danilo Carolino](@danilogco)
8+
## [Unreleased]
89

9-
* bump flash_integration version to v0.1.2
10-
* add docker configs to the project
10+
## [0.2.1.4] - 2022-05-05
1111

12-
## v0.2.1-20220202 - [Danilo Carolino](@danilogco)
12+
### Changes
1313

14-
* [QC-79](https://qflash.atlassian.net/jira/software/projects/QC/boards/31?selectedIssue=QC-79)
14+
- build(deps): bump ruby version from 3.1.0 to 3.1.2
15+
16+
## [0.2.1.1] - 2022-02-09
17+
18+
### Changes
19+
20+
- bump flash_integration version to v0.1.2
21+
- add docker configs to the project
22+
23+
## [0.2.1] - 2022-02-02
24+
25+
### Changes
26+
27+
- [QC-79](https://qflash.atlassian.net/jira/software/projects/QC/boards/31?selectedIssue=QC-79)
1528
Reduzir uso de pipelines em projetos Ruby [Dependabot]
16-
* Bump Ruby version to v3.1.0
29+
- Bump Ruby version to v3.1.0
30+
31+
## [0.2.0] - 2022-01
32+
33+
### Added
34+
35+
- Use the gem "flash_integration" to retrieve a connection
1736

18-
## v0.2.0
37+
## [0.1.1] - 2022-01
1938

20-
* Use the gem "flash_integration" to retrieve a connection
39+
## Fixed
2140

22-
## v0.1.1
41+
- Fix a problem with the locale initialization in Rails projects
2342

24-
* Fix a problem with the locale initialization in Rails projects
43+
## [0.1.0]
2544

26-
## v0.1.0
45+
### Added
2746

28-
* Initial release of Bigid Auth
47+
- Initial release of Bigid Auth

0 commit comments

Comments
 (0)