edouard-dummy_gem 0.1.8-x86_64-linux → 0.1.10-x86_64-linux

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: adc6f3c25197fa0d496df280b3bbc94b74c83b3788761f1969b4958e48024c52
4
- data.tar.gz: 6c9121a176dedccd76461c866575371d1ca783c8c44368088082a85a7a224abe
3
+ metadata.gz: 531fb546fec6f68199d78ddfd352c52e50867db41badd9dd001a3e7e0ebb6eb8
4
+ data.tar.gz: 6387562927e717bf89d85a74debcde8c4adf2a34ee905acea1739a94d4be18b9
5
5
  SHA512:
6
- metadata.gz: 995165af633f24b235c05bd2d912837ff92404ed5065b7500559730dc1f7ad2b5992f0eb2bcf1520e02aca2148de27731c3880370d890c19824c5ed07480ac5b
7
- data.tar.gz: 85ecfbc52ecad1eb7aeb2bfd5675e1bc57cc5fe8b7c45e8dd903028b1ba02bd95e6e8fa4e1927c523aa217e132bcdd46f3a83437e902917d29c4fc14de917108
6
+ metadata.gz: dfc397cd3efddfcd9e16f4f557b3c42749e7a7042565fa3723122a41e8b9a1f649745eba5143bbca5bb4383e46ee9b8e12852ae4796d367ae29cf2c4109afe91
7
+ data.tar.gz: '08eb318bdb80581b3ad127549e51fb1683732ecb4fe5cac1f2b4518b9cdc636b7a7295091fdcc1c7792dc800ed5e6a97f366b38607b2345f79ceb0fba89af5d5'
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DummyGem
4
- VERSION = "0.1.8"
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
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.8
4
+ version: 0.1.10
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Edouard CHIN
@@ -23,6 +23,7 @@ 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
26
27
  - lib/3.3/hello_world.so
27
28
  - lib/3.4/hello_world.so
28
29
  - lib/dummy_gem.rb
@@ -41,7 +42,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
41
42
  requirements:
42
43
  - - ">="
43
44
  - !ruby/object:Gem::Version
44
- version: '3.3'
45
+ version: '3.2'
45
46
  - - "<"
46
47
  - !ruby/object:Gem::Version
47
48
  version: 3.5.dev