tramway-landing 1.1.2 → 1.1.3.trash

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
  SHA256:
3
- metadata.gz: e9f3599c6a57716b3eb063df62923a7cb27f0203232f6c3a988aac1663cf66da
4
- data.tar.gz: c952f33e71555eb173b56c66b6287ef07ea2512f16ab3b43bcd3148509e50228
3
+ metadata.gz: cf85534d3228172c4df8dd04c55ec177b8f653ac749a833b0af8c53ba6cca41b
4
+ data.tar.gz: 4f5b21eeb8f8ae8edc8564faa8a59125193b874e542a38416f100114b65d2d5a
5
5
  SHA512:
6
- metadata.gz: a4bdc6201d9b55c36ed1aa91781171d4d1a3bbef691f6aa2fc1536d422da4610178e0aee2736e26345a5e2e55d7e2f1b71912231e36320a9ec801e8986e0b12b
7
- data.tar.gz: 567b3452261acaaf660ad5ba3e2b17bbaed155a51e13fa2cd515cee1448bc9ac88ca2022ef65294aa9381794c14884680bed6f97138eb315cd6f7fbeda48dfbb
6
+ metadata.gz: eb2cadbdfce8e7ac63f1ce60c08b6ff8af5a770c0b20d84d8c49469c9d96c98b7b03e8431eb445cee154fc501dd007cf2380998a9e04f6dadf9a3ee01d955f8b
7
+ data.tar.gz: 00ce2d85786abf5e48650bd5b716301bc37499b117eb7c3de1f1e42fd009a7359fc0a12202a418fdd9e0c7c27c6b40325fa9c1c1d6060d60cb412ff48c8abbb3
@@ -11,6 +11,7 @@
11
11
  = javascript_include_tag "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js", integrity: "sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q", crossorigin: "anonymous"
12
12
  = csrf_meta_tags
13
13
  = yield :head_content
14
+ = render 'layouts/tramway/landing/yandex_metrika'
14
15
  %body
15
16
  = stylesheet_link_tag 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/css/mdb.min.css'
16
17
  = javascript_include_tag 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/js/mdb.js'
@@ -0,0 +1,30 @@
1
+ / Yandex.Metrika counter
2
+ :javascript
3
+ (function (d, w, c) {
4
+ (w[c] = w[c] || []).push(function() {
5
+ try {
6
+ w.yaCounter49054148 = new Ya.Metrika({
7
+ id:49054148,
8
+ clickmap:true,
9
+ trackLinks:true,
10
+ accurateTrackBounce:true,
11
+ webvisor:true
12
+ });
13
+ } catch(e) { }
14
+ });
15
+
16
+ var n = d.getElementsByTagName("script")[0],
17
+ s = d.createElement("script"),
18
+ f = function () { n.parentNode.insertBefore(s, n); };
19
+ s.type = "text/javascript";
20
+ s.async = true;
21
+ s.src = "https://mc.yandex.ru/metrika/watch.js";
22
+
23
+ if (w.opera == "[object Opera]") {
24
+ d.addEventListener("DOMContentLoaded", f, false);
25
+ } else { f(); }
26
+ })(document, window, "yandex_metrika_callbacks");
27
+ %noscript
28
+ %div
29
+ %img{alt: "", src: "https://mc.yandex.ru/watch/49054148", style: "position:absolute; left:-9999px;"}/
30
+ / /Yandex.Metrika counter
@@ -23,7 +23,7 @@
23
23
  = block.title
24
24
  .row
25
25
  .col-lg-5.col-md-12
26
- - @application.social_networks.each do |profile|
26
+ - @application.social_networks.active.each do |profile|
27
27
  %ul.list-group
28
28
  %li.list-group-item
29
29
  = profile_link profile
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Landing
3
- VERSION = '1.1.2'
3
+ VERSION = '1.1.3.trash'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-landing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3.trash
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-21 00:00:00.000000000 Z
11
+ date: 2018-05-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email:
@@ -40,6 +40,7 @@ files:
40
40
  - app/models/tramway/landing/block.rb
41
41
  - app/uploaders/tramway/landing/photo_versions.rb
42
42
  - app/views/layouts/tramway/landing/application.html.haml
43
+ - app/views/layouts/tramway/landing/yandex_metrika.html.haml
43
44
  - app/views/tramway/landing/blocks/block_types/_cards.html.haml
44
45
  - app/views/tramway/landing/blocks/block_types/_contacts.html.haml
45
46
  - app/views/tramway/landing/blocks/block_types/_features.html.haml
@@ -75,12 +76,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
76
  version: '0'
76
77
  required_rubygems_version: !ruby/object:Gem::Requirement
77
78
  requirements:
78
- - - ">="
79
+ - - ">"
79
80
  - !ruby/object:Gem::Version
80
- version: '0'
81
+ version: 1.3.1
81
82
  requirements: []
82
83
  rubyforge_project:
83
- rubygems_version: 2.7.3
84
+ rubygems_version: 2.7.6
84
85
  signing_key:
85
86
  specification_version: 4
86
87
  summary: Landing Engine for your Rails projects