aoc_cli 0.2.2 → 0.2.3

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: 48d955e92e44900dc1e8055d26e2e8ce92bd1516ac57c18dd946cb6e53ad7666
4
- data.tar.gz: b9138b981d6d99454f247f1fe20767923e563dce0189cc2b231868dc23a20f83
3
+ metadata.gz: 8901f547c4297fa7e5b3b76e54e1d65aceee39692af93cc3f7cdcdd00d913afb
4
+ data.tar.gz: b8cdb0d0c565a77a7066d9665f7a2ce131e644978b7d80cd1ac745e103576d45
5
5
  SHA512:
6
- metadata.gz: 88766c1b68f745590eb203475e20336e07e9a228519745b5a46bdfb1fe5e5137cf4f48867f818a219b84e500ca581c6584465aa1c47154b59e5d91b5a536411c
7
- data.tar.gz: c9801850f6b949c5a87e601fcb0d61359e43770bbf693208f711c7a543b91fabf9461781f757c4cb854a160e875b4081985eb95f04ea11d400ba2260cae35ba3
6
+ metadata.gz: 65c304c09fb75d1ef04eb9e3fe0f93a877618562bff6380c1e4704c11886a06b3e29dbae0b6063276880fd3ef385f9ab1508c5e4e602923f1157f8dac869275c
7
+ data.tar.gz: 0616b7c57f634381c351eeb3c7135f9c48e5252dc341e4f87b7e9aeee7dd50da9c5bd8a0f30979e7d1867c209054a552c9da5d25682fef44d175df21798f4e82
data/CHANGELOG.md CHANGED
@@ -29,3 +29,7 @@
29
29
  - Year refresh now creates the calendar table if it does not exist
30
30
  - Update terminal-table version requirements
31
31
  - Add version flag
32
+
33
+ ## 13-03-21
34
+ ### 0.2.3
35
+ - SQLite Bug fix for text-only answers
@@ -54,7 +54,7 @@ module AocCli
54
54
  end
55
55
  def duplicate?(ans:)
56
56
  db.select(t:"attempts",
57
- where:where.merge({answer:ans})).count > 0
57
+ where:where.merge({answer:"'#{ans}'"})).count > 0
58
58
  end
59
59
  def parse_hint(low:, high:)
60
60
  [ low ? 1 : 0, high ? 1 : 0 ]
@@ -1,3 +1,3 @@
1
1
  module AocCli
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aoc_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Welham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-22 00:00:00.000000000 Z
11
+ date: 2021-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize