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 +4 -4
- data/.idea/porridge.iml +10 -11
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +11 -12
- data/lib/porridge/serializer_definer.rb +3 -0
- data/lib/porridge/version.rb +1 -1
- data/porridge.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 577ef844764ac84f75892ea93545680c853a8fde96f4dad4a01c9b28cad3587e
|
|
4
|
+
data.tar.gz: 3f6bdc1af01753095c26e7a0711163db6885a575ec80439f0443c18d7dad6b2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 (
|
|
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.
|
|
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.
|
|
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.
|
|
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="
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
+
activesupport (~> 7.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activesupport (
|
|
10
|
+
activesupport (7.0.1)
|
|
11
11
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
12
|
-
i18n (>=
|
|
13
|
-
minitest (
|
|
14
|
-
tzinfo (~>
|
|
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.
|
|
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.
|
|
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.
|
|
45
|
+
rubocop (1.25.0)
|
|
46
46
|
parallel (~> 1.10)
|
|
47
|
-
parser (>= 3.
|
|
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
|
-
|
|
68
|
-
|
|
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
|
data/lib/porridge/version.rb
CHANGED
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', '~>
|
|
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.
|
|
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: '
|
|
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: '
|
|
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.
|