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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2d2f053305eeeb2ced2d6aa5f00e34e2ed07e3b6
4
- data.tar.gz: 38aa8323405599845649ab978fc1cd28bbcc8cba
2
+ SHA256:
3
+ metadata.gz: 2a232288fcaafed49d8e5e27993c8e85942c85db7f9a491b2d0de88674a7d8fb
4
+ data.tar.gz: 117ab8f6f90307d572bfc0a75fc9d2030cd8853e9f67b449258816a965b15501
5
5
  SHA512:
6
- metadata.gz: fe4167115db4d42f317c7eab268c1b5c70013981b4c587b500b5dbdb52e912d0aec577072e819c599cf95ee4aa174e893a1d3d56ab2dc63b75a0f21f15155379
7
- data.tar.gz: 22b24e0b8a530af202fba686d0015c99d274b74ce3b39a3bfbc03bb4e50e80750c9a392c574a0a1d5650c5a2ca0042047abcbff33c149d490f40067ed72e3607
6
+ metadata.gz: 140c8da86b2ceca6b986ac3387fb30eca8be8a42cf203107751e3795fe91e676981f4e4ca3a179314c680a821770175c1926933c9be97e99178771912489fe55
7
+ data.tar.gz: f8dc7b29d76a8d2df0b235fd757404ffb4be689122538e7b11f99299febd495c53e37d62da76614a57d7b1450379090d8d37035558b844f4b6b24d2aa6e0aaab
@@ -12,3 +12,12 @@ notifications:
12
12
  - tomas.celizna@gmail.com
13
13
  on_failure: change
14
14
  on_success: never
15
+
16
+ matrix:
17
+ include:
18
+ - rvm: 2.3.3
19
+ env: MONGOID_VERSION=5
20
+ - rvm: 2.3.3
21
+ env: MONGOID_VERSION=6
22
+ - rvm: 2.5.0
23
+ env: MONGOID_VERSION=7
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+
3
+ ## 0.2.0
4
+
5
+ * Mongoid 7 compatibility
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'
@@ -1,5 +1,5 @@
1
1
  module Dragonfly
2
2
  class MongoidDataStore
3
- VERSION = '0.1.4'.freeze
3
+ VERSION = '0.2.0'.freeze
4
4
  end
5
5
  end
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.1.4
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: 2016-11-03 00:00:00.000000000 Z
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: '0'
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: '0'
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: '0'
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: '0'
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.4.5.1
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.