seamusabshere-scriptaculous_slider 1.2.0 → 1.2.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.
- data/README +32 -0
- data/VERSION.yml +2 -1
- data/lib/helpers/slider_helper.rb +1 -1
- metadata +25 -12
data/README
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
script.aculo.us Slider
|
2
|
+
======================
|
3
|
+
|
4
|
+
This plugin provides helpers for the script.aculo.us slider control.
|
5
|
+
|
6
|
+
Installation:
|
7
|
+
|
8
|
+
You need to run:
|
9
|
+
|
10
|
+
rake scriptaculous_slider_install
|
11
|
+
|
12
|
+
to install the necessary slider.js file in your public/javascripts folder.
|
13
|
+
|
14
|
+
Usage:
|
15
|
+
|
16
|
+
Example:
|
17
|
+
<%= slider_stylesheet %>
|
18
|
+
<%= slider_field :object, :method, :range => 1..10 %>
|
19
|
+
|
20
|
+
slider_field uses a hidden field internally that gets set automatically
|
21
|
+
when using the Slider.
|
22
|
+
|
23
|
+
slider_stylesheet builds a stylesheet for the slider (examine the output and
|
24
|
+
copy/paste to your own CSS files).
|
25
|
+
|
26
|
+
To see the full functionality and possibilities of the slider control,
|
27
|
+
have a look at the functional and unit tests provided in the script.aculo.us
|
28
|
+
GIT repository, see http://github.com/madrobby/scriptaculous/tree/master.
|
29
|
+
|
30
|
+
For discussion of this plugin use the Prototype / Scriptaculous Google group (http://groups.google.com/group/prototype-scriptaculous)!
|
31
|
+
|
32
|
+
Copyright (c) 2005 Marty Haught, Thomas Fuchs, released under the MIT license
|
data/VERSION.yml
CHANGED
@@ -78,7 +78,7 @@ module ActionView
|
|
78
78
|
hidden_field(object, method) <<
|
79
79
|
content_tag('div',content_tag('div', ''),
|
80
80
|
:class => 'slider', :id => "#{object}_#{method}_slider") <<
|
81
|
-
slider_element("#{object}_#{method}_slider", options)
|
81
|
+
slider_element("#{object}_#{method}_slider", options).html_safe
|
82
82
|
end
|
83
83
|
|
84
84
|
def slider_stylesheet
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seamusabshere-scriptaculous_slider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
- 2
|
10
|
+
version: 1.2.2
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Nico Bounga
|
@@ -12,7 +18,7 @@ autorequire:
|
|
12
18
|
bindir: bin
|
13
19
|
cert_chain: []
|
14
20
|
|
15
|
-
date:
|
21
|
+
date: 2010-06-09 00:00:00 -04:00
|
16
22
|
default_executable:
|
17
23
|
dependencies: []
|
18
24
|
|
@@ -22,43 +28,50 @@ executables: []
|
|
22
28
|
|
23
29
|
extensions: []
|
24
30
|
|
25
|
-
extra_rdoc_files:
|
26
|
-
|
31
|
+
extra_rdoc_files:
|
32
|
+
- README
|
27
33
|
files:
|
28
34
|
- VERSION.yml
|
29
|
-
- lib/helpers
|
30
|
-
- lib/helpers/slider_helper.rb
|
31
|
-
- lib/scriptaculous_slider.rb
|
32
35
|
- init.rb
|
33
36
|
- javascripts/slider.js
|
37
|
+
- lib/helpers/slider_helper.rb
|
38
|
+
- lib/scriptaculous_slider.rb
|
34
39
|
- rails/init.rb
|
35
40
|
- tasks/scriptaculous_slider.rake
|
41
|
+
- README
|
36
42
|
has_rdoc: true
|
37
43
|
homepage: http://github.com/Bounga/scriptaculous_slider
|
44
|
+
licenses: []
|
45
|
+
|
38
46
|
post_install_message:
|
39
47
|
rdoc_options:
|
40
|
-
- --inline-source
|
41
48
|
- --charset=UTF-8
|
42
49
|
require_paths:
|
43
50
|
- lib
|
44
51
|
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
45
53
|
requirements:
|
46
54
|
- - ">="
|
47
55
|
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
48
59
|
version: "0"
|
49
|
-
version:
|
50
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
51
62
|
requirements:
|
52
63
|
- - ">="
|
53
64
|
- !ruby/object:Gem::Version
|
65
|
+
hash: 3
|
66
|
+
segments:
|
67
|
+
- 0
|
54
68
|
version: "0"
|
55
|
-
version:
|
56
69
|
requirements: []
|
57
70
|
|
58
71
|
rubyforge_project:
|
59
|
-
rubygems_version: 1.
|
72
|
+
rubygems_version: 1.3.7
|
60
73
|
signing_key:
|
61
|
-
specification_version:
|
74
|
+
specification_version: 3
|
62
75
|
summary: Scriptaculous slider plugin
|
63
76
|
test_files: []
|
64
77
|
|