aws_secrets_loader 0.1.0 → 0.1.5

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: 4f4501e9209b8f001346ab3f70fc00be30e9f856b167a91297cf332cbaf3c16f
4
- data.tar.gz: 2067705a5b7946aa9763d718cb191b00e5b7c39e4f2402bcd419c1d37d0ab536
3
+ metadata.gz: fe09c39d95637fed5ed0cd4f4cf163a987e5e7d38e9e68d74ca3e4755056a05d
4
+ data.tar.gz: 4f3ef27fea90838bae52d11d7b82017d064c5912f8b6be9e91cf3e9a73eaa255
5
5
  SHA512:
6
- metadata.gz: f08c367093e5ee3668a196c53d009c5dfeb7e0ed054109081fe31bb8972342f357cb9d747893ca250b7ffae9a53f6b5fb298bee930db2d9d81c2c1af90c36d44
7
- data.tar.gz: afa19c7dbf485b58af3516e28d93f9ea74ad4dcbb2b67c57a002e8923b40dd7169b2ad5f2e84c16f0b7a48652bb803b0de250bf59ec1f5a97a9daf90c6edabf6
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aws_secrets_loader (0.1.0)
4
+ aws_secrets_loader (0.1.5)
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.
@@ -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
@@ -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.0"
2
+ VERSION = "0.1.5"
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.0
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: {}