okcomputer 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/okcomputer/configuration.rb +6 -1
- data/lib/okcomputer/version.rb +1 -1
- metadata +4 -4
@@ -71,8 +71,13 @@ module OKComputer
|
|
71
71
|
@options = options
|
72
72
|
end
|
73
73
|
|
74
|
+
# Private: Get, you know, options
|
75
|
+
def self.options
|
76
|
+
@options || {}
|
77
|
+
end
|
78
|
+
|
74
79
|
# Private: Configure a whitelist of checks to skip authentication
|
75
80
|
def self.whitelist
|
76
|
-
|
81
|
+
options.fetch(:except) { [] }
|
77
82
|
end
|
78
83
|
end
|
data/lib/okcomputer/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: okcomputer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sqlite3
|
@@ -103,7 +103,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
segments:
|
105
105
|
- 0
|
106
|
-
hash:
|
106
|
+
hash: -1116521058656917988
|
107
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
108
|
none: false
|
109
109
|
requirements:
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
segments:
|
114
114
|
- 0
|
115
|
-
hash:
|
115
|
+
hash: -1116521058656917988
|
116
116
|
requirements: []
|
117
117
|
rubyforge_project:
|
118
118
|
rubygems_version: 1.8.25
|