inclusion 1.0.4 → 1.0.5

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/lib/inclusion/inclusion.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26016a50fa13dc345d3e462f7a92b680b198053f
4
- data.tar.gz: da5afcb3dae1c4e498baa90c85752cc62a4837c8
3
+ metadata.gz: e41b8c530a29f4ee3dc22571e1b5c3d2cbc29d22
4
+ data.tar.gz: cd6cd5eae82e26ca3dbf7dd0d76717b3c2aeda66
5
5
  SHA512:
6
- metadata.gz: ae5fdff9dd45003ebe32b7c3f326c965168228138dd0e4a5087892f9ec936dbb4f1a96eb786c9d385d539499e015be724185429b3b5764ba08f7012c6f3304ec
7
- data.tar.gz: 465858ad6e792c48d98b60ab71555faf946ed8db7f1f91da4c207251c390d6e1b6e4dbab44a4a677dadce5694c0b0ba6aadacb865b3c72f79710fb5ebd93d72b
6
+ metadata.gz: 40e34e1e721f9956ed0feb22a65a8158dbd635b4c412741573cf0992ef784e4d922508e8ea82a25a6db965377ea9e8a1d97e79c87552049e911252182fad8611
7
+ data.tar.gz: dda875796d0a2a26868780cc5539e18571eb7cb8f6113cacc952ed77bb8b127b87ca7b726ae998d62d6ae6285f883c148d0a664de3308bdba6c3a1946bddf805
@@ -7,13 +7,13 @@ class Inclusion
7
7
  @obj_const ||= ([Module, Class].include?(obj.class) ? obj : obj.class)
8
8
  end
9
9
 
10
- def initialize(obj, inclusion_names, search_ancestors: false)
10
+ def initialize(obj, inclusion_names, search_ancestors: true)
11
11
  @obj = obj
12
12
  @inclusion_names = inclusion_names
13
13
  @search_ancestors = search_ancestors
14
14
  end
15
15
 
16
- def self.!(obj, *inclusion_names, search_ancestors: false)
16
+ def self.!(obj, *inclusion_names, search_ancestors: true)
17
17
  new(obj, inclusion_names, search_ancestors: search_ancestors).!
18
18
  end
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inclusion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Sans Collective