modis 3.0.0 → 3.1.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
2
  SHA256:
3
- metadata.gz: 05bca2cd787d1ec58cc5c274071e759662787d15744028afd26e8c5686e98a0f
4
- data.tar.gz: fd65fc90ad00304558727529f1fcdbae12d9768a7870c9a89a567203ab65f6c8
3
+ metadata.gz: ac7dab784855560c744b5de5da3a74af89c62a705e7610fdbda79b76de63fa95
4
+ data.tar.gz: dc899fdf26e84610340b49853697e25ed9ecbd4e2bf1688b816678b5cc7ee318
5
5
  SHA512:
6
- metadata.gz: 3651e8862dc7d6a15d640fcc7260d7515515d65976900f3c53f56d1240dd0e63a6a5a547b3bce7facff6e6a85b2382dd0a52e4469e89d890f682d1547713c7bb
7
- data.tar.gz: 59f47ccdeb055ca70774e88d40a0a203123c230871d5e7d36dedaa9ac7a4e1a0c4e4aa9b4aa6f7b7c01d74f2d5e6c22d7cb4cfc6721bbe142ebd202aaf42cb69
6
+ metadata.gz: 0a62d99b1eb25f433443d9a82d64883241dd56da269c0acd7e05afce25b52d44ab6da9a468eff6cca35861f8e994879c4559f1516881ffdada6d386adefbef4f
7
+ data.tar.gz: 473c5451144f796824e539e295bb8e9bdd9b966716a4b3ffe76c2345ed427e2b858d9588b54248830362d0fa7a922a446f59e701012f6342bb78725b05c776b1
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ test/tmp
15
15
  test/version_tmp
16
16
  tmp
17
17
  Gemfile.lock
18
+ *.gemfile.lock
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
 
3
- sudo: false
3
+ dist: bionic
4
4
 
5
5
  cache: bundler
6
6
 
@@ -8,17 +8,30 @@ services:
8
8
  - redis-server
9
9
 
10
10
  rvm:
11
- - 2.3.8
12
- - 2.4.5
13
- - 2.5.3
11
+ - 2.3
12
+ - 2.4
13
+ - 2.5
14
+ - 2.6
14
15
  - jruby-9.1.17.0
15
- - jruby-9.2.5.0
16
+ - jruby-9.2.8.0
16
17
 
17
18
  gemfile:
18
- - gemfiles/rails_42.gemfile
19
- - gemfiles/rails_50.gemfile
20
- - gemfiles/rails_51.gemfile
21
- - gemfiles/rails_52.gemfile
19
+ - gemfiles/rails_4.2.gemfile
20
+ - gemfiles/rails_5.0.gemfile
21
+ - gemfiles/rails_5.1.gemfile
22
+ - gemfiles/rails_5.2.gemfile
23
+ - gemfiles/rails_6.0.gemfile
24
+
25
+ matrix:
26
+ fast_finish: true
27
+ exclude:
28
+ # Rails 6 requires Ruby 2.5 or higher
29
+ - gemfile: gemfiles/rails_6.0.gemfile
30
+ rvm: 2.3
31
+ - gemfile: gemfiles/rails_6.0.gemfile
32
+ rvm: 2.4
33
+ - gemfile: gemfiles/rails_6.0.gemfile
34
+ rvm: jruby-9.1.17.0
22
35
 
23
36
  env:
24
37
  global:
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ appraise 'rails-4.2' do
4
+ gem 'activemodel', '~> 4.2.0'
5
+ gem 'activesupport', '~> 4.2.0'
6
+ end
7
+
8
+ appraise 'rails-5.0' do
9
+ gem 'activemodel', '~> 5.0.0'
10
+ gem 'activesupport', '~> 5.0.0'
11
+ end
12
+
13
+ appraise 'rails-5.1' do
14
+ gem 'activemodel', '~> 5.1.0'
15
+ gem 'activesupport', '~> 5.1.0'
16
+ end
17
+
18
+ appraise 'rails-5.2' do
19
+ gem 'activemodel', '~> 5.2.0'
20
+ gem 'activesupport', '~> 5.2.0'
21
+ end
22
+
23
+ appraise 'rails-6.0' do
24
+ gem 'activemodel', '~> 6.0.0'
25
+ gem 'activesupport', '~> 6.0.0'
26
+ end
@@ -1,5 +1,10 @@
1
1
  ## Unreleased
