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: 996cdc837c4763be517172f32528ce7ce9776d48
4
- data.tar.gz: 789d65b42dd66b36e218b994eddbfd46771216a0
3
+ metadata.gz: 08c1b5ea2e4ea17fd3f8f5b040ef4dc8ad87a580
4
+ data.tar.gz: 5ca526abbf134a2a3cb1ac9d9025bb14197b025c
5
5
  SHA512:
6
- metadata.gz: 37c220bcb6266c29f38a39c35055f1333c2f1f4efb4ae4f224b7c4f92de6a79df0571d603db293cca85fd5ec7b6c61b8e48e6f08218665611049233ce1211a8b
7
- data.tar.gz: f5aa3b883799920c447fd90f25c9ad2c2aa838ce4d6fd9511497340d912350aed3a1bef2ba73a318f5d8153ff946db8110d7352780f15ce460ba636511dbcd72
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
- $ bundle
17
+ ```bash
18
+ $ bundle
19
+ ```
17
20
 
18
21
  Or install it yourself as:
19
22
 
20
- $ gem install lightbox-bootstrap-rails
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/rails"
43
+ @import "lightbox-bootstrap"
39
44
  ...
40
45
  ```
41
46
 
42
- Finally, you should add `assets/stylesheets/lightbox_bootstraped.coffee` as follows:
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
@@ -1,7 +1,7 @@
1
1
  module Lightbox
2
2
  module Bootstrap
3
3
  module Rails
4
- VERSION = "3.3.0.1"
4
+ VERSION = "3.3.0.2"
5
5
  end
6
6
  end
7
7
  end
@@ -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.1
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-08 00:00:00.000000000 Z
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:
@@ -1,5 +0,0 @@
1
- /*
2
- *= require ./ekko-lightbox.min
3
- */
4
-
5
- @import "ekko-lightbox.min"