populate-me 0.13.2 → 0.14.0

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: 3c4a183e9fa73daeea4219947bf0b2e0eef9594a992b2777aee96c262658ed53
4
- data.tar.gz: 7ef5380f8917b3c9f14a13b08eec2cb31e16dcb0db4210a71d56d44e0667e11f
3
+ metadata.gz: 0e07006c1f567c3309a537233c482114dd0536b783c6e82b1cafcf7d5c53fa12
4
+ data.tar.gz: f36fc1cb24ac5b59ea7090c6ffc5c425d437ef95e36f528fb012bb721472d185
5
5
  SHA512:
6
- metadata.gz: ef4b40dec8280769115a5f5af5d69f124e6238214b06db0211e9640b988644199323f578a656aad017062af6493e5fd9627e28b40dff25cd5b37e8aa1d5c0f3b
7
- data.tar.gz: e0eebe06dd540d7173284b65e4175eeb7829e059f6b5b2841ddf4f3968e0e8a45c4dba9d1dd3eb1e2cdceb8c0ff0080948c247de42d1cef1222d3b688c1a1599
6
+ metadata.gz: 6e53cfb5b625bbb4835cb5ba5fa5e404dfaac6e23eb607d5f981ff6c60ed67f2939d0dd4a288476ce1bd486804264c6516b2a79439c6ba302a080c2a0270dd2c
7
+ data.tar.gz: 2ca83c16c743176e272793b3d411887b7b3ea9a7f4d01ba71cad0fcd2e1417423d526116d7f09ef4f24b4fc85c54b0c9399cb6a6445fb4c074d1ac09892fa1af
@@ -145,7 +145,7 @@
145
145
 
146
146
  <script id="template-attachment-field" type="x-tmpl-mustache">
147
147
  {{#url}}
148
- <img src='{{url}}{{cache_buster}}' alt='Preview' width='150' />
148
+ <img src='{{url}}{{cache_buster}}' alt='Preview' width='150' onerror="this.src='<%= request.script_name %>/__assets__/img/file.png'; this.onerror=null;" />
149
149
  <button class='attachment-deleter'>x</button>
150
150
  <br />
151
151
  {{/url}}
@@ -1,4 +1,4 @@
1
1
  module PopulateMe
2
- VERSION = '0.13.2'
2
+ VERSION = '0.14.0'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: populate-me
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickael Riga
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-05 00:00:00.000000000 Z
11
+ date: 2021-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: web-utils
@@ -198,6 +198,7 @@ files:
198
198
  - lib/populate_me/admin/__assets__/css/asmselect.css
199
199
  - lib/populate_me/admin/__assets__/css/jquery-ui.min.css
200
200
  - lib/populate_me/admin/__assets__/css/main.css
201
+ - lib/populate_me/admin/__assets__/img/file.png
201
202
  - lib/populate_me/admin/__assets__/img/help/children.png
202
203
  - lib/populate_me/admin/__assets__/img/help/create.png
203
204
  - lib/populate_me/admin/__assets__/img/help/delete.png
@@ -257,7 +258,7 @@ homepage: https://github.com/mig-hub/populate-me
257
258
  licenses:
258
259
  - MIT
259
260
  metadata: {}
260
- post_install_message:
261
+ post_install_message:
261
262
  rdoc_options: []
262
263
  require_paths:
263
264
  - lib
@@ -272,8 +273,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
273
  - !ruby/object:Gem::Version
273
274
  version: '0'
274
275
  requirements: []
275
- rubygems_version: 3.0.3
276
- signing_key:
276
+ rubygems_version: 3.2.16
277
+ signing_key:
277
278
  specification_version: 4
278
279
  summary: PopulateMe is an admin system for web applications.
279
280
  test_files: