aocli 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d47b34fa6f185004e01d0f6016b9a6c630e096273d1e510d3f3f1f2796febb9
4
- data.tar.gz: 15d4e15e99e14f379f36ee1ee6eb1465bbeac13d0db318ed1b317448eee73e12
3
+ metadata.gz: 60662ef88232a0369f7e872135703c7be791e79a3153b30b3ee2330066e1cd38
4
+ data.tar.gz: 4bb872f0f27158da4246c5a5e738f9e3aeb0c6b42a36618d730c693f48be10f1
5
5
  SHA512:
6
- metadata.gz: f713a4be8442d109a025d47b6c405981f87ede512cefe11615f9fb1dd76d09cf82e77915cd0effe2828baac82c51db094942c064d817126e5236dbd985a72ae1
7
- data.tar.gz: ac9db5eae098a4b0b07e323c1a31c4c2feb6bf397df40b5b64c5348ab8f92adbf1391799e3b898ceb36529547e7d4bc637ec76665d1b9f3e2b867f8515bb82fb
6
+ metadata.gz: 4de2d92da6373ace00ff3f169dbc937102582c7ad78b52b08bfbf0f720d217654ea695079dde2665e9dcac53899f5395359f2a51c74c614b9cfa77a082b37a69
7
+ data.tar.gz: 84d280681c4334897089cb32cb95e2f597706d024ff7385b561903649860becbe68ec9e26cd042e952dc0649b875c252d79d927c33b5565b5a4c8143a012c8cb
data/CHANGELOG.md CHANGED
@@ -9,3 +9,7 @@
9
9
  - Reverses the order of years when selecting year in the CLI to show newest
10
10
  first
11
11
  - Update the template solution class to have a method for two parts
12
+
13
+ ## [1.4.3] - 2022-12-11
14
+
15
+ - Simplify the generated template
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aocli (1.4.1)
4
+ aocli (1.4.2)
5
5
  activesupport (~> 7.0)
6
6
  faraday (~> 2.7)
7
7
  nokogiri (~> 1.13)
@@ -1,32 +1,18 @@
1
1
  ##### Part One Description #####
2
2
 
3
- class Solution
4
- attr_accessor :input
5
- def initialize(input)
6
- @input = input
7
- end
8
-
9
- def self.run!(input)
10
- solution = new(parse_input(input))
11
- <<~MSG
12
- Part One: #{solution.part_one!}
13
- Part Two: #{solution.part_two!}
14
- MSG
15
- end
16
-
17
- def self.parse_input(input)
18
- # Parse input
19
- input
20
- end
3
+ def self.parse_input(input)
4
+ # Parse input
5
+ input
6
+ end
21
7
 
22
- def part_one!
23
- # Solve part one
24
- end
8
+ def part_one
9
+ # Solve part one
10
+ end
25
11
 
26
- def part_two!
27
- # Solve part two
28
- end
12
+ def part_two
13
+ # Solve part two
29
14
  end
30
15
 
31
16
  # __load_input__
32
- puts Solution.run!(input)
17
+ puts "Part One: #{part_one(parse_input(input))}"
18
+ puts "Part Two: #{part_two(parse_input(input))}"
data/lib/aocli/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aocli
4
- VERSION = "1.4.1"
4
+ VERSION = "1.4.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aocli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Astley
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2022-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport