conscious_concern 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71b18d40b670b9cf4739fdde84fe8fcf85b92f2f
4
- data.tar.gz: e2e5652dcd519f9f4db51c0da7c43235b250957c
3
+ metadata.gz: 559534918c88c4e55b8113dd0dba18daa4e171bd
4
+ data.tar.gz: b0a7671cd745e860db7c6274261f34d65fb610c5
5
5
  SHA512:
6
- metadata.gz: c8608c78ee0ffb5f40542867cce0b34de150d5b60e256defef212c8396863ea9f681b5c26ca61a658cb161a16b47c80971111da2dd16af4ab806750274fdc401
7
- data.tar.gz: e322e2de45911414c6e329d7b8ff2b4469a73806908b2784545511ed8f121549485d5286e77c79b1d36d69476d7154a864fdcbdde2e5fc61a3e5b29645936a8e
6
+ metadata.gz: 1642114461e8557f63a3956315b7a88286587f77b05c69c1e336e646d0d351c9ed0b48aba1a41a1dfe0ef555a407dd5118434a53d281e425a1d13cf6a820d599
7
+ data.tar.gz: aa93ab08efd2cf323d3c5fc02592fad8318d55c14e2fcee2f1ce293e899d26abb8de14a8533a22961ac393067b0d832a8f142a80df91bc5bae1c244439dff5cf
@@ -27,9 +27,11 @@ module ConsciousConcern
27
27
  end
28
28
 
29
29
  def self.load_class_at_path(path)
30
- require path
31
- clazz = File.basename(path, '.*').classify.constantize
32
- puts "eager loaded class '#{clazz}'" if debug
30
+ silence_warnings do
31
+ require path
32
+ clazz = File.basename(path, '.*').classify.constantize
33
+ puts "eager loaded class '#{clazz}'" if debug
34
+ end
33
35
  rescue LoadError, StandardError => e
34
36
  puts e.message if debug
35
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conscious_concern
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janosch Müller