aoc_rb 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aoc_rb/version.rb +1 -1
- data/templates/solution_base.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c58f8fae503e8530a04cfb7e3adffab28dda605946ddcd8ca5d3a1eda2efa88
|
4
|
+
data.tar.gz: f6801d662d3ca723f0d88ccf5eda4172f5c172219fbc2eebb99a21442035718c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a9646f1149312b0fa36e6de7c473cb34d83458fff21caf85987475848dfd9d3e75c9d8fade76305280b012780d2f91842c0da64b28008c57e164b7677aed4c6
|
7
|
+
data.tar.gz: f0e89fb9eaaee8d28110c94d67ce821309b57835ba3286670426290030ffb1c7ca218212f554c006a64a646971c5a2fdf5476cd48e84239392bf3dc491bac049
|
data/lib/aoc_rb/version.rb
CHANGED
data/templates/solution_base.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true %>
|
2
2
|
|
3
3
|
class Solution
|
4
|
-
def self.part_1(input)
|
5
|
-
new(input).part_1
|
4
|
+
def self.part_1(*input)
|
5
|
+
new(*input).part_1
|
6
6
|
end
|
7
7
|
|
8
|
-
def self.part_2(input)
|
9
|
-
new(input).part_2
|
8
|
+
def self.part_2(*input)
|
9
|
+
new(*input).part_2
|
10
10
|
end
|
11
11
|
|
12
12
|
def initialize(input)
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Pascoe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|