fancybox-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,11 +1,11 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "rails", "3.1.0.beta1"
3
+ gem "rails", "3.1.0.rc4"
4
4
  gem "capybara", :git => "https://github.com/jnicklas/capybara"
5
5
  gem "sqlite3"
6
6
 
7
7
  # Asset template engines
8
- gem 'sprockets', '2.0.0.beta.2'
8
+ gem 'sprockets', '2.0.0.beta.10'
9
9
  gem 'sass'
10
10
  gem 'coffee-script'
11
11
  gem 'uglifier'
@@ -1,6 +1,3 @@
1
- module Fancybox
2
- module Rails
3
- class Engine < ::Rails::Engine
4
- end
5
- end
1
+ if defined? Rails && Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
2
+ require 'fancybox-rails/engine'
6
3
  end
@@ -0,0 +1,6 @@
1
+ module Fancybox
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fancybox-rails
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 25
4
5
  prerelease:
5
- version: 0.1.0
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
6
11
  platform: ruby
7
12
  authors:
8
13
  - Chris Mytton
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-05-24 00:00:00 Z
18
+ date: 2011-06-11 00:00:00 Z
14
19
  dependencies: []
15
20
 
16
21
  description: This gem provides jQuery FancyBox for your Rails 3.1 application.
@@ -24,6 +29,7 @@ extra_rdoc_files: []
24
29
 
25
30
  files:
26
31
  - lib/fancybox-rails.rb
32
+ - lib/fancybox-rails/engine.rb
27
33
  - vendor/assets/javascripts/jquery.fancybox.js
28
34
  - vendor/assets/javascripts/fancybox.js
29
35
  - vendor/assets/images/fancy_title_main.png
@@ -65,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - ">="
67
73
  - !ruby/object:Gem::Version
68
- hash: 729722657
74
+ hash: 3
69
75
  segments:
70
76
  - 0
71
77
  version: "0"
@@ -74,11 +80,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
80
  requirements:
75
81
  - - ">="
76
82
  - !ruby/object:Gem::Version
83
+ hash: 3
84
+ segments:
85
+ - 0
77
86
  version: "0"
78
87
  requirements: []
79
88
 
80
89
  rubyforge_project:
81
- rubygems_version: 1.8.1
90
+ rubygems_version: 1.8.5
82
91
  signing_key:
83
92
  specification_version: 3
84
93
  summary: Use FancyBox with Rails 3.1