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.
- checksums.yaml +4 -4
- data/thenable.rb +5 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8a310387e92d36501c17430a486c785cebdc651
|
4
|
+
data.tar.gz: f53084d58e8e7326803f265047957fa81b9f419e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43dcc64050123f935cc182b5da93a364608972328738a13883a21e7caf2b373236f4deb9e35ceaa8f95f1ea6d1d44a661e908bcf09f61924261b5e0eea73fd3d
|
7
|
+
data.tar.gz: 861b7dc4ed03ad21405e0d857b727abfc976d343f901a9ddf6c42d2226675036cc4bfa902fe8f123fff33907d153c60e411935591c47468e356039ba0c43dfac
|
data/thenable.rb
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Thenable
|
4
|
-
VERSION = '1.0.
|
4
|
+
VERSION = '1.0.1'
|
5
5
|
|
6
6
|
def self.included(base)
|
7
|
-
|
8
|
-
base.
|
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.
|
13
|
+
base.extend(Mixin) if RUBY_VERSION < '2.6.0'
|
13
14
|
end
|
14
15
|
|
15
16
|
module Mixin
|