pageflow-before-after 0.5.0 → 1.0.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
2
  SHA1:
3
- metadata.gz: 34a129a02915f1c5a3ca5b4c9913b6eb3883d89c
4
- data.tar.gz: 233127e79d416677fa810385573b1515cbdddf42
3
+ metadata.gz: 52358b6d5205fba2a8217a63ba017b456365fb0a
4
+ data.tar.gz: 98e2eae0a7a2a20956078fd792fc4497dd1fc4be
5
5
  SHA512:
6
- metadata.gz: aadbec2bd9aff49fb03693b1a5e7a01d670c94145a4b612d4e312353b119e4a61d6cef7a4a7194b6bae0f575c3e0c03d7b6ee0c61f52661908f17be6558aa065
7
- data.tar.gz: 5ff673f2b1bcd8fd141586062c81e94c254b744b5021399985e12eb744c8ea4b7a1b7852c5aca70c525bc7062852c784f250b5e21c9e5de80d45d7fc8a2e9181
6
+ metadata.gz: a75077ebc1d2b1c9f1c0f187ab163bfde06b2e2391eda86115a0cc37614c5c39b30bc60daae730c7dadd55c28ab07a25e89551d36034289d8cf395cd6b6a2e03
7
+ data.tar.gz: e8831acb7b5d13f598a89c6c8c2bb89610f2d269757dfab1be07c32fbb192ec8965fba7e030c132c6734b120c6524ca09daa193d74a3107d67e73fd9abb1b574
@@ -1,47 +1,21 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 0.5.0
3
+ ### Version 1.0.0
4
4
 
5
- 2016-09-09
5
+ 2017-08-10
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-before-after/compare/v0.4.0...v0.5.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-before-after/compare/0-5-stable...v1.0.0)
8
8
 
