dragonfly-mongoid_data_store 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +9 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +9 -0
- data/README.md +4 -0
- data/dragonfly-mongoid_data_store.gemspec +2 -2
- data/lib/dragonfly/mongoid_data_store/version.rb +1 -1
- metadata +20 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2a232288fcaafed49d8e5e27993c8e85942c85db7f9a491b2d0de88674a7d8fb
|
4
|
+
data.tar.gz: 117ab8f6f90307d572bfc0a75fc9d2030cd8853e9f67b449258816a965b15501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 140c8da86b2ceca6b986ac3387fb30eca8be8a42cf203107751e3795fe91e676981f4e4ca3a179314c680a821770175c1926933c9be97e99178771912489fe55
|
7
|
+
data.tar.gz: f8dc7b29d76a8d2df0b235fd757404ffb4be689122538e7b11f99299febd495c53e37d62da76614a57d7b1450379090d8d37035558b844f4b6b24d2aa6e0aaab
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
data/Gemfile
CHANGED
@@ -1,4 +1,13 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
4
|
+
|
3
5
|
# Specify your gem's dependencies in dragonfly-mongoid_data_store.gemspec
|
4
6
|
gemspec
|
7
|
+
|
8
|
+
case version = ENV['MONGOID_VERSION'] || '~> 7.0'
|
9
|
+
when /7/ then gem 'mongoid', '~> 7.0'
|
10
|
+
when /6/ then gem 'mongoid', '~> 6.0'
|
11
|
+
when /5/ then gem 'mongoid', '~> 5.1'
|
12
|
+
else gem 'mongoid', version
|
13
|
+
end
|
data/README.md
CHANGED
@@ -6,6 +6,10 @@
|
|
6
6
|
|
7
7
|
Data store similar to [dragonfly-mongo_data_store](https://github.com/markevans/dragonfly-mongo_data_store) which works with [Dragonfly](https://github.com/markevans/dragonfly) > 1 and [Mongoid](https://github.com/mongoid/mongoid) > 4.
|
8
8
|
|
9
|
+
## Requirements
|
10
|
+
|
11
|
+
* mongoid 5, 6 or 7
|
12
|
+
|
9
13
|
## Installation
|
10
14
|
|
11
15
|
Add this line to your application's Gemfile:
|
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.add_dependency 'dragonfly', '~> 1.0'
|
22
|
-
spec.add_dependency 'mongoid'
|
23
|
-
spec.add_dependency 'mongoid-grid_fs'
|
22
|
+
spec.add_dependency 'mongoid', '>= 5', '< 8'
|
23
|
+
spec.add_dependency 'mongoid-grid_fs', '~> 2.4', '>= 2.4.0'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler'
|
26
26
|
spec.add_development_dependency 'coveralls'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dragonfly-mongoid_data_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Celizna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dragonfly
|
@@ -30,28 +30,40 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '5'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '8'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
43
|
+
version: '5'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '8'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: mongoid-grid_fs
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2.4'
|
45
54
|
- - ">="
|
46
55
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
56
|
+
version: 2.4.0
|
48
57
|
type: :runtime
|
49
58
|
prerelease: false
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
51
60
|
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '2.4'
|
52
64
|
- - ">="
|
53
65
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
66
|
+
version: 2.4.0
|
55
67
|
- !ruby/object:Gem::Dependency
|
56
68
|
name: bundler
|
57
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,6 +171,7 @@ extra_rdoc_files: []
|
|
159
171
|
files:
|
160
172
|
- ".gitignore"
|
161
173
|
- ".travis.yml"
|
174
|
+
- CHANGELOG.md
|
162
175
|
- Gemfile
|
163
176
|
- Guardfile
|
164
177
|
- LICENSE
|
@@ -190,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
203
|
version: '0'
|
191
204
|
requirements: []
|
192
205
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.
|
206
|
+
rubygems_version: 2.7.6
|
194
207
|
signing_key:
|
195
208
|
specification_version: 4
|
196
209
|
summary: Dragonfly data store that uses Mongoid::GridFs.
|