anything_slider_rails 0.0.1 → 0.0.2

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.
@@ -1,3 +1,3 @@
1
1
  module AnythingSliderRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,42 @@
1
+ # AnythingSlider for Rails
2
+
3
+ **AnythingSliderRails** packages the anything slider jquery plugin and stylesheets and allows you to merely include the required scripts in your manifest in order to start using the plugin.
4
+
5
+ # Included Javascripts
6
+ **minified js files are not included, since the rails asset pipeline sorta necessitates the compiling (and likely minifying) your js files for production**
7
+
8
+ jquery.anythingslider.fx.js
9
+ jquery.anythingslider.js
10
+ jquery.anythingslider.video.js
11
+ jquery.easing.1.2.js
12
+ swfobject.js
13
+
14
+ # Included Stylesheets
15
+
16
+ animate.css
17
+ anythingslider-ie.css
18
+ anythingslider.css
19
+ theme-construction.css
20
+ theme-cs-portfolio.css
21
+ theme-metallic.css
22
+ theme-minimalist-round.css
23
+ theme-minimalist-square.css
24
+
25
+ ### Installation
26
+
27
+ This gem should work out of the box. All you have to do is add the gem to your Gemfile:
28
+
29
+ gem 'anything_slider_rails'
30
+
31
+ Then bundle install or update (depending on if you want to upgrade an older version of this gem).
32
+
33
+ bundle install
34
+ bundle update
35
+
36
+ In your assets/javascripts/application.js, you will need to add d3 to your manifest:
37
+
38
+ //= require jquery
39
+ .
40
+ .
41
+ //= require jquery.anythingslider
42
+
@@ -124,7 +124,7 @@ div.anythingSlider .arrow a {
124
124
  width: 45px;
125
125
  text-align: center;
126
126
  outline: 0;
127
- background: url(../images/default.png) no-repeat;
127
+ background: url('<%=image_path("default.png")%>') no-repeat;
128
128
  }
129
129
  /* hide text, target the span so IE7 doesn't text-indent the link */
130
130
  div.anythingSlider .arrow a span { display: block; visibility: hidden; }
