pluck_all 2.0.4 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +101 -0
- data/.rubocop.yml +34 -35
- data/CHANGELOG.md +82 -60
- data/README.md +67 -10
- data/Rakefile +22 -22
- data/bin/console +14 -14
- data/gemfiles/active_record_32.gemfile +16 -13
- data/gemfiles/active_record_42.gemfile +18 -13
- data/gemfiles/active_record_50.gemfile +18 -13
- data/gemfiles/active_record_51.gemfile +18 -13
- data/gemfiles/active_record_52.gemfile +18 -13
- data/gemfiles/active_record_60.gemfile +18 -0
- data/gemfiles/active_record_61.gemfile +18 -0
- data/gemfiles/mongoid_54.gemfile +11 -11
- data/gemfiles/mongoid_64.gemfile +11 -11
- data/gemfiles/mongoid_70.gemfile +11 -11
- data/lib/pluck_all.rb +3 -3
- data/lib/pluck_all/hooks.rb +10 -10
- data/lib/pluck_all/models/active_record_extension.rb +23 -15
- data/lib/pluck_all/models/mongoid_extension.rb +70 -70
- data/lib/pluck_all/models/patches/deserialize.rb +13 -13
- data/lib/pluck_all/version.rb +1 -1
- data/pluck_all.gemspec +43 -35
- metadata +26 -7
- data/.travis.yml +0 -52
- data/lib/pluck_all/models/patches/attribute_types.rb +0 -8
data/.travis.yml
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.2
|
5
|
-
- 2.3
|
6
|
-
services:
|
7
|
-
- mongodb
|
8
|
-
env:
|
9
|
-
global:
|
10
|
-
- CC_TEST_REPORTER_ID=db72eba1ff8fb1329dae5fb9b9dcd234243899d7a464ceb374e14a05ead27b7c
|
11
|
-
matrix:
|
12
|
-
- ORM_TYPE=ACTIVE_RECORD
|
13
|
-
- ORM_TYPE=MONGOID
|
14
|
-
gemfile:
|
15
|
-
- gemfiles/active_record_32.gemfile
|
16
|
-
- gemfiles/active_record_42.gemfile
|
17
|
-
- gemfiles/active_record_50.gemfile
|
18
|
-
- gemfiles/active_record_51.gemfile
|
19
|
-
- gemfiles/active_record_52.gemfile
|
20
|
-
- gemfiles/mongoid_54.gemfile
|
21
|
-
- gemfiles/mongoid_64.gemfile
|
22
|
-
- gemfiles/mongoid_70.gemfile
|
23
|
-
matrix:
|
24
|
-
exclude:
|
25
|
-
- gemfile: gemfiles/active_record_32.gemfile
|
26
|
-
env: ORM_TYPE=MONGOID
|
27
|
-
- gemfile: gemfiles/active_record_42.gemfile
|
28
|
-
env: ORM_TYPE=MONGOID
|
29
|
-
- gemfile: gemfiles/active_record_50.gemfile
|
30
|
-
env: ORM_TYPE=MONGOID
|
31
|
-
- gemfile: gemfiles/active_record_51.gemfile
|
32
|
-
env: ORM_TYPE=MONGOID
|
33
|
-
- gemfile: gemfiles/active_record_52.gemfile
|
34
|
-
env: ORM_TYPE=MONGOID
|
35
|
-
- gemfile: gemfiles/mongoid_54.gemfile
|
36
|
-
env: ORM_TYPE=ACTIVE_RECORD
|
37
|
-
- gemfile: gemfiles/mongoid_64.gemfile
|
38
|
-
env: ORM_TYPE=ACTIVE_RECORD
|
39
|
-
- gemfile: gemfiles/mongoid_70.gemfile
|
40
|
-
env: ORM_TYPE=ACTIVE_RECORD
|
41
|
-
before_install:
|
42
|
-
- gem i rubygems-update -v '<3' && update_rubygems
|
43
|
-
- gem install bundler -v 1.17.3
|
44
|
-
- gem --version
|
45
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
46
|
-
- chmod +x ./cc-test-reporter
|
47
|
-
- ./cc-test-reporter before-build
|
48
|
-
script:
|
49
|
-
- if [ "$ORM_TYPE" = "ACTIVE_RECORD" ]; then bundle exec rake test_active_record; fi
|
50
|
-
- if [ "$ORM_TYPE" = "MONGOID" ]; then bundle exec rake test_mongoid; fi
|
51
|
-
after_script:
|
52
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|