pugin 1.10.6 → 1.10.7

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: e9dba3b405f8ae0cf19b46ab2ce6c982749b1037
4
- data.tar.gz: 75fe1ec7cd474cb869aa4a785483c4068bd58d9a
3
+ metadata.gz: 958b2f6852e3fa2cabb83af8ea1dd082bdd00e17
4
+ data.tar.gz: 43984998d8ca691d097f0b570b446c035428313e
5
5
  SHA512:
6
- metadata.gz: 90d9fcc917cfc71b314336a96690c82861b3641e9e794fde551bb8aaca47520c258007eb9e62728ccd78f1d6c4099818985886c1447be04ba7d858d8738ab795
7
- data.tar.gz: 4dfbe1c0c5c2e70c33da3d94b2402c8921343e343af4bbdd50a25b1513c800f58963bcc8ae72c5e610124c2bb41b68e5bec9c3e42f842c3ec49732f5909fbc28
6
+ metadata.gz: 9c97051e9c884e095b6498d0958b75673e74602aa5e32ad160c4bfe9c37cae0161b99cfc2a2d85ea7e8c357005a4806250d6fb0c95a8c9acc6349eecb7a78130
7
+ data.tar.gz: 670b8dccb5f92395b7c26e1bd62e6f040597857e5d73cb049679717867c32a47ee50ea023be609538a946bf6ea89ce5f758c5f17916e11ddfc1fc1a66b12f414
@@ -1,7 +1,7 @@
1
1
  require 'pugin/version'
2
2
 
3
3
  module Pugin
4
- ASSET_VERSION = '1.12.0'.freeze
4
+ ASSET_VERSION = '1.12.1'.freeze
5
5
  ASSET_LOCATION_URL = ENV.fetch('ASSET_LOCATION_URL', 'https://static.parliament.uk/pugin')
6
6
  STATIC_ASSET_LOCATION_URL = ENV.fetch('STATIC_ASSET_LOCATION_URL', 'https://s3-eu-west-1.amazonaws.com/web1live.static-assets')
7
7
  STATIC_ASSET_PUBLIC_LOCATION_URL = ENV.fetch('STATIC_ASSET_PUBLIC_LOCATION_URL', 'https://static.parliament.uk/assets-public')
@@ -1,3 +1,3 @@
1
1
  module Pugin
2
- VERSION = '1.10.6'.freeze
2
+ VERSION = '1.10.7'.freeze
3
3
  end
@@ -95,7 +95,7 @@ describe 'pugin/layouts/_layout.html.haml', type: :view do
95
95
  end
96
96
 
97
97
  it 'renders og:image' do
98
- expect(response).to include("<meta content='https://api.parliament.uk/Staging/photo/1234.jpeg?crop=CU_1:1&width=400&quality=100' property='og:image'>")
98
+ expect(response).to include("<meta content='https://api.parliament.uk/photo/1234.jpeg?crop=CU_1:1&width=400&quality=100' property='og:image'>")
99
99
  expect(response).to include("<meta content='400' property='og:image:width'>")
100
100
  expect(response).to include("<meta content='400' property='og:image:height'>")
101
101
  expect(response).to include("<meta content='summary' name='twitter:card'>")
@@ -112,7 +112,7 @@ describe 'pugin/layouts/_layout.html.haml', type: :view do
112
112
  end
113
113
 
114
114
  it 'renders og:image' do
115
- expect(response).to include("<meta content='https://api.parliament.uk/Staging/photo/5678.jpeg?crop=CU_1:1&width=400&quality=100' property='og:image'>")
115
+ expect(response).to include("<meta content='https://api.parliament.uk/photo/5678.jpeg?crop=CU_1:1&width=400&quality=100' property='og:image'>")
116
116
  expect(response).to include("<meta content='400' property='og:image:width'>")
117
117
  expect(response).to include("<meta content='400' property='og:image:height'>")
118
118
  expect(response).to include("<meta content='summary' name='twitter:card'>")
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: 1.10.6
4
+ version: 1.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-24 00:00:00.000000000 Z
11
+ date: 2019-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -31,6 +31,9 @@ dependencies:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '1.4'
34
37
  type: :development
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,6 +41,9 @@ dependencies:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
43
  version: '1.3'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.4'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rspec-rails
43
49
  requirement: !ruby/object:Gem::Requirement