kreds 1.1.4 → 1.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: d74986e248d965c5c327a305d00f6fa4e78c3cfa79c0ff3e24d1a51513b2b5ae
4
- data.tar.gz: b92ca91903f6ed4f001b96af806ab31f241e76585784a5a4c931f1d40a592d7b
3
+ metadata.gz: 575188b32a50ad95468044373828227f651932c8b74b46419f6a3ba327304fd2
4
+ data.tar.gz: e359ac0dd63c5407686e58ea0f20cf8497f154de95d5c4879520bae62afc3ee7
5
5
  SHA512:
6
- metadata.gz: ef1aa0826e0024caec247ae91af53504684a3e21301db445fc0827358793ff67dd9b1457a9c7b65aaf101daf6e082f5136d054507cb2aa367034d732ff5c2cfd
7
- data.tar.gz: acf4be931199bf84760259480cc49b85770e48595fe59cb347fa8041d2a6a9a5bc3eaa8aca1c2aabf7c2a88e67fb948ae56b371958ad2551ec0b886325422ca5
6
+ metadata.gz: 5e46fe736f2b611617cd0b51e94012f82aa84012d1f6d0c008bbd60f58a6b7858852531dcae12ead92a779317595ad63e3962d83b8e079f25546509b73e6cceb
7
+ data.tar.gz: 65522943c2ca399be7fe852065aabb9bfb1d50b764fd704bfbd87a99d83a92ec3d83884b6de087cf71f09f58d4e62134f0772d7c306dc69badae1fef248cc889
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v1.1.5
2
+
3
+ - Performance improvement
4
+
1
5
  ## v1.1.4
2
6
 
3
7
  - Relaxed dependency versions
