metanol 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ module Metanol
12
12
 
13
13
  module ClassMethods
14
14
  def metanol_options
15
- @metanol_options ||= {}
15
+ @@metanol_options ||= {}
16
16
  end
17
17
 
18
18
  def meta(*args)
@@ -1,3 +1,3 @@
1
1
  module Metanol
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -22,14 +22,16 @@ end
22
22
 
23
23
  class ApplicationController < ActionController::Base; end
24
24
 
25
- class HomeController < ApplicationController
26
- og_meta :type, 'website'
27
- og_meta :locale, 'uk_UA'
28
-
25
+ class ParentController < ApplicationController
29
26
  wm_meta :alexa, 'alexa code'
30
27
  wm_meta :bing, 'bing code'
31
28
  wm_meta :google, 'google code'
32
29
  wm_meta :yandex, 'yandex code'
30
+ end
31
+
32
+ class HomeController < ParentController
33
+ og_meta :type, 'website'
34
+ og_meta :locale, 'uk_UA'
33
35
 
34
36
  def new
35
37
  render :inline => <<-ERB
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: