aws_secrets_loader 0.1.1 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac26755f79bb8b24c84898aebc95ac06189c671308fdeaa613e219536027b5fe
4
- data.tar.gz: 9a3410fd75c10bb3bd11723c4a8108ffa670c3b4ece4554c8b6fec8d84a4f27e
3
+ metadata.gz: a75c4ae3b06c8ff0e74a75245a06a3687c25c0915afd37a7a386c2d1147aa43d
4
+ data.tar.gz: 2d952095d1b7a98d79b23c7dc9eb57a5b5b7cbcc666029706ce0fa51d65fe797
5
5
  SHA512:
6
- metadata.gz: f7c9412e21840c3d192473688c9bcc33ef036eef7ef1558214f810a76700f7e2df716c8e323152a364cfc5c46c7ff582f33e63157e2fa405b7f88d8e2660eba2
7
- data.tar.gz: 894906b224d38a989b7322d699cea178023e95abaf92fc70b7aeefbb9adfac2171b9d9da434b152e6c86bfca2cb10a2ece5beff4a6149f03f9ff50821135f7c3
6
+ metadata.gz: 3db29282cb40afab3e3284580691fca46fd897f2291866867ac00fa330cfc258470947e44d61470e14792e018c9a16d4c95aba32eb358767c6b867a41fc2879f
7
+ data.tar.gz: 2def84fea47ca805b864b55efd1973d4969ebeb254cf86bab668e40f9268ab3e28674f17b289483ed652da2f9532d37743f956f91ff122e3323b50f3aa6a4ab1
@@ -0,0 +1,42 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ build:
11
+ name: Build + Publish
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby 2.6
17
+ uses: actions/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.6.x
20
+
21
+ - name: Publish to GPR
22
+ run: |
23
+ mkdir -p $HOME/.gem
24
+ touch $HOME/.gem/credentials
25
+ chmod 0600 $HOME/.gem/credentials
26
+ printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
27
+ gem build *.gemspec
28
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
29
+ env:
30
+ GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
31
+ OWNER: ${{ github.repository_owner }}
32
+
33
+ - name: Publish to RubyGems
34
+ run: |
35
+ mkdir -p $HOME/.gem
36
+ touch $HOME/.gem/credentials
37
+ chmod 0600 $HOME/.gem/credentials
38
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
39
+ gem build *.gemspec
40
+ gem push *.gem
41
+ env:
42
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -0,0 +1,33 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby Specs
9
+
10
+ on:
11
+ push:
12
+ branches: [ main ]
13
+ pull_request:
14
+ branches: [ main ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+
21
+ steps:
22
+ - uses: actions/checkout@v2
23
+ - name: Set up Ruby
24
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
25
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
26
+ # uses: ruby/setup-ruby@v1
27
+ uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
28
+ with:
29
+ ruby-version: 2.6
30
+ - name: Install dependencies
31
+ run: bundle install
32
+ - name: Run tests
33
+ run: bundle exec rake
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aws_secrets_loader (0.1.1)
4
+ aws_secrets_loader (0.1.6)
5
5
  aws-sdk-secretsmanager
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ ![Ruby Specs](https://github.com/iagopiimenta/aws_secrets_loader/workflows/Ruby%20Specs/badge.svg)
2
+ ![Ruby Gem](https://github.com/iagopiimenta/aws_secrets_loader/workflows/Ruby%20Gem/badge.svg)
3
+
1
4
  # AwsSecretsLoader
2
5
 
3
6
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/aws_secrets_loader`. To experiment with that code, run `bin/console` for an interactive prompt.
@@ -3,6 +3,4 @@ require "aws_secrets_loader/aws_fetcher"
3
3
  require "aws_secrets_loader/railtie" if defined?(Rails::Railtie)
4
4
 
5
5
  module AwsSecretsLoader
6
- class Error < StandardError; end
7
- # Your code goes here...
8
6
  end
@@ -1,3 +1,3 @@
1
1
  module AwsSecretsLoader
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_secrets_loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iago
@@ -31,6 +31,8 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - ".github/workflows/gem-push.yml"
35
+ - ".github/workflows/ruby.yml"
34
36
  - ".gitignore"
35
37
  - ".rspec"
36
38
  - ".travis.yml"