2
2
 
3
+ ## v3.1.0 - 2019-10-18
4
+
5
+ - Test with Rails 6
6
+ - Drop i18n dependency (credit goes to [@jas14](https://github.com/jas14) in [#23](https://github.com/rpush/modis/pull/23))
7
+
3
8
  ## v3.0.0 - 2018-12-20
4
9
 
5
10
  - Drop support for any Ruby < 2.3 and Rails < 4.2.
@@ -9,9 +14,9 @@
9
14
 
10
15
  ## v2.1.0
11
16
 
12
- - Add `enable_all_index` option to allow disabling the `all` keys. [#7](https://github.com/ileitch/modis/pull/7)
17
+ - Add `enable_all_index` option to allow disabling the `all` keys. [#7](https://github.com/rpush/modis/pull/7)
13
18
 
14
19
  ## v2.0.0
15
20
 
16
- - Support MRI 2.2.2+ and JRuby 9k+ [#5](https://github.com/ileitch/modis/pull/5)
17
- - Remove YAML (de)serialization support [#5](https://github.com/ileitch/modis/pull/5)
21
+ - Support MRI 2.2.2+ and JRuby 9k+ [#5](https://github.com/rpush/modis/pull/5)
22
+ - Remove YAML (de)serialization support [#5](https://github.com/rpush/modis/pull/5)
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://secure.travis-ci.org/ileitch/modis.png?branch=master)](http://travis-ci.org/ileitch/modis)
1
+ [![Build Status](https://travis-ci.org/rpush/modis.svg?branch=master)](https://travis-ci.org/rpush/modis)
2
2
  [![Code Climate](https://codeclimate.com/github/ileitch/modis/badges/gpa.svg)](https://codeclimate.com/github/ileitch/modis)
3
3
  [![Test Coverage](https://codeclimate.com/github/ileitch/modis/badges/coverage.svg)](https://codeclimate.com/github/ileitch/modis)
4
4
 
@@ -47,7 +47,7 @@ Modis, by default, creates an `all` index in redis in which it stores all the ID
47
47
  end
48
48
  ```
49
49
 
50
- By disabling the `all` index functionality, the IDs of each record created won't be saved. As a side effect, using `all` finder method will raise a `IndexError` exception as we would not have enough information to fetch all records. See https://github.com/ileitch/modis/pull/7 for more context.
50
+ By disabling the `all` index functionality, the IDs of each record created won't be saved. As a side effect, using `all` finder method will raise a `IndexError` exception as we would not have enough information to fetch all records. See https://github.com/rpush/modis/pull/7 for more context.
51
51
 
52
52
  ## Supported Features
53
53
 
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 4.2.0"
6
+ gem "activesupport", "~> 4.2.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 5.0.0"
6
+ gem "activesupport", "~> 5.0.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 5.1.0"
6
+ gem "activesupport", "~> 5.1.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 5.2.0"
6
+ gem "activesupport", "~> 5.2.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 6.0.0"
6
+ gem "activesupport", "~> 6.0.0"
7
+
8
+ gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Modis
4
- VERSION = '3.0.0'
4
+ VERSION = '3.1.0'
5
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["port001@gmail.com"]
11
11
  gem.description = "ActiveModel + Redis"
12
12
  gem.summary = "ActiveModel + Redis"
13
- gem.homepage = "https://github.com/ileitch/modis"
13
+ gem.homepage = "https://github.com/rpush/modis"
14
14
  gem.license = "MIT"
15
15
 
16
16
  gem.files = `git ls-files`.split($/)
@@ -22,7 +22,6 @@ Gem::Specification.new do |gem|
22
22
 
23
23
  gem.add_runtime_dependency 'activemodel', '>= 4.2'
24
24
  gem.add_runtime_dependency 'activesupport', '>= 4.2'
25
- gem.add_runtime_dependency 'i18n', ['>= 0.7', '< 1.3']
26
25
  gem.add_runtime_dependency 'redis', '>= 3.0'
27
26
  gem.add_runtime_dependency 'hiredis', '>= 0.5'
28
27
  gem.add_runtime_dependency 'connection_pool', '>= 2'
@@ -34,6 +33,7 @@ Gem::Specification.new do |gem|
34
33
  gem.add_runtime_dependency 'msgpack', '>= 0.5'
35
34
  end
36
35
 
36
+ gem.add_development_dependency "appraisal"
37
37
  gem.add_development_dependency 'rake'
38
38
  gem.add_development_dependency 'rspec'
39
39
  gem.add_development_dependency 'codeclimate-test-reporter'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modis
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Leitch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-20 00:00:00.000000000 Z
11
+ date: 2019-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -38,26 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.2'
41
- - !ruby/object:Gem::Dependency
42
- name: i18n
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0.7'
48
- - - "<"
49
- - !ruby/object:Gem::Version
50
- version: '1.3'
51
- type: :runtime
52
- prerelease: false
53
- version_requirements: !ruby/object:Gem::Requirement
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: '0.7'
58
- - - "<"
59
- - !ruby/object:Gem::Version
60
- version: '1.3'
61
41
  - !ruby/object:Gem::Dependency
62
42
  name: redis
63
43
  requirement: !ruby/object:Gem::Requirement
@@ -114,6 +94,20 @@ dependencies:
114
94
  - - ">="
115
95
  - !ruby/object:Gem::Version
116
96
  version: '0.5'
97
+ - !ruby/object:Gem::Dependency
98
+ name: appraisal
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
117
111
  - !ruby/object:Gem::Dependency
118
112
  name: rake
119
113
  requirement: !ruby/object:Gem::Requirement
@@ -207,9 +201,9 @@ extra_rdoc_files: []
207
201
  files:
208
202
  - ".gitignore"
209
203
  - ".rubocop.yml"
210
- - ".ruby-gemset"
211
204
  - ".ruby-version"
212
205
  - ".travis.yml"
206
+ - Appraisals
213
207
  - CHANGELOG.md
214
208
  - Gemfile
215
209
  - LICENSE.txt
@@ -219,10 +213,11 @@ files:
219
213
  - benchmark/find.rb
220
214
  - benchmark/persistence.rb
221
215
  - benchmark/redis/connection/fakedis.rb
222
- - gemfiles/rails_42.gemfile
223
- - gemfiles/rails_50.gemfile
224
- - gemfiles/rails_51.gemfile
225
- - gemfiles/rails_52.gemfile
216
+ - gemfiles/rails_4.2.gemfile
217
+ - gemfiles/rails_5.0.gemfile
218
+ - gemfiles/rails_5.1.gemfile
219
+ - gemfiles/rails_5.2.gemfile
220
+ - gemfiles/rails_6.0.gemfile
226
221
  - lib/modis.rb
227
222
  - lib/modis/attribute.rb
228
223
  - lib/modis/configuration.rb
@@ -245,7 +240,7 @@ files:
245
240
  - spec/support/simplecov_quality_formatter.rb
246
241
  - spec/transaction_spec.rb
247
242
  - spec/validations_spec.rb
248
- homepage: https://github.com/ileitch/modis
243
+ homepage: https://github.com/rpush/modis
249
244
  licenses:
250
245
  - MIT
251
246
  metadata: {}
@@ -265,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
265
260
  version: '0'
266
261
  requirements: []
267
262
  rubyforge_project:
268
- rubygems_version: 2.7.8
263
+ rubygems_version: 2.7.6
269
264
  signing_key:
270
265
  specification_version: 4
271
266
  summary: ActiveModel + Redis
@@ -1 +0,0 @@
1
- modis
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 4.2.0'
6
- gem 'activesupport', '~> 4.2.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 5.0.0'
6
- gem 'activesupport', '~> 5.0.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 5.1.0'
6
- gem 'activesupport', '~> 5.1.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'activemodel', '~> 5.2.0'
6
- gem 'activesupport', '~> 5.2.0'
7
-
8
- gemspec path: '../'