restpack_serializer 0.6.12 → 0.6.13

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: 29675ee4cb74f76f0f88dfa4ddb86484cfd5fb7c15e5e0a01ccfa2142f1086c4
4
- data.tar.gz: f09ca1d697f23127162ebafbb57f502cb53817cee03f34fb38cbd27861921a1b
3
+ metadata.gz: 5cbdfc54c01006c75a8db9b73a60b7dc713e17257e77991b82bf4b3f3d22b537
4
+ data.tar.gz: 126c3c857097eb24d9f45aa1d9a1a2b40363f1246edc869350249b6fba30c3f8
5
5
  SHA512:
6
- metadata.gz: ca2acc1214a42e32f9ccf8aab6617b7a5c914b7d0f21a5fef64152e0130ababb26844a03bf9489e178f5d32ed13e6f5224a48d6f3e0c710a62ae8ffb22ee70ac
7
- data.tar.gz: df71b93f4a14adbdde6f953185b4d105d1f8756cff5fa3f8db3f2e8d65630c7ab53a743515600e901053093955fbebccbfa24c63b390984389a24a13f4126576
6
+ metadata.gz: 6002f9e445e71c1d4353b7954421dc80d6e1742ff5444f5701e3612a78a2cbd21b03de9a2347b0d8f534034e75a3d5badfdd75a7a26c037ef7897f394a5f7784
7
+ data.tar.gz: 7f81b17da0dd9cf8855108a00174c8ac0ce9df55732f87b0a1691f838abf90f18d7711363cdbf8b43326b759350250ef9e84e4dbc08b0e0c93280798205c20fb
@@ -0,0 +1,29 @@
1
+ name: CI
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+
9
+ strategy:
10
+ fail-fast: false
11
+
12
+ matrix:
13
+ ruby-version:
14
+ - 2.1
15
+ - 2.2
16
+ - 2.3
17
+ - 2.4
18
+ - 2.5
19
+ - 2.6
20
+ - 2.7
21
+ - 3.0
22
+
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ - uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ${{ matrix.ruby-version }}
28
+ bundler-cache: true
29
+ - run: bundle exec rake test
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.7.2
data/Gemfile CHANGED
@@ -4,3 +4,7 @@ gemspec
4
4
 
5
5
  gem 'coveralls', require: false
6
6
  gem 'memory_profiler', require: false
7
+
8
+ if RUBY_VERSION < "2.2"
9
+ gem "sqlite3", "~> 1.3.0"
10
+ end
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Serializer
3
- VERSION = '0.6.12'
3
+ VERSION = '0.6.13'
4
4
  end
5
5
  end
@@ -17,8 +17,8 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'activesupport', ['>= 4.0.3', '< 6.1']
21
- gem.add_dependency 'activerecord', ['>= 4.0.3', '< 6.1']
20
+ gem.add_dependency 'activesupport', ['>= 4.0.3', '< 7.0']
21
+ gem.add_dependency 'activerecord', ['>= 4.0.3', '< 7.0']
22
22
  gem.add_dependency 'kaminari', ['>= 0.17.0', '< 2.0']
23
23
 
24
24
  gem.add_development_dependency 'restpack_gem', '~> 0.0.9'
@@ -6,6 +6,8 @@ ActiveRecord::Base.establish_connection(
6
6
  :database => 'test.db'
7
7
  )
8
8
 
9
+ ActiveRecord::Migration.verbose = false
10
+
9
11
  ActiveRecord::Schema.define(:version => 1) do
10
12
  create_table "artists", :force => true do |t|
11
13
  t.string "name"
@@ -5,6 +5,8 @@ require './spec/fixtures/serializers'
5
5
  require './spec/support/factory'
6
6
  require 'database_cleaner'
7
7
  require 'coveralls'
8
+
9
+ Coveralls::Output.silent = true unless ENV["CI"]
8
10
  Coveralls.wear!
9
11
  FactoryGirl.find_definitions
10
12
 
@@ -20,10 +22,6 @@ RSpec.configure do |config|
20
22
  DatabaseCleaner.strategy = :transaction
21
23
  end
22
24
 
23
- config.before(:each, :js => true) do
24
- DatabaseCleaner.strategy = :truncation
25
- end
26
-
27
25
  config.before(:each) do
28
26
  DatabaseCleaner.start
29
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack_serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.12
4
+ version: 0.6.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Joyce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-30 00:00:00.000000000 Z
11
+ date: 2021-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 4.0.3
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.1'
22
+ version: '7.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 4.0.3
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.1'
32
+ version: '7.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activerecord
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: 4.0.3
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '6.1'
42
+ version: '7.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: 4.0.3
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '6.1'
52
+ version: '7.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: kaminari
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -189,10 +189,10 @@ executables: []
189
189
  extensions: []
190
190
  extra_rdoc_files: []
191
191
  files:
192
+ - ".github/workflows/ci.yml"
192
193
  - ".gitignore"
193
194
  - ".rspec"
194
195
  - ".ruby-version"
195
- - ".travis.yml"
196
196
  - Gemfile
197
197
  - Guardfile
198
198
  - LICENSE
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.3.1
4
- script: bundle exec rake test