slidesjs-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9ec18fd3e35400189c503535eb5ba02264abd71e
4
+ data.tar.gz: b1b60ebbbd83753ac75f113afcf1e6539d44bb55
5
+ SHA512:
6
+ metadata.gz: 649533c2d07fee19cd32509921cd807f19c35ad6039728da7e5f1efc1ecc00dd9389872de8c7ee390ad2686505d85d15d314b1892aa923268ca933df5e8ec5c9
7
+ data.tar.gz: 0031b5fa1e142af5f882adc2f6da56b3a7f4ef0579a4ea62a87ef81651a5fd51e27a6c61998230338fdbbca45857e9d1533525c7f3ffccdf7eb35ca14f6bbcb8
data/README.md CHANGED
@@ -18,7 +18,9 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ In `app/assets/javascripts/application.js`, add the following to the include directives after the directives for jQuery.
22
+
23
+ //= require jquery.slides
22
24
 
23
25
  ## Contributing
24
26
 
@@ -1,5 +1,5 @@
1
1
  module Slidesjs
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -20,5 +20,5 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
- spec.add_dependency "railties", "~> 3.1"
23
+ spec.add_dependency "railties", ">= 3.1", "<= 4.0"
24
24
  end
@@ -1,30 +1,4 @@
1
- /*
2
- SlidesJS 3.0.3
3
-
4
- Documentation and examples http://slidesjs.com
5
- Support forum http://groups.google.com/group/slidesjs
6
- Created by Nathan Searles http://nathansearles.com
7
-
8
- Version: 3.0.3
9
- Updated: March 15th, 2013
10
-
11
- SlidesJS is an open source project, contribute at GitHub:
12
- https://github.com/nathansearles/Slides
13
-
14
- (c) 2013 by Nathan Searles
15
-
16
- Licensed under the Apache License, Version 2.0 (the "License");
17
- you may not use this file except in compliance with the License.
18
- You may obtain a copy of the License at
19
-
20
- http://www.apache.org/licenses/LICENSE-2.0
21
-
22
- Unless required by applicable law or agreed to in writing, software
23
- distributed under the License is distributed on an "AS IS" BASIS,
24
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25
- See the License for the specific language governing permissions and
26
- limitations under the License.
27
- */
1
+ // Generated by CoffeeScript 1.6.1
28
2
  (function() {
29
3
 
30
4
  (function($, window, document) {
@@ -226,7 +200,7 @@
226
200
  this.data = $.data(this);
227
201
  current = number > -1 ? number : this.data.current;
228
202
  $(".active", $element).removeClass("active");
229
- return $("li:eq(" + current + ") a", $element).addClass("active");
203
+ return $(".slidesjs-pagination li:eq(" + current + ") a", $element).addClass("active");
230
204
  };
231
205
  Plugin.prototype.update = function() {
232
206
  var $element, height, width;
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slidesjs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Daniel Libanori
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-23 00:00:00.000000000 Z
11
+ date: 2013-07-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,35 +27,37 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: railties
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '3.1'
48
+ - - <=
49
+ - !ruby/object:Gem::Version
50
+ version: '4.0'
54
51
  type: :runtime
55
52
  prerelease: false
56
53
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
54
  requirements:
59
- - - ~>
55
+ - - '>='
60
56
  - !ruby/object:Gem::Version
61
57
  version: '3.1'
58
+ - - <=
59
+ - !ruby/object:Gem::Version
60
+ version: '4.0'
62
61
  description: Slidesjs assets for Rails 3.1
63
62
  email:
64
63
  - daniellibanori@gmail.com
@@ -79,27 +78,25 @@ files:
79
78
  homepage: https://github.com/dlibanori/slidesjs-rails
80
79
  licenses:
81
80
  - MIT
81
+ metadata: {}
82
82
  post_install_message:
83
83
  rdoc_options: []
84
84
  require_paths:
85
85
  - lib
86
86
  required_ruby_version: !ruby/object:Gem::Requirement
87
- none: false
88
87
  requirements:
89
- - - ! '>='
88
+ - - '>='
90
89
  - !ruby/object:Gem::Version
91
90
  version: '0'
92
91
  required_rubygems_version: !ruby/object:Gem::Requirement
93
- none: false
94
92
  requirements:
95
- - - ! '>='
93
+ - - '>='
96
94
  - !ruby/object:Gem::Version
97
95
  version: '0'
98
96
  requirements: []
99
97
  rubyforge_project:
100
- rubygems_version: 1.8.23
98
+ rubygems_version: 2.0.2
101
99
  signing_key:
102
- specification_version: 3
100
+ specification_version: 4
103
101
  summary: Slidesjs assets for Rails 3.1
104
102
  test_files: []
105
- has_rdoc: