lightbox-bootstrap-rails 3.3.0.1 → 3.3.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08c1b5ea2e4ea17fd3f8f5b040ef4dc8ad87a580
|
4
|
+
data.tar.gz: 5ca526abbf134a2a3cb1ac9d9025bb14197b025c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 519a68d94dad5686504454e3d28e2549baed2efa8c2f8977da84c1608758afea31ffd176f567e9f712b61fd5ea2e51ba9fdd3fa5d37151560646f5cac9bd1711
|
7
|
+
data.tar.gz: cedfef0a3a3ac4032449877e05bad8c1fdf1c6a60104c76513c82e5994c3ee0717686dbee9205694c272a44d325ac57d43da26d0bfe0099025914bf7481e80b3
|
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
This gem was built for the use of 'Lightbox for Bootstrap 3' as Rails assets pipeline and you can look for the detailed documents at http://ashleydw.github.io/lightbox/
|
4
4
|
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/lightbox-bootstrap-rails.svg)](http://badge.fury.io/rb/lightbox-bootstrap-rails)
|
5
6
|
|
6
7
|
## Installation
|
7
8
|
|
@@ -13,17 +14,21 @@ gem 'lightbox-bootstrap-rails'
|
|
13
14
|
|
14
15
|
And then execute:
|
15
16
|
|
16
|
-
|
17
|
+
```bash
|
18
|
+
$ bundle
|
19
|
+
```
|
17
20
|
|
18
21
|
Or install it yourself as:
|
19
22
|
|
20
|
-
|
23
|
+
```bash
|
24
|
+
$ gem install lightbox-bootstrap-rails
|
25
|
+
```
|
21
26
|
|
22
27
|
## Usage
|
23
28
|
|
24
29
|
in assets/javascripts/application.js
|
25
30
|
|
26
|
-
```
|
31
|
+
``` javascript
|
27
32
|
//= ...
|
28
33
|
//= require lightbox-bootstrap
|
29
34
|
//= ...
|
@@ -31,17 +36,26 @@ in assets/javascripts/application.js
|
|
31
36
|
|
32
37
|
in assets/stylesheets/application.scss
|
33
38
|
|
34
|
-
```
|
39
|
+
``` css
|
35
40
|
...
|
36
41
|
@import "bootstrap-sprockets";
|
37
42
|
@import "bootstrap";
|
38
|
-
@import "lightbox-bootstrap
|
43
|
+
@import "lightbox-bootstrap"
|
39
44
|
...
|
40
45
|
```
|
41
46
|
|
42
|
-
|
47
|
+
or in assets/stylesheets/application.css
|
43
48
|
|
49
|
+
``` css
|
50
|
+
/*...
|
51
|
+
*= require lightbox-bootstrap
|
52
|
+
*= require ...
|
53
|
+
*/
|
44
54
|
```
|
55
|
+
|
56
|
+
Finally, you should add `assets/stylesheets/lightbox_bootstraped.coffee` as follows:
|
57
|
+
|
58
|
+
``` coffee
|
45
59
|
$(document).delegate '*[data-toggle="lightbox"]', 'click', (event) ->
|
46
60
|
event.preventDefault()
|
47
61
|
$(this).ekkoLightbox()
|
@@ -54,8 +68,9 @@ Among the gem sources, a test application is provided and there you can find how
|
|
54
68
|
|
55
69
|
# Changelog
|
56
70
|
|
57
|
-
-v 3.3.0.0 : initially created.
|
58
|
-
-v 3.3.0.1 : deployed to Rubygems.org
|
71
|
+
- v 3.3.0.0 : initially created.
|
72
|
+
- v 3.3.0.1 : deployed to Rubygems.org
|
73
|
+
- v 3.3.0.2 : modified @import stylesheet syntax
|
59
74
|
|
60
75
|
|
61
76
|
## Contributing
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "lightbox-bootstrap/ekko-lightbox.min"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lightbox-bootstrap-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.0.
|
4
|
+
version: 3.3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hyo Seong Choi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,9 +52,9 @@ files:
|
|
52
52
|
- vendor/assets/javascripts/lightbox-bootstrap/ekko-lightbox.js
|
53
53
|
- vendor/assets/javascripts/lightbox-bootstrap/ekko-lightbox.min.js
|
54
54
|
- vendor/assets/javascripts/lightbox-bootstrap/index.js
|
55
|
+
- vendor/assets/stylesheets/lightbox-bootstrap.css.scss
|
55
56
|
- vendor/assets/stylesheets/lightbox-bootstrap/ekko-lightbox.css
|
56
57
|
- vendor/assets/stylesheets/lightbox-bootstrap/ekko-lightbox.min.css
|
57
|
-
- vendor/assets/stylesheets/lightbox-bootstrap/rails.css
|
58
58
|
homepage: https://github.com/luciuschoi/lightbox-bootstrap-rails
|
59
59
|
licenses: []
|
60
60
|
metadata:
|