fancybox 0.0.11 → 0.0.12

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.
@@ -0,0 +1,6 @@
1
+ module Fancybox
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module Fancybox
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
data/lib/fancybox.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require "fancybox/version"
2
2
 
3
- module Fancybox
4
- # Your code goes here...
3
+ if defined? Rails
4
+ require 'fancybox/engine'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fancybox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -25,6 +25,7 @@ files:
25
25
  - Rakefile
26
26
  - fancybox.gemspec
27
27
  - lib/fancybox.rb
28
+ - lib/fancybox/engine.rb
28
29
  - lib/fancybox/version.rb
29
30
  - vendor/assets/images/fancybox/2.1.3/blank.gif
30
31
  - vendor/assets/images/fancybox/2.1.3/fancybox_loading.gif