mikras-ruby 0.2.1 → 0.3.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: e5ffeaaa053fe1aa3623ecf9adcfb319fbd21961d29154f7392c8eaf56d0df45
4
- data.tar.gz: 9b729f40576a3590691ab7069cdfbb96227a20f627d1c73d827d7aac0b9f41b7
3
+ metadata.gz: 83957086a705774bb34ae1f8377b6aa0fc164170c79c789cf79d490c093f9052
4
+ data.tar.gz: 6705eb70191a0af6e856c39df603f5fca598960cd8b2e4a4b44b947ce888662e
5
5
  SHA512:
6
- metadata.gz: b7f126313270dc986acab2aac70e0db171b332c48308d69e0f1b883de3ffd0d5ce1468c35b16d0ff1ed65b71584d76eefdebc9bd0b6dd4bdf3e81caabafbeef7
7
- data.tar.gz: 0fb7773cd74ec601dfb43429f7aee4f7b822309a45ec2bde68744055161a562c6ec1ce6ebdcca32dcbcddd18e1719dc8deef71b3f7c841fca6d9afc9b52f747e
6
+ metadata.gz: c03d40e6a52a6cdd9f9a8f6e88dc55e705f5e1666efeb3eda44bbd29c4e800763fd0292914e48b2bcf494ef2328564104124e74bec1765594d395e825d12e21f
7
+ data.tar.gz: 8128a0db63ba3f6fdfff6842307796013f59b006214fcbd0a098989b4e139479d07bc68fba43d54cb0d866c2547a650fb5b13298da3e403e2bdf3ab7ae9d4b77
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mikras
4
- VERSION = "0.2.1"
4
+ VERSION = "0.3.0"
5
5
  end
data/lib/mikras.rb CHANGED
@@ -103,6 +103,8 @@ public
103
103
  end
104
104
 
105
105
  private
106
+ LOCAL_MIKARS_RB = File.join(Prick::LIBDIR, "mikras-ruby.rb")
107
+
106
108
  # "Print" a constant
107
109
  def self.dumpc(*consts)
108
110
  consts = consts.flatten
@@ -118,7 +120,7 @@ module Mikras
118
120
  end
119
121
 
120
122
  # Require pre-project include file if present
121
- if File.exist? File.join(Prick::LIBDIR, "mikras.rb")
122
- require File.join(Prick::LIBDIR, "mikras.rb")
123
+ if File.exist? Mikras::LOCAL_MIKRAS_RB
124
+ require Mikras::LOCAL_MIKRAS_RB
123
125
  end
124
126
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mikras-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-05-11 00:00:00.000000000 Z
11
+ date: 2025-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shellopts