playsure_helper 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a5fd3e147c9ceed113868737179d17b03e5b4ac
4
- data.tar.gz: 43a4dfa42bcb7932eecfed4bd3c8a7275f022b2a
3
+ metadata.gz: 0ac8abaa5a3ddc82df064050471828e2edd300b8
4
+ data.tar.gz: b4ea49f9ef80ebbd2307ed2d81fa8e3ab2fac885
5
5
  SHA512:
6
- metadata.gz: deb3285966c61d43bf80dfde009290cd5648f70fcddd59cb7d987c86c8127dba656b55651d8b065353d31e39efaadd9de3e52072e4fd25424ac4d3a10628e1a9
7
- data.tar.gz: 6d3a44d9e1137b4c3f2041e52acef5490e19d18978feeae4d4b66bf9a859c441d2ae943ca04a9fcc3e2ac9811e49b53607d56e31ca751c4cd9e742d6e61c3bde
6
+ metadata.gz: e10716fccd298c157dc87a4b9da08714f474b2f38a6070e976a5f2eda9c94f522a10b9d90ba2de663dcea6b3a766d8e52440ce52d7d01ecdb124c0ecf5eb84cd
7
+ data.tar.gz: 7b2c97f7ad766b785183d84378fe5cc64f31e19c63659d1774a5f48fa65eb0cd8dc1151ca34f4533df81efc4ba838d71fd1a588e31e906f70d6d6a09a589e3e1
@@ -1,18 +1,22 @@
1
+ require 'seo_helper'
2
+
1
3
  module PlaysureHelper
2
4
  module Helper
3
- include SeoHelper
5
+ module PageHelper
6
+ include SeoHelper
4
7
 
5
- def render_body_tag
6
- class_attribute = ["#{controller_name}-controller","#{action_name}-action"].join(" ")
7
- id_attribute = (@body_id)? " id=\"#{@body_id}-page\"" : ""
8
+ def render_body_tag
9
+ class_attribute = ["#{controller_name}-controller","#{action_name}-action"].join(" ")
10
+ id_attribute = (@body_id)? " id=\"#{@body_id}-page\"" : ""
8
11
 
9
- raw(%Q|<!--[if lt IE 7 ]>r
10
- <body class="#{class_attribute} ie6"><![endif]-->
11
- <!--[if gte IE 7 ]>
12
- <body class="#{class_attribute} ie"><![endif]-->
13
- <!--[if !IE]>-->
14
- <body#{id_attribute} class="#{class_attribute}">
15
- <!--<![endif]-->|)
12
+ raw(%Q|<!--[if lt IE 7 ]>r
13
+ <body class="#{class_attribute} ie6"><![endif]-->
14
+ <!--[if gte IE 7 ]>
15
+ <body class="#{class_attribute} ie"><![endif]-->
16
+ <!--[if !IE]>-->
17
+ <body#{id_attribute} class="#{class_attribute}">
18
+ <!--<![endif]-->|)
19
+ end
16
20
  end
17
21
  end
18
22
  end
@@ -1,3 +1,3 @@
1
1
  module PlaysureHelper
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playsure_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - HakaiHsu