rails_admin_dropzone 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77eb9663a2f6f0bec5c3cc7d426854e591aad18a
4
- data.tar.gz: 058d9bbdbcbd7ce0cad5addd5952829457c1e213
3
+ metadata.gz: d0c59e96ddba62d12dec14782b1faabf47edd7b0
4
+ data.tar.gz: ccfbfe57f279d3cb3ea98214229f16816db21769
5
5
  SHA512:
6
- metadata.gz: b238de580f76e9a6fd198b68a9dd29ed3ba159fdf84ebee1fbc7c939a264a6a3c4a58ac84febbad769f521c5a14ddb08818f18b184471ed8368f4d3e3f296b28
7
- data.tar.gz: ae1e74493516e17de4fc513008383afe78e230e749d1982f49230d2f631a7472a478d15d410659f641c57ff05e5241125faf5fc19bc9de5308bfa084a9a08dbc
6
+ metadata.gz: f8c1eb6f51b5c98a374886b954f23d79a6b040a2256be4d20081705d27587b07fac352b0499309d5c431733984d750715c28da2a6ae563d2880fdaecbf7d842a
7
+ data.tar.gz: 14652310a78768f4a6c169a5ea5a8a5707bce802c93f7934e07aefc4018d924b936e0f78769ddf0efa4f6f99e0c6510a93fad9359c4aa181b797bf65e6261bdb
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at luizpicolo@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in test_.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,140 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rails_admin_dropzone (1.0.1)
5
+ dropzonejs-rails (~> 0.4.16)
6
+ jquery-rails (>= 3.0, < 5)
7
+ simple_form (~> 3.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (4.2.6)
13
+ actionpack (= 4.2.6)
14
+ actionview (= 4.2.6)
15
+ activejob (= 4.2.6)
16
+ mail (~> 2.5, >= 2.5.4)
17
+ rails-dom-testing (~> 1.0, >= 1.0.5)
18
+ actionpack (4.2.6)
19
+ actionview (= 4.2.6)
20
+ activesupport (= 4.2.6)
21
+ rack (~> 1.6)
22
+ rack-test (~> 0.6.2)
23
+ rails-dom-testing (~> 1.0, >= 1.0.5)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
+ actionview (4.2.6)
26
+ activesupport (= 4.2.6)
27
+ builder (~> 3.1)
28
+ erubis (~> 2.7.0)
29
+ rails-dom-testing (~> 1.0, >= 1.0.5)
30
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
+ activejob (4.2.6)
32
+ activesupport (= 4.2.6)
33
+ globalid (>= 0.3.0)
34
+ activemodel (4.2.6)
35
+ activesupport (= 4.2.6)
36
+ builder (~> 3.1)
37
+ activerecord (4.2.6)
38
+ activemodel (= 4.2.6)
39
+ activesupport (= 4.2.6)
40
+ arel (~> 6.0)
41
+ activesupport (4.2.6)
42
+ i18n (~> 0.7)
43
+ json (~> 1.7, >= 1.7.7)
44
+ minitest (~> 5.1)
45
+ thread_safe (~> 0.3, >= 0.3.4)
46
+ tzinfo (~> 1.1)
47
+ arel (6.0.3)
48
+ builder (3.2.2)
49
+ concurrent-ruby (1.0.1)
50
+ diff-lcs (1.2.5)
51
+ dropzonejs-rails (0.4.16)
52
+ rails (> 3.1)
53
+ erubis (2.7.0)
54
+ globalid (0.3.6)
55
+ activesupport (>= 4.1.0)
56
+ i18n (0.7.0)
57
+ jquery-rails (4.1.1)
58
+ rails-dom-testing (>= 1, < 3)
59
+ railties (>= 4.2.0)
60
+ thor (>= 0.14, < 2.0)
61
+ json (1.8.3)
62
+ loofah (2.0.3)
63
+ nokogiri (>= 1.5.9)
64
+ mail (2.6.4)
65
+ mime-types (>= 1.16, < 4)
66
+ mime-types (3.0)
67
+ mime-types-data (~> 3.2015)
68
+ mime-types-data (3.2016.0221)
69
+ mini_portile2 (2.0.0)
70
+ minitest (5.8.4)
71
+ nokogiri (1.6.7.2)
72
+ mini_portile2 (~> 2.0.0.rc2)
73
+ rack (1.6.4)
74
+ rack-test (0.6.3)
75
+ rack (>= 1.0)
76
+ rails (4.2.6)
77
+ actionmailer (= 4.2.6)
78
+ actionpack (= 4.2.6)
79
+ actionview (= 4.2.6)
80
+ activejob (= 4.2.6)
81
+ activemodel (= 4.2.6)
82
+ activerecord (= 4.2.6)
83
+ activesupport (= 4.2.6)
84
+ bundler (>= 1.3.0, < 2.0)
85
+ railties (= 4.2.6)
86
+ sprockets-rails
87
+ rails-deprecated_sanitizer (1.0.3)
88
+ activesupport (>= 4.2.0.alpha)
89
+ rails-dom-testing (1.0.7)
90
+ activesupport (>= 4.2.0.beta, < 5.0)
91
+ nokogiri (~> 1.6.0)
92
+ rails-deprecated_sanitizer (>= 1.0.1)
93
+ rails-html-sanitizer (1.0.3)
94
+ loofah (~> 2.0)
95
+ railties (4.2.6)
96
+ actionpack (= 4.2.6)
97
+ activesupport (= 4.2.6)
98
+ rake (>= 0.8.7)
99
+ thor (>= 0.18.1, < 2.0)
100
+ rake (10.5.0)
101
+ rspec (3.4.0)
102
+ rspec-core (~> 3.4.0)
103
+ rspec-expectations (~> 3.4.0)
104
+ rspec-mocks (~> 3.4.0)
105
+ rspec-core (3.4.4)
106
+ rspec-support (~> 3.4.0)
107
+ rspec-expectations (3.4.0)
108
+ diff-lcs (>= 1.2.0, < 2.0)
109
+ rspec-support (~> 3.4.0)
110
+ rspec-mocks (3.4.1)
111
+ diff-lcs (>= 1.2.0, < 2.0)
112
+ rspec-support (~> 3.4.0)
113
+ rspec-support (3.4.1)
114
+ simple_form (3.2.1)
115
+ actionpack (> 4, < 5.1)
116
+ activemodel (> 4, < 5.1)
117
+ sprockets (3.6.0)
118
+ concurrent-ruby (~> 1.0)
119
+ rack (> 1, < 3)
120
+ sprockets-rails (3.0.4)
121
+ actionpack (>= 4.0)
122
+ activesupport (>= 4.0)
123
+ sprockets (>= 3.0.0)
124
+ thor (0.19.1)
125
+ thread_safe (0.3.5)
126
+ tzinfo (1.2.2)
127
+ thread_safe (~> 0.1)
128
+
129
+ PLATFORMS
130
+ ruby
131
+
132
+ DEPENDENCIES
133
+ bundler (~> 1.11)
134
+ rails (>= 4.0, < 5)
135
+ rails_admin_dropzone!
136
+ rake (~> 10.0)
137
+ rspec (~> 3.0)
138
+
139
+ BUNDLED WITH
140
+ 1.11.2
data/README.md CHANGED
@@ -15,7 +15,6 @@ Easy to use integration of drag&amp;drop files upload via dropzone.js for rails_
15
15
  Add in Gemfile
16
16
 
17
17
  ```ruby
18
- gem 'dropzonejs-rails'
19
18
  gem 'rails_admin_dropzone'
20
19
  ```
21
20
 
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "test_"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -1,3 +1,7 @@
1
+ require 'dropzonejs-rails'
2
+ require 'simple_form'
3
+ require 'jquery-rails'
4
+
1
5
  module RailsAdminDropzone
2
6
  class Engine < ::Rails::Engine
3
7
  end
@@ -1,3 +1,3 @@
1
1
  module RailsAdminDropzone
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -20,11 +20,11 @@ Gem::Specification.new do |s|
20
20
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  s.require_paths = ["lib"]
22
22
 
23
- s.add_dependency 'simple_form', '~> 3.2'
24
- s.add_dependency 'rails', '~> 4.2'
23
+ s.add_dependency "simple_form", "~> 3.2"
25
24
  s.add_dependency "jquery-rails", [">= 3.0", "< 5"]
26
25
  s.add_dependency "dropzonejs-rails", "~> 0.4.16"
27
26
 
27
+ s.add_development_dependency "rails", [">= 4.0", "< 5"]
28
28
  s.add_development_dependency "bundler", "~> 1.11"
29
29
  s.add_development_dependency "rake", "~> 10.0"
30
30
  s.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_dropzone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luiz Picolo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-12 00:00:00.000000000 Z
11
+ date: 2016-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_form
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
- - !ruby/object:Gem::Dependency
28
- name: rails
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '4.2'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '4.2'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: jquery-rails
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,6 +58,26 @@ dependencies:
72
58
  - - "~>"
73
59
  - !ruby/object:Gem::Version
74
60
  version: 0.4.16
61
+ - !ruby/object:Gem::Dependency
62
+ name: rails
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '4.0'
68
+ - - "<"
69
+ - !ruby/object:Gem::Version
70
+ version: '5'
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '4.0'
78
+ - - "<"
79
+ - !ruby/object:Gem::Version
80
+ version: '5'
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: bundler
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -123,6 +129,9 @@ extensions: []
123
129
  extra_rdoc_files: []
124
130
  files:
125
131
  - ".gitignore"
132
+ - CODE_OF_CONDUCT.md
133
+ - Gemfile
134
+ - Gemfile.lock
126
135
  - MIT-LICENSE
127
136
  - README.md
128
137
  - Rakefile
@@ -130,6 +139,8 @@ files:
130
139
  - app/assets/stylesheets/rails_admin/custom/theming.scss
131
140
  - app/views/.gitkeep
132
141
  - app/views/rails_admin/main/dropzone.html.haml
142
+ - bin/console
143
+ - bin/setup
133
144
  - config/locales/multiple_upload.en.yml
134
145
  - config/locales/multiple_upload.pt-BR.yml
135
146
  - lib/rails_admin_dropzone.rb