fast_serializer_ruby 0.6.4 → 0.6.5

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: ac8a1a9a688c7c866eed16ff360db7ce7e898449d01638f0a2e5ad8e25c10ec3
4
- data.tar.gz: 537b93afce1348b456bd52e0cfa6e5bad52e68067ff890930c1c7282003d0a2d
3
+ metadata.gz: 57d166375199eba26336a76a5fd98fdd3d434c2db20d08857f896137ae8c390a
4
+ data.tar.gz: 96aba9fff396a567ee408dad54c1485e39449a9258324fe811c62b98bc5fcf7a
5
5
  SHA512:
6
- metadata.gz: df1582559bdd4cc6e17d976c1aaf0916d37485f60a792991038224dea46493fdc4815406e64da801b4c00ea34bcde21fbdafd196697e1f3a9ba5e2ff5cc41f75
7
- data.tar.gz: 238535794943fd0361027c85d99a5e03758e91db2b363bd9bebfc5fa5eec5197e2f8ed0387871136ec5936cdbbc28d1a0e228c280359a9b191aded5478963670
6
+ metadata.gz: e2fbd568da824165230e83774d86a5765592fa03dd494fc9768050db593ce8dba32f257e0542159cdfff9d8756a355c9ca597f5752bd3170baa0092dc9fd1690
7
+ data.tar.gz: 13f090892e0d9dd7c97517d46512f2af0bedb5e9c0a1d0a4604da80da704c35c7c7b8276e873055ca15d4f20cd847ce9c6e20c8511ada38e39e49bf4a823266b
@@ -0,0 +1,42 @@
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-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', 'jruby']
15
+
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
19
+ with:
20
+ ruby-version: ${{ matrix.ruby-version }}
21
+ bundler-cache: true
22
+ - run: bundle exec rspec --tag ~performance:true
23
+
24
+ coverage:
25
+ runs-on: ubuntu-latest
26
+ strategy:
27
+ matrix:
28
+ ruby-version: ['2.7']
29
+ steps:
30
+ - uses: actions/checkout@v2
31
+ - uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
32
+ with:
33
+ ruby-version: ${{ matrix.ruby-version }}
34
+ bundler-cache: true
35
+ - name: Test & publish code coverage
36
+ uses: paambaati/codeclimate-action@v2.7.5
37
+ with:
38
+ coverageCommand: bundle exec rspec --tag ~performance:true
39
+ env:
40
+ CC_TEST_REPORTER_ID: 99325a42b78ef51a9d51574d20dbcd6acdfe75c8568f1433f73b61f17149e05d
41
+ COVERAGE: 1
42
+
data/.gitignore CHANGED
@@ -15,3 +15,4 @@
15
15
  .history
16
16
  /.vscode
17
17
  .rubocop.yml
18
+ Gemfile.lock
data/Gemfile CHANGED
@@ -12,14 +12,17 @@ group :development, :test do
12
12
  end
13
13
 
14
14
  group :test do
15
- gem 'active_model_serializers', '~> 0.10.0'
15
+ gem 'active_model_serializers'
16
16
  gem 'factory_bot'
17
17
  gem 'faker'
18
- gem 'activesupport', '< 6'
18
+ gem 'activesupport'
19
19
  gem 'allocation_stats'
20
- gem 'simplecov', '~> 0.17.1'
21
- gem 'benchmark-memory', '~> 0.1'
22
- gem 'rspec', '~> 3.0'
20
+ gem 'simplecov'
21
+ gem 'benchmark-memory'
22
+ gem 'rspec'
23
23
  gem 'rspec-benchmark'
24
- gem 'pry-byebug'
24
+
25
+ platform :mri do
26
+ gem 'pry-byebug'
27
+ end
25
28
  end
data/README.md CHANGED
@@ -106,8 +106,6 @@ schema.serializable_hash
106
106
  }
107
107
  }
108
108
 
