carrierwave-mongoid 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -8
- data/README.md +3 -7
- data/carrierwave-mongoid.gemspec +1 -1
- data/gemfiles/carrierwave-0.10.gemfile +1 -0
- data/gemfiles/carrierwave-0.11.gemfile +1 -0
- data/gemfiles/{carrierwave-1.0.gemfile → carrierwave-1.2.gemfile} +1 -1
- data/gemfiles/{mongoid-3.1.gemfile → mongoid-3.gemfile} +1 -1
- data/gemfiles/{mongoid-4.0.gemfile → mongoid-4.gemfile} +1 -1
- data/gemfiles/{mongoid-5.0.gemfile → mongoid-5.gemfile} +1 -1
- data/gemfiles/mongoid-6.gemfile +6 -0
- data/gemfiles/mongoid-7.gemfile +6 -0
- data/lib/carrierwave/mongoid/version.rb +1 -1
- metadata +11 -10
- data/gemfiles/mongoid-6.0.gemfile +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c20e089c5bf09d5a259bf2f056b74b76a7f796f7
|
4
|
+
data.tar.gz: 40f84bf7f80254e91536e63a7b956bfdb7754f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c55ac02fcd210bcc01509aab0b035b7345022e77054df30c6f735771d9f2d1005f1a616cb3fddf81bbceef9ef0531cb3ef74b9dc2cf7a776ef9fa1536dae5e5
|
7
|
+
data.tar.gz: 5e25d05d98d6d5b97892f967263a8011c0e36746ce6de72b70bf1821be2688c9b18d1acee061107fc600861e188f68ba142b586d0a1c3fdd37b98c0654304cbd
|
data/.travis.yml
CHANGED
@@ -7,20 +7,22 @@ notifications:
|
|
7
7
|
language: ruby
|
8
8
|
cache: bundler
|
9
9
|
rvm:
|
10
|
-
- 2.2.
|
11
|
-
- 2.3.
|
12
|
-
- 2.4.
|
10
|
+
- 2.2.9
|
11
|
+
- 2.3.7
|
12
|
+
- 2.4.4
|
13
|
+
- 2.5.1
|
13
14
|
|
14
15
|
gemfile:
|
15
16
|
- Gemfile
|
16
17
|
- gemfiles/carrierwave-0.10.gemfile
|
17
18
|
- gemfiles/carrierwave-0.11.gemfile
|
18
|
-
- gemfiles/carrierwave-1.0.gemfile
|
19
19
|
- gemfiles/carrierwave-1.1.gemfile
|
20
|
-
- gemfiles/
|
21
|
-
- gemfiles/mongoid-
|
22
|
-
- gemfiles/mongoid-
|
23
|
-
- gemfiles/mongoid-
|
20
|
+
- gemfiles/carrierwave-1.2.gemfile
|
21
|
+
- gemfiles/mongoid-3.gemfile
|
22
|
+
- gemfiles/mongoid-4.gemfile
|
23
|
+
- gemfiles/mongoid-5.gemfile
|
24
|
+
- gemfiles/mongoid-6.gemfile
|
25
|
+
- gemfiles/mongoid-7.gemfile
|
24
26
|
|
25
27
|
matrix:
|
26
28
|
fast_finish: true
|
data/README.md
CHANGED
@@ -41,13 +41,6 @@ gem 'mongoid-grid_fs', github: 'ahoward/mongoid-grid_fs'
|
|
41
41
|
Follow the "Getting Started" directions in the main
|
42
42
|
[Carrierwave repository](https://github.com/carrierwaveuploader/carrierwave/).
|
43
43
|
|
44
|
-
[Suggested] Add the field to your attr_accessor list for mass assignment
|
45
|
-
protection:
|
46
|
-
|
47
|
-
```ruby
|
48
|
-
attr_accessible :avatar, :avatar_cache
|
49
|
-
```
|
50
|
-
|
51
44
|
Now you can cache files by assigning them to the attribute; they will
|
52
45
|
automatically be stored when the record is saved. Ex:
|
53
46
|
|
@@ -158,6 +151,7 @@ match '/uploads/grid/user/avatar/:id/:filename' => 'gridfs#thumb_avatar', constr
|
|
158
151
|
|
159
152
|
| Version | Notes |
|
160
153
|
|-----------|---------------------------------------------------------------------------------|
|
154
|
+
| ~> 1.1.0 | ([compare][compare-1.1], [dependencies][deps-1.1]) Mongoid 7.0 support |
|
161
155
|
| ~> 1.0.0 | ([compare][compare-1.0], [dependencies][deps-1.0]) Carrierwave 1.x support |
|
162
156
|
| ~> 0.10.0 | ([compare][compare-0.10], [dependencies][deps-0.10]) Mongoid 6.0 support |
|
163
157
|
| ~> 0.9.0 | ([compare][compare-0.9], [dependencies][deps-0.9]) Carrierwave 0.11 support |
|
@@ -170,6 +164,7 @@ match '/uploads/grid/user/avatar/:id/:filename' => 'gridfs#thumb_avatar', constr
|
|
170
164
|
| ~> 0.2.0 | ([compare][compare-0.2], [dependencies][deps-0.2]) Rails >= 3.2, Mongoid ~> 2.0 |
|
171
165
|
| ~> 0.1.0 | ([compare][compare-0.1], [dependencies][deps-0.1]) Rails <= 3.1 |
|
172
166
|
|
167
|
+
[compare-1.1]: https://github.com/carrierwaveuploader/carrierwave-mongoid/compare/v1.0.0...v1.1.0
|
173
168
|
[compare-1.0]: https://github.com/carrierwaveuploader/carrierwave-mongoid/compare/v0.10.0...v1.0.0
|
174
169
|
[compare-0.10]: https://github.com/carrierwaveuploader/carrierwave-mongoid/compare/v0.9.0...v0.10.0
|
175
170
|
[compare-0.9]: https://github.com/carrierwaveuploader/carrierwave-mongoid/compare/v0.8.1...v0.9.0
|
@@ -182,6 +177,7 @@ match '/uploads/grid/user/avatar/:id/:filename' => 'gridfs#thumb_avatar', constr
|
|
182
177
|
[compare-0.2]: https://github.com/carrierwaveuploader/carrierwave-mongoid/compare/v0.1.7...v0.2.2
|
183
178
|
[compare-0.1]: https://github.com/carrierwaveuploader/carrierwave-mongoid/compare/v0.1.1...v0.1.7
|
184
179
|
|
180
|
+
[deps-1.1]: https://rubygems.org/gems/carrierwave-mongoid/versions/1.1.0
|
185
181
|
[deps-1.0]: https://rubygems.org/gems/carrierwave-mongoid/versions/1.0.0
|
186
182
|
[deps-0.10]: https://rubygems.org/gems/carrierwave-mongoid/versions/0.10.0
|
187
183
|
[deps-0.9]: https://rubygems.org/gems/carrierwave-mongoid/versions/0.9.0
|
data/carrierwave-mongoid.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.require_paths = ["lib"]
|
22
22
|
|
23
23
|
s.add_dependency "carrierwave", [">= 0.8", "< 1.3"]
|
24
|
-
s.add_dependency "mongoid", [">= 3.0", "<
|
24
|
+
s.add_dependency "mongoid", [">= 3.0", "< 8.0"]
|
25
25
|
s.add_dependency "mongoid-grid_fs", [">= 1.3", "< 3.0"]
|
26
26
|
s.add_dependency "mime-types", "< 3" if RUBY_VERSION < "2.0" # mime-types 3+ doesn't support ruby 1.9
|
27
27
|
s.add_development_dependency "rspec", "~>3.4.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrierwave-mongoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Nicklas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-07-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: carrierwave
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
version: '3.0'
|
41
41
|
- - "<"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
43
|
+
version: '8.0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
version: '3.0'
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '8.0'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: mongoid-grid_fs
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,12 +143,13 @@ files:
|
|
143
143
|
- carrierwave-mongoid.gemspec
|
144
144
|
- gemfiles/carrierwave-0.10.gemfile
|
145
145
|
- gemfiles/carrierwave-0.11.gemfile
|
146
|
-
- gemfiles/carrierwave-1.0.gemfile
|
147
146
|
- gemfiles/carrierwave-1.1.gemfile
|
148
|
-
- gemfiles/
|
149
|
-
- gemfiles/mongoid-
|
150
|
-
- gemfiles/mongoid-
|
151
|
-
- gemfiles/mongoid-
|
147
|
+
- gemfiles/carrierwave-1.2.gemfile
|
148
|
+
- gemfiles/mongoid-3.gemfile
|
149
|
+
- gemfiles/mongoid-4.gemfile
|
150
|
+
- gemfiles/mongoid-5.gemfile
|
151
|
+
- gemfiles/mongoid-6.gemfile
|
152
|
+
- gemfiles/mongoid-7.gemfile
|
152
153
|
- lib/carrierwave/mongoid.rb
|
153
154
|
- lib/carrierwave/mongoid/version.rb
|
154
155
|
- lib/carrierwave/storage/grid_fs.rb
|
@@ -183,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
184
|
version: '0'
|
184
185
|
requirements: []
|
185
186
|
rubyforge_project: carrierwave-mongoid
|
186
|
-
rubygems_version: 2.6.
|
187
|
+
rubygems_version: 2.6.14.1
|
187
188
|
signing_key:
|
188
189
|
specification_version: 4
|
189
190
|
summary: Mongoid support for CarrierWave
|