u-thenable 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/thenable.rb +5 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a837300856003ed511ba7ba6535be68982ba52a9
4
- data.tar.gz: 8246715e9887bb79b7436694702373b60264c857
3
+ metadata.gz: d8a310387e92d36501c17430a486c785cebdc651
4
+ data.tar.gz: f53084d58e8e7326803f265047957fa81b9f419e
5
5
  SHA512:
6
- metadata.gz: 478157b5681eb04b1f9fd451855c6d7bc74eea5f1776fcc99fcb6f910f8519516e59d6f9b441434ecbff9c86f191c1492fdc9e61e3e3f0c3b6998c100f6068a6
7
- data.tar.gz: 76329e009a2fd5222421d1da7ec1f915914fc0710ecad72c3de18e690743ef365a4a5837fdd4d2a1a7adf92b1937351839b1fad0f2366f7b00b68d1b4d8ecaee
6
+ metadata.gz: 43dcc64050123f935cc182b5da93a364608972328738a13883a21e7caf2b373236f4deb9e35ceaa8f95f1ea6d1d44a661e908bcf09f61924261b5e0eea73fd3d
7
+ data.tar.gz: 861b7dc4ed03ad21405e0d857b727abfc976d343f901a9ddf6c42d2226675036cc4bfa902fe8f123fff33907d153c60e411935591c47468e356039ba0c43dfac
@@ -1,15 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Thenable
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
 
6
6
  def self.included(base)
7
- base.send(:include, Mixin) if RUBY_VERSION < '2.5.0'
8
- base.extend(Mixin) if RUBY_VERSION < '2.5.0'
7
+ return unless RUBY_VERSION < '2.6.0'
8
+ base.send(:include, Mixin)
9
+ base.extend(Mixin)
9
10
  end
10
11
 
11
12
  def self.extended(base)
12
- base.extend(Mixin) if RUBY_VERSION < '2.5.0'
13
+ base.extend(Mixin) if RUBY_VERSION < '2.6.0'
13
14
  end
14
15
 
15
16
  module Mixin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: u-thenable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Serradura