alchemy-richmedia-essences 2.0.0 → 2.1.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
- SHA1:
3
- metadata.gz: 299155d3d95957fa0d389c9088e72168fa6b6513
4
- data.tar.gz: 4fe0286cee0b99569227213ca50a980c3020dd65
2
+ SHA256:
3
+ metadata.gz: 1f2c84ac6c540e1ec989f4629b83e215ee6dde2ab24caeb7eccc9ca92770e60f
4
+ data.tar.gz: 472be1f58a37a48bedf88ab1e5cff5a0bd1834e830a2b4d3ed4f2fab86cf5684
5
5
  SHA512:
6
- metadata.gz: 3d37398490272910fa3f85f2287febc46aa2bb327157e657aedcfa3fa4637de60d7c52eb9b5453812b5c3efe656eca9b81b746d41f3663f7a39b031e377f06a2
7
- data.tar.gz: 20d1490901ceb769505279788cea0fe8c57ebe865944360b46932f4e373fd9a995b53288d846ba989601d6eb9365755b764f75a0813b17e779c4ecf75246a49c
6
+ metadata.gz: 9b140eca7d4c3203394157d56ea3e84118815a23bc01b15b879c7085720a9a55d037047dd0f4cd40f52e5a84b35fa16a9c49cc99dea90b7009b4f8ae6a5fac3c
7
+ data.tar.gz: 10e3ded11cbe788d0f7f09004891ffd63f1b0eaf7deb20a78a272a12ca520a414318502e90af980af129f9fbe8a9f49947abc3f036f11456b27ff97a928b0522
@@ -0,0 +1,5 @@
1
+ ## 2.1.0 (2019-11-11)
2
+
3
+ - Update essence editor view [#16](https://github.com/AlchemyCMS/alchemy-richmedia-essences/pull/16) ([jrieger](https://github.com/jrieger))
4
+ - Avoid empty width/height attributes [#14](https://github.com/AlchemyCMS/alchemy-richmedia-essences/pull/14) ([jrieger](https://github.com/jrieger))
5
+ - `source` is a void element [#13](https://github.com/AlchemyCMS/alchemy-richmedia-essences/pull/13) ([jrieger](https://github.com/jrieger))
@@ -4,7 +4,7 @@
4
4
  autoplay: content.essence.autoplay,
5
5
  loop: content.essence.loop,
6
6
  muted: content.essence.muted do %>
7
- <%= content_tag :source, nil,
7
+ <%= tag :source,
8
8
  src: alchemy.show_attachment_path(
9
9
  content.ingredient,
10
10
  format: content.ingredient.suffix
@@ -4,10 +4,10 @@
4
4
  autoplay: content.essence.autoplay,
5
5
  loop: content.essence.loop,
6
6
  muted: content.essence.muted,
7
- preload: content.essence.preload.presence || nil,
8
- width: content.essence.width,
9
- height: content.essence.height do %>
10
- <%= content_tag :source, nil,
7
+ preload: content.essence.preload.presence,
8
+ width: content.essence.width.presence,
9
+ height: content.essence.height.presence do %>
10
+ <%= tag :source,
11
11
  src: alchemy.show_attachment_path(
12
12
  content.ingredient,
13
13
  format: content.ingredient.suffix
@@ -1,4 +1,4 @@
1
- <% dialog_link = link_to_dialog('',
1
+ <% dialog_link = link_to_dialog render_icon(:file, style: 'regular'),
2
2
  alchemy.admin_attachments_path(
3
3
  content_id: content.id,
4
4
  only: content.settings_value(:only, local_assigns.fetch(:options, {})),
@@ -10,29 +10,26 @@
10
10
  size: '780x585',
11
11
  padding: false
12
12
  },
13
- {
14
- class: 'icon assign_file',
15
- title: Alchemy.t(:assign_file)
16
- }
17
- ) %>
13
+ class: 'file_icon',
14
+ title: Alchemy.t(:assign_file) %>
18
15
 
19
16
  <div class="content_editor essence_file" id="<%= content.dom_id %>" data-content-id="<%= content.id %>">
20
17
  <%= content_label(content) %>
21
18
  <div class="file" id="file_<%= content.id %>">
22
- <div class="file_icon">
23
19
  <% if content.ingredient %>
24
- <%= render_icon(content.ingredient.icon_css_class) %>
20
+ <div class="file_icon">
21
+ <%= render_icon(content.ingredient.icon_css_class) %>
22
+ </div>
25
23
  <% else %>
26
24
  <%= dialog_link %>
27
25
  <% end %>
28
- </div>
29
26
  <div class="file_name">
30
27
  <%= content.ingredient.try(:name) ||
31
28
  ("&#x2190;" + Alchemy.t(:assign_file_from_archive)).html_safe %>
32
29
  </div>
33
30
  <div class="essence_file_tools">
34
31
  <%= dialog_link %>
35
- <%= link_to_dialog '',
32
+ <%= link_to_dialog render_icon(:edit),
36
33
  url_for(
37
34
  controller: controller,
38
35
  action: 'edit',
@@ -43,7 +40,6 @@
43
40
  title: Alchemy.t(:edit_file_properties),
44
41
  size: '400x215'
45
42
  },
46
- class: 'edit_file',
47
43
  title: Alchemy.t(:edit_file_properties) %>
48
44
  </div>
49
45
  <%= hidden_field_tag content.form_field_name(:attachment_id),
@@ -1,7 +1,7 @@
1
1
  module Alchemy
2
2
  module Richmedia
3
3
  module Essences
4
- VERSION = "2.0.0"
4
+ VERSION = "2.1.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy-richmedia-essences
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-19 00:00:00.000000000 Z
11
+ date: 2019-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: alchemy_cms
@@ -32,6 +32,7 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - ".gitignore"
35
+ - CHANGELOG.md
35
36
  - Gemfile
36
37
  - LICENSE.txt
37
38
  - README.md
@@ -78,8 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
79
  - !ruby/object:Gem::Version
79
80
  version: '0'
80
81
  requirements: []
81
- rubyforge_project:
82
- rubygems_version: 2.6.13
82
+ rubygems_version: 3.0.3
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: Adds EssenceAudio and EssenceVideo essences to your AlchemyCMS powered website.