scrivito_seo_page_extender 1.0.2 → 1.1.0.beta1

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: c6c8f08d0c4f8992bb57d0d2cd9037df0012132a
4
- data.tar.gz: fa8753a5dacabf8cc0717f9eb8020142d578de24
3
+ metadata.gz: 9b5c32accc2082734a5f2795f8fd4e0f690afc78
4
+ data.tar.gz: b9163a8c3feab4e5060a73ace514dd45e60e6c17
5
5
  SHA512:
6
- metadata.gz: aa50cc95c59c9c6c3e007f9a238cd71bb9e9e020b0dbad50fd5d8698c3ec51edd693407e550b40ef0a5afb031b2814c21ef987625a98ded04d964714dfc5842e
7
- data.tar.gz: 1ff54399bd624349e00c3924f2cd6a898f1a79634fcc3413fd96efaa4ce4d9eef1f043549f40e9ed1205f1be57086ee2febefec463599affa21e9df54dd14a70
6
+ metadata.gz: a379c9ed7e38eb3acb9dd4dd07d25549fd78f074522fad6129a91dc7742abdd32e18bd802b29d079f1007c99ca9e29120c392b39a4fdea226a3ba7568845eea7
7
+ data.tar.gz: c37d4bdf7c42cd28b5cbead34eb418d647fc4cb7af48704d7e75ec5944c5df720a6e2c252cf8825a3e4ea3f8fc5796c3868ebd7f7f362dcd09568f2ee34eb79c
@@ -1,9 +1,9 @@
1
- %script
1
+ <script>
2
2
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
3
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
4
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
5
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6
-
7
6
  ga('create', "#{key}", 'auto');
8
7
  ga('set', 'anonymizeIp', true);
9
8
  ga('send', 'pageview');
9
+ </script>
@@ -1,15 +1,14 @@
1
1
  <%= scrivito_details_for 'Card type' do %>
2
- <%= scrivito_tag(:div, obj, :tc_card) %>
2
+ <%= scrivito_tag(:div, obj, :tc_card, data: {tab_to_toggle: '#twitter-card-types-tab'}) %>
3
3
  <% end %>
4
4
 
5
- <ul class="tab-list">
6
- <li class="active" data-panel-target="#edit-twitter-card-general">For All</li>
7
- <li data-panel-target="#edit-twitter-card-photo">For Photo</li>
8
- <li data-panel-target="#edit-twitter-card-gallery">For Gallery</li>
9
- <li data-panel-target="#edit-twitter-card-app">For App</li>
10
- <li data-panel-target="#edit-twitter-card-product">For Product</li>
11
- <li data-panel-target="#edit-twitter-card-player">For Player</li>
12
- <li class="inactive">Edit attributes by selected type</li>
5
+ <ul class="tab-list" id="twitter-card-types-tab">
6
+ <%= content_tag :li, 'Base attributes', data: {panel_target: '#edit-twitter-card-general'}%>
7
+ <%= content_tag :li, 'Photo & Summary', data: {panel_target: '#edit-twitter-card-photo', allowed_values: ['summary_large_image', 'photo']}%>
8
+ <%= content_tag :li, 'Gallery attributes', data: {panel_target: '#edit-twitter-card-gallery', allowed_values: ['gallery']}%>
9
+ <%= content_tag :li, 'App attributes', data: {panel_target: '#edit-twitter-card-app', allowed_values: ['app']}%>
10
+ <%= content_tag :li, 'Product attributes', data: {panel_target: '#edit-twitter-card-product', allowed_values: ['product']}%>
11
+ <%= content_tag :li, 'Player attributes', data: {panel_target: '#edit-twitter-card-player', allowed_values: ['player']}%>
13
12
  </ul>
14
13
 
15
14
  <div class="tab-panels">
@@ -1,3 +1,3 @@
1
1
  module ScrivitoSeoPageExtender
2
- VERSION = "1.0.2"
2
+ VERSION = "1.1.0.beta1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_seo_page_extender
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-30 00:00:00.000000000 Z
11
+ date: 2017-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scrivito_sdk
@@ -83,12 +83,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ">="
86
+ - - ">"
87
87
  - !ruby/object:Gem::Version
88
- version: '0'
88
+ version: 1.3.1
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.4.5
91
+ rubygems_version: 2.5.1
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: A Scrivito Widget to extend your Page with some useful SEO Features, Metadata