Skip to content

Commit

Permalink
Descope Ruby SDK Initial Release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-descope committed Feb 15, 2024
0 parents commit cc8edc2
Show file tree
Hide file tree
Showing 196 changed files with 43,237 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
name: Build Ruby SDK
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- uses: ruby/setup-ruby@v1
with:
# We are not letting this step to run bundle install, we will do it later
bundler-cache: false

- name: Install dependencies
run: bundle install

- name: Run RSpec Test
run: bundle exec rspec

# in order to release use conventional commits
# $ git commit --allow-empty -m "chore: release 1.0.0" -m "Release-As: 1.0.0" && git push
# this will open a new PR with the changelog and bump the version
# Release Please assumes you are using Conventional Commit messages.
#
# The most important prefixes you should have in mind are:
#
# fix: which represents bug fixes, and correlates to a SemVer patch.
# feat: which represents a new feature, and correlates to a SemVer minor.
# feat!:, or fix!:, refactor!:, etc., which represent a breaking change (indicated by the !) and will result in a SemVer major.
- uses: google-github-actions/release-please-action@v4
id: release
if: github.ref == 'refs/heads/main'

- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
if: ${{ steps.release.outputs.release_created }}
59 changes: 59 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/
bin/*
*.idea/*
*.iml
.DS_Store
# Used by dotenv library to load environment variables.
# .env

# Ignore Byebug command history file.
.byebug_history

## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/

## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# vendor/Pods/

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# Used by RuboCop. Remote config files pulled in from inherit_from directive.
# .rubocop-https?--*
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.0.4"
}
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
inherit_from: .rubocop_todo.yml
require:
- rubocop-rails
Rails:
Enabled: False
AllCops:
Exclude:
- bin/**/*
- vendor/**/*
- auth0.gemspec
10 changes: 10 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Metrics/MethodLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/LineLength:
Max: 121
Metrics/ParameterLists:
Enabled: false
Metrics/ModuleLength:
Enabled: false
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.0
90 changes: 90 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Change Log

## [1.0.4](https://github.com/descope/descope-ruby-sdk/compare/descope/v1.0.0...descope/v1.0.4) (2024-02-13)


### Miscellaneous Chores

