bootstrap-addons-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 CHANGED
@@ -4,7 +4,7 @@ Includes:
4
4
 
5
5
  * [colorpicker](http://www.eyecon.ro/bootstrap-colorpicker/)
6
6
  * [datepicker](http://www.eyecon.ro/bootstrap-datepicker/)
7
- * [Image Gallery](https://github.com/blueimp/Bootstrap-Image-Gallery)
7
+ * [image gallery](https://github.com/blueimp/Bootstrap-Image-Gallery)
8
8
 
9
9
  ## Installation
10
10
 
@@ -16,20 +16,28 @@ then bundle it!
16
16
 
17
17
  ## Configuration
18
18
 
19
+ Stylesheets:
20
+
19
21
  ```css
20
22
  *= require bootstrap/colorpicker
21
23
  *= require bootstrap/datepicker
22
24
  *= require bootstrap/image-gallery
23
25
  ```
24
26
 
27
+ Or using Compass/SASS:
28
+
29
+ `@import "bootstrap/image-gallery";`
30
+
31
+ Javascripts:
32
+
25
33
  ```javascript
26
34
  //= require bootstrap/colorpicker
27
35
  //= require bootstrap/datepicker
36
+
37
+ //= require bootstrap/load-image-min
28
38
  //= require bootstrap/image-gallery.min
29
39
  ```
30
40
 
31
- Note: In the stylesheets the image refs must be updated to reflect their assets location. Please send me a pull request with these fixes ;)
32
-
33
41
  ## Extras
34
42
 
35
43
  To customize Bootstrap, check out:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bootstrap-addons-rails"
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = "2012-08-30"
12
+ s.date = "2012-09-14"
13
13
  s.description = "Adds nice Bootstrap addons to your Rails Twitter Bootstrap based app"
14
14
  s.email = "kmandrup@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -42,6 +42,7 @@ Gem::Specification.new do |s|
42
42
  "vendor/assets/javascripts/bootstrap/datepicker.js",
43
43
  "vendor/assets/javascripts/bootstrap/image-gallery.js",
44
44
  "vendor/assets/javascripts/bootstrap/image-gallery.min.js",
45
+ "vendor/assets/javascripts/bootstrap/load-image.min.js",
45
46
  "vendor/assets/less/bootstrap/colorpicker.less",
46
47
  "vendor/assets/less/bootstrap/datepicker.less",
47
48
  "vendor/assets/stylesheets/bootstrap/colorpicker.css",
@@ -0,0 +1 @@
1
+ (function(a){"use strict";var b=function(a,c,d){var e=document.createElement("img"),f,g;return e.onerror=c,e.onload=function(){g&&(!d||!d.noRevoke)&&b.revokeObjectURL(g),c(b.scale(e,d))},window.Blob&&a instanceof Blob||window.File&&a instanceof File?f=g=b.createObjectURL(a):f=a,f?(e.src=f,e):b.readFile(a,function(a){e.src=a})},c=window.createObjectURL&&window||window.URL&&URL.revokeObjectURL&&URL||window.webkitURL&&webkitURL;b.scale=function(a,b){b=b||{};var c=document.createElement("canvas"),d=a.width,e=a.height,f=Math.max((b.minWidth||d)/d,(b.minHeight||e)/e);return f>1&&(d=parseInt(d*f,10),e=parseInt(e*f,10)),f=Math.min((b.maxWidth||d)/d,(b.maxHeight||e)/e),f<1&&(d=parseInt(d*f,10),e=parseInt(e*f,10)),a.getContext||b.canvas&&c.getContext?(c.width=d,c.height=e,c.getContext("2d").drawImage(a,0,0,d,e),c):(a.width=d,a.height=e,a)},b.createObjectURL=function(a){return c?c.createObjectURL(a):!1},b.revokeObjectURL=function(a){return c?c.revokeObjectURL(a):!1},b.readFile=function(a,b){if(window.FileReader&&FileReader.prototype.readAsDataURL){var c=new FileReader;return c.onload=function(a){b(a.target.result)},c.readAsDataURL(a),c}return!1},typeof define=="function"&&define.amd?define(function(){return b}):a.loadImage=b})(this);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-addons-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-30 00:00:00.000000000 Z
12
+ date: 2012-09-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -140,6 +140,7 @@ files:
140
140
  - vendor/assets/javascripts/bootstrap/datepicker.js
141
141
  - vendor/assets/javascripts/bootstrap/image-gallery.js
142
142
  - vendor/assets/javascripts/bootstrap/image-gallery.min.js
143
+ - vendor/assets/javascripts/bootstrap/load-image.min.js
143
144
  - vendor/assets/less/bootstrap/colorpicker.less
144
145
  - vendor/assets/less/bootstrap/datepicker.less
145
146
  - vendor/assets/stylesheets/bootstrap/colorpicker.css
@@ -161,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
162
  version: '0'
162
163
  segments:
163
164
  - 0
164
- hash: -4575271832920097216
165
+ hash: -436073328868638401
165
166
  required_rubygems_version: !ruby/object:Gem::Requirement
166
167
  none: false
167
168
  requirements: