colorbox-rails 0.0.5 → 0.0.6
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.rdoc +18 -0
- data/app/controllers/{colorbox-rails → colorbox_rails}/application_controller.rb +0 -0
- data/app/helpers/{colorbox-rails → colorbox_rails}/application_helper.rb +0 -0
- data/app/views/layouts/{colorbox-rails → colorbox_rails}/application.html.erb +0 -0
- data/lib/colorbox-rails/version.rb +1 -1
- metadata +7 -7
data/README.rdoc
CHANGED
@@ -1,3 +1,21 @@
|
|
1
1
|
= ColorboxRails
|
2
2
|
|
3
|
+
Make links open in lightbox (colorbox) a breeze
|
4
|
+
|
5
|
+
= Usage
|
6
|
+
|
7
|
+
in your application.css
|
8
|
+
|
9
|
+
<tt>//= require colorbox-rails</tt>
|
10
|
+
|
11
|
+
in your application.js
|
12
|
+
|
13
|
+
<tt>//= require colorbox-rails</tt>
|
14
|
+
|
15
|
+
|
16
|
+
Then enable link to be displayed in colorbox by simply adding :colorbox => true attribute. E.g.
|
17
|
+
|
18
|
+
<tt><%= link_to "My superb link", "#", :colorbox => true %></tt>
|
19
|
+
|
20
|
+
|
3
21
|
This project rocks and uses MIT-LICENSE.
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: colorbox-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "B\xC5\x82a\xC5\xBCej Kosmowski"
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-11-
|
19
|
+
date: 2011-11-14 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: rails
|
@@ -58,9 +58,6 @@ extensions: []
|
|
58
58
|
extra_rdoc_files: []
|
59
59
|
|
60
60
|
files:
|
61
|
-
- app/controllers/colorbox-rails/application_controller.rb
|
62
|
-
- app/helpers/colorbox-rails/application_helper.rb
|
63
|
-
- app/views/layouts/colorbox-rails/application.html.erb
|
64
61
|
- app/assets/images/colorbox-rails/ie6/borderBottomCenter.png
|
65
62
|
- app/assets/images/colorbox-rails/ie6/borderBottomLeft.png
|
66
63
|
- app/assets/images/colorbox-rails/ie6/borderBottomRight.png
|
@@ -79,6 +76,9 @@ files:
|
|
79
76
|
- app/assets/javascripts/colorbox-rails/jquery.colorbox-min.js
|
80
77
|
- app/assets/javascripts/colorbox-rails/colorbox-links.js
|
81
78
|
- app/assets/javascripts/colorbox-rails.js
|
79
|
+
- app/controllers/colorbox_rails/application_controller.rb
|
80
|
+
- app/helpers/colorbox_rails/application_helper.rb
|
81
|
+
- app/views/layouts/colorbox_rails/application.html.erb
|
82
82
|
- config/routes.rb
|
83
83
|
- lib/colorbox-rails.rb
|
84
84
|
- lib/tasks/colorbox-rails_tasks.rake
|