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: 2c28f0a048047491ad31d304b02dc5482f3fd7ae
4
- data.tar.gz: e5963d7846d9eb3bb3440a79682db9c512afcf3b
3
+ metadata.gz: 2463a6b85e377d1cd2e02188c6c62154a0a4089b
4
+ data.tar.gz: 26ad945fca8fd366742174d70d942a1ee9be45ea
5
5
  SHA512:
6
- metadata.gz: 2cec3ffd40cee3a77078e07d8b9e64a7e13d0b6c18c66cb9a2f54e9462fd98b620e004dfbb88d4d3ef8d86e52bafc14bf1e800f7642129b208e83a45ba27cd0c
7
- data.tar.gz: 977ad492e098f0745f0dd07cce261a82de4ea2a646166db0eb800430219a515aca4ef690852344e58bf275aeaae3dc8ecefc672b33b88e066bbb9fb3e8257b01
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=93px", :alt => "#{lord.display_name}"}
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=93px&width=93px", :alt => "#{member.display_name}"}
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
@@ -1,3 +1,3 @@
1
1
  module Pugin
2
- VERSION = '0.8.7'.freeze
2
+ VERSION = '0.8.8'.freeze
3
3
  end
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.7
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-13 00:00:00.000000000 Z
11
+ date: 2017-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails