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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 598a4d24ba4cc4ef0a8d066d4f035e7c17212097
4
- data.tar.gz: c1ffdf5390d2e5040c2d191123afc254fc8a526e
3
+ metadata.gz: f76ab63a8e60ddf2dfba5e56eef09e385fddcb07
4
+ data.tar.gz: a29461e86bbda1885cac2ce345e9cfd252346eb8
5
5
  SHA512:
6
- metadata.gz: 11aae9624ec13f89b7bb706eaaed146dc10d5ba1ca55a0c87c6a92f13f2165bc95cb0e06455793683816e8b53d9aab0946cb8ebaef103e98ad57a978c210774f
7
- data.tar.gz: c37bbcab5ed362b4268acbee6d4f8d61713ede53d1d7ab88b56111cc23e49cd148a9860e7dd71d7428c3a2c857aa8fb85ad8a33f5bee66cc83f50c2d0efe731b
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', 'vendor/assets/javascripts/dropzone.js'
19
- download_dropzone_file 'css/basic.css', 'vendor/assets/stylesheets/dropzone/basic.css.scss'
20
- download_dropzone_file 'css/dropzone.css', 'vendor/assets/stylesheets/dropzone/dropzone.css.scss'
21
- download_dropzone_file 'images/spritemap.png', 'vendor/assets/images/dropzone/spritemap.png'
22
- download_dropzone_file 'images/spritemap@2x.png', 'vendor/assets/images/dropzone/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 'vendor/assets/stylesheets/dropzone/basic.css.scss'
26
- fix_image_links 'vendor/assets/stylesheets/dropzone/dropzone.css.scss'
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
@@ -1,4 +1,4 @@
1
1
  module DropzonejsRails
2
- VERSION = '0.4.16'
2
+ VERSION = '0.5.1'
3
3
  DROPZONE_VERSION = '3.10.2'
4
4
  end
@@ -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('vendor/assets/javascripts')
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.16
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-05-28 00:00:00.000000000 Z
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.2.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.