aws_secrets_loader 0.1.0 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gem-push.yml +30 -0
- data/.github/workflows/ruby.yml +33 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -0
- data/aws_secrets_loader.gemspec +1 -7
- data/lib/aws_secrets_loader.rb +0 -2
- data/lib/aws_secrets_loader/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe09c39d95637fed5ed0cd4f4cf163a987e5e7d38e9e68d74ca3e4755056a05d
|
4
|
+
data.tar.gz: 4f3ef27fea90838bae52d11d7b82017d064c5912f8b6be9e91cf3e9a73eaa255
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae8a55ad839fca68426389ddf7fab1a36cd1e8162346064ea40514a20649d0dbb5073d8bad4f22afba025a8f2e880a4966c3375c8d8ffc7f8227bc89a197f301
|
7
|
+
data.tar.gz: 5112833e6a17921226b65629be1b6da25e31ff3f52fdd4f0f93876e7c96a3bd79add1c4912ec4df5dff221832a17159f00be9cf9e16cfd34374b02ad083f97ef
|
@@ -0,0 +1,30 @@
|
|
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 RubyGems
|
22
|
+
run: |
|
23
|
+
mkdir -p $HOME/.gem
|
24
|
+
touch $HOME/.gem/credentials
|
25
|
+
chmod 0600 $HOME/.gem/credentials
|
26
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
27
|
+
gem build *.gemspec
|
28
|
+
gem push *.gem
|
29
|
+
env:
|
30
|
+
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
|
data/Gemfile.lock
CHANGED
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.
|
data/aws_secrets_loader.gemspec
CHANGED
@@ -8,16 +8,10 @@ Gem::Specification.new do |spec|
|
|
8
8
|
|
9
9
|
spec.summary = %q{AWS Secret Manager Loader on Rails}
|
10
10
|
spec.description = %q{AWS Secret Manager Loader on Rails}
|
11
|
-
spec.homepage = ""
|
11
|
+
spec.homepage = "https://github.com/iagopiimenta/aws_secrets_loader"
|
12
12
|
spec.license = "MIT"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
14
14
|
|
15
|
-
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
16
|
-
|
17
|
-
# spec.metadata["homepage_uri"] = spec.homepage
|
18
|
-
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
19
|
-
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
20
|
-
|
21
15
|
# Specify which files should be added to the gem when it is released.
|
22
16
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
17
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
data/lib/aws_secrets_loader.rb
CHANGED
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.
|
4
|
+
version: 0.1.5
|
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"
|
@@ -47,7 +49,7 @@ files:
|
|
47
49
|
- lib/aws_secrets_loader/aws_fetcher.rb
|
48
50
|
- lib/aws_secrets_loader/railtie.rb
|
49
51
|
- lib/aws_secrets_loader/version.rb
|
50
|
-
homepage:
|
52
|
+
homepage: https://github.com/iagopiimenta/aws_secrets_loader
|
51
53
|
licenses:
|
52
54
|
- MIT
|
53
55
|
metadata: {}
|