promethee 1.6.34 → 1.6.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6677b79bdc6728f864d8158b4f8e2401c941ae86
4
- data.tar.gz: 633189433f5978110c405563d8bbb89ff0d45f2d
2
+ SHA256:
3
+ metadata.gz: d9d3e4fa5910f7e72c5035ad436b7cec41dabe04e2e2c92e193b6ddb71cf12a6
4
+ data.tar.gz: 4f746cb8959f54194a2877df4741249fcb1584f05219259c2443f98386010de3
5
5
  SHA512:
6
- metadata.gz: c5161cc7bc9c045e23e71bc0221c7e734386e87e469cf5cd753e338f8820a7abcf0ddc69489703249542aa0ce400a3f7f897a5237595b25ccb7b1bbc019e177d
7
- data.tar.gz: dad1d243cda3b3ea5a208dad974d6e6aefda731d6aa54549d53fb7b2ba6a89b804b2ae67da93974224c812afd3ef7bef0807a3ad2dff1366d21aeae01838481b
6
+ metadata.gz: '08bc51e6a79128df5ee361a8091cff757d1a3220dfa792368b114563d842431152fcfeed2c058b9ba31e2cb186208873859a3870b84bb7bdbf2bc46c09781d47'
7
+ data.tar.gz: 562318969a60ad89cd99d5f22dec88e74d9ae23751ca46f3a03cf65b9fc530ff4f30467ce19048c7182ef7b747a2607f7009d9dd1bd40dc1e39d5fd64dc2bc62
data/README.md CHANGED
@@ -93,6 +93,12 @@ Which renders to:
93
93
  </div>
94
94
  ```
95
95
 
96
+ With javascript set:
97
+ ```
98
+ //= require fancybox/dist/js/jquery.fancybox
99
+ //= require promethee/fancybox
100
+ ```
101
+
96
102
  With stylesheets set:
97
103
  ```
98
104
  @import 'bootstrap'
@@ -7,7 +7,7 @@
7
7
 
8
8
  <div class="form-group">
9
9
  <div class="btn btn-default" ng-click="addComponentByType('collection_item', promethee.inspected.children)">Add item</div>
10
- <div ng-show="promethee.inspected.children.length > 1">
10
+ <div ng-show="promethee.inspected.children.length">
11
11
  <br><br>
12
12
  <label class="label-control">Drag the items below to reorder them:</label>
13
13
  <ul ui-sortable ng-model="promethee.inspected.children" class="list-unstyled">
@@ -4,7 +4,7 @@
4
4
  ng-click="addComponentByType('column', promethee.inspected.children)">
5
5
  Add column
6
6
  </div>
7
- <div ng-show="promethee.inspected.children.length > 1">
7
+ <div ng-show="promethee.inspected.children.length">
8
8
  <br><br>
9
9
  <label class="label-control">Drag the columns below to reorder them:</label>
10
10
  <ul ui-sortable
@@ -1,5 +1,5 @@
1
1
  <%
2
- background_color = "rgba(255, 255, 255, 1)" || component[:attributes][:bgcolor]
2
+ background_color = component[:attributes][:bgcolor] || "rgba(255, 255, 255, 1)"
3
3
  background_images = []
4
4
  background_positions = []
5
5
  background_sizes = []
@@ -1,7 +1,7 @@
1
1
  <script type="text/ng-template" id="promethee/components/slider/edit/inspect">
2
2
  <div class="form-group">
3
3
  <div class="btn btn-default" ng-click="addComponentByType('slider_item', promethee.inspected.children)">Add item</div>
4
- <div ng-show="promethee.inspected.children.length > 1">
4
+ <div ng-show="promethee.inspected.children.length">
5
5
  <br><br>
6
6
  <label class="label-control">Drag the items below to reorder them:</label>
7
7
  <ul ui-sortable ng-model="promethee.inspected.children" class="list-unstyled">
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.6.34'
3
+ VERSION = '1.6.35'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.34
4
+ version: 1.6.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2018-06-21 00:00:00.000000000 Z
16
+ date: 2018-06-22 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails
@@ -440,7 +440,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
440
440
  version: '0'
441
441
  requirements: []
442
442
  rubyforge_project:
443
- rubygems_version: 2.6.11
443
+ rubygems_version: 2.7.6
444
444
  signing_key:
445
445
  specification_version: 4
446
446
  summary: Bring fire to your page