aoc_rb 0.2.2 → 0.2.3
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/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/tests.yml +7 -0
- data/CHANGELOG.md +28 -3
- data/Gemfile +1 -1
- data/aoc_rb.gemspec +2 -2
- data/lib/aoc_rb/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6b9b02f670f239d02ce4b04aebc3520e82dfda9654ec8e031b929c9b2fcd379
|
4
|
+
data.tar.gz: 260fcdaaa65f8652e075dae3f6d67f867692d1f50468ea058110de0ca9666397
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50e0b3d7d0debb618b240109d6da5d684e4327d6a66231c716a1d0f18e5e17287082449a08f25bf685c7cd8a2bd186f55f88d0b4c7f9b813454cfdc181637d1b
|
7
|
+
data.tar.gz: 30d87e13feb0c05846b86df8563ccdc407ea6136cbbd39e1865104a6a00e2d15c9b0727533e70d806ba79e2ff3d7155cac8ff1b4bfa96e0b22783a259a4ef02e
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
2
|
+
# to commit it to your repository.
|
3
|
+
#
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
5
|
+
# or to provide custom queries or build logic.
|
6
|
+
#
|
7
|
+
# ******** NOTE ********
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
10
|
+
# supported CodeQL languages.
|
11
|
+
#
|
12
|
+
name: "CodeQL"
|
13
|
+
|
14
|
+
on:
|
15
|
+
push:
|
16
|
+
branches: [ main ]
|
17
|
+
pull_request:
|
18
|
+
# The branches below must be a subset of the branches above
|
19
|
+
branches: [ main ]
|
20
|
+
schedule:
|
21
|
+
- cron: '21 7 * * 4'
|
22
|
+
|
23
|
+
jobs:
|
24
|
+
analyze:
|
25
|
+
name: Analyze
|
26
|
+
runs-on: ubuntu-latest
|
27
|
+
permissions:
|
28
|
+
actions: read
|
29
|
+
contents: read
|
30
|
+
security-events: write
|
31
|
+
|
32
|
+
strategy:
|
33
|
+
fail-fast: false
|
34
|
+
matrix:
|
35
|
+
language: [ 'ruby' ]
|
36
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
37
|
+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
38
|
+
|
39
|
+
steps:
|
40
|
+
- name: Checkout repository
|
41
|
+
uses: actions/checkout@v3
|
42
|
+
|
43
|
+
# Initializes the CodeQL tools for scanning.
|
44
|
+
- name: Initialize CodeQL
|
45
|
+
uses: github/codeql-action/init@v2
|
46
|
+
with:
|
47
|
+
languages: ${{ matrix.language }}
|
48
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
49
|
+
# By default, queries listed here will override any specified in a config file.
|
50
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
51
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
52
|
+
|
53
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
54
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
55
|
+
- name: Autobuild
|
56
|
+
uses: github/codeql-action/autobuild@v2
|
57
|
+
|
58
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
59
|
+
# 📚 https://git.io/JvXDl
|
60
|
+
|
61
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
62
|
+
# and modify them (or add more) to build your code if your project
|
63
|
+
# uses a compiled language
|
64
|
+
|
65
|
+
#- run: |
|
66
|
+
# make bootstrap
|
67
|
+
# make release
|
68
|
+
|
69
|
+
- name: Perform CodeQL Analysis
|
70
|
+
uses: github/codeql-action/analyze@v2
|
data/.github/workflows/tests.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,22 +4,47 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## [0.2.3]
|
10
|
+
### Changed
|
11
|
+
- Update minimum nokogiri version
|
12
|
+
- Update thor gem
|
13
|
+
|
7
14
|
## [0.2.2]
|
8
15
|
### Fixed
|
9
16
|
- FileUtils uninitialized constant bug ([#10](https://github.com/pacso/aoc_rb/pull/10))
|
10
17
|
|
11
18
|
## [0.2.1]
|
19
|
+
### Changed
|
20
|
+
- Allow any number of arguments to be passed to solutions
|
12
21
|
|
13
22
|
## [0.2.0]
|
23
|
+
### Changed
|
24
|
+
- Improved input handling in puzzle solutions
|
25
|
+
|
26
|
+
## [0.1.1]
|
27
|
+
### Changed
|
28
|
+
- Switch from Travis to GitHub Actions
|
29
|
+
- Added Gem version badge
|
30
|
+
- Update gems and fix specs
|
14
31
|
|
15
32
|
## [0.1.0]
|
33
|
+
### Changed
|
34
|
+
- Simplified README
|
35
|
+
|
36
|
+
### Fixed
|
37
|
+
- Added require for pathname
|
16
38
|
|
17
39
|
## [0.0.0]
|
18
40
|
|
19
41
|
Initial release.
|
20
42
|
|
21
|
-
[Unreleased]: https://github.com/pacso/aoc_rb/compare/v0.2.
|
43
|
+
[Unreleased]: https://github.com/pacso/aoc_rb/compare/v0.2.3...HEAD
|
44
|
+
[0.2.3]: https://github.com/pacso/aoc_rb/compare/v0.2.2...v0.2.3
|
22
45
|
[0.2.2]: https://github.com/pacso/aoc_rb/compare/v0.2.1...v0.2.2
|
23
46
|
[0.2.1]: https://github.com/pacso/aoc_rb/compare/v0.2.0...v0.2.1
|
24
|
-
[0.2.0]: https://github.com/pacso/aoc_rb/compare/v0.1.
|
25
|
-
[0.1.
|
47
|
+
[0.2.0]: https://github.com/pacso/aoc_rb/compare/v0.1.1...v0.2.0
|
48
|
+
[0.1.1]: https://github.com/pacso/aoc_rb/compare/v0.1.0...v0.1.1
|
49
|
+
[0.1.0]: https://github.com/pacso/aoc_rb/compare/v0.0.0...v0.1.0
|
50
|
+
[0.0.0]: https://github.com/pacso/aoc_rb/tree/9fc471cb0accb95ddad1aeb138d542056a0034c2
|
data/Gemfile
CHANGED
data/aoc_rb.gemspec
CHANGED
@@ -27,9 +27,9 @@ Gem::Specification.new do |spec|
|
|
27
27
|
|
28
28
|
spec.add_dependency "dotenv", "~> 2.7.6"
|
29
29
|
spec.add_dependency "httparty", "~> 0.20.0"
|
30
|
-
spec.add_dependency "thor", "~> 1.1
|
30
|
+
spec.add_dependency "thor", "~> 1.2.1"
|
31
31
|
spec.add_dependency "rspec", "~> 3.0"
|
32
|
-
spec.add_dependency "nokogiri", "~> 1.
|
32
|
+
spec.add_dependency "nokogiri", "~> 1.13.6"
|
33
33
|
|
34
34
|
spec.add_development_dependency "webmock", "~> 3.14.0"
|
35
35
|
end
|
data/lib/aoc_rb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aoc_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Pascoe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.1
|
47
|
+
version: 1.2.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.1
|
54
|
+
version: 1.2.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.13.6
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
82
|
+
version: 1.13.6
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: webmock
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,6 +103,7 @@ executables:
|
|
103
103
|
extensions: []
|
104
104
|
extra_rdoc_files: []
|
105
105
|
files:
|
106
|
+
- ".github/workflows/codeql-analysis.yml"
|
106
107
|
- ".github/workflows/tests.yml"
|
107
108
|
- ".gitignore"
|
108
109
|
- ".rspec"
|
@@ -156,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
157
|
- !ruby/object:Gem::Version
|
157
158
|
version: '0'
|
158
159
|
requirements: []
|
159
|
-
rubygems_version: 3.
|
160
|
+
rubygems_version: 3.0.9
|
160
161
|
signing_key:
|
161
162
|
specification_version: 4
|
162
163
|
summary: A Ruby toolkit for Advent of Code
|