uploadcare-rails 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/uploadcare-1.3.1.js +8563 -0
- data/app/assets/javascripts/uploadcare-1.3.1.min.js +17 -0
- data/lib/uploadcare-rails.rb +1 -1
- data/lib/uploadcare/rails/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +103 -6762
- data/spec/dummy/log/test.log +268 -12671
- data/spec/dummy/log/tet.log +0 -0
- data/spec/dummy/tmp/cache/51D/441/http%3A%2F%2Fwww.ucarecdn.com%2Fd322ddfb-dab1-4244-987f-0dee41f8d68d%2F +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1004cb216c6a15b26aa9c52095902ee6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1930f1dc4fdf14493b9e0803644ae54a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/452d6d871c74e1af2376c48d479d0de8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4a9c6a738b32dff53c7ff9e969e8a100 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/699d74723d728056d850fb6a184402bd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/883a8569a0105010b3a20e0b3dbdf927 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/95e9749abfc334c7c5ad500b3b4072c4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/95f1667ad97500a482296c32c98e0fa0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9e674de141fc3a84d6d2a0d0fc9a2d4c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c5ee0ee454770d592be595422c5f89b8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e0420288cc577f8ffa3ed73c373d2451 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e41598315cab1b953e63b62bc36ee2f6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/helpers/form_helpers_has_file_spec.rb +1 -1
- data/spec/helpers/form_helpers_has_group_spec.rb +1 -1
- data/spec/helpers/form_helpers_spec.rb +1 -1
- data/spec/helpers/formtastic_spec.rb +1 -1
- data/spec/helpers/simple_form_spec.rb +1 -1
- data/spec/spec_helper.rb +4 -0
- metadata +15 -13
- data/spec/dummy/tmp/cache/474/EF1/http%3A%2F%2Fwww.ucarecdn.com%2Fd27c9628-0056-4f6d-9924-2a53b31349e5%7E1%2F +0 -0
- data/spec/dummy/tmp/cache/5B7/AF1/http%3A%2F%2Fwww.ucarecdn.com%2F30f0dd8b-8c80-4c23-b4e4-8bf19cab791c%7E2%2F +0 -0
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -3,7 +3,7 @@ require "spec_helper"
|
|
3
3
|
describe Uploadcare::Rails::ActionView::FormBuilder, type: :helper do
|
4
4
|
before :each do
|
5
5
|
@post = Post.new
|
6
|
-
@form = ActionView::Helpers::FormBuilder.new(:post, @post, helper, {}
|
6
|
+
@form = ActionView::Helpers::FormBuilder.new(:post, @post, helper, {})
|
7
7
|
end
|
8
8
|
|
9
9
|
it "should include uploader tag for name" do
|
@@ -3,7 +3,7 @@ require "spec_helper"
|
|
3
3
|
describe Uploadcare::Rails::ActionView::FormBuilder, type: :helper do
|
4
4
|
before :each do
|
5
5
|
@post = PostWithCollection.new
|
6
|
-
@form = ActionView::Helpers::FormBuilder.new(:post, @post, helper, {}
|
6
|
+
@form = ActionView::Helpers::FormBuilder.new(:post, @post, helper, {})
|
7
7
|
end
|
8
8
|
|
9
9
|
it "should include uploader tag for name" do
|
@@ -3,7 +3,7 @@ require "spec_helper"
|
|
3
3
|
describe Uploadcare::Rails::ActionView::FormBuilder, type: :helper do
|
4
4
|
before :each do
|
5
5
|
@post = Post.new
|
6
|
-
@form = ActionView::Helpers::FormBuilder.new(:post, @post, helper, {}
|
6
|
+
@form = ActionView::Helpers::FormBuilder.new(:post, @post, helper, {})
|
7
7
|
end
|
8
8
|
|
9
9
|
it "should include uploader tag for name" do
|
@@ -11,7 +11,7 @@ if req
|
|
11
11
|
describe "Uploadcare::Rails::Formtastic", type: :helper do
|
12
12
|
before :each do
|
13
13
|
@post = Post.new
|
14
|
-
@form = Formtastic::FormBuilder.new(:post, @post, helper, {}
|
14
|
+
@form = Formtastic::FormBuilder.new(:post, @post, helper, {})
|
15
15
|
end
|
16
16
|
|
17
17
|
it 'should create smart uploader field' do
|
@@ -12,7 +12,7 @@ if req
|
|
12
12
|
describe "Uploadcare::Rails::SimpleForm", type: :helper do
|
13
13
|
before :each do
|
14
14
|
@post = Post.new
|
15
|
-
@form = SimpleForm::FormBuilder.new(:post, @post, helper, {}
|
15
|
+
@form = SimpleForm::FormBuilder.new(:post, @post, helper, {})
|
16
16
|
end
|
17
17
|
|
18
18
|
it 'should create smart uploader field' do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
2
|
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
|
4
|
+
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
|
5
|
+
$LOAD_PATH << File.join(File.dirname(__FILE__))
|
6
|
+
|
3
7
|
require 'pry'
|
4
8
|
require File.expand_path("../dummy/config/environment", __FILE__)
|
5
9
|
require 'rspec/rails'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uploadcare-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- '@rastyagaev (Vadim Rastyagaev)'
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-06-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4
|
21
|
+
version: '4'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4
|
28
|
+
version: '4'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: uploadcare-ruby
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,16 +72,16 @@ dependencies:
|
|
72
72
|
name: rspec
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
77
|
+
version: '2'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
82
|
+
- - ~>
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '
|
84
|
+
version: '2'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: rspec-rails
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -194,6 +194,8 @@ files:
|
|
194
194
|
- app/assets/javascripts/uploadcare-0.18.3.min.js
|
195
195
|
- app/assets/javascripts/uploadcare-1.0.1.js
|
196
196
|
- app/assets/javascripts/uploadcare-1.0.1.min.js
|
197
|
+
- app/assets/javascripts/uploadcare-1.3.1.js
|
198
|
+
- app/assets/javascripts/uploadcare-1.3.1.min.js
|
197
199
|
- app/assets/javascripts/uploadcare.js
|
198
200
|
- config/initializers/uploadcare.rb
|
199
201
|
- config/uploadcare_defaults.yml
|
@@ -285,14 +287,14 @@ files:
|
|
285
287
|
- spec/dummy/db/test.sqlite3
|
286
288
|
- spec/dummy/log/development.log
|
287
289
|
- spec/dummy/log/test.log
|
290
|
+
- spec/dummy/log/tet.log
|
288
291
|
- spec/dummy/public/404.html
|
289
292
|
- spec/dummy/public/422.html
|
290
293
|
- spec/dummy/public/500.html
|
291
294
|
- spec/dummy/public/favicon.ico
|
292
295
|
- spec/dummy/Rakefile
|
293
296
|
- spec/dummy/README.rdoc
|
294
|
-
- spec/dummy/tmp/cache/
|
295
|
-
- spec/dummy/tmp/cache/5B7/AF1/http%3A%2F%2Fwww.ucarecdn.com%2F30f0dd8b-8c80-4c23-b4e4-8bf19cab791c%7E2%2F
|
297
|
+
- spec/dummy/tmp/cache/51D/441/http%3A%2F%2Fwww.ucarecdn.com%2Fd322ddfb-dab1-4244-987f-0dee41f8d68d%2F
|
296
298
|
- spec/dummy/tmp/cache/assets/development/sprockets/1004cb216c6a15b26aa9c52095902ee6
|
297
299
|
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
298
300
|
- spec/dummy/tmp/cache/assets/development/sprockets/1930f1dc4fdf14493b9e0803644ae54a
|
@@ -358,7 +360,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
358
360
|
version: '0'
|
359
361
|
requirements: []
|
360
362
|
rubyforge_project:
|
361
|
-
rubygems_version: 2.0.
|
363
|
+
rubygems_version: 2.0.3
|
362
364
|
signing_key:
|
363
365
|
specification_version: 4
|
364
366
|
summary: Rails gem for Uploadcare
|
@@ -433,14 +435,14 @@ test_files:
|
|
433
435
|
- spec/dummy/db/test.sqlite3
|
434
436
|
- spec/dummy/log/development.log
|
435
437
|
- spec/dummy/log/test.log
|
438
|
+
- spec/dummy/log/tet.log
|
436
439
|
- spec/dummy/public/404.html
|
437
440
|
- spec/dummy/public/422.html
|
438
441
|
- spec/dummy/public/500.html
|
439
442
|
- spec/dummy/public/favicon.ico
|
440
443
|
- spec/dummy/Rakefile
|
441
444
|
- spec/dummy/README.rdoc
|
442
|
-
- spec/dummy/tmp/cache/
|
443
|
-
- spec/dummy/tmp/cache/5B7/AF1/http%3A%2F%2Fwww.ucarecdn.com%2F30f0dd8b-8c80-4c23-b4e4-8bf19cab791c%7E2%2F
|
445
|
+
- spec/dummy/tmp/cache/51D/441/http%3A%2F%2Fwww.ucarecdn.com%2Fd322ddfb-dab1-4244-987f-0dee41f8d68d%2F
|
444
446
|
- spec/dummy/tmp/cache/assets/development/sprockets/1004cb216c6a15b26aa9c52095902ee6
|
445
447
|
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
446
448
|
- spec/dummy/tmp/cache/assets/development/sprockets/1930f1dc4fdf14493b9e0803644ae54a
|
Binary file
|