luo 0.2.3 → 0.2.4

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: 12b18554758f8e56d6ed51c06479d5a7adb5307281ba070f55bbf7b8aeff7f39
4
- data.tar.gz: e60117cc08d28b7e0be2e256bba326b727ef823e3cc050cadcf71bc2aa85b5ca
3
+ metadata.gz: 6b2af1ba5e628a075900879b4f2b54efceac535fe816fe9863535c51c33e6de1
4
+ data.tar.gz: a8a7e2c548676dfd4adb6ca35e41e3cd3451930f845be02d06af7d38ca0c4e44
5
5
  SHA512:
6
- metadata.gz: ce08dc5d0136f7eff5939601544608caa4c5d8b06ba170fd56df3c69f393a96f6ea925254eb06f1cae545b3b2ed82367dedc5fbbc21d2c37e691c3f331507097
7
- data.tar.gz: 203eb46cb4602bcbeaa985981322a95d682bff93c5f9382f38ba96af425233e31f7f8981f3d3e509543ef224d7916a63c6711d8e1c28a2800c065c06a72db75b
6
+ metadata.gz: b0fa9249b55d4ee157c57966e2ac362f5827fce4cb2b82382d9f6ee7637b29ac6084a04130d67d4d91a1b91bfbbc1088b14f45d85419b3702332b9d9d3118fbd
7
+ data.tar.gz: fcb78e2300c5dddce4a32ce6eadb208af15453751d49cab20b6e8c8ab7b9521ef4f08cd6eb231452e82f87ecf375b52ac99c5b189da9f9b869621cf8e17d8f60
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- luo (0.2.3)
4
+ luo (0.2.4)
5
5
  dotenv (~> 2.8, >= 2.8.1)
6
6
  dry-configurable (~> 1.0, >= 1.0.1)
7
7
  dry-schema (~> 1.13, >= 1.13.1)
@@ -10,7 +10,7 @@ module Luo
10
10
 
11
11
  def copy_gemfile
12
12
  say "Copying Gemfile...", :green
13
- copy_file "AppGemfile", "Gemfile"
13
+ template "AppGemfile.erb", "Gemfile"
14
14
  end
15
15
  end
16
16
  end
@@ -12,7 +12,7 @@ module Luo
12
12
 
13
13
  def copy_gemfile
14
14
  say "Copying Gemfile...", :green
15
- copy_file "NotebookGemfile", "Gemfile"
15
+ template "NotebookGemfile.erb", "Gemfile"
16
16
  end
17
17
 
18
18
  end
data/lib/luo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Luo
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'luo', '~> <%= Luo::VERSION %>'
@@ -1,5 +1,5 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'luo', '~> 0.2.1'
3
+ gem 'luo', '~> <%= Luo::VERSION %>'
4
4
  gem 'pry', '~> 0.14.2'
5
5
  gem 'iruby'
data/templates/env CHANGED
@@ -3,5 +3,5 @@ OPENAI_TEMPERATURE=0 # OpenAI的温度
3
3
  OPENAI_LIMIT_HISTORY=6 # OpenAI的历史记录长度
4
4
  AIUI_APP_KEY= # AIUI的AppKey
5
5
  AIUI_APP_ID= # AIUI的AppID
6
- XINGHUO_ACCESS_TOKEN= # 星火的访问令牌
6
+ LISTENAI_ACCESS_TOKEN= # 星火的访问令牌
7
7
  OPENAI_CHAT_MODEL=gpt-3.5-turbo
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MJ
@@ -268,8 +268,8 @@ files:
268
268
  - sig/luo/prompt_template.rbs
269
269
  - sig/luo/prompts.rbs
270
270
  - sig/luo/xinghuo.rbs
271
- - templates/AppGemfile
272
- - templates/NotebookGemfile
271
+ - templates/AppGemfile.erb
272
+ - templates/NotebookGemfile.erb
273
273
  - templates/application.rb
274
274
  - templates/env
275
275
  - templates/init.rb
data/templates/AppGemfile DELETED
@@ -1,3 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem 'luo', '~> 0.2.1'