decidim-conferences 0.29.0.rc3 → 0.29.0.rc4

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: 4d7381d60265825754c4abf6c897056fa356929c035f81c16d1e12556fe6ce61
4
- data.tar.gz: d8b4ee297ac97b6d90047ec2ef624fe905bc5760e4c9619cf7b0aa9cb7bf2b9f
3
+ metadata.gz: b7412437d2936b2b200d446aacaae3ffd38d71249f828ba6e09ab73ebbdf08a9
4
+ data.tar.gz: d25d2f090350bbefb2687a914ff058bd79d709050237a668d3309f359b9633e3
5
5
  SHA512:
6
- metadata.gz: 93088a6060ad2eaf322e60682df76ce7b1f3aca75e09aa05dcb9ff0d9b8a5ac7f211327d80f167935c0ce7fcfce2ba904fa49fbd973a2f8d6f8fd565bfd5387c
7
- data.tar.gz: e9e35021f562cdbfa4e3ec6ffc48b546cc30087bac92fbe725833ce013c988d5770f12ded522b361a82fd849efc9d8c10cfc5ae34d1832ae0d2764f9dc98b4d0
6
+ metadata.gz: 51003ac226b7d97874dd0f2205bc79f49e6be442d6110d6795619f087a6eaa97223b6fada4aee503ea539ccb996e4e1a717cf084d91cbf43014603842ebc97d5
7
+ data.tar.gz: 6120db34b12d8c4c43b08b9800cebf19f83e665cbe34d5a6ffd52a06f9e4ccbe8e905a06be734c29d82564c79a1ccc92dd33f9049eae92a01d76da1a65a74b22
@@ -11,8 +11,8 @@ module Decidim
11
11
  Decidim::Conferences::Engine.routes.url_helpers.conference_path(model)
12
12
  end
13
13
 
14
- def resource_image_path
15
- model.attached_uploader(:hero_image).path
14
+ def resource_image_url
15
+ model.attached_uploader(:hero_image).url
16
16
  end
17
17
 
18
18
  def metadata_cell
@@ -1,3 +1,3 @@
1
1
  <div class="conference__grid-item-img">
2
- <%= image_tag model.attached_uploader(:logo).path(variant: :medium), alt: "logo" %>
2
+ <%= image_tag model.attached_uploader(:logo).variant_url(:medium), alt: "logo" %>
3
3
  </div>
@@ -21,7 +21,7 @@ module Decidim
21
21
  def logo
22
22
  return unless model.logo.attached?
23
23
 
24
- "<div class='card p-m'> #{image_tag model.attached_uploader(:logo).path(variant: :medium), alt: "logo"} </div>"
24
+ "<div class='card p-m'> #{image_tag model.attached_uploader(:logo).variant_url(:medium), alt: "logo"} </div>"
25
25
  end
26
26
  end
27
27
  end
@@ -35,8 +35,8 @@
35
35
  <% end %>
36
36
  </td>
37
37
  <td>
38
- <% if partner.attached_uploader(:logo).path %>
39
- <%= image_tag(partner.attached_uploader(:logo).path(variant: :thumb)) %>
38
+ <% if partner.logo.attached? %>
39
+ <%= image_tag(partner.attached_uploader(:logo).variant_url(:thumb)) %>
40
40
  <% end %>
41
41
  </td>
42
42
  <td class="table-list__actions">
@@ -3,7 +3,7 @@
3
3
  <div class="diploma__content">
4
4
  <div>
5
5
  <div class="diploma__logo">
6
- <%= wicked_pdf_image_tag @conference.attached_uploader(:main_logo).url(variant: :thumb, host: @conference.organization.host) %>
6
+ <%= wicked_pdf_image_tag @conference.attached_uploader(:main_logo).variant_url(:thumb) %>
7
7
  </div>
8
8
  <div class="diploma__name">
9
9
  <h2><strong><%= translated_attribute(@conference.title) %></strong></h2>
@@ -14,7 +14,7 @@
14
14
  <div class="diploma__attendance">
15
15
  <strong><%= t("decidim.conferences.admin.send_conference_diploma_mailer.diploma_user.attendance_verified_by") %></strong>
16
16
  <div>
17
- <%= wicked_pdf_image_tag @conference.attached_uploader(:signature).url(variant: :thumb, host: @conference.organization.host) %>
17
+ <%= wicked_pdf_image_tag @conference.attached_uploader(:signature).variant_url(:thumb) %>
18
18
  </div>
19
19
  <%= l(@conference.sign_date, format: :decidim_short) %>, <%= @conference.signature_name %>
