luogu 0.1.1 → 0.1.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: c4d318defa04474ed497b78fef99281c4eb3bab4c7767f88ac5dd9b19cdf8dca
4
- data.tar.gz: 45251a2815e9760a1b7f127ad354389314f7ce3eb68cd409cabf0b809d95e6ad
3
+ metadata.gz: 584995338f86e7c2be1f099920457c424396373ec007e6fa7185face0a0254e9
4
+ data.tar.gz: 7414294ca9278bc20989b2fb5e58bd5c3b6602a35853ae8f56a4b35423b1974b
5
5
  SHA512:
6
- metadata.gz: 673e37cba8b59c035db29f6053d81a8e2b44228af94cdd5fb1edb87ed063c74ec61199d3d48e37b5f99c31647043a995de89b4564cc44fc07fc13e88c9ea7d8d
7
- data.tar.gz: 11f002716171ff9efb37ff53c70007161ff7a09cc09fe82b96ce324c336cbe02251a63d066bafb08cab08999ebabe96be7b518c9b0e0be63a644b3c723378580
6
+ metadata.gz: ca7945d9ef6ddc5ba18ff6e258f18bf8799049d580b7befbe50b1db43297322171b68852f8783643b16f829c7a7b99faf5fceec6d87c64a20232fd9e7ce04087
7
+ data.tar.gz: 2982f3f04cb4edec38434db75933921b7574f8b885d8a8265514071724f0ca72eb2bd681377773c97edf5be9ee48a358f729f5a12f507fc753527f1f594300ea
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- luogu (0.1.0)
4
+ luogu (0.1.1)
5
5
  dotenv (~> 2.8, >= 2.8.1)
6
6
  ruby-openai (~> 3.7)
7
7
  tty-prompt (~> 0.23.1)
data/lib/luogu/cli.rb CHANGED
@@ -33,7 +33,7 @@ module Luogu
33
33
  end
34
34
 
35
35
  subcommands['gen'] = Proc.new do |args|
36
- json = JSON.parse File.read(args.first)
36
+ json = JSON.parse File.read(args.first), symbolize_names: true
37
37
  chatgpt = ChatGPT.save(json, args.last)
38
38
  end
39
39
 
data/lib/luogu/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Luogu
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luogu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MJ