biran 0.1.15 → 0.2.0
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 +4 -4
- data/lib/biran/configurinator.rb +4 -4
- data/lib/biran/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d862a844d5e11a1453aad13df8c47fdca3392f8bc64fb82bd726f4eb034630db
|
|
4
|
+
data.tar.gz: 49a1b2185ca65594fa706ebd26c3cfec620db033a12b3763b9eb6944077c77c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46bbd0b7e003fe6e5bfd9036a0fb7a9b6c240ebf0b4b0a32d008b8c20a8a140f325cca9e5f8f4bc4706d21627cc646cf65cbf1f75bb3fc431ed8eeea4e738d82
|
|
7
|
+
data.tar.gz: 9209c6ca4a45d8939c0f7b8796a2079a35985afaed20750a6c9bc7d7548e1b4c10f387beb4fd92455f9af0c8413f96c643647582ab59aadf659307079124fc2d
|
data/lib/biran/configurinator.rb
CHANGED
|
@@ -73,7 +73,7 @@ module Biran
|
|
|
73
73
|
|
|
74
74
|
def base_db_config
|
|
75
75
|
return @base_db_config if @base_db_config
|
|
76
|
-
return @base_db_config = {} unless File.
|
|
76
|
+
return @base_db_config = {} unless File.exist? default_db_config_file
|
|
77
77
|
@base_db_config ||= process_config_file(default_db_config_file)
|
|
78
78
|
end
|
|
79
79
|
|
|
@@ -104,18 +104,18 @@ module Biran
|
|
|
104
104
|
|
|
105
105
|
def local_config_file_contents
|
|
106
106
|
return @local_config_contents if @local_config_contents
|
|
107
|
-
return @local_config_conents = {} unless File.
|
|
107
|
+
return @local_config_conents = {} unless File.exist? local_config_file
|
|
108
108
|
@local_config_contents = process_config_file(local_config_file)
|
|
109
109
|
end
|
|
110
110
|
|
|
111
111
|
def get_secrets_content(secrets_file)
|
|
112
|
-
return {} unless File.
|
|
112
|
+
return {} unless File.exist? secrets_file
|
|
113
113
|
process_config_file secrets_file
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
def extra_config_file_contents
|
|
117
117
|
return @extra_config_contents if @extra_config_contents
|
|
118
|
-
return @extra_config_contents = {} unless File.
|
|
118
|
+
return @extra_config_contents = {} unless File.exist? extra_config_file
|
|
119
119
|
@extra_config_contents = process_config_file(extra_config_file)
|
|
120
120
|
end
|
|
121
121
|
|
data/lib/biran/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: biran
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- javierg
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2023-
|
|
13
|
+
date: 2023-11-14 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: railties
|
|
@@ -88,6 +88,20 @@ dependencies:
|
|
|
88
88
|
- - "~>"
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
90
|
version: '3.7'
|
|
91
|
+
- !ruby/object:Gem::Dependency
|
|
92
|
+
name: nokogiri
|
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
|
94
|
+
requirements:
|
|
95
|
+
- - "~>"
|
|
96
|
+
- !ruby/object:Gem::Version
|
|
97
|
+
version: '1.15'
|
|
98
|
+
type: :development
|
|
99
|
+
prerelease: false
|
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
101
|
+
requirements:
|
|
102
|
+
- - "~>"
|
|
103
|
+
- !ruby/object:Gem::Version
|
|
104
|
+
version: '1.15'
|
|
91
105
|
description: Biran is the guy that will help you generate config files for your rail
|
|
92
106
|
app.
|
|
93
107
|
email:
|
|
@@ -126,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
126
140
|
requirements:
|
|
127
141
|
- - ">="
|
|
128
142
|
- !ruby/object:Gem::Version
|
|
129
|
-
version: 2.
|
|
143
|
+
version: 2.7.0
|
|
130
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
145
|
requirements:
|
|
132
146
|
- - ">="
|