@@ -150,7 +150,7 @@ div.anythingSlider .anythingControls ul a {
150
150
  padding: 2px 8px;
151
151
  height: 18px;
152
152
  margin: 0 5px 0 0;
153
- background-image: url(../images/default.png);
153
+ background-image: url('<%=image_path("default.png")%>');
154
154
  background-position: center -288px ;
155
155
  background-repeat: repeat-x;
156
156
  text-align: center;
@@ -176,7 +176,7 @@ div.anythingSlider.rtl .anythingWindow {
176
176
 
177
177
  /* Autoplay Start/Stop button */
178
178
  div.anythingSlider .start-stop {
179
- background-image: url(../images/default.png);
179
+ background-image: url('<%=image_path("default.png")%>');
180
180
  background-position: center -288px;
181
181
  background-repeat: repeat-x;
182
182
  padding: 2px 5px;
@@ -31,7 +31,7 @@ div.anythingSlider-construction .arrow a {
31
31
  margin-top: -150px; /* half height of image */
32
32
  width: 45px;
33
33
  outline: 0;
34
- background: url(../images/construction.gif) no-repeat;
34
+ background: url('<%=image_path("construction.gif")%>') no-repeat;
35
35
  }
36
36
 
37
37
  div.anythingSlider-construction .forward a {
@@ -74,7 +74,7 @@ div.anythingSlider-construction .anythingControls ul li {
74
74
  div.anythingSlider-construction .anythingControls ul a, div.anythingSlider-construction.activeSlider .anythingControls ul a,
75
75
  div.anythingSlider-construction .anythingControls a.start-stop {
76
76
  display: block;
77
- background: transparent url(../images/construction.gif) -36px -301px no-repeat;
77
+ background: transparent url('<%=image_path("construction.gif")%>') -36px -301px no-repeat;
78
78
  border: 0;
79
79
  height: 15px;
80
80
  width: 15px;
@@ -84,7 +84,7 @@ div.anythingSlider-construction .anythingControls a.start-stop {
84
84
  }
85
85
  div.anythingSlider-construction div.anythingControls a:hover, div.anythingSlider-construction .anythingControls ul a.cur,
86
86
  div.anythingSlider-construction.activeSlider .anythingControls ul a.cur {
87
- background: transparent url(../images/construction.gif) -21px -301px no-repeat;
87
+ background: transparent url('<%=image_path("construction.gif")%>') -21px -301px no-repeat;
88
88
  }
89
89
 
90
90
  /* Navigation size window arrows */
@@ -95,7 +95,7 @@ div.anythingSlider-construction .anythingControls li.next a, div.anythingSlider-
95
95
  border-radius: 0;
96
96
  -moz-border-radius: 0;
97
97
  -webkit-border-radius: 0;
98
- background: transparent url(../images/construction.gif) no-repeat;
98
+ background: transparent url('<%=image_path("construction.gif")%>') no-repeat;
99
99
  }
100
100
  div.anythingSlider-construction .anythingControls li.next a {
101
101
  background-position: -78px -144px;
@@ -104,10 +104,10 @@ div.anythingSlider-construction .anythingControls li.prev a {
104
104
  background-position: -12px -144px;
105
105
  }
106
106
  div.anythingSlider-construction .anythingControls li.next a:hover {
107
- background: transparent url(../images/construction.gif) -76px -144px no-repeat;
107
+ background: transparent url('<%=image_path("construction.gif")%>') -76px -144px no-repeat;
108
108
  }
109
109
  div.anythingSlider-construction .anythingControls li.prev a:hover {
110
- background: transparent url(../images/construction.gif) -14px -144px no-repeat;
110
+ background: transparent url('<%=image_path("construction.gif")%>') -14px -144px no-repeat;
111
111
  }
112
112
 
113
113
  /* slider autoplay right-to-left, reverse order of nav links to look better */
@@ -118,7 +118,7 @@ div.anythingSlider-construction.rtl .anythingControls ul { float: left; } /*
118
118
  /* Autoplay Start/Stop button */
119
119
  div.anythingSlider-construction .anythingControls a.start-stop {
120
120
  display: inline-block;
121
- background: transparent url(../images/construction.gif) -66px -301px no-repeat;
121
+ background: transparent url('<%=image_path("construction.gif")%>') -66px -301px no-repeat;
122
122
  z-index: 100;
123
123
  float: right;
124
124
  }
@@ -56,7 +56,7 @@ div.anythingSlider-minimalist-round .arrow a {
56
56
  width: 30px;
57
57
  text-align: center;
58
58
  outline: 0;
59
- background: url(../images/arrows-minimalist.png) no-repeat;
59
+ background: url('<%=image_path("arrows-minimalist.png")%>') no-repeat;
60
60
  }
61
61
  div.anythingSlider-minimalist-round .forward { right: 0; }
62
62
  div.anythingSlider-minimalist-round .back { left: 0; }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anything_slider_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-21 00:00:00.000000000Z
12
+ date: 2012-01-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70223743075200 !ruby/object:Gem::Requirement
16
+ requirement: &70275279161640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70223743075200
24
+ version_requirements: *70275279161640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70223743074540 !ruby/object:Gem::Requirement
27
+ requirement: &70275279158720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70223743074540
35
+ version_requirements: *70275279158720
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rails
38
- requirement: &70223743073960 !ruby/object:Gem::Requirement
38
+ requirement: &70275279157520 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '3.1'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70223743073960
46
+ version_requirements: *70275279157520
47
47
  description: Gem installation of jquery plugin, AnythingSlider
48
48
  email:
49
49
  - han@logicallsat.com
@@ -60,6 +60,7 @@ files:
60
60
  - lib/anything_slider_rails/engine.rb
61
61
  - lib/anything_slider_rails/version.rb
62
62
  - readme.MD
63
+ - readme.markdown
63
64
  - vendor/.DS_Store
64
65
  - vendor/assets/.DS_Store
65
66
  - vendor/assets/images/arrows-metallic.png