decidim-gallery 0.0.3 → 0.0.4

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: 47165db0debd2a2b436f6276367445245aa4876279ce35d5c81b908be8d6f6ce
4
- data.tar.gz: fecfea411a887a033a9aac7e2e492834d86bef29dfd5fc503807f4da270826fc
3
+ metadata.gz: c303ad87c933b01a9f8d265c25e4770b78c421afb354aab5a425ae085ed7ecb1
4
+ data.tar.gz: 91929d8cd6b1ec9d3fc34ccd913a852db47afa74eb39eea77d0fc4b04dcef115
5
5
  SHA512:
6
- metadata.gz: 975fd9d8a7d4f86ff36668cfed341808e2f3fc232556f2f79eaf0e540aa78ad85bf208f8efc23915c0d683f920697a173250681b496f0e94e54352e3cf5b8019
7
- data.tar.gz: ba78279cf7da7c6c0411ec3670276b1ec8009d3d4842c079bab89bcd0f643fc1ad2291e9459b1db06a493f3bf19e1c95d89df85adee5edad390464a998665266
6
+ metadata.gz: 37772cdb8e7eb7caee271c3f270be57782bef8aeeb9c263226c4a9b7143de2ead4c8b8ee47695ab66e0e2ab8e230bb5776fdbb70b6af619fd1b725f80b05c2c5
7
+ data.tar.gz: cdb8ed4a0248f0fc38dcec1bbf9fa276e8288354098f643eb1ef2534b562386720613a13a7c2a2f870c76721f9e93d9fd364c7a985439e51b76ae8f7e728f433
@@ -6,7 +6,7 @@
6
6
  <span aria-hidden="true">&times;</span>
7
7
  </button>
8
8
 
9
- <div class="orbit row" data-orbit data-auto-play="false">
9
+ <div class="orbit row" data-orbit data-auto-play="false" data-use-m-u-i="<%= Decidim::Gallery.enable_animation.inspect %>">
10
10
  <div class="orbit-wrapper">
11
11
  <div class="orbit-controls">
12
12
  <button class="orbit-previous"><span class="show-for-sr"><%= t("decidim.gallery.main.previous_slide") %></span>
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-gallery version.
5
5
  module Gallery
6
6
  def self.version
7
- "0.0.3"
7
+ "0.0.4"
8
8
  end
9
9
 
10
10
  def self.decidim_version
@@ -10,5 +10,10 @@ module Decidim
10
10
  # This namespace holds the logic of the `Gallery` component. This component
11
11
  # allows users to create gallery in a participatory space.
12
12
  module Gallery
13
+ include ActiveSupport::Configurable
14
+
15
+ config_accessor :enable_animation do
16
+ false
17
+ end
13
18
  end
14
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandru-Emil Lupu
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-04 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -143,7 +143,7 @@ licenses:
143
143
  - AGPL-3.0
144
144
  metadata:
145
145
  rubygems_mfa_required: 'true'
146
- post_install_message:
146
+ post_install_message:
147
147
  rdoc_options: []
148
148
  require_paths:
149
149
  - lib
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  requirements: []
161
161
  rubygems_version: 3.1.6
162
- signing_key:
162
+ signing_key:
163
163
  specification_version: 4
164
164
  summary: A decidim gallery module
165
165
  test_files: []