* Descope Ruby SDK Initial Release. ([d045e0f](https://github.com/descope/descope-ruby-sdk/commit/d045e0fab482789c6579855b9af4d7e8b6928ab4))

## [1.0.0](https://github.com/descope/descope-ruby-sdk/compare/descope-v1.0.0...descope/v1.0.0) (2024-02-13)


### Features

* 1.0.0 first release. ([78eac70](https://github.com/descope/descope-ruby-sdk/commit/78eac70ed7c10cc11bf5ce7d1b5b75f6f7b7041b))


### Miscellaneous Chores

* release 1.0.0 ([2fddf84](https://github.com/descope/descope-ruby-sdk/commit/2fddf8499338ddddee2147de86899286a3bccde6))
* release 1.0.0 ([b77c6d2](https://github.com/descope/descope-ruby-sdk/commit/b77c6d28c691c3c924b4e862af4c2c5dbf78501c))
* release 1.0.0 ([cfbb56b](https://github.com/descope/descope-ruby-sdk/commit/cfbb56ba352b454e83cce796d3397e9a58e62617))
* release 1.0.0 ([c5fe6f7](https://github.com/descope/descope-ruby-sdk/commit/c5fe6f757a2a539e32a88665680448ce06d8354a))
* release 1.0.0 ([019e89d](https://github.com/descope/descope-ruby-sdk/commit/019e89d34a08b359f7953ca4a48cd03c93817d7f))
* release 1.0.0 ([3758c6b](https://github.com/descope/descope-ruby-sdk/commit/3758c6b99ef0992e6ed02d9eec092102680403e5))
* release 1.0.0 ([292a95e](https://github.com/descope/descope-ruby-sdk/commit/292a95e393c44b525a212da91de91736573e59f3))
* release 1.0.0 ([1a76df2](https://github.com/descope/descope-ruby-sdk/commit/1a76df21650ea34ac447381fb97da94bacf234d0))
* release 1.0.0 ([2d8450e](https://github.com/descope/descope-ruby-sdk/commit/2d8450e24a0b81196e083ddd588562a300bfa5f1))
* release 1.0.0 ([3dc5abc](https://github.com/descope/descope-ruby-sdk/commit/3dc5abc9e0f64e7b950b01e84098d6eccce649c3))
* release 1.0.0 ([1c25d9f](https://github.com/descope/descope-ruby-sdk/commit/1c25d9f07f7f2d34474db8e471e80bba70bf1ee4))
* release 1.0.0 ([9cf28fa](https://github.com/descope/descope-ruby-sdk/commit/9cf28fac2f1e2b0d026a1ecfd1103caa8feaf35d))
* release 1.0.0 ([08af782](https://github.com/descope/descope-ruby-sdk/commit/08af782c6915abcf2c3c6dcf02446951787ca290))
* release 1.0.0 ([bff65f5](https://github.com/descope/descope-ruby-sdk/commit/bff65f52b4f618e1b26c3a16639cfea0762dfcc7))

## [1.0.0](https://github.com/descope/descope-ruby-sdk/compare/descope-v1.0.0...descope/v1.0.0) (2024-02-13)


### Features

* 1.0.0 first release. ([78eac70](https://github.com/descope/descope-ruby-sdk/commit/78eac70ed7c10cc11bf5ce7d1b5b75f6f7b7041b))


### Miscellaneous Chores

* release 1.0.0 ([cfbb56b](https://github.com/descope/descope-ruby-sdk/commit/cfbb56ba352b454e83cce796d3397e9a58e62617))
* release 1.0.0 ([c5fe6f7](https://github.com/descope/descope-ruby-sdk/commit/c5fe6f757a2a539e32a88665680448ce06d8354a))
* release 1.0.0 ([019e89d](https://github.com/descope/descope-ruby-sdk/commit/019e89d34a08b359f7953ca4a48cd03c93817d7f))
* release 1.0.0 ([3758c6b](https://github.com/descope/descope-ruby-sdk/commit/3758c6b99ef0992e6ed02d9eec092102680403e5))
* release 1.0.0 ([292a95e](https://github.com/descope/descope-ruby-sdk/commit/292a95e393c44b525a212da91de91736573e59f3))
* release 1.0.0 ([1a76df2](https://github.com/descope/descope-ruby-sdk/commit/1a76df21650ea34ac447381fb97da94bacf234d0))
* release 1.0.0 ([2d8450e](https://github.com/descope/descope-ruby-sdk/commit/2d8450e24a0b81196e083ddd588562a300bfa5f1))
* release 1.0.0 ([3dc5abc](https://github.com/descope/descope-ruby-sdk/commit/3dc5abc9e0f64e7b950b01e84098d6eccce649c3))
* release 1.0.0 ([1c25d9f](https://github.com/descope/descope-ruby-sdk/commit/1c25d9f07f7f2d34474db8e471e80bba70bf1ee4))
* release 1.0.0 ([9cf28fa](https://github.com/descope/descope-ruby-sdk/commit/9cf28fac2f1e2b0d026a1ecfd1103caa8feaf35d))
* release 1.0.0 ([08af782](https://github.com/descope/descope-ruby-sdk/commit/08af782c6915abcf2c3c6dcf02446951787ca290))
* release 1.0.0 ([bff65f5](https://github.com/descope/descope-ruby-sdk/commit/bff65f52b4f618e1b26c3a16639cfea0762dfcc7))

## [1.0.0](https://github.com/descope/descope-ruby-sdk/compare/descope-v1.0.0...descope/v1.0.0) (2024-02-13)


### Features

* 1.0.0 first release. ([78eac70](https://github.com/descope/descope-ruby-sdk/commit/78eac70ed7c10cc11bf5ce7d1b5b75f6f7b7041b))


### Miscellaneous Chores

* release 1.0.0 ([292a95e](https://github.com/descope/descope-ruby-sdk/commit/292a95e393c44b525a212da91de91736573e59f3))
* release 1.0.0 ([1a76df2](https://github.com/descope/descope-ruby-sdk/commit/1a76df21650ea34ac447381fb97da94bacf234d0))
* release 1.0.0 ([2d8450e](https://github.com/descope/descope-ruby-sdk/commit/2d8450e24a0b81196e083ddd588562a300bfa5f1))
* release 1.0.0 ([3dc5abc](https://github.com/descope/descope-ruby-sdk/commit/3dc5abc9e0f64e7b950b01e84098d6eccce649c3))
* release 1.0.0 ([1c25d9f](https://github.com/descope/descope-ruby-sdk/commit/1c25d9f07f7f2d34474db8e471e80bba70bf1ee4))
* release 1.0.0 ([9cf28fa](https://github.com/descope/descope-ruby-sdk/commit/9cf28fac2f1e2b0d026a1ecfd1103caa8feaf35d))
* release 1.0.0 ([08af782](https://github.com/descope/descope-ruby-sdk/commit/08af782c6915abcf2c3c6dcf02446951787ca290))
* release 1.0.0 ([bff65f5](https://github.com/descope/descope-ruby-sdk/commit/bff65f52b4f618e1b26c3a16639cfea0762dfcc7))

## [1.0.0](https://github.com/descope/descope-ruby-sdk/compare/descope-v1.0.0...descope/v1.0.0) (2024-02-13)


### Features

* 1.0.0 first release. ([78eac70](https://github.com/descope/descope-ruby-sdk/commit/78eac70ed7c10cc11bf5ce7d1b5b75f6f7b7041b))


### Miscellaneous Chores

* release 1.0.0 ([bff65f5](https://github.com/descope/descope-ruby-sdk/commit/bff65f52b4f618e1b26c3a16639cfea0762dfcc7))

## [1.0.0]
- Initial release
15 changes: 15 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
source 'https://rubygems.org'
gemspec

group :development do
gem 'rubocop', '1.60.2', require: false
gem 'rubocop-rails', '2.23.1', require: false
end

group :test do
gem 'super_diff','0.11.0', require: false
gem 'factory_bot', '6.4.6', require: false
gem 'selenium-webdriver', '4.17.0', require: false
gem 'rotp', '6.3.0', require: false
gem 'rack-test', '2.1.0', require: false
end
Loading

0 comments on commit cc8edc2

Please sign in to comment.