decidim-meetings 0.25.1 → 0.25.2

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: 04ffff76fa8007c3a0561739810ab23f2c18ce6f24b66dd01f5ee488c3b6c412
4
- data.tar.gz: 748205e57b52528803b99ffb3dda2f52fd45c3db508be518e5b1a12eb74eadc2
3
+ metadata.gz: 1ae414fe044e7f7ceb3768cdb416c37366bdd2beb3027aa4cf7defedf753a3a4
4
+ data.tar.gz: 659164c74c1a39f7614000c2f4a57bc1a95d1641396b9a24754c1855197f51ed
5
5
  SHA512:
6
- metadata.gz: d46c8abecde93d8920a4e2973c7011b375f0a712836c07c596720a9d3d683c4aa7b0beadee786c364bc4295dd30b13c5573dcce2c636a2471e36f0b933c6b648
7
- data.tar.gz: 784051724073fe9d28f6b656efe0c34fa65a8c29d0d6615f663ff34c672a83ad6817f7a45973d5ca37f0f051fb2f2ce97d0379edd0d951bc1f10dc6fd76db230
6
+ metadata.gz: d3549df723f3ee977c20a0418ed165a80ebf4f8df2b148e1494484388df72c4c47f30542b51db09df74290d1216f14b16dc3dde447102dc61a20d419a8a335ef
7
+ data.tar.gz: e637a74a06ab3e6a8e45a099c237ee7f3153b4e42523cd7591ad6b92e723c0dcca50878b5fba459c53649c314869dd78d983f44b3ef59129ebe62bf7ab9ac16e
@@ -42,15 +42,8 @@ edit_link(
42
42
 
43
43
  <div class="card extra">
44
44
  <div class="card__content">
45
- <div class="extra__date">
46
- <%= l meeting.start_time, format: "%d" %>
47
- <span class="extra__month"><%= l meeting.start_time, format: "%B" %>
48
- <%= l(meeting.start_time, format: "%Y") if meeting.start_time.year != Date.current.year %>
49
- </span>
50
- </div>
51
- <div class="extra__time">
52
- <%= meeting.start_time.strftime("%H:%M") %> - <%= meeting.end_time.strftime("%H:%M") %>
53
- </div>
45
+ <%= cell("decidim/date_range", { start: meeting.start_time, end: meeting.end_time }) %>
46
+
54
47
  <%= cell "decidim/meetings/join_meeting_button", meeting, big_button: true, show_remaining_slots: true %>
55
48
  <%= render partial: "decidim/shared/follow_button", locals: { followable: meeting, large: false } %>
56
49
  </div>
@@ -60,7 +60,7 @@ pl:
60
60
  decidim/meetings/meeting:
61
61
  one: Spotkanie
62
62
  few: Spotkania
63
- many: Spotkania
63
+ many: Spotkań
64
64
  other: Spotkania
65
65
  decidim/meetings/minutes:
66
66
  one: Minuta
@@ -70,7 +70,7 @@ pl:
70
70
  decidim/meetings/registration:
71
71
  one: Rejestracja
72
72
  few: Rejestracje
73
- many: Rejestracje
73
+ many: Rejestracji
74
74
  other: Rejestracje
75
75
  decidim:
76
76
  admin:
@@ -129,6 +129,7 @@ Decidim.register_component(:meetings) do |component|
129
129
 
130
130
  2.times do
131
131
  start_time = [rand(1..20).weeks.from_now, rand(1..20).weeks.ago].sample
132
+ end_time = start_time + [rand(1..4).hours, rand(1..20).days].sample
132
133
  params = {
133
134
  component: component,
134
135
  scope: Faker::Boolean.boolean(true_ratio: 0.5) ? global : scopes.sample,
@@ -140,7 +141,7 @@ Decidim.register_component(:meetings) do |component|
140
141
  location: Decidim::Faker::Localized.sentence,
141
142
  location_hints: Decidim::Faker::Localized.sentence,
142
143
  start_time: start_time,
143
- end_time: start_time + rand(1..4).hours,
144
+ end_time: end_time,
144
145
  address: "#{Faker::Address.street_address} #{Faker::Address.zip} #{Faker::Address.city}",
145
146
  latitude: Faker::Address.latitude,
146
147
  longitude: Faker::Address.longitude,
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-meetings version.
5
5
  module Meetings
6
6
  def self.version
7
- "0.25.1"
7
+ "0.25.2"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-meetings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.1
4
+ version: 0.25.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
8
8
  - Marc Riera Casals
9
9
  - Oriol Gual Oliva
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-11-02 00:00:00.000000000 Z
13
+ date: 2021-11-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.25.1
21
+ version: 0.25.2
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.25.1
28
+ version: 0.25.2
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-forms
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.25.1
35
+ version: 0.25.2
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.25.1
42
+ version: 0.25.2
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: icalendar
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -60,56 +60,56 @@ dependencies:
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.25.1
63
+ version: 0.25.2
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.25.1
70
+ version: 0.25.2
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-assemblies
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.25.1
77
+ version: 0.25.2
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.25.1
84
+ version: 0.25.2
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: decidim-dev
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.25.1
91
+ version: 0.25.2
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.25.1
98
+ version: 0.25.2
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: decidim-participatory_processes
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.25.1
105
+ version: 0.25.2
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.25.1
112
+ version: 0.25.2
113
113
  description: A meetings component for decidim's participatory spaces.
114
114
  email:
115
115
  - josepjaume@gmail.com
@@ -517,7 +517,7 @@ homepage: https://github.com/decidim/decidim
517
517
  licenses:
518
518
  - AGPL-3.0
519
519
  metadata: {}
520
- post_install_message:
520
+ post_install_message:
521
521
  rdoc_options: []
522
522
  require_paths:
523
523
  - lib
@@ -533,7 +533,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
533
533
  version: '0'
534
534
  requirements: []
535
535
  rubygems_version: 3.1.2
536
- signing_key:
536
+ signing_key:
537
537
  specification_version: 4
538
538
  summary: Decidim meetings module
539
539
  test_files: []