facebox-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/README.md +19 -1
- data/lib/facebox-rails.rb +3 -9
- data/lib/facebox-rails/version.rb +1 -1
- metadata +40 -49
- data/lib/facebox-rails/railtie.rb +0 -10
data/README.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1
1
|
# facebox-rails
|
2
2
|
|
3
|
-
A
|
3
|
+
A gemified Facebox for Rails.
|
4
|
+
|
5
|
+
# Rails 3.1
|
6
|
+
|
7
|
+
Add it to your Gemfile:
|
8
|
+
|
9
|
+
gem 'facebox-rails'
|
10
|
+
|
11
|
+
Include in your `app/assets/stylesheets/application.css`:
|
12
|
+
|
13
|
+
/*
|
14
|
+
* ...
|
15
|
+
*= require jquery.facebox
|
16
|
+
* ...
|
17
|
+
*/
|
18
|
+
|
19
|
+
And in `app/assets/javascripts/application.js`:
|
20
|
+
|
21
|
+
//= require jquery.facebox
|
data/lib/facebox-rails.rb
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
require 'facebox-rails/railtie'
|
5
|
-
else
|
6
|
-
require 'facebox-rails/engine'
|
7
|
-
end
|
8
|
-
end
|
9
|
-
end
|
1
|
+
if defined? Rails && Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
|
2
|
+
require 'facebox-rails/engine'
|
3
|
+
end
|
metadata
CHANGED
@@ -1,65 +1,60 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebox-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.1.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- beawesomeinstead
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-11-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: railties
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70345063277460 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
18
|
+
requirements:
|
21
19
|
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.0'
|
24
22
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: thor
|
28
23
|
prerelease: false
|
29
|
-
|
24
|
+
version_requirements: *70345063277460
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: thor
|
27
|
+
requirement: &70345063275600 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
29
|
+
requirements:
|
32
30
|
- - ~>
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.14'
|
35
33
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: rails
|
39
34
|
prerelease: false
|
40
|
-
|
35
|
+
version_requirements: *70345063275600
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rails
|
38
|
+
requirement: &70345063273360 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
40
|
+
requirements:
|
43
41
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.0'
|
46
44
|
type: :development
|
47
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70345063273360
|
48
47
|
description: This gem provides Facebox for your Rails 3 application.
|
49
48
|
email: graf.otodrakula@gmail.com
|
50
49
|
executables: []
|
51
|
-
|
52
50
|
extensions: []
|
53
|
-
|
54
51
|
extra_rdoc_files: []
|
55
|
-
|
56
|
-
files:
|
52
|
+
files:
|
57
53
|
- README.md
|
58
54
|
- Rakefile
|
59
55
|
- facebox-rails.gemspec
|
60
56
|
- lib/facebox-rails.rb
|
61
57
|
- lib/facebox-rails/engine.rb
|
62
|
-
- lib/facebox-rails/railtie.rb
|
63
58
|
- lib/facebox-rails/version.rb
|
64
59
|
- test/.gitkeep
|
65
60
|
- vendor/assets/images/facebox/closelabel.png
|
@@ -68,30 +63,26 @@ files:
|
|
68
63
|
- vendor/assets/stylesheets/jquery.facebox.css
|
69
64
|
homepage: http://github.com/bai/facebox-rails
|
70
65
|
licenses: []
|
71
|
-
|
72
66
|
post_install_message:
|
73
67
|
rdoc_options: []
|
74
|
-
|
75
|
-
require_paths:
|
68
|
+
require_paths:
|
76
69
|
- lib
|
77
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
71
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version:
|
83
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
77
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
88
81
|
version: 1.3.6
|
89
82
|
requirements: []
|
90
|
-
|
91
|
-
|
92
|
-
rubygems_version: 1.7.2
|
83
|
+
rubyforge_project: ! '[none]'
|
84
|
+
rubygems_version: 1.8.10
|
93
85
|
signing_key:
|
94
86
|
specification_version: 3
|
95
87
|
summary: Use Facebox with Rails 3
|
96
88
|
test_files: []
|
97
|
-
|