ultra_settings 0.0.1.rc1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +320 -2
- data/VERSION +1 -1
- data/app/application.css +85 -0
- data/app/application.js +19 -0
- data/app/index.html.erb +93 -0
- data/app/layout.css +27 -0
- data/app/layout.html.erb +21 -0
- data/lib/ultra_settings/coerce.rb +98 -0
- data/lib/ultra_settings/configuration.rb +378 -79
- data/lib/ultra_settings/field.rb +57 -88
- data/lib/ultra_settings/rack_app.rb +21 -0
- data/lib/ultra_settings/railtie.rb +33 -0
- data/lib/ultra_settings/version.rb +5 -0
- data/lib/ultra_settings/web_view.rb +38 -0
- data/lib/ultra_settings/yaml_config.rb +78 -0
- data/lib/ultra_settings.rb +167 -74
- data/ultra_settings.gemspec +3 -4
- metadata +18 -35
data/ultra_settings.gemspec
CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |spec|
|
|
4
4
|
spec.authors = ["Brian Durand"]
|
5
5
|
spec.email = ["bbdurand@gmail.com"]
|
6
6
|
|
7
|
-
spec.summary = "Unified configuration
|
7
|
+
spec.summary = "Unified application configuration that allows for configuration via environment variables, YAML files, and dynamic runtime setting."
|
8
8
|
|
9
9
|
spec.homepage = "https://github.com/bdurand/ultra_settings"
|
10
10
|
spec.license = "MIT"
|
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
|
|
17
17
|
Gemfile
|
18
18
|
Gemfile.lock
|
19
19
|
Rakefile
|
20
|
+
config.ru
|
21
|
+
assets/
|
20
22
|
bin/
|
21
23
|
gemfiles/
|
22
24
|
spec/
|
@@ -29,8 +31,5 @@ Gem::Specification.new do |spec|
|
|
29
31
|
|
30
32
|
spec.required_ruby_version = ">= 2.5"
|
31
33
|
|
32
|
-
spec.add_dependency "rails", ">= 5"
|
33
|
-
spec.add_dependency "super_settings"
|
34
|
-
|
35
34
|
spec.add_development_dependency "bundler"
|
36
35
|
end
|
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultra_settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Durand
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '5'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '5'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: super_settings
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
14
|
name: bundler
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,9 +35,20 @@ files:
|
|
63
35
|
- MIT-LICENSE
|
64
36
|
- README.md
|
65
37
|
- VERSION
|
38
|
+
- app/application.css
|
39
|
+
- app/application.js
|
40
|
+
- app/index.html.erb
|
41
|
+
- app/layout.css
|
42
|
+
- app/layout.html.erb
|
66
43
|
- lib/ultra_settings.rb
|
44
|
+
- lib/ultra_settings/coerce.rb
|
67
45
|
- lib/ultra_settings/configuration.rb
|
68
46
|
- lib/ultra_settings/field.rb
|
47
|
+
- lib/ultra_settings/rack_app.rb
|
48
|
+
- lib/ultra_settings/railtie.rb
|
49
|
+
- lib/ultra_settings/version.rb
|
50
|
+
- lib/ultra_settings/web_view.rb
|
51
|
+
- lib/ultra_settings/yaml_config.rb
|
69
52
|
- ultra_settings.gemspec
|
70
53
|
homepage: https://github.com/bdurand/ultra_settings
|
71
54
|
licenses:
|
@@ -82,13 +65,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
65
|
version: '2.5'
|
83
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
67
|
requirements:
|
85
|
-
- - "
|
68
|
+
- - ">="
|
86
69
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
70
|
+
version: '0'
|
88
71
|
requirements: []
|
89
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.4.12
|
90
73
|
signing_key:
|
91
74
|
specification_version: 4
|
92
|
-
summary: Unified configuration
|
93
|
-
|
75
|
+
summary: Unified application configuration that allows for configuration via environment
|
76
|
+
variables, YAML files, and dynamic runtime setting.
|
94
77
|
test_files: []
|