koudoku 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: 2a78adb5b43305230ad895068cf9f2c92e6c959f
4
- data.tar.gz: d68eefae641f09bcf3fc5db0a4bc0be2dfad5437
3
+ metadata.gz: 83cba2e0bcfeb157f3a31f4500cea6179b6746f7
4
+ data.tar.gz: 63e66b8a505802598b311b1b561539c2f27204c7
5
5
  SHA512:
6
- metadata.gz: 0c47d7f1041ba05f26447f43084d03f08f145ae57e4276ef4af09f13d35be8ee872e2205c67756a8380dfa41f3a99aced6eccde924e4c7d71a73ffb8cde55c6f
7
- data.tar.gz: fa0aa4a59c831b2ca7b5f36eae6c2c37e66bcac7d73563c1260c0f132227e460896767e4dc5b598c1c14ce0d33c1eb7ae2a965a515b72a10c634dba5c10d6de0
6
+ metadata.gz: aaa2d00c579196094325f8a2870b8d228b22bb214bbbb97e225ee005407a559e9a2bfa72e9b32db34e5fd12b414dba9bbc2b3e024f730aace2e0c533817ac97e
7
+ data.tar.gz: 2a12ba604b008e5ef90b8fe0f12cf184877e1a4ba47ab066145c2560ec649f72ad1e3b4c435048f163eae905857fa09720cb77acc3a2371f670c1326b7f0c586
@@ -1,3 +1,3 @@
1
1
  module Koudoku
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
data/lib/koudoku.rb CHANGED
@@ -19,9 +19,13 @@ module Koudoku
19
19
  mattr_accessor :prorate
20
20
  @@prorate = true
21
21
 
22
- mattr_accessor :layout
22
+
23
23
  @@layout = nil
24
-
24
+
25
+ def self.layout
26
+ @@layout || 'application'
27
+ end
28
+
25
29
  def self.webhooks_api_key=(key)
26
30
  raise "Koudoku no longer uses an API key to secure webhooks, please delete the line from \"config/initializers/koudoku.rb\""
27
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: koudoku
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
  - Andrew Culver