9
- - Add support for slim player control theme variant
10
- ([#15](https://github.com/codevise/pageflow-before-after/pull/15))
9
+ - Rename css.scss files to just scss
10
+ ([#21](https://github.com/codevise/pageflow-before-after/pull/21))
11
+ - Replace hard-coded german string with call to i18n
12
+ ([#19](https://github.com/codevise/pageflow-before-after/pull/19),
13
+ [#20](https://github.com/codevise/pageflow-before-after/pull/20))
14
+ - Support pageflow 12
15
+ ([#18](https://github.com/codevise/pageflow-before-after/pull/18))
16
+ - Add css class to background for slim controls shadow
17
+ ([#16](https://github.com/codevise/pageflow-before-after/pull/16))
11
18
 
12
- ### Version 0.4.0
13
-
14
- 2016-06-09
15
-
16
- [Compare changes](https://github.com/codevise/pageflow-before-after/compare/v0.3.0...v0.4.0)
17
-
18
- - Use configurable page type pictograms
19
- ([#14](https://github.com/codevise/pageflow-before-after/pull/14))
20
- - Use public i18n gem translation in update method
21
- ([#12](https://github.com/codevise/pageflow-before-after/pull/12),
22
- [#11](https://github.com/codevise/pageflow-before-after/pull/11),
23
- [#10](https://github.com/codevise/pageflow-before-after/pull/10),
24
- [#9](https://github.com/codevise/pageflow-before-after/pull/9))
25
-
26
- ### Version 0.3.0
27
-
28
- - Make control bar text configurable
29
- ([#8](https://github.com/codevise/pageflow-before-after/pull/8))
30
-
31
- ### Version 0.2.0
32
-
33
- - Localization for `de` and `en`.
34
-
35
- ### Version 0.1.0
36
-
37
- - Display correct page thumbnails in Pageflow 0.5.
38
- ([#1](https://github.com/codevise/pageflow-before-after/pull/1))
39
-
40
- ### Version 0.0.2
41
-
42
- - Split `page_types` directory in `app/*` directories. Mixing assets
43
- with other project files lead to precompilation issues.
44
-
45
- ### Version 0.0.1
46
-
47
- - Initial release
19
+ See
20
+ [0-5-stable branch](https://github.com/codevise/pageflow-before-after/blob/0-5-stable/CHANGELOG.md)
21
+ for previous changes.
@@ -67,7 +67,7 @@ pageflow.pageType.register('before_after', _.extend({
67
67
  pageElement.find('p').html(configuration.get('text') || '');
68
68
  pageElement.find('.control_bar_text').text(configuration.get('control_bar_text') ||
69
69
  I18n.t('pageflow.public.before_after.start', {
70
- locale: pageflow.entry.configuration.get('locale')
70
+ locale: pageflow.seed.locale
71
71
  }));
72
72
 
73
73
  this.updateInfoBox(pageElement, configuration);
@@ -10,7 +10,7 @@ pageflow.ConfigurationEditorView.register('before_after', {
10
10
 
11
11
  this.input('control_bar_text', pageflow.TextInputView, {
12
12
  placeholder: I18n.t('pageflow.public.before_after.start', {
13
- locale: pageflow.entry.configuration.get('locale')
13
+ locale: pageflow.seed.locale
14
14
  })
15
15
  });
16
16
  this.input('additional_title', pageflow.TextInputView);
@@ -28,146 +28,159 @@
28
28
  var options = defaults;
29
29
  var randID = Math.round(Math.random()*100000000);
30
30
 
31
- var o=options;
32
- var obj = $(this.element);
31
+ var o=options;
32
+ var obj = $(this.element);
33
+
34
+ var beforeImg = $('.before_image', obj);
35
+ var afterImg = $('.after_image', obj);
36
+
37
+ var section = $(obj).parentsUntil(".backgroundArea").last();
38
+
39
+ var imgWidth;
40
+ var imgHeight;
41
+
42
+ var refresh = function() {
43
+ var resizeAndPositionContainer = function() {
44
+ var screenRatio = section.width() / section.height();
45
+
46
+ if(screenRatio < imgRatio) {
47
+ $(obj).parent().css({'width':'100%','height':'auto'});
48
+ var topOffset = (section.height() - $(obj).parent().height()) / 2;
49
+ $(obj).css({'top':topOffset+'px','left':'0'});
50
+ }
51
+ else {
52
+ $(obj).parent().css({'width': (section.height() * imgRatio) + 'px','height':'100%'});
53
+ var leftOffset = (section.width() - $(obj).parent().width()) / 2;
54
+ $(obj).css({'top':'0','left':leftOffset+'px'});
55
+ }
56
+ };
33
57
 
34
- var beforeImg = $('.before_image', obj);
35
- var afterImg = $('.after_image', obj);
58
+ imgWidth = beforeImg.attr("data-width");
59
+ imgHeight = beforeImg.attr("data-height");
60
+ var imgRatio = imgWidth / imgHeight;
36
61
 
37
- var section = $(obj).parentsUntil(".backgroundArea").last();
38
62
 
39
- var imgWidth;
40
- var imgHeight;
63
+ $(obj).parent().toggleClass('image-is-landscape', imgRatio > 1);
64
+ $(obj).parent().toggleClass('image-is-portrait', imgRatio <= 1);
41
65
 
42
- var refresh = function() {
43
- var resizeAndPositionContainer = function() {
44
- var screenRatio = section.width() / section.height();
66
+ var containerHeight = imgHeight / imgWidth * 100;
67
+ $(obj)
68
+ .css({'overflow':'visible','position':'relative','padding':'0','width':'100%', 'padding-top': containerHeight+"%"});
45
69
 
46
- if(screenRatio < imgRatio) {
47
- $(obj).parent().css({'width':'100%','height':'auto'});
48
- var topOffset = (section.height() - $(obj).parent().height()) / 2;
49
- $(obj).css({'top':topOffset+'px','left':'0'});
50
- }
51
- else {
52
- $(obj).parent().css({'width': (section.height() * imgRatio) + 'px','height':'100%'});
53
- var leftOffset = (section.width() - $(obj).parent().width()) / 2;
54
- $(obj).css({'top':'0','left':leftOffset+'px'});
55
- }
56
- };
70
+ resizeAndPositionContainer();
57
71
 
58
- imgWidth = beforeImg.attr("data-width");
59
- imgHeight = beforeImg.attr("data-height");
60
- var imgRatio = imgWidth / imgHeight;
72
+ bb = obj.get()[0].getBoundingClientRect();
73
+ barOffset = 0;
74
+ dragwrapper.draggable();
75
+ dragwrapper.draggable('option', {axis: 'x', containment:[bb.left-barOffset, bb.top, bb.right-barOffset, bb.bottom],drag:drag,stop:drag });
76
+ };
61
77
 
78
+ this.refresh = refresh;
62
79
 
63
- $(obj).parent().toggleClass('image-is-landscape', imgRatio > 1);
64
- $(obj).parent().toggleClass('image-is-portrait', imgRatio <= 1);
80
+ beforeImg.attr('id','beforeimage'+randID);
81
+ afterImg.attr('id','afterimage'+randID);
65
82
 
66
- var containerHeight = imgHeight / imgWidth * 100;
67
- $(obj)
68
- .css({'overflow':'visible','position':'relative','padding':'0','width':'100%', 'padding-top': containerHeight+"%"});
83
+ var bb;
84
+ var barOffset;
85
+ var beforeWrapper = $('.before_wrapper', obj);
69
86
 
70
- resizeAndPositionContainer();
87
+ // Create an inner div wrapper (dragwrapper) to hold the images.
71
88
 
72
- bb = obj.get()[0].getBoundingClientRect();
73
- barOffset = 0;
74
- dragwrapper.draggable();
75
- dragwrapper.draggable('option', {axis: 'x', containment:[bb.left-barOffset, bb.top, bb.right-barOffset, bb.bottom],drag:drag,stop:drag });
76
- };
89
+ var dragwrapper = $('<div class="dragwrapper" />');
90
+ dragwrapper.attr('id', 'dragwrapper' + randID);
91
+ dragwrapper.attr('title', I18n.t('pageflow.public.before_after.drag_hint', {
92
+ locale: pageflow.seed.locale
93
+ }));
94
+ $(obj).prepend(dragwrapper);
95
+
96
+ var dragHandle = $('<span class="draghandle" />');
97
+ dragHandle.attr('id', 'draghandle' + randID);
98
+ dragwrapper.append(dragHandle);
99
+
100
+ var dragInner = $('<div class="drag" />');
101
+ dragInner.attr('id', 'drag' + randID);
102
+ dragwrapper.append(dragInner);
103
+
104
+ dragwrapper.css({'opacity':1,'position':'absolute','padding':'0','left':o.introPosition * 100 +'%'}).height("100%");
105
+
106
+ var afterWrapper = $('.after_wrapper', obj);
107
+
108
+ beforeWrapper.css({'width': '100%', 'height':'100%', 'position':'absolute','left':'0px','z-index':'1','top':'0'}); // Set CSS properties of the before image div
109
+ afterWrapper.css({'width':'100%','height':'100%','position':'absolute','overflow':'hidden','right':'0px','top':'0','text-align':'right'}); // Set CSS properties of the after image div
110
+ $('#drag'+randID).height("100%");
111
+
112
+ $(obj).append('<div class="ba_left_indicator ba_indicator" id="lt-arrow'+randID+'"></div><div class="ba_right_indicator ba_indicator" id="rt-arrow'+randID+'"></div>');
113
+ $('.ba_indicator', obj).css('opacity', 0);
114
+ refresh();
115
+
116
+ $('img', obj).on('dragstart', function(event) { event.preventDefault(); });
77
117
 
78
- this.refresh = refresh;
79
-
80
- beforeImg.attr('id','beforeimage'+randID);
81
- afterImg.attr('id','afterimage'+randID);
82
-
83
- var bb;
84
- var barOffset;
85
- var beforeWrapper = $('.before_wrapper', obj);
86
-
87
- // Create an inner div wrapper (dragwrapper) to hold the images.
88
- $(obj).prepend('<div id="dragwrapper'+randID+'" class="dragwrapper" title="Linke Maustaste drücken und nach links oder rechts ziehen"><span class="draghandle" id="draghandle'+randID+'"></span><div id="drag'+randID+'" class="drag"></div></div>');
89
- var dragwrapper = $('#dragwrapper'+randID, obj);
90
- dragwrapper.css({'opacity':1,'position':'absolute','padding':'0','left':o.introPosition * 100 +'%'}).height("100%");
91
- var afterWrapper = $('.after_wrapper', obj);
92
-
93
- beforeWrapper.css({'width': '100%', 'height':'100%', 'position':'absolute','left':'0px','z-index':'1','top':'0'}); // Set CSS properties of the before image div
94
- afterWrapper.css({'width':'100%','height':'100%','position':'absolute','overflow':'hidden','right':'0px','top':'0','text-align':'right'}); // Set CSS properties of the after image div
95
- $('#drag'+randID).height("100%");
96
-
97
- $(obj).append('<div class="ba_left_indicator ba_indicator" id="lt-arrow'+randID+'"></div><div class="ba_right_indicator ba_indicator" id="rt-arrow'+randID+'"></div>');
98
- $('.ba_indicator', obj).css('opacity', 0);
99
- refresh();
100
-
101
- $('img', obj).on('dragstart', function(event) { event.preventDefault(); });
102
-
103
-
104
- function drag()
105
- {
106
- var bb = obj.get()[0].getBoundingClientRect();
107
- dragwrapper.draggable( {axis: 'x', containment:[bb.left-barOffset, bb.top, bb.right-barOffset, bb.bottom],drag:drag,stop:drag });
108
- var leftPos = parseInt( $(this).css('left'), 10 ) + barOffset;
109
- var relPos = leftPos / bb.width;
110
- if(relPos >= 1) { relPos = 1; }
111
-
112
- beforeWrapper.css('width',relPos * 100 + '%');
113
- o.onSlide.call(this, relPos);
114
- $('#lt-arrow'+randID+', #rt-arrow'+randID).stop().css('opacity',0);
115
- }
116
-
117
- o.onInitialized.call(this);
118
-
119
- if(o.animateIntro)
120
- {
121
- beforeWrapper.width(bb.width);
122
- dragwrapper.css('left',imgWidth-barOffset+'px');
123
- setTimeout(function(){
124
- dragwrapper.css({'opacity':1}).animate({'left':(100*o.introPosition)+'%'},o.introDuration,function(){dragwrapper.animate({'opacity':1},1000);});
125
- beforeWrapper.width(bb.width).animate({'width':o.introPosition*100+'%'},o.introDuration,function(){clickit();o.onReady.call(this);});
126
- o.onSlide.call(this, o.introDelay);
127
- },o.introDelay);
128
- }
129
- else
130
- {
131
- clickit();
132
- o.onReady.call(this);
133
- }
134
-
135
- function clickit()
136
- {
118
+
119
+ function drag()
120
+ {
121
+ var bb = obj.get()[0].getBoundingClientRect();
122
+ dragwrapper.draggable( {axis: 'x', containment:[bb.left-barOffset, bb.top, bb.right-barOffset, bb.bottom],drag:drag,stop:drag });
123
+ var leftPos = parseInt( $(this).css('left'), 10 ) + barOffset;
124
+ var relPos = leftPos / bb.width;
125
+ if(relPos >= 1) { relPos = 1; }
126
+
127
+ beforeWrapper.css('width',relPos * 100 + '%');
128
+ o.onSlide.call(this, relPos);
129
+ $('#lt-arrow'+randID+', #rt-arrow'+randID).stop().css('opacity',0);
130
+ }
131
+
132
+ o.onInitialized.call(this);
133
+
134
+ if(o.animateIntro)
135
+ {
136
+ beforeWrapper.width(bb.width);
137
+ dragwrapper.css('left',imgWidth-barOffset+'px');
138
+ setTimeout(function(){
139
+ dragwrapper.css({'opacity':1}).animate({'left':(100*o.introPosition)+'%'},o.introDuration,function(){dragwrapper.animate({'opacity':1},1000);});
140
+ beforeWrapper.width(bb.width).animate({'width':o.introPosition*100+'%'},o.introDuration,function(){clickit();o.onReady.call(this);});
141
+ o.onSlide.call(this, o.introDelay);
142
+ },o.introDelay);
143
+ }
144
+ else
145
+ {
146
+ clickit();
147
+ o.onReady.call(this);
148
+ }
149
+
150
+ function clickit()
151
+ {
152
+ bb = obj.get()[0].getBoundingClientRect();
153
+ $(obj).hover(function(){
154
+ $('#lt-arrow'+randID).stop().css({'z-index':'20','position':'absolute','top':bb.height/2-$('#lt-arrow'+randID).height()/2+'px','left':parseInt(dragwrapper.css('left'), 10)-14+'px'}).animate({opacity:1,left:parseInt($('#lt-arrow'+randID).css('left'), 10)-6+'px'},200);
155
+ $('#rt-arrow'+randID).stop().css({'position':'absolute','top':bb.height/2-$('#lt-arrow'+randID).height()/2+'px','left':parseInt(dragwrapper.css('left'), 10)+10+'px'}).animate({opacity:1,left:parseInt($('#rt-arrow'+randID).css('left'), 10)+6+'px'},200);
156
+ },function(){
157
+ $('#lt-arrow'+randID).animate({opacity:0,left:parseInt($('#lt-arrow'+randID).css('left'),10)-6+'px'},350);
158
+ $('#rt-arrow'+randID).animate({opacity:0,left:parseInt($('#rt-arrow'+randID).css('left'),10)+6+'px'},350);
159
+ }
160
+ );
161
+
162
+ // When clicking in the container, move the bar and imageholder divs
163
+ $(obj).on('click touchmove touchstart', function(e){
137
164
  bb = obj.get()[0].getBoundingClientRect();
138
- $(obj).hover(function(){
139
- $('#lt-arrow'+randID).stop().css({'z-index':'20','position':'absolute','top':bb.height/2-$('#lt-arrow'+randID).height()/2+'px','left':parseInt(dragwrapper.css('left'), 10)-14+'px'}).animate({opacity:1,left:parseInt($('#lt-arrow'+randID).css('left'), 10)-6+'px'},200);
140
- $('#rt-arrow'+randID).stop().css({'position':'absolute','top':bb.height/2-$('#lt-arrow'+randID).height()/2+'px','left':parseInt(dragwrapper.css('left'), 10)+10+'px'}).animate({opacity:1,left:parseInt($('#rt-arrow'+randID).css('left'), 10)+6+'px'},200);
141
- },function(){
142
- $('#lt-arrow'+randID).animate({opacity:0,left:parseInt($('#lt-arrow'+randID).css('left'),10)-6+'px'},350);
143
- $('#rt-arrow'+randID).animate({opacity:0,left:parseInt($('#rt-arrow'+randID).css('left'),10)+6+'px'},350);
144
- }
145
- );
146
-
147
- // When clicking in the container, move the bar and imageholder divs
148
- $(obj).on('click touchmove touchstart', function(e){
149
- bb = obj.get()[0].getBoundingClientRect();
150
- var pageX = e.pageX || e.originalEvent.touches[0].pageX;
151
- var moveSpeed = o.clickSpeed;
152
- if(e.type == "touchmove") {
153
- moveSpeed = 10;
154
- }
155
- var clickX = pageX - $(this).offset().left;
156
- var percentualLeft = clickX / $(this).width() * 100;
157
- var percentualLeftDragger = (clickX - barOffset) / $(this).width() * 100;
158
- if (pageX < bb.left || pageX > bb.right) { return; }
159
-
160
- dragwrapper.stop().animate({'left':percentualLeftDragger+'%'},moveSpeed);
161
- beforeWrapper.stop().animate({'width':percentualLeft+'%'},moveSpeed, function() {
162
- var pos = (parseInt( $('> div:eq(2)', obj).css('width'), 10 )) / imgWidth;
163
- o.onSlide.call(this, pos);
164
- });
165
- $('#lt-arrow'+randID+',#rt-arrow'+randID).stop().animate({opacity:0},50);
165
+ var pageX = e.pageX || e.originalEvent.touches[0].pageX;
166
+ var moveSpeed = o.clickSpeed;
167
+ if(e.type == "touchmove") {
168
+ moveSpeed = 10;
169
+ }
170
+ var clickX = pageX - $(this).offset().left;
171
+ var percentualLeft = clickX / $(this).width() * 100;
172
+ var percentualLeftDragger = (clickX - barOffset) / $(this).width() * 100;
173
+ if (pageX < bb.left || pageX > bb.right) { return; }
174
+
175
+ dragwrapper.stop().animate({'left':percentualLeftDragger+'%'},moveSpeed);
176
+ beforeWrapper.stop().animate({'width':percentualLeft+'%'},moveSpeed, function() {
177
+ var pos = (parseInt( $('> div:eq(2)', obj).css('width'), 10 )) / imgWidth;
178
+ o.onSlide.call(this, pos);
166
179
  });
167
- $(obj).one('mousemove', function(){dragwrapper.stop().animate({'opacity':1},500);}); // If the mouse is over the container and we animate the intro, we run this to change the opacity when the mouse moves since the hover event doesnt get triggered yet
168
- }
180
+ $('#lt-arrow'+randID+',#rt-arrow'+randID).stop().animate({opacity:0},50);
181
+ });
182
+ $(obj).one('mousemove', function(){dragwrapper.stop().animate({'opacity':1},500);}); // If the mouse is over the container and we animate the intro, we run this to change the opacity when the mouse moves since the hover event doesnt get triggered yet
183
+ }
169
184
  }
170
185
  });
171
186
  }(jQuery));
172
-
173
-
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  </div>
8
8
 
9
- <div class="backgroundArea">
9
+ <div class="backgroundArea page_background page_background-for_page_with_player_controls">
10
10
  <div class="videoWrapper">
11
11
  <div class="before_after_container">
12
12
  <div class="before_after">
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module BeforeAfter
3
- VERSION = '0.5.0'.freeze
3
+ VERSION = '1.0.0'.freeze
4
4
  end
5
5
  end
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'pageflow', '~> 0.11'
21
- spec.add_dependency 'pageflow-public-i18n', '~> 1.0'
20
+ spec.add_dependency 'pageflow', ['>= 0.11', '< 13']
21
+ spec.add_dependency 'pageflow-public-i18n', '~> 1.8'
22
22
 
23
23
  spec.add_dependency 'jquery-ui-rails', '~> 5.0'
24
24
 
@@ -26,5 +26,5 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency 'i18n-js'
27
27
 
28
28
  # Semantic versioning rake tasks
29
- spec.add_development_dependency 'semmy', '~> 0.3.0'
29
+ spec.add_development_dependency 'semmy', '~> 1.0'
30
30
  end
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-before-after
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-09 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.11'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '13'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0.11'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '13'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: pageflow-public-i18n
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '1.0'
39
+ version: '1.8'
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '1.0'
46
+ version: '1.8'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: jquery-ui-rails
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +78,14 @@ dependencies:
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: 0.3.0
81
+ version: '1.0'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: 0.3.0
88
+ version: '1.0'
83
89
  description:
84
90
  email:
85
91
  - info@codevise.de
@@ -106,7 +112,7 @@ files:
106
112
  - app/assets/javascripts/pageflow/before_after/editor.js
107
113
  - app/assets/javascripts/pageflow/before_after/editor/before_after_embedded_view.js
108
114
  - app/assets/javascripts/pageflow/before_after/widget.js
109
- - app/assets/stylesheets/pageflow/before_after.css.scss
115
+ - app/assets/stylesheets/pageflow/before_after.scss
110
116
  - app/assets/stylesheets/pageflow/before_after/themes/default.scss
111
117
  - app/views/pageflow/before_after/page.html.erb
112
118
  - config/locales/de.yml
@@ -136,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
142
  version: '0'
137
143
  requirements: []
138
144
  rubyforge_project:
139
- rubygems_version: 2.5.1
145
+ rubygems_version: 2.6.8
140
146
  signing_key:
141
147
  specification_version: 4
142
148
  summary: Pageflow page type for before/after image slider.