pugin 0.8.7 → 0.8.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2463a6b85e377d1cd2e02188c6c62154a0a4089b
|
4
|
+
data.tar.gz: 26ad945fca8fd366742174d70d942a1ee9be45ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a20dc06f48d7284661cecaf6c2e3a58753a883226dd534447dccf88641b9c5968aef80a978643b3d6fe0d53409ac579f88c7ac391437269a6a2a7d237c925b43
|
7
|
+
data.tar.gz: 7899f161c3e97de17f6eefc73a5b8c1c8d8e01a0b6b8a6e67ccc70166fab8eb6e0f33cbe4c5ef1cd84ac386ff77e3cc2db0e1ea34e12a598c0bb09b2a3c7c8f5
|
@@ -1,7 +1,7 @@
|
|
1
1
|
- current_incumbency = lord.house_incumbencies.sort{ |inc_a, inc_b| inc_b.start_date <=> inc_a.start_date }.first
|
2
2
|
- if Pugin::Feature::Bandiera.show_list_images?
|
3
3
|
- if lord.image_id != "placeholder"
|
4
|
-
%img{:src => "#{ENV['IMAGE_SERVICE_URL']}/#{lord.image_id}.jpg?crop=1&height=
|
4
|
+
%img{:src => "#{ENV['IMAGE_SERVICE_URL']}/#{lord.image_id}.jpg?crop=CU_1:1&height=93", :alt => "#{lord.display_name}"}
|
5
5
|
- else
|
6
6
|
%img{:src => "https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/images/uk_parliament_placeholder_list_image.png", :alt => "placeholder"}
|
7
7
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
- if Pugin::Feature::Bandiera.show_list_images?
|
4
4
|
- if member.image_id != "placeholder"
|
5
|
-
%img{:src => "#{ENV['IMAGE_SERVICE_URL']}/#{member.image_id}.jpg?crop=1&height=
|
5
|
+
%img{:src => "#{ENV['IMAGE_SERVICE_URL']}/#{member.image_id}.jpg?crop=CU_1:1&height=93", :alt => "#{member.display_name}"}
|
6
6
|
- else
|
7
7
|
%img{:src => "https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/images/uk_parliament_placeholder_list_image.png", :alt => "placeholder"}
|
8
8
|
.list--details
|
data/lib/pugin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Rayner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|