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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c016656016fd3c08ce23dfa62e5c13068d7ad20d
4
- data.tar.gz: 543dfd9db25ba624fa8f7a5295313b624ec9c347
3
+ metadata.gz: a58c6dd24da9bfdfcc38d82da5f798234d5d1f20
4
+ data.tar.gz: c1e62a40ee79e7da093e4af793f75345e7c2d22f
5
5
  SHA512:
6
- metadata.gz: 08ff8ad423c2967b4eef88c51450533917cb3adcf570d66a87406256d2e9a928af095e46ffa311f9996f87d82f57e2fd4818d329b5eef7e6dec55c5e3f5de7ae
7
- data.tar.gz: 98a2a1222e1e7dbd2544f29f8b5adabea5d4860322277bc58b5b9264ea2ebaee7a131ced8fb4c173246fd856b87678daedf632b68f4e788394d4cc6cea0d4732
6
+ metadata.gz: 91bc2e028cec9b1434853992caf1b8145d8ed1496b8e06e72f336658bd70be861040a511313de7b2050102d94ea4817f03e16f618b37addd323c976716be8a39
7
+ data.tar.gz: e46ae6f381e36a408c9cb4726af88efb3169f0cc18ed53d925f52ba4b98883ff204cc9da03bfe32ae16f8087d0c4a7a35e69450a2ef36d5ae5a770fcc08a94d4
data/Gemfile CHANGED
@@ -12,7 +12,7 @@ end
12
12
 
13
13
  group :development, :test do
14
14
  gem "codeclimate-test-reporter", "~> 0.4.1"
15
- gem "rake", "~> 10.3.2"
15
+ gem "rake", "~> 10.4.0"
16
16
  gem "rspec", "~> 3.1.0"
17
17
  gem "simplecov", "~> 0.9.1"
18
18
  end
@@ -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
 
@@ -35,5 +35,5 @@
35
35
  module MAbbre
36
36
  ##
37
37
  # Current version of MAbbre.
38
- VERSION = "0.0.2"
38
+ VERSION = "0.0.3"
39
39
  end
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.2
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-25 00:00:00.000000000 Z
11
+ date: 2014-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mtrack