enumerize 2.4.0 → 2.5.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: 15a8427afecf01652e67b4758c05a499ba541254799d8ca61f0146f942647388
4
- data.tar.gz: ee769906574712f378ca8dfb8aaadcfcc5993a485531cf520b44c41420e8fa84
3
+ metadata.gz: c86135927c636fc672bb7371b83b78b6844716f70dd2b9fa19a255b35ce2a5ca
4
+ data.tar.gz: d1ac5ff95c2673d0743fab97725cf7abc939b157594545ad3e40dd9a1eefb841
5
5
  SHA512:
6
- metadata.gz: 46edf9a1fed39c9122247957a64dab6a773f5d0a8d0176204e48bd9d28074019480c1ae3cf16ccc3ad7a185d64fb7cf92d9f1a5ec63a581a388d1dd4620ac651
7
- data.tar.gz: 206734dd6819196fbdff49e89626d30e45cd29154a63151f8631c87d13d15c7bd2bae90916b411a7f7d71287fa5be5a742f281392348f3c330401dde9d4b72c2
6
+ metadata.gz: 811f624a3f6d92fa20bc988b80051103e441315eab1662f3f2b1b9b98a866984e247e1b823669a7f7645d13e5aa44aaf8e1e95e39294e8c27a28d96dfc87b572
7
+ data.tar.gz: 8c50e7946135c94719ac50149ab55ad1601d508b9cdf663e4542f220655b611899824af77a60873601d2193b01fc2611735f643c51d07d8d188213b478123149
@@ -0,0 +1,73 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-20.04
12
+ services:
13
+ mongodb:
14
+ image: mongo:latest
15
+ ports:
16
+ - 27017:27017
17
+ postgres:
18
+ image: postgres:12
19
+ env:
20
+ POSTGRES_USER: postgres
21
+ POSTGRES_PASSWORD: postgres
22
+ ports:
23
+ - 5432:5432
24
+ options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
25
+ mysql:
26
+ image: mysql:5.6
27
+ env:
28
+ MYSQL_ROOT_PASSWORD: mysql
29
+ ports:
30
+ - 3306:3306
31
+ options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 10
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ ruby-version: ['2.6', '2.7', '3.0.2']
36
+ gemfile:
37
+ - Gemfile
38
+ - Gemfile.rails60
39
+ - Gemfile.rails61
40
+ - Gemfile.rails70
41
+ - Gemfile.railsmaster
42
+ - Gemfile.mongo_mapper
43
+ db:
44
+ - sqlite3
45
+ - postgresql
46
+ - mysql2
47
+ exclude:
48
+ - gemfile: Gemfile.mongo_mapper
49
+ db: postgresql
50
+ - ruby-version: '3.0.2'
51
+ gemfile: Gemfile
52
+ - ruby-version: '3.0.2'
53
+ gemfile: Gemfile.mongo_mapper
54
+ - ruby-version: '2.6'
55
+ gemfile: Gemfile.rails70
56
+ - ruby-version: '2.6'
57
+ gemfile: Gemfile.railsmaster
58
+ env:
59
+ BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
60
+ DB: "${{ matrix.db }}"
61
+ steps:
62
+ - uses: actions/checkout@v2
63
+ - name: Set up Ruby
64
+ uses: ruby/setup-ruby@v1
65
+ with:
66
+ ruby-version: ${{ matrix.ruby-version }}
67
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
68
+ - name: Run tests
69
+ run: bundle exec rake
70
+ env:
71
+ POSTGRES_USER: postgres
72
+ POSTGRES_PASSWORD: postgres
73
+ MYSQL_ROOT_PASSWORD: mysql
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 2.5.0 (December 24, 2021)
2
+
3
+ ### enhancements
4
+
5
+ * Add support for Rails 7.0.0.alpha. (by [@f-mer](https://github.com/f-mer))
6
+ * Add support for negative shallow scopes. (by [@nashby](https://github.com/nashby))
7
+
1
8
  ## 2.4.0 (December 12, 2020)
2
9
 
3
10
  ### enhancements
data/Gemfile.global CHANGED
@@ -7,13 +7,6 @@ gem 'rspec', :require => false
7
7
 
8
8
  gem 'pg', '~> 1.2.3', :platform => [:ruby, :mswin, :mingw]
9
9
  gem 'sequel'
10
-
11
- platforms :rbx do
12
- gem 'rubysl', '~> 2.0'
13
- gem 'psych'
14
- gem 'rubinius-developer_tools'
15
- gem 'rubysl-test-unit'
16
- end
17
-
18
10
  gem 'simple_form'
19
11
  gem 'formtastic'
12
+ gem 'mysql2'
data/Gemfile.rails70 ADDED
@@ -0,0 +1,9 @@
1
+ eval_gemfile('Gemfile.global')
2
+
3
+ gem 'minitest', '~> 5.8'
4
+ gem 'rails', github: 'rails/rails', branch: '7-0-stable', require: false
5
+
6
+ # TODO: Mongoid doesn't support Rails 7 yet. Uncomment when it's fixed https://jira.mongodb.org/browse/MONGOID-5193
7
+ # gem 'mongoid', github: 'mongodb/mongoid'
8
+
9
+ gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
@@ -0,0 +1,5 @@
1
+ eval_gemfile('Gemfile.global')
2
+
3
+ gem 'minitest', '~> 5.8'
4
+ gem 'rails', github: 'rails/rails', branch: 'main', require: false
5
+ gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]