easy-settings 2.0.0 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.devcontainer/Dockerfile +13 -0
- data/.devcontainer/devcontainer.json +14 -0
- data/.gitignore +0 -1
- data/Gemfile.lock +57 -0
- data/easy-settings.gemspec +5 -5
- data/lib/easy-settings/version.rb +1 -1
- data/lib/easy-settings/yaml_source.rb +1 -1
- metadata +23 -25
- data/Dockerfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2df53deecd99cafd6759efd7debc511a42b1ee9a72364df0a313d20ca75c2e94
|
4
|
+
data.tar.gz: d27d5ce89255d7416fc5a5613fdb919f07f7c5806eaac1c9c98c0b62fad2e68b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e95947852b55405dfe168b32489ab2147976676da44fb2c535ccbc86dff9dc59ad88f76aba8a477b089f893ec16ed0b4754546c824c575cb5a3e1b9943acc29a
|
7
|
+
data.tar.gz: 7bd864bf4da995ee028f0e0a34214f3f37775369fc8bb3ca2506f2546106680280a1248b57833a1e7b4ae7498429b69250302a3b81f018918738d67e390a2d28
|
@@ -0,0 +1,13 @@
|
|
1
|
+
FROM ruby:3.4-alpine AS base
|
2
|
+
|
3
|
+
RUN apk upgrade && apk -U add \
|
4
|
+
bash \
|
5
|
+
build-base \
|
6
|
+
git \
|
7
|
+
openssh-client
|
8
|
+
|
9
|
+
RUN addgroup --gid 1000 vscode
|
10
|
+
RUN adduser --uid 1000 vscode --ingroup vscode --disabled-password
|
11
|
+
RUN chown -R vscode:vscode /usr/local/bundle
|
12
|
+
|
13
|
+
USER vscode
|
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
easy-settings (2.0.1)
|
5
|
+
activesupport (>= 3.0.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activesupport (3.1.12)
|
11
|
+
multi_json (~> 1.0)
|
12
|
+
date (3.4.1)
|
13
|
+
debug (1.10.0)
|
14
|
+
irb (~> 1.10)
|
15
|
+
reline (>= 0.3.8)
|
16
|
+
diff-lcs (1.2.5)
|
17
|
+
io-console (0.8.0)
|
18
|
+
irb (1.15.1)
|
19
|
+
pp (>= 0.6.0)
|
20
|
+
rdoc (>= 4.0.0)
|
21
|
+
reline (>= 0.4.2)
|
22
|
+
multi_json (1.15.0)
|
23
|
+
pp (0.6.2)
|
24
|
+
prettyprint
|
25
|
+
prettyprint (0.2.0)
|
26
|
+
psych (5.2.3)
|
27
|
+
date
|
28
|
+
stringio
|
29
|
+
rdoc (6.11.0)
|
30
|
+
psych (>= 4.0.0)
|
31
|
+
reline (0.6.0)
|
32
|
+
io-console (~> 0.5)
|
33
|
+
rspec (3.4.0)
|
34
|
+
rspec-core (~> 3.4.0)
|
35
|
+
rspec-expectations (~> 3.4.0)
|
36
|
+
rspec-mocks (~> 3.4.0)
|
37
|
+
rspec-core (3.4.2)
|
38
|
+
rspec-support (~> 3.4.0)
|
39
|
+
rspec-expectations (3.4.0)
|
40
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
+
rspec-support (~> 3.4.0)
|
42
|
+
rspec-mocks (3.4.1)
|
43
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
44
|
+
rspec-support (~> 3.4.0)
|
45
|
+
rspec-support (3.4.1)
|
46
|
+
stringio (3.1.2)
|
47
|
+
|
48
|
+
PLATFORMS
|
49
|
+
ruby
|
50
|
+
|
51
|
+
DEPENDENCIES
|
52
|
+
debug (~> 1.10.0)
|
53
|
+
easy-settings!
|
54
|
+
rspec (~> 3.4.0)
|
55
|
+
|
56
|
+
BUNDLED WITH
|
57
|
+
2.6.2
|
data/easy-settings.gemspec
CHANGED
@@ -9,8 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ["Corin Langosch"]
|
10
10
|
s.email = ["info@corinlangosch.com"]
|
11
11
|
s.homepage = "https://github.com/gucki/easy-settings"
|
12
|
-
s.summary = %q{
|
13
|
-
s.description = %q{flexible yet easy handling of application settings}
|
12
|
+
s.summary = %q{Flexible yet easy handling of application settings.}
|
14
13
|
|
15
14
|
s.files = `git ls-files`.split("\n")
|
16
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -18,7 +17,8 @@ Gem::Specification.new do |s|
|
|
18
17
|
s.require_paths = ["lib"]
|
19
18
|
|
20
19
|
# specify any dependencies here; for example:
|
21
|
-
s.
|
22
|
-
s.
|
23
|
-
s.
|
20
|
+
s.required_ruby_version = ">= 2.6"
|
21
|
+
s.add_runtime_dependency "activesupport", ">= 3.0.0"
|
22
|
+
s.add_development_dependency "rspec", "~> 3.4.0"
|
23
|
+
s.add_development_dependency "debug", "~> 1.10.0"
|
24
24
|
end
|
@@ -9,7 +9,7 @@ class EasySettings::YamlSource
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def load
|
12
|
-
|
12
|
+
File.exist?(path) ? (YAML.load(ERB.new(IO.read(path)).result) || {}) : {}
|
13
13
|
rescue StandardError => e
|
14
14
|
raise "Error occurred while parsing #{path}: #{e.message}"
|
15
15
|
end
|
metadata
CHANGED
@@ -1,67 +1,67 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corin Langosch
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
13
|
+
name: activesupport
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :
|
18
|
+
version: 3.0.0
|
19
|
+
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
25
|
+
version: 3.0.0
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
27
|
+
name: rspec
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
|
-
- - "
|
30
|
+
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
32
|
+
version: 3.4.0
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
|
-
- - "
|
37
|
+
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
39
|
+
version: 3.4.0
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
41
|
+
name: debug
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
|
-
- - "
|
44
|
+
- - "~>"
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
46
|
+
version: 1.10.0
|
47
|
+
type: :development
|
49
48
|
prerelease: false
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
51
50
|
requirements:
|
52
|
-
- - "
|
51
|
+
- - "~>"
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
description: flexible yet easy handling of application settings
|
53
|
+
version: 1.10.0
|
56
54
|
email:
|
57
55
|
- info@corinlangosch.com
|
58
56
|
executables: []
|
59
57
|
extensions: []
|
60
58
|
extra_rdoc_files: []
|
61
59
|
files:
|
60
|
+
- ".devcontainer/Dockerfile"
|
61
|
+
- ".devcontainer/devcontainer.json"
|
62
62
|
- ".gitignore"
|
63
|
-
- Dockerfile
|
64
63
|
- Gemfile
|
64
|
+
- Gemfile.lock
|
65
65
|
- LICENSE.txt
|
66
66
|
- README.rdoc
|
67
67
|
- Rakefile
|
@@ -81,7 +81,6 @@ homepage: https://github.com/gucki/easy-settings
|
|
81
81
|
licenses:
|
82
82
|
- MIT
|
83
83
|
metadata: {}
|
84
|
-
post_install_message:
|
85
84
|
rdoc_options: []
|
86
85
|
require_paths:
|
87
86
|
- lib
|
@@ -89,15 +88,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
88
|
requirements:
|
90
89
|
- - ">="
|
91
90
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
91
|
+
version: '2.6'
|
93
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
93
|
requirements:
|
95
94
|
- - ">="
|
96
95
|
- !ruby/object:Gem::Version
|
97
96
|
version: '0'
|
98
97
|
requirements: []
|
99
|
-
rubygems_version: 3.
|
100
|
-
signing_key:
|
98
|
+
rubygems_version: 3.6.2
|
101
99
|
specification_version: 4
|
102
|
-
summary:
|
100
|
+
summary: Flexible yet easy handling of application settings.
|
103
101
|
test_files: []
|