20
20
  </div>
@@ -1,4 +1,4 @@
1
- <section style="background-image:url('<%= current_participatory_space.attached_uploader(:banner_image).path %>');" data-conference-hero>
1
+ <section style="background-image:url('<%= current_participatory_space.attached_uploader(:banner_image).url %>');" data-conference-hero>
2
2
  <div class="conference__hero">
3
3
  <div class="conference__hero-text">
4
4
  <h1 class="h1 text-5xl">
@@ -1,6 +1,6 @@
1
1
  <% add_decidim_meta_tags({
2
2
  title: translated_attribute(current_participatory_space.title),
3
- image_url: current_participatory_space.attached_uploader(:hero_image).path,
3
+ image_url: current_participatory_space.attached_uploader(:hero_image).url,
4
4
  description: translated_attribute(current_participatory_space.short_description),
5
5
  url: conference_url(current_participatory_space)
6
6
  }) %>
@@ -235,7 +235,7 @@ de:
235
235
  admin: Administrator
236
236
  collaborator: Mitarbeiter
237
237
  moderator: Moderator
238
- valuator: Schätzer
238
+ valuator: Bewertende
239
239
  media_link:
240
240
  fields:
241
241
  date: Datum
@@ -33,7 +33,10 @@ Gem::Specification.new do |s|
33
33
  s.add_dependency "decidim-core", Decidim::Conferences.version
34
34
  s.add_dependency "decidim-meetings", Decidim::Conferences.version
35
35
  s.add_dependency "wicked_pdf", "~> 2.7"
36
- s.add_dependency "wkhtmltopdf-binary", "~> 0.12"
36
+ # Latest version of wkhtmltopdf-binary downloads more versions of the binary
37
+ # This brings problems with deployment in certain environments, as Heroku
38
+ # Hopefully they will fix this situation soon
39
+ s.add_dependency "wkhtmltopdf-binary", "= 0.12.6.6"
37
40
 
38
41
  s.add_development_dependency "decidim-admin", Decidim::Conferences.version
39
42
  s.add_development_dependency "decidim-dev", Decidim::Conferences.version
@@ -16,7 +16,7 @@ module Decidim
16
16
  field :updated_at, Decidim::Core::DateTimeType, "The time this partner was updated", null: true
17
17
 
18
18
  def logo
19
- object.attached_uploader(:logo).path
19
+ object.attached_uploader(:logo).url
20
20
  end
21
21
  end
22
22
  end
@@ -20,7 +20,7 @@ module Decidim
20
20
  field :updated_at, Decidim::Core::DateTimeType, "The time this member was updated", null: true
21
21
 
22
22
  def avatar
23
- object.attached_uploader(:avatar).path
23
+ object.attached_uploader(:avatar).url
24
24
  end
25
25
  end
26
26
  end
@@ -39,11 +39,11 @@ module Decidim
39
39
  field :media_links, [Decidim::Conferences::ConferenceMediaLinkType, { null: true }], "List of media links in this conference", null: true
40
40
 
41
41
  def hero_image
42
- object.attached_uploader(:hero_image).path
42
+ object.attached_uploader(:hero_image).url
43
43
  end
44
44
 
45
45
  def banner_image
46
- object.attached_uploader(:banner_image).path
46
+ object.attached_uploader(:banner_image).url
47
47
  end
48
48
 
49
49
  def speakers
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-conferences version.
5
5
  module Conferences
6
6
  def self.version
7
- "0.29.0.rc3"
7
+ "0.29.0.rc4"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-conferences
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0.rc3
4
+ version: 0.29.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-22 00:00:00.000000000 Z
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-core
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.29.0.rc3
19
+ version: 0.29.0.rc4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.29.0.rc3
26
+ version: 0.29.0.rc4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-meetings
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.29.0.rc3
33
+ version: 0.29.0.rc4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.29.0.rc3
40
+ version: 0.29.0.rc4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: wicked_pdf
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,44 +56,44 @@ dependencies:
56
56
  name: wkhtmltopdf-binary
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: '0.12'
61
+ version: 0.12.6.6
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: '0.12'
68
+ version: 0.12.6.6
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-admin
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.29.0.rc3
75
+ version: 0.29.0.rc4
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.29.0.rc3
82
+ version: 0.29.0.rc4
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: decidim-dev
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.29.0.rc3
89
+ version: 0.29.0.rc4
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.29.0.rc3
96
+ version: 0.29.0.rc4
97
97
  description: Conferences component for decidim.
98
98
  email:
99
99
  - isaac.mg@coditramuntana.com