subl 0.1.2 → 0.1.3

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: ee104da97b6a5e63f02c25b189abde14e79f3b14
4
- data.tar.gz: 3303248b1036d6e0a1876a1cd4630986b61f49a6
3
+ metadata.gz: bf701d9eea24d6e0e7d9d9b1e18736a4bf979a20
4
+ data.tar.gz: 16ddc37a404830fb3f0dab637273e47e8f939c6f
5
5
  SHA512:
6
- metadata.gz: 9f7a9e31b19508d9c078197c7d8e02f8fd1495e0760f05456281a27e059e8271855e31f2f57c10a46a1e1f36a2382bae6f5e450cd45bba4cf19c32813db11b38
7
- data.tar.gz: 9febc1ac9f3c5f3e84cefd25e3c44b5f31b549018e20dd15edd4da49c1ed4139366ee55ae9598490535f672df22f809944cf07d3c3ce6a8ffeb7dfa3b8d6d793
6
+ metadata.gz: 4f6cdfc033ca2e6c375743ede7ca95a6016167deca8dca6c7decb9ec5c6407848431796b782b0a3de73215f84bb717c30cfb10f74c8fc02e1b7ba5b1a5149f46
7
+ data.tar.gz: a0b175542ad3c859958aa6a0d9e014677d1083e71c7f8620e67b196035de0319b34d2b1f3d3529f7131ecc085391a4826a0e37350d8d2210b3764330fdab255b
@@ -29,7 +29,7 @@ module Subl
29
29
  end
30
30
 
31
31
  def resolve_symbol(name)
32
- if original_binding.class.in?([::Object, ::NilClass])
32
+ if original_binding.nil? || original_binding.receiver.class == ::Object
33
33
  resolve_gem(name)
34
34
  else
35
35
  resolve_regexp(/^#{name}$/)
@@ -1,3 +1,3 @@
1
1
  module Subl
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johannes Opper
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-17 00:00:00.000000000 Z
11
+ date: 2016-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler