porridge 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c767e7225acd4284055aa8379a67e9f8f8527d8946ff4df782e3c377d67bec8
4
- data.tar.gz: b2bad4d91dc0feb01d990aaa1226345e49ce9baf0900578de6f720d47f86d5c3
3
+ metadata.gz: 577ef844764ac84f75892ea93545680c853a8fde96f4dad4a01c9b28cad3587e
4
+ data.tar.gz: 3f6bdc1af01753095c26e7a0711163db6885a575ec80439f0443c18d7dad6b2f
5
5
  SHA512:
6
- metadata.gz: 835d2f5b110f0de84a242416791b49b28847de02cab5324f87ea6ee6e6209236f9fbc9e288e3caa158056f8e060e9ff254bf48a73c3b925366ea4772fe11be78
7
- data.tar.gz: bee59698bf34b8f763c36f39955ffa15ae60976cd151675bbfe2e049f6eb8ba4205d99db74d069b181c64636584d3dbc5816097ceafb9d9f081e7a6ac084d98a
6
+ metadata.gz: aef62fe3204d9ad45cbd774083ddd57c80fc478781669e7443b7b0b214b8890d8dc27de13e76aca63b7aa70fbb098745965192baee94f7db515bf30da6fbed5d
7
+ data.tar.gz: e7ea2c1b4570aa0426220b5e1ebdf967e7490b2e5820e9e4d33f2fcb5bf64835f2c9c6c91f48ec18d677c69770486b8a4c19d3e2dff7376cf479d5915a68f530
data/.idea/porridge.iml CHANGED
@@ -11,7 +11,7 @@
11
11
  </content>
12
12
  <orderEntry type="inheritedJdk" />
13
13
  <orderEntry type="sourceFolder" forTests="false" />
14
- <orderEntry type="library" scope="PROVIDED" name="activesupport (v5.2.5, rbenv: 3.0.0) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="activesupport (v7.0.1, rbenv: 3.0.0) [gem]" level="application" />
15
15
  <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, rbenv: 3.0.0) [gem]" level="application" />
16
16
  <orderEntry type="library" scope="PROVIDED" name="bundler (v2.2.25, rbenv: 3.0.0) [gem]" level="application" />
17
17
  <orderEntry type="library" scope="PROVIDED" name="byebug (v11.1.3, rbenv: 3.0.0) [gem]" level="application" />
@@ -23,16 +23,16 @@
23
23
  <orderEntry type="library" scope="PROVIDED" name="minitest (v5.15.0, rbenv: 3.0.0) [gem]" level="application" />
24
24
  <orderEntry type="library" scope="PROVIDED" name="parallel (v1.21.0, rbenv: 3.0.0) [gem]" level="application" />
25
25
  <orderEntry type="library" scope="PROVIDED" name="parser (v3.1.0.0, rbenv: 3.0.0) [gem]" level="application" />
26
- <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, rbenv: 3.0.0) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, rbenv: 3.0.0) [gem]" level="application" />
27
27
  <orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, rbenv: 3.0.0) [gem]" level="application" />
28
28
  <orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.2.0, rbenv: 3.0.0) [gem]" level="application" />
29
29
  <orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, rbenv: 3.0.0) [gem]" level="application" />
30
30
  <orderEntry type="library" scope="PROVIDED" name="rspec (v3.10.0, rbenv: 3.0.0) [gem]" level="application" />
31
31
  <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.10.1, rbenv: 3.0.0) [gem]" level="application" />
32
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.10.1, rbenv: 3.0.0) [gem]" level="application" />
32
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.10.2, rbenv: 3.0.0) [gem]" level="application" />
33
33
  <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.10.2, rbenv: 3.0.0) [gem]" level="application" />
34
34
  <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.10.3, rbenv: 3.0.0) [gem]" level="application" />
35
- <orderEntry type="library" scope="PROVIDED" name="rubocop (v1.24.1, rbenv: 3.0.0) [gem]" level="application" />
35
+ <orderEntry type="library" scope="PROVIDED" name="rubocop (v1.25.0, rbenv: 3.0.0) [gem]" level="application" />
36
36
  <orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.15.1, rbenv: 3.0.0) [gem]" level="application" />
37
37
  <orderEntry type="library" scope="PROVIDED" name="rubocop-rake (v0.6.0, rbenv: 3.0.0) [gem]" level="application" />
38
38
  <orderEntry type="library" scope="PROVIDED" name="rubocop-rspec (v2.7.0, rbenv: 3.0.0) [gem]" level="application" />
@@ -40,29 +40,28 @@
40
40
  <orderEntry type="library" scope="PROVIDED" name="simplecov (v0.21.2, rbenv: 3.0.0) [gem]" level="application" />
41
41
  <orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.12.3, rbenv: 3.0.0) [gem]" level="application" />
42
42
  <orderEntry type="library" scope="PROVIDED" name="simplecov_json_formatter (v0.1.3, rbenv: 3.0.0) [gem]" level="application" />
43
- <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, rbenv: 3.0.0) [gem]" level="application" />
44
- <orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.9, rbenv: 3.0.0) [gem]" level="application" />
43
+ <orderEntry type="library" scope="PROVIDED" name="tzinfo (v2.0.4, rbenv: 3.0.0) [gem]" level="application" />
45
44
  <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, rbenv: 3.0.0) [gem]" level="application" />
46
45
  </component>
47
46
  <component name="RakeTasksCache">
48
47
  <option name="myRootTask">
49
48
  <RakeTaskImpl id="rake">
50
49
  <subtasks>
51
- <RakeTaskImpl description="Build porridge-0.1.0.gem into the pkg directory" fullCommand="build" id="build" />
50
+ <RakeTaskImpl description="Build porridge-0.2.0.gem into the pkg directory" fullCommand="build" id="build" />
52
51
  <RakeTaskImpl id="build">
53
52
  <subtasks>
54
- <RakeTaskImpl description="Generate SHA512 checksum if porridge-0.1.0.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
53
+ <RakeTaskImpl description="Generate SHA512 checksum if porridge-0.2.0.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
55
54
  </subtasks>
56
55
  </RakeTaskImpl>
57
56
  <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
58
57
  <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
59
- <RakeTaskImpl description="Build and install porridge-0.1.0.gem into system gems" fullCommand="install" id="install" />
58
+ <RakeTaskImpl description="Build and install porridge-0.2.0.gem into system gems" fullCommand="install" id="install" />
60
59
  <RakeTaskImpl id="install">
61
60
  <subtasks>
62
- <RakeTaskImpl description="Build and install porridge-0.1.0.gem into system gems without network access" fullCommand="install:local" id="local" />
61
+ <RakeTaskImpl description="Build and install porridge-0.2.0.gem into system gems without network access" fullCommand="install:local" id="local" />
63
62
  </subtasks>
64
63
  </RakeTaskImpl>
65
- <RakeTaskImpl description="Create tag v0.1.0 and build and push porridge-0.1.0.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
64
+ <RakeTaskImpl description="Create tag v0.2.0 and build and push porridge-0.2.0.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
66
65
  <RakeTaskImpl description="Run RuboCop" fullCommand="rubocop" id="rubocop" />
67
66
  <RakeTaskImpl id="rubocop">
68
67
  <subtasks>
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.1] - 2022-01-19
4
+
5
+ ### Changed
6
+
7
+ - Bumped required `activesupport` version to 7.0.x.
8
+
3
9
  ## [0.2.0] - 2022-01-19
4
10
 
5
11
  This is the initial functional release of the gem. Extractors, serializers, fields, field policies, and an elegant DSL over top were implemented added.
data/Gemfile.lock CHANGED
@@ -2,16 +2,16 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  porridge (0.2.0)
5
- activesupport (~> 5.0)
5
+ activesupport (~> 7.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (5.2.5)
10
+ activesupport (7.0.1)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (>= 0.7, < 2)
13
- minitest (~> 5.1)
14
- tzinfo (~> 1.1)
12
+ i18n (>= 1.6, < 2)
13
+ minitest (>= 5.1)
14
+ tzinfo (~> 2.0)
15
15
  ast (2.4.2)
16
16
  byebug (11.1.3)
17
17
  codecov (0.6.0)
@@ -25,7 +25,7 @@ GEM
25
25
  parallel (1.21.0)
26
26
  parser (3.1.0.0)
27
27
  ast (~> 2.4.1)
28
- rainbow (3.0.0)
28
+ rainbow (3.1.1)
29
29
  rake (13.0.6)
30
30
  regexp_parser (2.2.0)
31
31
  rexml (3.2.5)
@@ -35,16 +35,16 @@ GEM
35
35
  rspec-mocks (~> 3.10.0)
36
36
  rspec-core (3.10.1)
37
37
  rspec-support (~> 3.10.0)
38
- rspec-expectations (3.10.1)
38
+ rspec-expectations (3.10.2)
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
40
  rspec-support (~> 3.10.0)
41
41
  rspec-mocks (3.10.2)
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
43
  rspec-support (~> 3.10.0)
44
44
  rspec-support (3.10.3)
45
- rubocop (1.24.1)
45
+ rubocop (1.25.0)
46
46
  parallel (~> 1.10)
47
- parser (>= 3.0.0.0)
47
+ parser (>= 3.1.0.0)
48
48
  rainbow (>= 2.2.2, < 4.0)
49
49
  regexp_parser (>= 1.8, < 3.0)
50
50
  rexml
@@ -64,9 +64,8 @@ GEM
64
64
  simplecov_json_formatter (~> 0.1)
65
65
  simplecov-html (0.12.3)
66
66
  simplecov_json_formatter (0.1.3)
67
- thread_safe (0.3.6)
68
- tzinfo (1.2.9)
69
- thread_safe (~> 0.1)
67
+ tzinfo (2.0.4)
68
+ concurrent-ruby (~> 1.0)
70
69
  unicode-display_width (2.1.0)
71
70
 
72
71
  PLATFORMS
@@ -1,5 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'active_support'
4
+ require 'active_support/core_ext/module/delegation'
5
+
3
6
  module Porridge
4
7
  # {SerializerDefiner} is a class that wraps a {Factory} and allows serializes to be easily defined with an elegant
5
8
  # DSL.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Porridge
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
data/porridge.gemspec CHANGED
@@ -42,7 +42,7 @@ Gem::Specification.new do |spec|
42
42
  # Uncomment to register a new dependency of your gem
43
43
  # spec.add_dependency "example-gem", "~> 1.0"
44
44
 
45
- spec.add_dependency 'activesupport', '~> 5.0'
45
+ spec.add_dependency 'activesupport', '~> 7.0'
46
46
 
47
47
  # For more information and examples about making a new gem, checkout our
48
48
  # guide at: https://bundler.io/guides/creating_gem.html
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: porridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '5.0'
117
+ version: '7.0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '5.0'
124
+ version: '7.0'
125
125
  description: |
126
126
  `porridge` is a plain Ruby gem that takes a flexible, object-oriented approach to serialization. `porridge`
127
127
  transforms objects into ruby hashes and arrays, which can then be serialized with other libraries.