smoothslider 1.0.1 → 1.0.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
  SHA1:
3
- metadata.gz: 2ad25e04b0a51a7087552fe9055c9b6c3be98a28
4
- data.tar.gz: d1b115d99fb9bc5981cd3747987e7966ea732331
3
+ metadata.gz: 9cf01c90addab74d0aa745378216e1cf9bb005cd
4
+ data.tar.gz: 669950c21f8b7945801b849a0854cc17c37621aa
5
5
  SHA512:
6
- metadata.gz: 0e553eb8b261c2c19167ced39dcc758de52ff1862619c499eb69a5a511b3db88417bf13b796de392d2897bca72f38b89c9a7f7b6ec065dba5aba7832b423ad2f
7
- data.tar.gz: eb58b9158b38d3414d2f07b7273667894a11646c2962d7db0af85273e8ba97d7f267d0e546612a762c382b224a994c09bb534f2ea52d3b3af9ed4c90e93bd64a
6
+ metadata.gz: ecc3e2cf41c7cc2b5741a002e2af5bc7f8dc582a1cdeb5c69e9080740a16f3a031c2c5eb1c94f43cad569db628dd88ebf2672e9f4d68b46d4e4be6bff1decd62
7
+ data.tar.gz: 65ca0405a4944c357d4a882315dd6d50fedfb11215cfb934f3a844edd3cd724122237230b6245a0aa5fb48b4c937f00fc4143c8bffd6668c78e3b50bfc7fac9e
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ git_source(:github) {|repo_name| "https://github.com/#{smoothslider}" }
4
4
 
5
5
  # Specify your gem's dependencies in smoothslider.gemspec
6
6
  gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ smoothslider (1.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.5.0)
11
+ rspec (3.7.0)
12
+ rspec-core (~> 3.7.0)
13
+ rspec-expectations (~> 3.7.0)
14
+ rspec-mocks (~> 3.7.0)
15
+ rspec-core (3.7.1)
16
+ rspec-support (~> 3.7.0)
17
+ rspec-expectations (3.7.0)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.7.0)
20
+ rspec-mocks (3.7.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.7.0)
23
+ rspec-support (3.7.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ bundler (~> 1.16)
30
+ rake (~> 10.0)
31
+ rspec (~> 3.0)
32
+ smoothslider!
33
+
34
+ BUNDLED WITH
35
+ 1.16.1
data/README.md CHANGED
@@ -413,56 +413,7 @@ $(window).load(function() {
413
413
  });
414
414
  });
415
415
  ```
416
- 11.Video & the api (wistia)
417
- ```html
418
- <div class="smoothslider">
419
- <ul class="slides">
420
- <li>
421
- <iframe id="player_1" src="http://fast.wistia.com/embed/iframe/t4yniozocs?controlsVisibleOnLoad=true&playerColor=474745&version=v1&videoHeight=366&videoWidth=650&volumeControl=true&videoFoam=true" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" width="650" height="366"></iframe>
422
- </li>
423
- <li>
424
- <img src="slide2.jpg" />
425
- </li>
426
- <li>
427
- <img src="slide3.jpg" />
428
- </li>
429
- <li>
430
- <img src="slide4.jpg" />
431
- </li>
432
- </ul>
433
- </div>
434
- ```
435
- ```js
436
- // Can also be used with $(document).ready()
437
- $(window).load(function(){
438
- // Wistia handler.
439
- wistiaEmbed = document.getElementById( 'player_1' ).wistiaApi;
440
-
441
- // Call fitVid before smoothslider initializes, so the proper initial height can be retrieved.
442
- $( '.smoothslider' )
443
- .fitVids()
444
- .smoothslider({
445
- animation: 'slide',
446
- useCSS: false,
447
- animationLoop: false,
448
- smoothHeight: true,
449
- start: function( slider ) {
450
- $('body').removeClass( 'loading' );
451
- },
452
- before: function ( slider ) {
453
- wistiaEmbed.pause();
454
- }
455
- });
456
-
457
- wistiaEmbed.bind( 'play', function() {
458
- jQuery( '.smoothslider' ).smoothslider( 'pause' );
459
- });
460
-
461
- wistiaEmbed.bind( 'end', function() {
462
- jQuery( '.smoothslider' ).smoothslider( 'play' );
463
- });
464
- });
465
- ```
416
+
466
417
  ## Development
467
418
 
468
419
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,3 +1,3 @@
1
1
  module Smoothslider
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smoothslider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arjun Ghimire
@@ -65,6 +65,7 @@ files:
65
65
  - ".travis.yml"
66
66
  - CODE_OF_CONDUCT.md
67
67
  - Gemfile
68
+ - Gemfile.lock
68
69
  - LICENSE.txt
69
70
  - README.md
70
71
  - Rakefile