gonfic 0.7.0 → 0.7.1
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/README.md +7 -0
- data/lib/gonfic/version.rb +1 -1
- data/lib/gonfic.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ecd1286abfa268a78ffb750a5f47fe2be0eb90249c566bea5a9362c3b4d54ad
|
4
|
+
data.tar.gz: 5854cc9db210db4c3a45885ceecf6b43db5c486c96819fd4d30445bb0d23ccf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ae7706db4df2837309c6b03ce3a14c3b6cf810b916f549fb780a0825e893f037e2c8768df8e3702244b4584c6762ac531ae07c128654ab8ad2461bf14274632
|
7
|
+
data.tar.gz: 6110157ff9cc6bb5f403b1c89709c36f0e8919cd4c8afbef5fcdc88824c4ff0440761f497b0791fc212ac4e2cb8dde02412ccecc0e4996f39d6984c2e888c4be
|
data/README.md
CHANGED
@@ -124,6 +124,13 @@ You can also run `bin/console` for an interactive prompt that will allow you to
|
|
124
124
|
|
125
125
|
To install this gem onto your local machine from sources, run `bundle exec rake install`.
|
126
126
|
|
127
|
+
### Version bump
|
128
|
+
|
129
|
+
In `fish` syntax, even if you are on Windows:
|
130
|
+
```sh
|
131
|
+
gem bump -v patch; dos2unix (fd version.rb); and bundle install; and bundle exec rake; and git commit -a --amend
|
132
|
+
```
|
133
|
+
|
127
134
|
## Contributing
|
128
135
|
|
129
136
|
Bug reports and merge requests are welcome on GitLab at https://gitlab.com/tanstaafl/gonfic.
|
data/lib/gonfic/version.rb
CHANGED
data/lib/gonfic.rb
CHANGED
@@ -29,7 +29,7 @@ module Gonfic
|
|
29
29
|
def self.join_into_paths(directories, filename)
|
30
30
|
return [] unless directories && filename
|
31
31
|
|
32
|
-
directories.map{ |directory| File.
|
32
|
+
directories.map{ |directory| File.join(directory, filename) }
|
33
33
|
end
|
34
34
|
|
35
35
|
def self.configs_from_files(file_loader:, file_paths:)
|
@@ -41,6 +41,7 @@ module Gonfic
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def self.load_configuration_file(filename, file_loader)
|
44
|
+
filename = File.expand_path(filename)
|
44
45
|
return {} unless File.exist?(filename)
|
45
46
|
|
46
47
|
file_loader.call(filename)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gonfic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Chludziński
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-04-
|
10
|
+
date: 2025-04-23 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: hashie
|