tenants_helper 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3eca820d9a9f2245f0a6ffa83be601299f4f4131
4
- data.tar.gz: 00999284ee11d5e15bbfb02b228592792fd21dd9
2
+ SHA256:
3
+ metadata.gz: 594c237f956359de29fefbf702f02d90867e67883b9f7b77abf497f8c533ce23
4
+ data.tar.gz: dec2f1f7ab6298543baf942ca66ab723d5131a8c6c5ed8813554462f1630619a
5
5
  SHA512:
6
- metadata.gz: 23ed8bf7952af6b307afafc650cb22344495f847d177c9419c53acef8ce64b6fa7cf998f5fea54f2ff64e84942a2715ce262f61960a9db46f515e35fcb4391c7
7
- data.tar.gz: 2520e5342188420a7feafbf1c48023b01a636c46f0ff66d075a2b3ef4deaa74740857768ea31ccdb8a01a0dd01d1a7f89581cd6b01bd4bd589acc1524f9f6d51
6
+ metadata.gz: cd367bf0c372e0f47e239889e4deb9a558f1c9b91cb6539c0307196352b02cf66ffd7dac23761b1c84a6182d2050b82d10df7279fba7ef18ec286eabf82e4b26
7
+ data.tar.gz: 818107d1ce44d6b7db9dd76bc508d0173203a67463ee1fb74c794f05d223ca49b158e74cbf6a8f347fc0af64ea59bb064ac3a630bb1a20bdb929463fa9774772
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
@@ -0,0 +1,59 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ build:
10
+ name: Build
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v2
15
+ - uses: ruby/setup-ruby@v1
16
+ with:
17
+ bundler-cache: true
18
+ - run: bundle exec rake
19
+
20
+ release:
21
+ needs: build
22
+ name: Release
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - name: Checkout
26
+ uses: actions/checkout@v2
27
+
28
+ - name: Generate Changelog
29
+ run: |
30
+ # Get version from github ref (remove 'refs/tags/' and prefix 'v')
31
+ version="${GITHUB_REF#refs/tags/v}"
32
+ npx changelog-parser CHANGELOG.md | jq -cr ".versions | .[] | select(.version == \"$version\") | .body" > ${{ github.workflow }}-CHANGELOG.txt
33
+
34
+ - name: Release
35
+ uses: softprops/action-gh-release@v1
36
+ with:
37
+ body_path: ${{ github.workflow }}-CHANGELOG.txt
38
+ env:
39
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40
+
41
+ publish:
42
+ needs: [build, release]
43
+ name: Publish
44
+ runs-on: ubuntu-latest
45
+
46
+ steps:
47
+ - uses: actions/checkout@v2
48
+ - uses: ruby/setup-ruby@v1
49
+
50
+ - name: Publish to RubyGems
51
+ run: |
52
+ mkdir -p $HOME/.gem
53
+ touch $HOME/.gem/credentials
54
+ chmod 0600 $HOME/.gem/credentials
55
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
56
+ gem build *.gemspec
57
+ gem push *.gem
58
+ env:
59
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -0,0 +1,16 @@
1
+ name: Build and Test
2
+ on: [push, pull_request]
3
+ jobs:
4
+ test:
5
+ strategy:
6
+ fail-fast: false
7
+ matrix:
8
+ ruby: ["2.6", "2.7", "3.0"]
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: ruby/setup-ruby@v1
13
+ with:
14
+ ruby-version: ${{ matrix.ruby }}
15
+ bundler-cache: true
16
+ - run: bundle exec rake
@@ -1 +1 @@
1
- 2.3.0
1
+ 3.0.0
@@ -0,0 +1,9 @@
1
+ # Change Log
2
+ All notable changes to this project will be documented in this file.
3
+ This project adheres to [Semantic Versioning](http://semver.org/).
4
+ This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
5
+
6
+ ## 0.2.0
7
+
8
+ - [TT-8611] Update to build with github actions / ruby 3.0
9
+ - [TT-1392] Changelog file
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module TenantsHelper
3
- VERSION = '0.1.0'.freeze
4
+ VERSION = '0.2.0'
4
5
  end
@@ -38,5 +38,5 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency 'simplecov-rcov'
39
39
  spec.add_development_dependency 'coveralls'
40
40
  spec.add_development_dependency 'rubocop'
41
- spec.add_development_dependency 'travis'
41
+ spec.add_development_dependency 'pry-byebug'
42
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tenants_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akil Madan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-09 00:00:00.000000000 Z
11
+ date: 2021-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yamload
@@ -193,7 +193,7 @@ dependencies:
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
- name: travis
196
+ name: pry-byebug
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - ">="
@@ -214,11 +214,14 @@ executables: []
214
214
  extensions: []
215
215
  extra_rdoc_files: []
216
216
  files:
217
+ - ".github/dependabot.yml"
218
+ - ".github/workflows/release.yml"
219
+ - ".github/workflows/ruby.yml"
217
220
  - ".gitignore"
218
221
  - ".rspec"
219
222
  - ".rubocop.yml"
220
223
  - ".ruby-version"
221
- - ".travis.yml"
224
+ - CHANGELOG.md
222
225
  - CODE_OF_CONDUCT.md
223
226
  - Gemfile
224
227
  - LICENSE.txt
@@ -250,8 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
253
  - !ruby/object:Gem::Version
251
254
  version: '0'
252
255
  requirements: []
253
- rubyforge_project:
254
- rubygems_version: 2.5.1
256
+ rubygems_version: 3.2.3
255
257
  signing_key:
256
258
  specification_version: 4
257
259
  summary: Gem to validate and query tenants using a standardised tenants config
@@ -1,13 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1
4
- - 2.2
5
- - 2.3.0
6
- before_install: gem install bundler -v 1.11.2
7
- notifications:
8
- email:
9
- - support@travellink.com.au
10
- flowdock:
11
- secure: rjxg7hIW69k5k/pAMwx7Z3WKdzeNhBV8EvBoD0U7cQ3j0BdTHCw68FrcqiN/AKQkfVbK4IlytLz0LGAZpQ7eGjSWH0O7W23oOk//hqO8caoYr1V2vF29y6rj92vuSlWMJQ6sBvMSNraAh5Xey/LXHT5Cw1KtZcYIorZBS6lxaKIxC9MMjVx7IIorIdYThpMv7SuvZStG9Ra8hZVD1LNOZtmdcEVT2wD0MyBE2LKtFciZlSDxlPJv38jw5k2xT0hOLJ5L4p8PrFhkiKkg/dt8/RLjt+WWNm0XVo5DDkBB4FHty5iUQcXH5BrCLKutH4+KwaUcF3O2jEMLstxZPWX0mHxjD5QOo2OOu1gAFKXE7jFEy+kXYJB7z1cX2hUb1Sgqn9OGqf2D5020peH2nj+vGOWIq7zKzSWYuGn/uQOVIDkS8YiV5PgrhaFj/ieDlKnk2sQ+vL00ERs/GXpg1lMKuyKasIxydfXoHP8bHUE7R2t5gVsZTLTdYInukVg9wFA0S2I09WvyUiQxniP7ljTcqigD+O+NuHGTPga+IJM9jpB/ZHuha2jC0omkR96/dvlhDZtBlnXB88N5kfFFYbaT2a1erYvwBTuVY8QueIv7V3kOmu6pCMTcnR8DNoekzpi3dLQwW8rifu+6MsuLaxsywd8JJmNJQDGxU4CSV5yQUl4=
12
- sudo: false
13
- cache: bundler