mabbre 0.0.2 → 0.0.3
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 +4 -4
- data/Gemfile +1 -1
- data/lib/mabbre/compatibility.rb +11 -11
- data/lib/mabbre/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a58c6dd24da9bfdfcc38d82da5f798234d5d1f20
|
|
4
|
+
data.tar.gz: c1e62a40ee79e7da093e4af793f75345e7c2d22f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91bc2e028cec9b1434853992caf1b8145d8ed1496b8e06e72f336658bd70be861040a511313de7b2050102d94ea4817f03e16f618b37addd323c976716be8a39
|
|
7
|
+
data.tar.gz: e46ae6f381e36a408c9cb4726af88efb3169f0cc18ed53d925f52ba4b98883ff204cc9da03bfe32ae16f8087d0c4a7a35e69450a2ef36d5ae5a770fcc08a94d4
|
data/Gemfile
CHANGED
data/lib/mabbre/compatibility.rb
CHANGED
|
@@ -3,17 +3,6 @@ module MAbbre # rubocop:disable Style/Documentation
|
|
|
3
3
|
# This is a temporary module that is run when loading MAbbre in order to add patches on some Ruby
|
|
4
4
|
# versions/implementations. After the environment is patched it will be automatically removed.
|
|
5
5
|
module Compatibility
|
|
6
|
-
##
|
|
7
|
-
# Relative path to the directory where patch files for the Object class live.
|
|
8
|
-
PATH_TO_OBJECT_PATCHES = "mabbre/patch/object_mixin".freeze
|
|
9
|
-
|
|
10
|
-
##
|
|
11
|
-
# A hash of patch names for the Object class. Each patch name has a +true+ or +false+ value assigned that represents
|
|
12
|
-
# if they need to be applied or not.
|
|
13
|
-
OBJECT_PATCHES = {
|
|
14
|
-
:respond_to_missing => !Object.private_instance_methods.map(&:to_sym).include?(:respond_to_missing?)
|
|
15
|
-
}.freeze
|
|
16
|
-
|
|
17
6
|
class << self
|
|
18
7
|
private
|
|
19
8
|
|
|
@@ -42,6 +31,17 @@ module MAbbre # rubocop:disable Style/Documentation
|
|
|
42
31
|
end
|
|
43
32
|
end
|
|
44
33
|
|
|
34
|
+
##
|
|
35
|
+
# Relative path to the directory where patch files for the Object class live.
|
|
36
|
+
PATH_TO_OBJECT_PATCHES = "mabbre/patch/object_mixin".freeze
|
|
37
|
+
|
|
38
|
+
##
|
|
39
|
+
# A hash of patch names for the Object class. Each patch name has a +true+ or +false+ value assigned that represents
|
|
40
|
+
# if they need to be applied or not.
|
|
41
|
+
OBJECT_PATCHES = {
|
|
42
|
+
:respond_to_missing => !Object.private_instance_methods.map(&:to_sym).include?(:respond_to_missing?)
|
|
43
|
+
}.freeze
|
|
44
|
+
|
|
45
45
|
init_self
|
|
46
46
|
end
|
|
47
47
|
|
data/lib/mabbre/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mabbre
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriel de Oliveira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mtrack
|