muflax 0.6.1 → 0.7.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: 36db2b3a13de33f63ad782f542d26362fe45e58ab3a92df9020d0fab61324f54
4
- data.tar.gz: 53839fed904b451c149d2eb39bc7301132ff632043f182cf9b20bac601c0a80e
3
+ metadata.gz: 5be728140eb0e747ed92ff69d4673c931922bab42bf36ae645e536136fc99135
4
+ data.tar.gz: f2d1e8dfd30b1ad24e4de94a8048155a922642ac98015dbed8a15199705e0859
5
5
  SHA512:
6
- metadata.gz: 99bf361cab4ee91d497b601dd80703c2cd1446aaf414ecd34d0f96a574b03732e39d0c8c24255926db7aba87e655781664c6644d34449ed42be3aa163490828b
7
- data.tar.gz: fff30757ad525cbac1474b925c6f1fa73f98cca265c48ab7b70b5ba40c78090e7dd001f4cab8cba32befe559cc71c8651aaf6a1aec6cc60a6f10107e38fcc6ef
6
+ metadata.gz: c52c749a229d484a9c346921e489a7ae6458a50fa163ba20e9ae9425536d99506d75a827acf48c32c9a9254699eec94b0ef268fe60f1c8541b462e23aca0e3d9
7
+ data.tar.gz: e4bf11a775c28deaa7bb3607f6d649d2201208f339401ec54ad1d2b3b461ce67c5d29dfc2374be62b5f596506aec3c75c100f19b42def026deb49ae2374f854d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- muflax (0.6.1)
4
+ muflax (0.7.0)
5
5
  awesome_print (~> 1)
6
6
  debug_inspector (~> 0.0)
7
7
  fast_blank (~> 1)
data/lib/muflax/file.rb CHANGED
@@ -9,7 +9,7 @@ class File
9
9
 
10
10
  # make sure directory exists
11
11
  dir = File.dirname(name)
12
- FileUtils.mkdir_p dir if not Dir.exists? dir
12
+ FileUtils.mkdir_p dir if not Dir.exist? dir
13
13
 
14
14
  # now open it
15
15
  file = case name
@@ -8,6 +8,6 @@ def require_local lib_name, location=caller_locations.first.path
8
8
  dir = File.dirname(file)
9
9
  lib = File.join(dir, "#{lib_name}.rb")
10
10
 
11
- raise "couldn't find local module: «#{lib_name}» in «#{dir}»" if not File.exists? lib
11
+ raise "couldn't find local module: «#{lib_name}» in «#{dir}»" if not File.exist? lib
12
12
  require lib
13
13
  end
data/muflax.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "muflax"
3
- s.version = "0.6.1"
3
+ s.version = "0.7.0"
4
4
 
5
5
  s.authors = ["muflax"]
6
6
  s.summary = "muflax standard library"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muflax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - muflax
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-21 00:00:00.000000000 Z
11
+ date: 2024-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
- rubygems_version: 3.1.6
179
+ rubygems_version: 3.4.22
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: muflax standard library