environment_config 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9309ff0522f135e768a568c6ed44becb8f91d81bbb86d28f37ced6ccfee4f6df
4
- data.tar.gz: 38a2f3494e4c2699b475fdc4227686311c1ef283d58e970b2dc354a0cc85cd18
3
+ metadata.gz: ea4952b566cfd17d17b4f205e6eb747b73b57817bbc5c89eb356cb16337e10b1
4
+ data.tar.gz: 72ebb67cff5aaee002bb8d9be23e49259112f7ad81419da0767c498a53ce1fa5
5
5
  SHA512:
6
- metadata.gz: 57268988b76a40ae1c1700c01545dbe81e4cc857c1b681ecf0b9dae06aa3d88cf0a53739d02c4594cef41911a1b259420ebe4b307b337c1ad63e8404cf7f7557
7
- data.tar.gz: 70ad6af750dfd00a221fd49de79219dc47d6d053c65ca844da8dace36d4037a96912299402f3701b4a0bc761e3c8fe2d1d6f15b89f04e6cb51fa405ac88e7554
6
+ metadata.gz: 30b0d682906c805dfddb2df92aae8542680103f456f02306981164f64f1014e4602c002e21c6eb5b457f1a99d7cf851e003f7b56c4189b1eb0e0e0fd2f9ade4e
7
+ data.tar.gz: 3d94a835f42cfc0baf202d9f4bcba2b37c360cd18527f445499b4a8fade336f5abf8e4407360022b6cd37073f46e5cd38971cb4c3ed30cdb735f6d4069ad9cec
data/.gitlab-ci.yml CHANGED
@@ -44,4 +44,4 @@ publish_gem:
44
44
  - gem build environment_config.gemspec
45
45
  - gem push $(find `pwd` -name "environment_config-*.gem")
46
46
  only:
47
- - master
47
+ - main
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.1 (2024-06-12)
2
+
3
+ - Use the new default branch (`main`, replacing `master`) in the publish job
4
+
1
5
  ## 2.0.0
2
6
 
3
7
  * Breaking: Dropped support for Ruby versions below 3
@@ -7,16 +11,16 @@
7
11
 
8
12
  * Add support for a new datatype `integer_list`
9
13
 
10
- ## 1.4.0
14
+ ## 1.4.0 - YANKED
11
15
 
12
16
  * Allow passing Base64 encoded variables
13
17
 
14
- ## 1.3.0
18
+ ## 1.3.0 - YANKED
15
19
 
16
20
  * Fix a bug where it was possible to overwrite values
17
21
  * Add a ?-version to retrieve boolean values
18
22
 
19
- ## 1.2.1
23
+ ## 1.2.1 - YANKED
20
24
 
21
25
  * Switch from defining methods using `method_missing` to `define_method`
22
26
  (to increase compatibility with gems that rely on `method_missing` on a global level)
@@ -25,7 +29,7 @@
25
29
 
26
30
  * Add support for complex datatypes via `json` and `yaml` parsers
27
31
 
28
- ## 1.1.0
32
+ ## 1.1.0 - YANKED
29
33
 
30
34
  * Add `EnvironmentConfig.ensure`, which is a more expressive way to
31
35
  check the presence of environment variables without using them
@@ -33,13 +37,13 @@
33
37
  environment variable expecting the given type (e.g. `fetch_string`).
34
38
  * Improve error readout for unparsable integer
35
39
 
36
- ## 1.0.1
40
+ ## 1.0.1 - YANKED
37
41
 
38
42
  * Make method private that should never have been public
39
43
  * The `store` and `fetch` methods are not really part of the public interface
40
44
  of the config, however since `fetch` is equal to a method on hashes,
41
45
  it is quite likely to be called by accident
42
46
 
43
- ## 1.0.0
47
+ ## 1.0.0 - YANKED
44
48
 
45
49
  * Initial release
@@ -23,6 +23,8 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.required_ruby_version = '~> 3.0'
25
25
 
26
+ spec.add_dependency 'base64', '~> 0.2.0'
27
+
26
28
  spec.add_development_dependency 'aroundhome_cops', '~> 5.0'
27
29
  spec.add_development_dependency 'pry'
28
30
  spec.add_development_dependency 'rspec', '~> 3.6'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class EnvironmentConfig
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: environment_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - be Around GmbH
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-26 00:00:00.000000000 Z
11
+ date: 2024-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: base64
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.2.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: aroundhome_cops
15
29
  requirement: !ruby/object:Gem::Requirement