dropzonejs-rails 0.4.16 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/Rakefile +7 -7
- data/{vendor → app}/assets/images/dropzone/spritemap.png +0 -0
- data/{vendor → app}/assets/images/dropzone/spritemap@2x.png +0 -0
- data/{vendor → app}/assets/javascripts/dropzone.js +0 -0
- data/{vendor → app}/assets/stylesheets/dropzone/basic.css.scss +0 -0
- data/{vendor → app}/assets/stylesheets/dropzone/dropzone.css.scss +0 -0
- data/lib/dropzonejs-rails/version.rb +1 -1
- data/lib/generators/dropzonejs-rails/install/install_generator.rb +2 -2
- metadata +22 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f76ab63a8e60ddf2dfba5e56eef09e385fddcb07
|
4
|
+
data.tar.gz: a29461e86bbda1885cac2ce345e9cfd252346eb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b4cd7d2849d37da7a67205aa3930f6162fb6a3caf573595f6452d7c2174cc8e9841034fda7ed7668cb57a868d64592f4dbcbd453d54623c5b1fc5f19837e5fd
|
7
|
+
data.tar.gz: 96e9858438b07a503ea9fb213aa0a2b054fee29f6fbac6d290c7587e7d33f4e190954167e451a6ad0001b1c13336819a45cdc5abb2ca54bb33c3f20acc534791
|
data/README.md
CHANGED
@@ -56,6 +56,13 @@ Go to [this secret place](https://github.com/ncuesta/dropzonejs-rails/issues).
|
|
56
56
|
1. Run `rake check` to see if there is a newer version of Dropzone available.
|
57
57
|
2. If **1.** tells you to do so, run `rake get` - it'll download the files four you.
|
58
58
|
|
59
|
+
## Changelog
|
60
|
+
|
61
|
+
* v0.5.1
|
62
|
+
* Fixes incorrect references to the old vendor/ directory.
|
63
|
+
* v0.5.0
|
64
|
+
* Moves assets to the `app/` directory so that Rails 4 adds them to the Sprockets
|
65
|
+
pipeline. Kudos to @senny for pointing this out.
|
59
66
|
|
60
67
|
## Licence (MIT)
|
61
68
|
|
data/Rakefile
CHANGED
@@ -15,15 +15,15 @@ desc 'Get latest dropzone js build'
|
|
15
15
|
task :get do
|
16
16
|
puts "Fetching dropzone v#{DropzonejsRails::DROPZONE_VERSION}..."
|
17
17
|
|
18
|
-
download_dropzone_file 'dropzone.js', '
|
19
|
-
download_dropzone_file 'css/basic.css', '
|
20
|
-
download_dropzone_file 'css/dropzone.css', '
|
21
|
-
download_dropzone_file 'images/spritemap.png', '
|
22
|
-
download_dropzone_file 'images/spritemap@2x.png', '
|
18
|
+
download_dropzone_file 'dropzone.js', 'app/assets/javascripts/dropzone.js'
|
19
|
+
download_dropzone_file 'css/basic.css', 'app/assets/stylesheets/dropzone/basic.css.scss'
|
20
|
+
download_dropzone_file 'css/dropzone.css', 'app/assets/stylesheets/dropzone/dropzone.css.scss'
|
21
|
+
download_dropzone_file 'images/spritemap.png', 'app/assets/images/dropzone/spritemap.png'
|
22
|
+
download_dropzone_file 'images/spritemap@2x.png', 'app/assets/images/dropzone/spritemap@2x.png'
|
23
23
|
|
24
24
|
puts "Fixing image paths..."
|
25
|
-
fix_image_links '
|
26
|
-
fix_image_links '
|
25
|
+
fix_image_links 'app/assets/stylesheets/dropzone/basic.css.scss'
|
26
|
+
fix_image_links 'app/assets/stylesheets/dropzone/dropzone.css.scss'
|
27
27
|
|
28
28
|
puts "Done"
|
29
29
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -5,11 +5,11 @@ module DropzonejsRails
|
|
5
5
|
module Generators
|
6
6
|
class InstallGenerator < Rails::Generators::Base
|
7
7
|
desc "Installs Dropzone JS files (v#{DropzonejsRails::DROPZONE_VERSION}) into the project"
|
8
|
-
source_root DropzonejsRails::Engine.root.join('
|
8
|
+
source_root DropzonejsRails::Engine.root.join('app/assets/javascripts')
|
9
9
|
|
10
10
|
def copy_files
|
11
11
|
copy_file 'dropzone.js', 'vendor/assets/javascripts/dropzone.js'
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
15
|
-
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropzonejs-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Nahuel Cuesta Luengo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.8.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.8.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rails
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -49,15 +63,15 @@ files:
|
|
49
63
|
- LICENSE
|
50
64
|
- README.md
|
51
65
|
- Rakefile
|
66
|
+
- app/assets/images/dropzone/spritemap.png
|
67
|
+
- app/assets/images/dropzone/spritemap@2x.png
|
68
|
+
- app/assets/javascripts/dropzone.js
|
69
|
+
- app/assets/stylesheets/dropzone/basic.css.scss
|
70
|
+
- app/assets/stylesheets/dropzone/dropzone.css.scss
|
52
71
|
- lib/dropzonejs-rails.rb
|
53
72
|
- lib/dropzonejs-rails/engine.rb
|
54
73
|
- lib/dropzonejs-rails/version.rb
|
55
74
|
- lib/generators/dropzonejs-rails/install/install_generator.rb
|
56
|
-
- vendor/assets/images/dropzone/spritemap.png
|
57
|
-
- vendor/assets/images/dropzone/spritemap@2x.png
|
58
|
-
- vendor/assets/javascripts/dropzone.js
|
59
|
-
- vendor/assets/stylesheets/dropzone/basic.css.scss
|
60
|
-
- vendor/assets/stylesheets/dropzone/dropzone.css.scss
|
61
75
|
homepage: http://www.github.com/ncuesta/dropzonejs-rails
|
62
76
|
licenses: []
|
63
77
|
metadata: {}
|
@@ -77,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
91
|
version: '0'
|
78
92
|
requirements: []
|
79
93
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.4.1
|
81
95
|
signing_key:
|
82
96
|
specification_version: 4
|
83
97
|
summary: Integrates Dropzone JS File upload into Rails Asset pipeline.
|