cartoonist 0.0.20.1 → 0.0.20.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/setting.rb +5 -1
- data/cartoonist.gemspec +1 -1
- data/lib/cartoonist/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7e87f8a9a685fa371eafb5f62e655d220a39b78
|
4
|
+
data.tar.gz: 97592e79bfa16da70473e9cb45aa8677b94dfeaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f00e21700300e890edc8ab72942634ebc1180c8f16a3fcaac088fa4ec10b4579c2221ac674994fc9310cb1d8ea63ef323ce886cef944865a69ec1d0e52f07988
|
7
|
+
data.tar.gz: dbd0d1be579a102c02b62d24ed33342b8630bd9228f52694c888c8236de4567b0e5c324e716cfb44e4b0a6e1ee8f49879ead49cb2ecee13b5694963366986fa5
|
data/app/models/setting.rb
CHANGED
@@ -154,8 +154,12 @@ class Setting < ActiveRecord::Base
|
|
154
154
|
end
|
155
155
|
|
156
156
|
class << self
|
157
|
+
def include?(label)
|
158
|
+
@@settings[label.to_sym].present?
|
159
|
+
end
|
160
|
+
|
157
161
|
def [](label)
|
158
|
-
raise "Missing setting '#{label}'" unless
|
162
|
+
raise "Missing setting '#{label}'" unless include?(label)
|
159
163
|
@@settings[label.to_sym]
|
160
164
|
end
|
161
165
|
|
data/cartoonist.gemspec
CHANGED
data/lib/cartoonist/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cartoonist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.20.
|
4
|
+
version: 0.0.20.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Virata-Stone
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack-page_caching
|