carrierwave-base64 2.8.0 → 2.8.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 +1 -3
- data/Rakefile +0 -7
- data/carrierwave-base64.gemspec +2 -2
- data/lib/carrierwave/base64/version.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3fd587fb2650c73746c8554db4ccb5fbd86517c6cce72b152777cb6f5f012ce
|
4
|
+
data.tar.gz: ad801ed1363f0e1ff315a781982c3d92f470de92b4272e37b6a82082eff9691b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d8c6b0256d1ff5dfb11fd3ddd2f3b8a0cd4c3c2f1e936b06449ad97e42b40a3cbfb53b3d7426b6db007a5df1682b160de4e7913a5412b66db43450547fae409
|
7
|
+
data.tar.gz: ea9520561c344f379293eb601b5db03a25c02c9a32741e6a049b2eb022a7f0daf130f5e3d9bb8625302ff7c08bd82784926df2a834b3e2387f7c26055d31a650
|
data/README.md
CHANGED
@@ -69,9 +69,7 @@ mount_base64_uploader :image, ImageUploader, file_name: -> { 'userpic' }
|
|
69
69
|
|
70
70
|
## Data format
|
71
71
|
|
72
|
-
|
73
|
-
|
74
|
-
Keep in mind, that the content type specified in this string, would be used to identified the file extension. So if you have some custom content type uploaded, don't forget to register a Mime Type for it.
|
72
|
+
File extention for the uploaded file is identified automatically based on the file contents. If it can't be identified automaticaly, it falls back to the content-type, specified in the data string.
|
75
73
|
|
76
74
|
```
|
77
75
|
data:image/jpeg;base64,(base64 encoded data)
|
data/Rakefile
CHANGED
data/carrierwave-base64.gemspec
CHANGED
@@ -23,12 +23,12 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency 'mime-types', '~> 3.0'
|
24
24
|
spec.add_dependency 'mimemagic', '~> 0.3.2'
|
25
25
|
|
26
|
-
spec.add_development_dependency 'bundler', '~> 1
|
26
|
+
spec.add_development_dependency 'bundler', '~> 2.1'
|
27
27
|
spec.add_development_dependency 'carrierwave-mongoid'
|
28
28
|
spec.add_development_dependency 'mongoid'
|
29
29
|
spec.add_development_dependency 'pry'
|
30
30
|
spec.add_development_dependency 'rails', '~> 5'
|
31
|
-
spec.add_development_dependency 'rake', '~>
|
31
|
+
spec.add_development_dependency 'rake', '~> 12.3.3'
|
32
32
|
spec.add_development_dependency 'rspec', '~> 2.14'
|
33
33
|
spec.add_development_dependency 'rubocop'
|
34
34
|
spec.add_development_dependency 'sham_rack'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-base64
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yury Lebedev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carrierwave
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1
|
61
|
+
version: '2.1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1
|
68
|
+
version: '2.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: carrierwave-mongoid
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 12.3.3
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 12.3.3
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,8 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
262
|
- !ruby/object:Gem::Version
|
263
263
|
version: '0'
|
264
264
|
requirements: []
|
265
|
-
|
266
|
-
rubygems_version: 2.7.6
|
265
|
+
rubygems_version: 3.1.2
|
267
266
|
signing_key:
|
268
267
|
specification_version: 4
|
269
268
|
summary: Upload images encoded as base64 to carrierwave.
|