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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1175961da6d05c7c7b23697b7522f2eebfbcee12fdf62cee19cee89dc1cd9ff0
4
- data.tar.gz: e1b32e766224708ef485e81cf535ab0011e78dd97382f655fb358174ffd6e7f2
3
+ metadata.gz: d862a844d5e11a1453aad13df8c47fdca3392f8bc64fb82bd726f4eb034630db
4
+ data.tar.gz: 49a1b2185ca65594fa706ebd26c3cfec620db033a12b3763b9eb6944077c77c8
5
5
  SHA512:
6
- metadata.gz: 6ba45896793d88333fcc70fd22e5886293c46beb8e7eca1ae7ab250ccab510af4014e7dbe42a67453a7f009de0e1b01826f9d152b1a628bbce958eb961785fec
7
- data.tar.gz: 6b3676949fec3f902e8cbb5fd3fd8cae359cd3b88bf3026b71a1c97a300b4ff2d101c1de44c615089aab7383d6c21afbce30d290fdf9011d4ab1603154428bea
6
+ metadata.gz: 46bbd0b7e003fe6e5bfd9036a0fb7a9b6c240ebf0b4b0a32d008b8c20a8a140f325cca9e5f8f4bc4706d21627cc646cf65cbf1f75bb3fc431ed8eeea4e738d82
7
+ data.tar.gz: 9209c6ca4a45d8939c0f7b8796a2079a35985afaed20750a6c9bc7d7548e1b4c10f387beb4fd92455f9af0c8413f96c643647582ab59aadf659307079124fc2d
@@ -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.exists? default_db_config_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.exists? local_config_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.exists? secrets_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.exists? extra_config_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
@@ -1,3 +1,3 @@
1
1
  module Biran
2
- VERSION = '0.1.15'
2
+ VERSION = '0.2.0'
3
3
  end
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.1.15
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-04-27 00:00:00.000000000 Z
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.6.0
143
+ version: 2.7.0
130
144
  required_rubygems_version: !ruby/object:Gem::Requirement
131
145
  requirements:
132
146
  - - ">="