fancybox-rails 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.md +2 -2
- data/Rakefile +1 -13
- data/vendor/assets/javascripts/fancybox.js +1 -0
- data/vendor/assets/stylesheets/fancybox.css +3 -0
- metadata +7 -5
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -21,7 +21,7 @@ Now you need to edit your `app/assets/javascripts/application.js`
|
|
21
21
|
file and add the following line:
|
22
22
|
|
23
23
|
``` javascript
|
24
|
-
//= require
|
24
|
+
//= require fancybox
|
25
25
|
```
|
26
26
|
|
27
27
|
And then edit your `app/assets/stylesheets/application.css` file to
|
@@ -30,7 +30,7 @@ look something like:
|
|
30
30
|
``` css
|
31
31
|
/*
|
32
32
|
*= require_self
|
33
|
-
*= require
|
33
|
+
*= require fancybox
|
34
34
|
*= require_tree .
|
35
35
|
*/
|
36
36
|
```
|
data/Rakefile
CHANGED
@@ -1,18 +1,14 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
require 'rubygems'
|
3
2
|
begin
|
4
3
|
require 'bundler/setup'
|
5
4
|
rescue LoadError
|
6
5
|
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
7
6
|
end
|
8
7
|
|
9
|
-
|
10
|
-
require 'rake/rdoctask'
|
8
|
+
Bundler::GemHelper.install_tasks
|
11
9
|
|
12
10
|
require 'rake/testtask'
|
13
11
|
|
14
|
-
Bundler::GemHelper.install_tasks
|
15
|
-
|
16
12
|
Rake::TestTask.new(:test) do |t|
|
17
13
|
t.libs << 'lib'
|
18
14
|
t.libs << 'test'
|
@@ -21,11 +17,3 @@ Rake::TestTask.new(:test) do |t|
|
|
21
17
|
end
|
22
18
|
|
23
19
|
task :default => :test
|
24
|
-
|
25
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
26
|
-
rdoc.rdoc_dir = 'rdoc'
|
27
|
-
rdoc.title = 'Fancybox::Rails'
|
28
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
29
|
-
rdoc.rdoc_files.include('README.rdoc')
|
30
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
31
|
-
end
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require jquery.fancybox
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: fancybox-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0
|
5
|
+
version: 0.1.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Chris Mytton
|
@@ -10,10 +10,10 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-24 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
16
|
+
description: This gem provides jQuery FancyBox for your Rails 3.1 application.
|
17
17
|
email:
|
18
18
|
- self@hecticjeff.net
|
19
19
|
executables: []
|
@@ -25,6 +25,7 @@ extra_rdoc_files: []
|
|
25
25
|
files:
|
26
26
|
- lib/fancybox-rails.rb
|
27
27
|
- vendor/assets/javascripts/jquery.fancybox.js
|
28
|
+
- vendor/assets/javascripts/fancybox.js
|
28
29
|
- vendor/assets/images/fancy_title_main.png
|
29
30
|
- vendor/assets/images/fancy_nav_left.png
|
30
31
|
- vendor/assets/images/fancybox-x.png
|
@@ -46,6 +47,7 @@ files:
|
|
46
47
|
- vendor/assets/images/fancy_shadow_s.png
|
47
48
|
- vendor/assets/images/fancy_shadow_ne.png
|
48
49
|
- vendor/assets/stylesheets/jquery.fancybox.css
|
50
|
+
- vendor/assets/stylesheets/fancybox.css
|
49
51
|
- MIT-LICENSE
|
50
52
|
- Rakefile
|
51
53
|
- Gemfile
|
@@ -63,7 +65,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
65
|
requirements:
|
64
66
|
- - ">="
|
65
67
|
- !ruby/object:Gem::Version
|
66
|
-
hash:
|
68
|
+
hash: 729722657
|
67
69
|
segments:
|
68
70
|
- 0
|
69
71
|
version: "0"
|
@@ -79,6 +81,6 @@ rubyforge_project:
|
|
79
81
|
rubygems_version: 1.8.1
|
80
82
|
signing_key:
|
81
83
|
specification_version: 3
|
82
|
-
summary: Use
|
84
|
+
summary: Use FancyBox with Rails 3.1
|
83
85
|
test_files: []
|
84
86
|
|