tramway-landing 2.2.0.2 → 2.2.1

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: 4232af1e26d10d0565bd8e16ac775d05a7faa7951cd23b023619bf1609d55b17
4
- data.tar.gz: 273e4ab4e2cbeb08a58e1881441a0beae2d3d36e8082c8fdb89eebb9a73f3fec
3
+ metadata.gz: b983b5aee8c19197c0de3278d4892b754289cb6f6db8dbd72ae685d350006782
4
+ data.tar.gz: cbe3ee6d116108fbd71443c183fbefeeab4cae7004ba746a52c7e1f3af948c39
5
5
  SHA512:
6
- metadata.gz: eb20d06e7bed08b01f8dffdb4ca9b8ec9994883e91d03f35dc589c4d035f73b181819ca169953c2094122d482a509366dfcb66f3b5120e6fc942c0c1f00f6deb
7
- data.tar.gz: dc9fd836a7bfe9aee2cf2cee88b697729541ca3dce4e6e8f85735e0840d6d22e44b009a66d51c999454f62f83111dacc438790de586d53bf3e16130f260ed761
6
+ metadata.gz: 43bed4a5f06e7582eaa77d862bb603fb901066d843d7bc750acd88d15ec529ec8f30505a6a49b01166ff3dfc7cbd44e880cd5ca1fad2373ccd7802cc57e00e73
7
+ data.tar.gz: 8b412d89f54c6cbe5ae804abc82d2b33f3c5f42f116248d6af183b231749661d9ed655c69c133f3e8ff911cfa1808e4342b586bb40520fe77cb2440018bd93f4
@@ -1,3 +1,5 @@
1
1
  %meta{ content: 'text/html; charset=UTF-8', http: { equiv: 'Content-Type' } }
2
2
  %meta{ content: "width=device-width, initial-scale=1, maximum-scale=0.8", name: "viewport" }
3
- %meta{ property: 'vk:image', content: yield(:main_image) }
3
+ - main_image = @application.main_image.present? ? "/#{@application.main_image}" : yield(:main_image)
4
+ %meta{ property: 'vk:image', content: main_image }
5
+ %meta{ property: 'og:image', content: main_image }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Landing
5
- VERSION = '2.2.0.2'
5
+ VERSION = '2.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-landing
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0.2
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov