Using puts instead of p

This commit is contained in:
2023-03-24 11:29:07 +01:00
parent ad65a48289
commit 99c2f01094
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.local
.config
.project
*.pid

View File

@@ -28,7 +28,7 @@ class InSyncState < StatePattern::State
# did we reach the end of the frame?
if new_frame_starts(bytes,idx,sync_pattern_length)
frame_lines = frame.split("\n")
p "------ FRAME -----"
puts "--- FRAME ---"
# p frame_lines
# p "##################"
reading = handle_frame(frame_lines)

View File

@@ -6,6 +6,8 @@ services:
image: mysql
volumes:
- /home/pcog/smartmeter/data:/var/lib/mysql
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: rootme
MYSQL_DATABASE: smartmeter