109
-
110
-
111
109
  ```
112
110
 
113
111
 
@@ -14,7 +14,6 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'This library intends to solve such a typical and on the other hand important problem as efficient ruby object to hash transformation.'
15
15
  spec.homepage = 'https://github.com/estepnv/fast_serializer'
16
16
  spec.license = 'MIT'
17
- spec.platform = Gem::Platform::RUBY
18
17
  spec.required_ruby_version = '>= 2.3.0'
19
18
 
20
19
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastSerializer
4
- VERSION = '0.6.4'
4
+ VERSION = '0.6.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_serializer_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeny Stepanov
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-26 00:00:00.000000000 Z
11
+ date: 2021-11-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This library intends to solve such a typical and on the other hand important
14
14
  problem as efficient ruby object to hash transformation.
@@ -18,12 +18,11 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
+ - ".github/workflows/ruby.yml"
21
22
  - ".gitignore"
22
- - ".travis.yml"
23
23
  - CHANGELOG.md
24
24
  - CODE_OF_CONDUCT.md
25
25
  - Gemfile
26
- - Gemfile.lock
27
26
  - LICENSE.txt
28
27
  - README.md
29
28
  - Rakefile
@@ -51,7 +50,7 @@ metadata:
51
50
  homepage_uri: https://github.com/estepnv/fast_serializer
52
51
  source_code_uri: https://github.com/estepnv/fast_serializer
53
52
  changelog_uri: https://github.com/estepnv/fast_serializer/CHANGELOG.md
54
- post_install_message:
53
+ post_install_message:
55
54
  rdoc_options: []
56
55
  require_paths:
57
56
  - lib
@@ -66,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
65
  - !ruby/object:Gem::Version
67
66
  version: '0'
68
67
  requirements: []
69
- rubygems_version: 3.1.2
70
- signing_key:
68
+ rubygems_version: 3.2.27
69
+ signing_key:
71
70
  specification_version: 4
72
71
  summary: fast_serializer is a lightweight ruby objects serializer.
73
72
  test_files: []
data/.travis.yml DELETED
@@ -1,40 +0,0 @@
1
- sudo: false
2
-
3
- language: ruby
4
-
5
- rvm:
6
- - 2.3
7
- - 2.4
8
- - 2.5
9
- - 2.6
10
- - 2.7
11
- - jruby-9.2.0.0
12
- - ruby-head
13
- - jruby-head
14
-
15
- matrix:
16
- allow_failures:
17
- - rvm: jruby-9.2.0.0
18
- - rvm: ruby-head
19
- - rvm: jruby-head
20
-
21
- before_install:
22
- - yes | gem update --system --force
23
- - gem install bundler
24
-
25
- before_script:
26
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
27
- - chmod +x ./cc-test-reporter
28
- - ./cc-test-reporter before-build
29
-
30
- script: bundle exec rspec --tag ~performance:true
31
-
32
- after_script:
33
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
34
-
35
- cache: bundler
36
-
37
- env:
38
- global:
39
- CC_TEST_REPORTER_ID=99325a42b78ef51a9d51574d20dbcd6acdfe75c8568f1433f73b61f17149e05d
40
- COVERAGE=1
data/Gemfile.lock DELETED
@@ -1,139 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- fast_serializer_ruby (0.6.4)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- actionpack (5.2.4.1)
10
- actionview (= 5.2.4.1)
11
- activesupport (= 5.2.4.1)
12
- rack (~> 2.0, >= 2.0.8)
13
- rack-test (>= 0.6.3)
14
- rails-dom-testing (~> 2.0)
15
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
16
- actionview (5.2.4.1)
17
- activesupport (= 5.2.4.1)
18
- builder (~> 3.1)
19
- erubi (~> 1.4)
20
- rails-dom-testing (~> 2.0)
21
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
22
- active_model_serializers (0.10.10)
23
- actionpack (>= 4.1, < 6.1)
24
- activemodel (>= 4.1, < 6.1)
25
- case_transform (>= 0.2)
26
- jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
27
- activemodel (5.2.4.1)
28
- activesupport (= 5.2.4.1)
29
- activesupport (5.2.4.1)
30
- concurrent-ruby (~> 1.0, >= 1.0.2)
31
- i18n (>= 0.7, < 2)
32
- minitest (~> 5.1)
33
- tzinfo (~> 1.1)
34
- allocation_stats (0.1.5)
35
- benchmark-malloc (0.2.0)
36
- benchmark-memory (0.1.2)
37
- memory_profiler (~> 0.9)
38
- benchmark-perf (0.6.0)
39
- benchmark-trend (0.4.0)
40
- builder (3.2.4)
41
- byebug (11.1.3)
42
- case_transform (0.2)
43
- activesupport
44
- coderay (1.1.2)
45
- concurrent-ruby (1.1.6)
46
- crass (1.0.6)
47
- diff-lcs (1.3)
48
- docile (1.3.2)
49
- erubi (1.9.0)
50
- factory_bot (5.1.1)
51
- activesupport (>= 4.2.0)
52
- faker (2.10.2)
53
- i18n (>= 1.6, < 2)
54
- ffi (1.12.2-java)
55
- i18n (1.8.2)
56
- concurrent-ruby (~> 1.0)
57
- json (2.3.0)
58
- json (2.3.0-java)
59
- jsonapi-renderer (0.2.2)
60
- loofah (2.4.0)
61
- crass (~> 1.0.2)
62
- nokogiri (>= 1.5.9)
63
- memory_profiler (0.9.14)
64
- method_source (0.9.2)
65
- mini_portile2 (2.4.0)
66
- minitest (5.14.0)
67
- nokogiri (1.10.9)
68
- mini_portile2 (~> 2.4.0)
69
- nokogiri (1.10.9-java)
70
- pry (0.12.2)
71
- coderay (~> 1.1.0)
72
- method_source (~> 0.9.0)
73
- pry (0.12.2-java)
74
- coderay (~> 1.1.0)
75
- method_source (~> 0.9.0)
76
- spoon (~> 0.0)
77
- pry-byebug (3.8.0)
78
- byebug (~> 11.0)
79
- pry (~> 0.10)
80
- rack (2.2.2)
81
- rack-test (1.1.0)
82
- rack (>= 1.0, < 3)
83
- rails-dom-testing (2.0.3)
84
- activesupport (>= 4.2.0)
85
- nokogiri (>= 1.6)
86
- rails-html-sanitizer (1.3.0)
87
- loofah (~> 2.3)
88
- rake (13.0.1)
89
- rspec (3.9.0)
90
- rspec-core (~> 3.9.0)
91
- rspec-expectations (~> 3.9.0)
92
- rspec-mocks (~> 3.9.0)
93
- rspec-benchmark (0.6.0)
94
- benchmark-malloc (~> 0.2)
95
- benchmark-perf (~> 0.6)
96
- benchmark-trend (~> 0.4)
97
- rspec (>= 3.0)
98
- rspec-core (3.9.1)
99
- rspec-support (~> 3.9.1)
100
- rspec-expectations (3.9.1)
101
- diff-lcs (>= 1.2.0, < 2.0)
102
- rspec-support (~> 3.9.0)
103
- rspec-mocks (3.9.1)
104
- diff-lcs (>= 1.2.0, < 2.0)
105
- rspec-support (~> 3.9.0)
106
- rspec-support (3.9.2)
107
- simplecov (0.17.1)
108
- docile (~> 1.1)
109
- json (>= 1.8, < 3)
110
- simplecov-html (~> 0.10.0)
111
- simplecov-html (0.10.2)
112
- spoon (0.0.6)
113
- ffi
114
- thread_safe (0.3.6)
115
- thread_safe (0.3.6-java)
116
- tzinfo (1.2.6)
117
- thread_safe (~> 0.1)
118
-
119
- PLATFORMS
120
- java
121
- ruby
122
-
123
- DEPENDENCIES
124
- active_model_serializers (~> 0.10.0)
125
- activesupport (< 6)
126
- allocation_stats
127
- benchmark-memory (~> 0.1)
128
- factory_bot
129
- faker
130
- fast_serializer_ruby!
131
- pry
132
- pry-byebug
133
- rake
134
- rspec (~> 3.0)
135
- rspec-benchmark
136
- simplecov (~> 0.17.1)
137
-
138
- BUNDLED WITH
139
- 2.1.4