sylvia 0.2.4 → 0.2.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b996946d6bd307b3b0e385963c238b74d564d90e23dc83d168b8924f83555eed
4
- data.tar.gz: 1e45d396296e8a7a8a308e6598c48253e60f3fa9124d6f088673e18b58d126c9
3
+ metadata.gz: c34bb60cfa6051d1abc0e47ef8c98f2e041387d0f6629a976c873865243f16b3
4
+ data.tar.gz: 06f0445f90ba8b7966e89f9d5a643e35702324db20153728ba75111804f2e3d7
5
5
  SHA512:
6
- metadata.gz: fd3ff4d9f5123c32367cd9da99a28630904fad70ae6c48cd63a514a7d03df865433a3c14995ca53d146c885bd7fba0ac3a15402d6c2964306e794219b1bf2032
7
- data.tar.gz: c5092e04ef9610fce21844fdfd74d4eb51bdd366384e6dd30b622f5a056e90cab25a890800f516c338c2649e425221096e1404f863ce5554fbd635e841a9f99d
6
+ metadata.gz: 9dc1a2aae9564c61d52a137a5ef8a19ab943d0b62a4209eb6f9ffa381bb0649fa22d3745aff442d2f16975efbc2c2c206816d87a5cc08243ccac95564f11579a
7
+ data.tar.gz: 965069849d23eaa084fc7992dc7236e1da04fc2649129a0aaac80f6f0d410f6834d59f0590c87e6cb06cc804de662930eb96faa18f038cc00637871855964df8
data/lib/sylvia/llm.rb CHANGED
@@ -35,7 +35,8 @@ PROMPT
35
35
  puts "Created #{FILE_NAME}"
36
36
 
37
37
  if File.exist?(GITIGNORE_FILE)
38
- gitignore_content = File.read(GITIGNORE_FILE).split("\n")
38
+ gitignore_content = File.read(GITIGNORE_FILE)
39
+ gitignore_content += "\n" unless gitignore_content.end_with?("\n")
39
40
  if gitignore_content.include?(FILE_NAME)
40
41
  puts "#{FILE_NAME} is already in #{GITIGNORE_FILE}"
41
42
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sylvia
4
- VERSION = "0.2.4"
4
+ VERSION = "0.2.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sylvia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - whdzera