data/README.md CHANGED
@@ -1,7 +1,9 @@
1
1
  # Kreds: Streamlined Rails Credentials Access
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/kreds.svg)](http://badge.fury.io/rb/kreds)
4
- [![Github Actions badge](https://github.com/brownboxdev/kreds/actions/workflows/ci.yml/badge.svg)](https://github.com/brownboxdev/kreds/actions/workflows/ci.yml)
4
+ [![Downloads](https://img.shields.io/gem/dt/kreds.svg)](https://rubygems.org/gems/kreds)
5
+ [![Github Actions badge](https://github.com/enjaku4/kreds/actions/workflows/ci.yml/badge.svg)](https://github.com/enjaku4/kreds/actions/workflows/ci.yml)
6
+ [![License](https://img.shields.io/github/license/enjaku4/kreds.svg)](LICENSE)
5
7
 
6
8
  Kreds is a simpler, shorter, and safer way to access Rails credentials, with a few extra features built in. Rails credentials are a convenient way to store secrets, but retrieving them could be more intuitive — that's where Kreds comes in.
7
9
 
@@ -149,13 +151,13 @@ Kreds.show
149
151
  ## Getting Help and Contributing
150
152
 
151
153
  ### Getting Help
152
- Have a question or need assistance? Open a discussion in our [discussions section](https://github.com/brownboxdev/kreds/discussions) for:
154
+ Have a question or need assistance? Open a discussion in our [discussions section](https://github.com/enjaku4/kreds/discussions) for:
153
155
  - Usage questions
154
156
  - Implementation guidance
155
157
  - Feature suggestions
156
158
 
157
159
  ### Reporting Issues
158
- Found a bug? Please [create an issue](https://github.com/brownboxdev/kreds/issues) with:
160
+ Found a bug? Please [create an issue](https://github.com/enjaku4/kreds/issues) with:
159
161
  - A clear description of the problem
160
162
  - Steps to reproduce the issue
161
163
  - Your environment details (Rails version, Ruby version, etc.)
@@ -164,14 +166,14 @@ Found a bug? Please [create an issue](https://github.com/brownboxdev/kreds/issue
164
166
  Ready to contribute? You can:
165
167
  - Fix bugs by submitting pull requests
166
168
  - Improve documentation
167
- - Add new features (please discuss first in our [discussions section](https://github.com/brownboxdev/kreds/discussions))
169
+ - Add new features (please discuss first in our [discussions section](https://github.com/enjaku4/kreds/discussions))
168
170
 
169
- Before contributing, please read the [contributing guidelines](https://github.com/brownboxdev/kreds/blob/master/CONTRIBUTING.md)
171
+ Before contributing, please read the [contributing guidelines](https://github.com/enjaku4/kreds/blob/master/CONTRIBUTING.md)
170
172
 
171
173
  ## License
172
174
 
173
- The gem is available as open source under the terms of the [MIT License](https://github.com/brownboxdev/kreds/blob/master/LICENSE.txt).
175
+ The gem is available as open source under the terms of the [MIT License](https://github.com/enjaku4/kreds/blob/master/LICENSE.txt).
174
176
 
175
177
  ## Code of Conduct
176
178
 
177
- Everyone interacting in the Kreds project is expected to follow the [code of conduct](https://github.com/brownboxdev/kreds/blob/master/CODE_OF_CONDUCT.md).
179
+ Everyone interacting in the Kreds project is expected to follow the [code of conduct](https://github.com/enjaku4/kreds/blob/master/CODE_OF_CONDUCT.md).
data/kreds.gemspec CHANGED
@@ -4,12 +4,16 @@ Gem::Specification.new do |spec|
4
4
  spec.name = "kreds"
5
5
  spec.version = Kreds::VERSION
6
6
  spec.authors = ["enjaku4"]
7
- spec.homepage = "https://github.com/brownboxdev/kreds"
7
+ spec.email = ["enjaku4@icloud.com"]
8
+ spec.homepage = "https://github.com/enjaku4/kreds"
8
9
  spec.metadata["homepage_uri"] = spec.homepage
9
10
  spec.metadata["source_code_uri"] = spec.homepage
10
11
  spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
12
+ spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
13
+ spec.metadata["documentation_uri"] = "#{spec.homepage}/blob/master/README.md"
11
14
  spec.metadata["rubygems_mfa_required"] = "true"
12
15
  spec.summary = "The missing shorthand for Rails credentials"
16
+ spec.description = "Kreds provides a simpler, shorter, and safer way to access Rails credentials with clear error messages, environment variable fallback support, and blank value detection"
13
17
  spec.license = "MIT"
14
18
  spec.required_ruby_version = ">= 3.2", "< 3.5"
15
19
 
data/lib/kreds/fetch.rb CHANGED
@@ -7,7 +7,7 @@ module Kreds
7
7
 
8
8
  path = []
9
9
 
10
- symbolized_keys.reduce(Kreds.show) do |hash, key|
10
+ symbolized_keys.reduce(Rails.application.credentials) do |hash, key|
11
11
  path << key
12
12
  fetch_key(hash, key, path, symbolized_keys)
13
13
  end
data/lib/kreds/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kreds
2
- VERSION = "1.1.4".freeze
2
+ VERSION = "1.1.5".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kreds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - enjaku4
@@ -43,6 +43,11 @@ dependencies:
43
43
  - - "<"
44
44
  - !ruby/object:Gem::Version
45
45
  version: '8.1'
46
+ description: Kreds provides a simpler, shorter, and safer way to access Rails credentials
47
+ with clear error messages, environment variable fallback support, and blank value
48
+ detection
49
+ email:
50
+ - enjaku4@icloud.com
46
51
  executables: []
47
52
  extensions: []
48
53
  extra_rdoc_files: []
@@ -56,13 +61,15 @@ files:
56
61
  - lib/kreds/inputs.rb
57
62
  - lib/kreds/show.rb
58
63
  - lib/kreds/version.rb
59
- homepage: https://github.com/brownboxdev/kreds
64
+ homepage: https://github.com/enjaku4/kreds
60
65
  licenses:
61
66
  - MIT
62
67
  metadata:
63
- homepage_uri: https://github.com/brownboxdev/kreds
64
- source_code_uri: https://github.com/brownboxdev/kreds
65
- changelog_uri: https://github.com/brownboxdev/kreds/blob/master/CHANGELOG.md
68
+ homepage_uri: https://github.com/enjaku4/kreds
69
+ source_code_uri: https://github.com/enjaku4/kreds
70
+ changelog_uri: https://github.com/enjaku4/kreds/blob/master/CHANGELOG.md
71
+ bug_tracker_uri: https://github.com/enjaku4/kreds/issues
72
+ documentation_uri: https://github.com/enjaku4/kreds/blob/master/README.md
66
73
  rubygems_mfa_required: 'true'
67
74
  rdoc_options: []
68
75
  require_paths:
@@ -81,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
88
  - !ruby/object:Gem::Version
82
89
  version: '0'
83
90
  requirements: []
84
- rubygems_version: 3.6.7
91
+ rubygems_version: 3.7.2
85
92
  specification_version: 4
86
93
  summary: The missing shorthand for Rails credentials
87
94
  test_files: []