Skip to content

Commit 76e53c4

Browse files
committed
build(release): bump version to v0.2.1.2
1 parent 492f0ea commit 76e53c4

File tree

14 files changed

+83
-76
lines changed

14 files changed

+83
-76
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

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

.github/ISSUE_TEMPLATE/feature_request.md

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

.github/workflows/ruby.yml renamed to .github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
name: bigid_auth
1+
name: Build
22

33
on:
44
workflow_dispatch:
55
push:
66
branches:
7-
- master
7+
- dev
88
pull_request:
9-
branches: '*'
9+
branches:
10+
- '*'
11+
paths-ignore:
12+
- '**.md'
1013

1114
jobs:
12-
pipeline:
15+
Testing:
1316
if: ${{ github.actor != 'dependabot[bot]' }}
1417
runs-on: ubuntu-latest
1518
steps:

.github/workflows/deployment.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Deployment
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
Testing:
11+
name: Testing
12+
if: ${{ github.actor != 'dependabot[bot]' }}
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Setup Ruby
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: '3.1.2'
21+
- name: Run Install
22+
run: |
23+
sudo apt-get -yqq install libpq-dev
24+
gem update --system
25+
gem install rake
26+
gem install bundler
27+
bundle install
28+
- name: Run Linter (rubocop)
29+
run: |
30+
bundle exec rubocop --format json -o report.json
31+
- name: Run Tests (rspec)
32+
run: |
33+
bundle exec rspec
34+
35+
Publishing:
36+
needs: Testing
37+
runs-on: ubuntu-latest
38+
environment:
39+
name: Production
40+
url: https://rubygems.org/gems/bigid_auth
41+
steps:
42+
- name: Checkout
43+
uses: actions/checkout@v2
44+
- name: Set environment variables
45+
id: vars
46+
run: |
47+
echo ::set-output name=project_version::$(ruby bin/version.rb)
48+
- name: Create a GitHub release
49+
uses: ncipollo/release-action@v1
50+
with:
51+
tag: ${{ steps.vars.outputs.project_version }}
52+
name: ${{ steps.vars.outputs.project_version }}
53+
bodyFile: "docs/CHANGELOG.md"
54+
- name: Publish gem
55+
uses: dawidd6/action-publish-gem@v1
56+
with:
57+
# Optional, will publish to RubyGems if specified
58+
api_key: ${{secrets.RUBYGEMS_API_KEY}}
59+
# Optional, will publish to GitHub Packages if specified
60+
github_token: ${{secrets.GITHUB_TOKEN}}

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BigId Auth's Library for Ruby
77
Dev Requirements
88
-----------------
99

10-
- Ruby: Any version
10+
- Ruby: Higher version
1111
- Bundler
1212

1313
Global Installation

bigid_auth.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
1313
s.summary = "Bigid Auth Library"
1414
s.description = "A library to use BigData Corps auth features"
1515
s.required_ruby_version = ">= 2.7"
16-
s.files = Dir["{lib}/**/*"] + ["LICENSE.txt", "Rakefile", "README.md", "CHANGELOG.md"]
16+
s.files = Dir["{lib}/**/*"] + Dir["{docs}/**/*"] + ["Rakefile"]
1717
s.test_files = Dir["spec/**/*"]
1818
s.license = "MIT"
1919

bin/version.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
require_relative "../lib/bigid/auth/version"
5+
6+
puts ::Bigid::Auth::VERSION

CHANGELOG.md renamed to docs/CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# CHANGELOG
22

3-
## v0.2.1.1-20220209 - Danilo Carolino
3+
## v0.2.1.2-20220505 - [Danilo Carolino](@danilogco)
4+
5+
* build(deps): bump ruby version from 3.1.0 to 3.1.2
6+
7+
## v0.2.1.1-20220209 - [Danilo Carolino](@danilogco)
48

59
* bump flash_integration version to v0.1.2
10+
* add docker configs to the project
611

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

914
* [QC-79](https://qflash.atlassian.net/jira/software/projects/QC/boards/31?selectedIssue=QC-79)
1015
Reduzir uso de pipelines em projetos Ruby [Dependabot]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/bigid/auth/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ module Auth
99
# Major - Incremented for incompatible changes with previous release (or big enough new features)
1010
# Minor - Incremented for new backwards-compatible features + deprecations
1111
# Patch - Incremented for backwards-compatible bug fixes
12-
VERSION = "0.2.1.1"
12+
VERSION = "0.2.1.2"
1313
end
1414
end

0 commit comments

Comments
 (0)