sockit 1.2.1 → 1.2.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: 7add19b2d42160e106667d00ca500f22a6eabbee
4
- data.tar.gz: 2c5eba5f7343d6818b93c8c897c59d0afeaf6c33
3
+ metadata.gz: 6915d560fbce3e1186bb464228a7d4410a26ea6f
4
+ data.tar.gz: 3d3bcfdf35263f756a999dd0e806a4da0a87eee4
5
5
  SHA512:
6
- metadata.gz: 0dd81afbce017bf7e2b9642ab97d637296d2669b1c97f0af6ee82e3a3a145e5aabd0970a55f2ef5bb76e4936f2b3e922b7e7ce4d7ba482785de0c71adce84613
7
- data.tar.gz: 00592f117d655cb68d1022e6cf191a2abac865b170d9f4f74a40dae8ec996f553799092d680ffc6050560f1ab8b49e72b10dad4f9c59e3dbdf2f8534f904e615
6
+ metadata.gz: d68b20eab72c3834e511ef2bba0cd4e1f9f24a8d92cb8a7638ac42cf0cd0b7bcbf352f136f1aa95f6aa8bf56ecd726d5a7e1ed00107120f5c38df78672917c4e
7
+ data.tar.gz: 635cd51e99d28a009cf9bab11e1c6f79f5a5670f3fed9562f88103dcabde41023514d8af98de06a8c0f10eabde4606c0ad89851d0a54172b59fe76caab483dcc
@@ -21,7 +21,7 @@
21
21
  module Sockit
22
22
 
23
23
  unless const_defined?(:VERSION)
24
- VERSION = "1.2.1"
24
+ VERSION = "1.2.2"
25
25
  end
26
26
 
27
27
  end
data/lib/sockit.rb CHANGED
@@ -69,15 +69,15 @@ module Sockit
69
69
  end
70
70
  end
71
71
 
72
- def enabled
72
+ def self.enabled?
73
73
  @@enabled ||= false
74
74
  end
75
75
 
76
- def enable
76
+ def self.enable
77
77
  @@enabled = true
78
78
  end
79
79
 
80
- def disable
80
+ def self.disable
81
81
  @@enabled = false
82
82
  end
83
83
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sockit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Patten