super_settings 0.0.1.rc1 → 0.0.1.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/super_settings.rb +8 -0
  4. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3ffc006b5339ad5e177a0170ac77709cbd9cdff51634c5fbdf58a165debc916
4
- data.tar.gz: 8cabfad2397ea27763707f3294ae1ed2dc99e900c9225e7bd10a57528df84712
3
+ metadata.gz: a9a76ec61662ea71965541177f828db81a6db13a2808bbdaca9d823053dd33a0
4
+ data.tar.gz: b6980aa31511e88dae2e9034a82cb6d514e8cf5b1d5b8b54439819dd5d5e0a62
5
5
  SHA512:
6
- metadata.gz: a8a5f5f4880684d56b8aecf56a974867e35f89a75f6cb843b118dc9d5afab08d1e58905474a71960d34887a9112613f97f5377090b13cac67625997a97021733
7
- data.tar.gz: 16af5dd39a2c2821463c9f121004a7c5bec3e20796507ba5f43ff912d5e05c1c226965afeb770ee1bf8065bc8cd6810bd1f97185d813f59d5fb33bbd207e6408
6
+ metadata.gz: dd24a62c276574dd407f32534964ec019d00813570abaf8b799a57f7b82a53828ac9ee572e1efeceb5b2f4a4ca83cfaa74b6da2f5f0bb3317fe3ee785ddc00d8
7
+ data.tar.gz: 3b66ffe10504f1de430aea5fe7a5b0c3d529e7374e974c3f61e92b660de4896466cb33531a7d0acf7d97881917e8ea68be186955c88470c4e1a2e17ae8404ecc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1.rc1
1
+ 0.0.1.rc2
@@ -32,6 +32,14 @@ module SuperSettings
32
32
  val.nil? ? default : val.to_s
33
33
  end
34
34
 
35
+ # Alias for {#get} to allow using the [] operator to get a setting value.
36
+ #
37
+ # @param key [String, Symbol]
38
+ # @return [String]
39
+ def [](key)
40
+ get(key)
41
+ end
42
+
35
43
  # Get a setting value cast to an integer.
36
44
  #
37
45
  # @param key [String, Symbol]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: super_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.rc1
4
+ version: 0.0.1.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-26 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description:
27
+ description:
28
28
  email:
29
29
  - bbdurand@gmail.com
30
30
  executables: []
@@ -74,7 +74,7 @@ homepage: https://github.com/bdurand/super_settings
74
74
  licenses:
75
75
  - MIT
76
76
  metadata: {}
77
- post_install_message:
77
+ post_install_message:
78
78
  rdoc_options: []
79
79
  require_paths:
80
80
  - lib
@@ -89,8 +89,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  - !ruby/object:Gem::Version
90
90
  version: 1.3.1
91
91
  requirements: []
92
- rubygems_version: 3.4.5
93
- signing_key:
92
+ rubygems_version: 3.2.22
93
+ signing_key:
94
94
  specification_version: 4
95
95
  summary: Fast access runtime settings for a Rails application with an included UI
96
96
  and API for administration.