jquery-image_reader 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
data/lib/jquery-image_reader.rb
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
require "jquery-image_reader/version"
|
2
2
|
|
3
|
+
if defined? ::Rails::Engine
|
4
|
+
require "jquery-image_reader/rails"
|
5
|
+
elsif defined? ::Sprockets
|
6
|
+
require "jquery-image_reader/sprockets"
|
7
|
+
end
|
8
|
+
|
3
9
|
module Jquery
|
4
10
|
module ImageReader
|
5
|
-
# Your code goes here...
|
6
11
|
end
|
7
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-image_reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-06-02 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jquery-source
|
16
|
-
requirement: &
|
16
|
+
requirement: &8645760 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *8645760
|
25
25
|
description: A couple of jquery plugins that allow easy binding of file drop and paste
|
26
26
|
events specially targeting getting image data.
|
27
27
|
email:
|
@@ -40,6 +40,8 @@ files:
|
|
40
40
|
- lib/assets/javascripts/jquery.drop_image_reader.js
|
41
41
|
- lib/assets/javascripts/jquery.paste_image_reader.js
|
42
42
|
- lib/jquery-image_reader.rb
|
43
|
+
- lib/jquery-image_reader/rails.rb
|
44
|
+
- lib/jquery-image_reader/sprockets.rb
|
43
45
|
- lib/jquery-image_reader/version.rb
|
44
46
|
- source/index.html.haml
|
45
47
|
- source/javascripts/jquery.drop_image_reader.js.coffee
|