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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5540b5acbed6a77e6822f0aea120d20cac396ec86c7011edf7b665fe82e2f96b
4
- data.tar.gz: e27a4fa9e41ae1696a14192835c5e31290a146dd3719708cf1bee481747c5c26
3
+ metadata.gz: 6ecd1286abfa268a78ffb750a5f47fe2be0eb90249c566bea5a9362c3b4d54ad
4
+ data.tar.gz: 5854cc9db210db4c3a45885ceecf6b43db5c486c96819fd4d30445bb0d23ccf9
5
5
  SHA512:
6
- metadata.gz: f5310196e4f2681a3f1b931101f7349782700b8b57666b517fc21625808f00272a41bf42a03f84692a4ca5caf0a1b05a58da249362bab242b14dad2565141b6e
7
- data.tar.gz: 70f3c1f5fe26fd365657b9480265cf8efbe5f9ff7f4a6eb9959cab6d95355d1312bd7dd88a5ede693f0539ff1b0a7b35be59bbfb1532fe0c49f1c09369819dc0
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.
@@ -1,3 +1,3 @@
1
1
  module Gonfic
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.7.1'.freeze
3
3
  end
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.expand_path(File.join(directory, filename)) }
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.0
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-07 00:00:00.000000000 Z
10
+ date: 2025-04-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: hashie