porridge 0.1.0
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 +7 -0
- data/.github/workflows/build.yml +19 -0
- data/.gitignore +11 -0
- data/.idea/.gitignore +8 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/porridge.iml +80 -0
- data/.idea/vcs.xml +6 -0
- data/.rspec +3 -0
- data/.rubocop.yml +28 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +74 -0
- data/LICENSE.txt +21 -0
- data/README.md +42 -0
- data/Rakefile +12 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/porridge/version.rb +5 -0
- data/lib/porridge.rb +8 -0
- data/porridge.gemspec +49 -0
- metadata +166 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: f513e5f2d179544d20b2e0d181066402edd82f03ed491f7ef0c196516a193192
|
|
4
|
+
data.tar.gz: 864b15e6a5049bc21e4734c184b686604fecef2598597d4287ddc70a7bdeb3de
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: b8104a38ee8512d49eab94d6c5014158f5dac26d30a47410cfed46d92c5830c32817bc22be2c7274802de8464596a5c00e722992c826a6765b58c75eab0a3b1b
|
|
7
|
+
data.tar.gz: f72647f1966d161194f6e239d2da082481a0a84733a0b8d30b99f893d65ab4475bd4f6c61ecf6a3c522b480a139932f75e0081f6eb6c306e1b53f29c7c1b990e
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- uses: actions/checkout@v2
|
|
10
|
+
- name: Set up Ruby
|
|
11
|
+
uses: ruby/setup-ruby@v1.92.0
|
|
12
|
+
with:
|
|
13
|
+
ruby-version: 3.0
|
|
14
|
+
- name: Install dependencies
|
|
15
|
+
run: bundle install
|
|
16
|
+
- name: Run rake
|
|
17
|
+
run: bundle exec rake
|
|
18
|
+
- name: Codecov
|
|
19
|
+
uses: codecov/codecov-action@v2.1.0
|
data/.gitignore
ADDED
data/.idea/.gitignore
ADDED
data/.idea/misc.xml
ADDED
data/.idea/modules.xml
ADDED
data/.idea/porridge.iml
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="ModuleRunConfigurationManager">
|
|
4
|
+
<shared />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="NewModuleRootManager">
|
|
7
|
+
<content url="file://$MODULE_DIR$">
|
|
8
|
+
<sourceFolder url="file://$MODULE_DIR$/features" isTestSource="true" />
|
|
9
|
+
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
|
|
10
|
+
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
|
11
|
+
</content>
|
|
12
|
+
<orderEntry type="inheritedJdk" />
|
|
13
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, rbenv: 3.0.0) [gem]" level="application" />
|
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.2.25, rbenv: 3.0.0) [gem]" level="application" />
|
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="byebug (v11.1.3, rbenv: 3.0.0) [gem]" level="application" />
|
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="codecov (v0.6.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="docile (v1.4.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.21.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v3.1.0.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, rbenv: 3.0.0) [gem]" level="application" />
|
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.2.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.5, rbenv: 3.0.0) [gem]" level="application" />
|
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.10.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.10.1, rbenv: 3.0.0) [gem]" level="application" />
|
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.10.1, rbenv: 3.0.0) [gem]" level="application" />
|
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.10.2, rbenv: 3.0.0) [gem]" level="application" />
|
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.10.3, rbenv: 3.0.0) [gem]" level="application" />
|
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v1.24.1, rbenv: 3.0.0) [gem]" level="application" />
|
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.15.1, rbenv: 3.0.0) [gem]" level="application" />
|
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-rake (v0.6.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-rspec (v2.7.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.11.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.21.2, rbenv: 3.0.0) [gem]" level="application" />
|
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.12.3, rbenv: 3.0.0) [gem]" level="application" />
|
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov_json_formatter (v0.1.3, rbenv: 3.0.0) [gem]" level="application" />
|
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.1.0, rbenv: 3.0.0) [gem]" level="application" />
|
|
40
|
+
</component>
|
|
41
|
+
<component name="RakeTasksCache">
|
|
42
|
+
<option name="myRootTask">
|
|
43
|
+
<RakeTaskImpl id="rake">
|
|
44
|
+
<subtasks>
|
|
45
|
+
<RakeTaskImpl description="Build porridge-0.1.0.gem into the pkg directory" fullCommand="build" id="build" />
|
|
46
|
+
<RakeTaskImpl id="build">
|
|
47
|
+
<subtasks>
|
|
48
|
+
<RakeTaskImpl description="Generate SHA512 checksum if porridge-0.1.0.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
|
|
49
|
+
</subtasks>
|
|
50
|
+
</RakeTaskImpl>
|
|
51
|
+
<RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
|
|
52
|
+
<RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
|
|
53
|
+
<RakeTaskImpl description="Build and install porridge-0.1.0.gem into system gems" fullCommand="install" id="install" />
|
|
54
|
+
<RakeTaskImpl id="install">
|
|
55
|
+
<subtasks>
|
|
56
|
+
<RakeTaskImpl description="Build and install porridge-0.1.0.gem into system gems without network access" fullCommand="install:local" id="local" />
|
|
57
|
+
</subtasks>
|
|
58
|
+
</RakeTaskImpl>
|
|
59
|
+
<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]" />
|
|
60
|
+
<RakeTaskImpl description="Run RuboCop" fullCommand="rubocop" id="rubocop" />
|
|
61
|
+
<RakeTaskImpl id="rubocop">
|
|
62
|
+
<subtasks>
|
|
63
|
+
<RakeTaskImpl description="Auto-correct RuboCop offenses" fullCommand="rubocop:auto_correct" id="auto_correct" />
|
|
64
|
+
</subtasks>
|
|
65
|
+
</RakeTaskImpl>
|
|
66
|
+
<RakeTaskImpl description="Run RSpec code examples" fullCommand="spec" id="spec" />
|
|
67
|
+
<RakeTaskImpl description="" fullCommand="default" id="default" />
|
|
68
|
+
<RakeTaskImpl description="" fullCommand="release" id="release" />
|
|
69
|
+
<RakeTaskImpl id="release">
|
|
70
|
+
<subtasks>
|
|
71
|
+
<RakeTaskImpl description="" fullCommand="release:guard_clean" id="guard_clean" />
|
|
72
|
+
<RakeTaskImpl description="" fullCommand="release:rubygem_push" id="rubygem_push" />
|
|
73
|
+
<RakeTaskImpl description="" fullCommand="release:source_control_push" id="source_control_push" />
|
|
74
|
+
</subtasks>
|
|
75
|
+
</RakeTaskImpl>
|
|
76
|
+
</subtasks>
|
|
77
|
+
</RakeTaskImpl>
|
|
78
|
+
</option>
|
|
79
|
+
</component>
|
|
80
|
+
</module>
|
data/.idea/vcs.xml
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
AllCops:
|
|
2
|
+
TargetRubyVersion: 3.0
|
|
3
|
+
NewCops: enable
|
|
4
|
+
|
|
5
|
+
Layout/LineLength:
|
|
6
|
+
Max: 120
|
|
7
|
+
|
|
8
|
+
Layout/FirstHashElementIndentation:
|
|
9
|
+
EnforcedStyle: consistent
|
|
10
|
+
|
|
11
|
+
RSpec/RepeatedExampleGroupBody:
|
|
12
|
+
Enabled: false
|
|
13
|
+
RSpec/MultipleMemoizedHelpers:
|
|
14
|
+
Enabled: false
|
|
15
|
+
RSpec/NestedGroups:
|
|
16
|
+
Enabled: false
|
|
17
|
+
RSpec/ExampleLength:
|
|
18
|
+
Enabled: false
|
|
19
|
+
Metrics/BlockLength:
|
|
20
|
+
Exclude:
|
|
21
|
+
- 'spec/**/*.rb'
|
|
22
|
+
|
|
23
|
+
Style/GuardClause:
|
|
24
|
+
Enabled: false
|
|
25
|
+
|
|
26
|
+
require:
|
|
27
|
+
- rubocop-rspec
|
|
28
|
+
- rubocop-rake
|
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
porridge (0.1.0)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
ast (2.4.2)
|
|
10
|
+
byebug (11.1.3)
|
|
11
|
+
codecov (0.6.0)
|
|
12
|
+
simplecov (>= 0.15, < 0.22)
|
|
13
|
+
diff-lcs (1.5.0)
|
|
14
|
+
docile (1.4.0)
|
|
15
|
+
parallel (1.21.0)
|
|
16
|
+
parser (3.1.0.0)
|
|
17
|
+
ast (~> 2.4.1)
|
|
18
|
+
rainbow (3.0.0)
|
|
19
|
+
rake (13.0.6)
|
|
20
|
+
regexp_parser (2.2.0)
|
|
21
|
+
rexml (3.2.5)
|
|
22
|
+
rspec (3.10.0)
|
|
23
|
+
rspec-core (~> 3.10.0)
|
|
24
|
+
rspec-expectations (~> 3.10.0)
|
|
25
|
+
rspec-mocks (~> 3.10.0)
|
|
26
|
+
rspec-core (3.10.1)
|
|
27
|
+
rspec-support (~> 3.10.0)
|
|
28
|
+
rspec-expectations (3.10.1)
|
|
29
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
30
|
+
rspec-support (~> 3.10.0)
|
|
31
|
+
rspec-mocks (3.10.2)
|
|
32
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
33
|
+
rspec-support (~> 3.10.0)
|
|
34
|
+
rspec-support (3.10.3)
|
|
35
|
+
rubocop (1.24.1)
|
|
36
|
+
parallel (~> 1.10)
|
|
37
|
+
parser (>= 3.0.0.0)
|
|
38
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
39
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
40
|
+
rexml
|
|
41
|
+
rubocop-ast (>= 1.15.1, < 2.0)
|
|
42
|
+
ruby-progressbar (~> 1.7)
|
|
43
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
44
|
+
rubocop-ast (1.15.1)
|
|
45
|
+
parser (>= 3.0.1.1)
|
|
46
|
+
rubocop-rake (0.6.0)
|
|
47
|
+
rubocop (~> 1.0)
|
|
48
|
+
rubocop-rspec (2.7.0)
|
|
49
|
+
rubocop (~> 1.19)
|
|
50
|
+
ruby-progressbar (1.11.0)
|
|
51
|
+
simplecov (0.21.2)
|
|
52
|
+
docile (~> 1.1)
|
|
53
|
+
simplecov-html (~> 0.11)
|
|
54
|
+
simplecov_json_formatter (~> 0.1)
|
|
55
|
+
simplecov-html (0.12.3)
|
|
56
|
+
simplecov_json_formatter (0.1.3)
|
|
57
|
+
unicode-display_width (2.1.0)
|
|
58
|
+
|
|
59
|
+
PLATFORMS
|
|
60
|
+
x86_64-linux
|
|
61
|
+
|
|
62
|
+
DEPENDENCIES
|
|
63
|
+
byebug (~> 11.1)
|
|
64
|
+
codecov (~> 0.6)
|
|
65
|
+
porridge!
|
|
66
|
+
rake (~> 13.0)
|
|
67
|
+
rspec (~> 3.0)
|
|
68
|
+
rubocop (~> 1.7)
|
|
69
|
+
rubocop-rake (~> 0.6)
|
|
70
|
+
rubocop-rspec (~> 2.7)
|
|
71
|
+
simplecov (~> 0.21)
|
|
72
|
+
|
|
73
|
+
BUNDLED WITH
|
|
74
|
+
2.2.25
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Jacob
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Porridge
|
|
2
|
+
|
|
3
|
+
[](https://codeclimate.com/github/jacoblockard99/porridge/maintainability)
|
|
4
|
+
[](https://codecov.io/gh/jacoblockard99/porridge)
|
|
5
|
+
|
|
6
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/porridge`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
7
|
+
|
|
8
|
+
TODO: Delete this and the text above, and describe your gem
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
Add this line to your application's Gemfile:
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
gem 'porridge'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
And then execute:
|
|
19
|
+
|
|
20
|
+
$ bundle install
|
|
21
|
+
|
|
22
|
+
Or install it yourself as:
|
|
23
|
+
|
|
24
|
+
$ gem install porridge
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
TODO: Write usage instructions here
|
|
29
|
+
|
|
30
|
+
## Development
|
|
31
|
+
|
|
32
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
33
|
+
|
|
34
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
35
|
+
|
|
36
|
+
## Contributing
|
|
37
|
+
|
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/porridge.
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
|
|
42
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require 'bundler/setup'
|
|
5
|
+
require 'porridge'
|
|
6
|
+
|
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
+
|
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
+
# require "pry"
|
|
12
|
+
# Pry.start
|
|
13
|
+
|
|
14
|
+
require 'irb'
|
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/porridge.rb
ADDED
data/porridge.gemspec
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative 'lib/porridge/version'
|
|
4
|
+
|
|
5
|
+
# Obviously this block needs to be long.
|
|
6
|
+
# rubocop:disable Metrics/BlockLength
|
|
7
|
+
Gem::Specification.new do |spec|
|
|
8
|
+
spec.name = 'porridge'
|
|
9
|
+
spec.version = Porridge::VERSION
|
|
10
|
+
spec.authors = ['Jacob']
|
|
11
|
+
spec.email = ['jacoblockard99@gmail.com']
|
|
12
|
+
|
|
13
|
+
spec.summary = 'A flexible, object-oriented approach to Ruby serialization.'
|
|
14
|
+
spec.description = <<~DESC
|
|
15
|
+
`porridge` is a plain Ruby gem that takes a flexible, object-oriented approach to serialization. `porridge`
|
|
16
|
+
transforms objects into ruby hashes and arrays, which can then be serialized with other libraries.
|
|
17
|
+
DESC
|
|
18
|
+
spec.homepage = 'https://github.com/jacoblockard99/porridge'
|
|
19
|
+
spec.license = 'MIT'
|
|
20
|
+
spec.required_ruby_version = '>= 3.0.0'
|
|
21
|
+
|
|
22
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
|
23
|
+
spec.metadata['source_code_uri'] = spec.homepage
|
|
24
|
+
|
|
25
|
+
# Specify which files should be added to the gem when it is released.
|
|
26
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
27
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
28
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
|
29
|
+
end
|
|
30
|
+
spec.bindir = 'exe'
|
|
31
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
32
|
+
spec.require_paths = ['lib']
|
|
33
|
+
|
|
34
|
+
spec.add_development_dependency 'byebug', '~> 11.1'
|
|
35
|
+
spec.add_development_dependency 'codecov', '~> 0.6'
|
|
36
|
+
spec.add_development_dependency 'rspec', '~> 4.0'
|
|
37
|
+
spec.add_development_dependency 'rubocop', '~> 1.24'
|
|
38
|
+
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
|
|
39
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 2.7'
|
|
40
|
+
spec.add_development_dependency 'simplecov', '~> 0.21'
|
|
41
|
+
|
|
42
|
+
# Uncomment to register a new dependency of your gem
|
|
43
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
|
44
|
+
|
|
45
|
+
# For more information and examples about making a new gem, checkout our
|
|
46
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
|
47
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
48
|
+
end
|
|
49
|
+
# rubocop:enable Metrics/BlockLength
|
metadata
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: porridge
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Jacob
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2022-01-16 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: byebug
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '11.1'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '11.1'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: codecov
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0.6'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0.6'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rspec
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '4.0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '4.0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rubocop
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '1.24'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '1.24'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: rubocop-rake
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - "~>"
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0.6'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - "~>"
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0.6'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: rubocop-rspec
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '2.7'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '2.7'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: simplecov
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "~>"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0.21'
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - "~>"
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0.21'
|
|
111
|
+
description: |
|
|
112
|
+
`porridge` is a plain Ruby gem that takes a flexible, object-oriented approach to serialization. `porridge`
|
|
113
|
+
transforms objects into ruby hashes and arrays, which can then be serialized with other libraries.
|
|
114
|
+
email:
|
|
115
|
+
- jacoblockard99@gmail.com
|
|
116
|
+
executables: []
|
|
117
|
+
extensions: []
|
|
118
|
+
extra_rdoc_files: []
|
|
119
|
+
files:
|
|
120
|
+
- ".github/workflows/build.yml"
|
|
121
|
+
- ".gitignore"
|
|
122
|
+
- ".idea/.gitignore"
|
|
123
|
+
- ".idea/misc.xml"
|
|
124
|
+
- ".idea/modules.xml"
|
|
125
|
+
- ".idea/porridge.iml"
|
|
126
|
+
- ".idea/vcs.xml"
|
|
127
|
+
- ".rspec"
|
|
128
|
+
- ".rubocop.yml"
|
|
129
|
+
- CHANGELOG.md
|
|
130
|
+
- Gemfile
|
|
131
|
+
- Gemfile.lock
|
|
132
|
+
- LICENSE.txt
|
|
133
|
+
- README.md
|
|
134
|
+
- Rakefile
|
|
135
|
+
- bin/console
|
|
136
|
+
- bin/setup
|
|
137
|
+
- lib/porridge.rb
|
|
138
|
+
- lib/porridge/version.rb
|
|
139
|
+
- porridge.gemspec
|
|
140
|
+
homepage: https://github.com/jacoblockard99/porridge
|
|
141
|
+
licenses:
|
|
142
|
+
- MIT
|
|
143
|
+
metadata:
|
|
144
|
+
homepage_uri: https://github.com/jacoblockard99/porridge
|
|
145
|
+
source_code_uri: https://github.com/jacoblockard99/porridge
|
|
146
|
+
rubygems_mfa_required: 'true'
|
|
147
|
+
post_install_message:
|
|
148
|
+
rdoc_options: []
|
|
149
|
+
require_paths:
|
|
150
|
+
- lib
|
|
151
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
152
|
+
requirements:
|
|
153
|
+
- - ">="
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: 3.0.0
|
|
156
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
|
+
requirements:
|
|
158
|
+
- - ">="
|
|
159
|
+
- !ruby/object:Gem::Version
|
|
160
|
+
version: '0'
|
|
161
|
+
requirements: []
|
|
162
|
+
rubygems_version: 3.2.3
|
|
163
|
+
signing_key:
|
|
164
|
+
specification_version: 4
|
|
165
|
+
summary: A flexible, object-oriented approach to Ruby serialization.
|
|
166
|
+
test_files: []
|