edouard-dummy_gem 0.1.7-x64-mingw-ucrt → 0.1.10-x64-mingw-ucrt

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: 2d4a261defb48a08c2c94d88f766a4cf15e2726e6a9fd9b088e7ab37c07db813
4
- data.tar.gz: 6807f47549171e9496476d4d1563fb0b9cea32a156d136982adf83991cb74c67
3
+ metadata.gz: 7d5936f6213e8576c4505732c44845f5ef80ea89f4f74e9a27c1b4984671cbf4
4
+ data.tar.gz: 4769bffda5a6465d66abe8aff9c888a78c9d863b12ef1177c9512d89f41652ba
5
5
  SHA512:
6
- metadata.gz: b95dc4a203cd9a1f437b7bd9846f49ddfe71d4f69cf97e82aa8830d10f6928e40dc3ffbf3de252d448c3f6c4a1536da15bd189ab48f77364d53c2b08947438ab
7
- data.tar.gz: 6fd0196d5bcc3c07fe5d9ab83271ada8ec017720d5f114605bf2f353faac70c2c651424843cc56aa5eb644e3e406c7fda087e948ce813a52162d8732c9599a8c
6
+ metadata.gz: 199fffe8472a3b11558f59a3fda98e662cc6df15f72501cae3e425bb2fb255cc53237503a2d7301d8f07e3182d5d9ca2abbbb158f1ee7323293d407242b08bdb
7
+ data.tar.gz: 7ead6fe56a381266739e016fa0ff2557bdbf474ea9d9c27a6e1a28a09bad516460636573cf32247650e52d4337f07ea9cdd89134c5b76588e2ade7d527bb1a2a
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DummyGem
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.10"
5
5
  end
data/lib/dummy_gem.rb CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  require_relative "dummy_gem/version"
4
4
 
5
- require "hello_world"
5
+ begin
6
+ ruby_version = /(\d+\.\d+)/.match(::RUBY_VERSION)
7
+
8
+ require "#{ruby_version}/hello_world"
9
+ rescue LoadError
10
+ require "hello_world"
11
+ end
6
12
 
7
13
  module DummyGem
8
14
  class Error < StandardError; end
data/lib/hello_world.so CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edouard-dummy_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.10
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Edouard CHIN
@@ -23,6 +23,9 @@ files:
23
23
  - ext/hello_world/extconf.rb
24
24
  - ext/hello_world/hello_world.c
25
25
  - ext/hello_world/hello_world.h
26
+ - lib/3.2/hello_world.so
27
+ - lib/3.3/hello_world.so
28
+ - lib/3.4/hello_world.so
26
29
  - lib/dummy_gem.rb
27
30
  - lib/dummy_gem/version.rb
28
31
  - lib/hello_world.so
@@ -39,7 +42,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
39
42
  requirements:
40
43
  - - ">="
41
44
  - !ruby/object:Gem::Version
42
- version: '3.4'
45
+ version: '3.2'
43
46
  - - "<"
44
47
  - !ruby/object:Gem::Version
45
48
  version: 3.5.dev