walkthrough_awanllm 0.1.13 → 0.1.14
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 +4 -4
- data/README.md +1 -1
- data/lib/walkthrough_awanllm/version.rb +1 -1
- data/lib/walkthrough_awanllm.rb +3 -1
- data/walkthrough_awanllm.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b5601dee4d5e3026943121708521315475f3e602500f35b2dc25a7656fc0732
|
4
|
+
data.tar.gz: c51b9583d68e7e42eace7d400c18583cb07697a0ab3719a4d02f12901761c027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '082208702028060c3c09eccf2549deea17775ae58be5b71a92d0daf5ed331ba50c3f12eef39ebc9967232da7e82a7055d9b2d572c609e46f5e476b27649904ed'
|
7
|
+
data.tar.gz: edfab8621c95ed84914615808001a571b2ee3049a44b16391fdbb48e0c2916dc2c77122dfc8ab904fdfd6a06c164b27a425f60cf2068579cc93d6c0b18d94c11
|
data/README.md
CHANGED
@@ -30,7 +30,7 @@ $ gem install walkthrough_awanllm
|
|
30
30
|
After installing the gem, you need to configure it by running the setup script. This will prompt you for your AwanLLM API key and the model name you wish to use.
|
31
31
|
|
32
32
|
```sh
|
33
|
-
$ ruby bin/setup_awanllm.rb
|
33
|
+
$ ruby ruby ./vendor/bundle/ruby/YOUR_VERSION/gems/walkthrough_awanllm-0.1.13/bin/setup_awanllm.rb
|
34
34
|
```
|
35
35
|
|
36
36
|
## Usage
|
data/lib/walkthrough_awanllm.rb
CHANGED
@@ -63,7 +63,9 @@ class AwanLLM
|
|
63
63
|
if File.exist?('config/awanllm_config.json')
|
64
64
|
puts 'Walkthrough_AwanLLM gem is already configured.'
|
65
65
|
else
|
66
|
-
|
66
|
+
ruby_version = RUBY_VERSION.split('.').first(2).join('.')
|
67
|
+
path_to_script = "./vendor/bundle/ruby/#{ruby_version}/gems/walkthrough_awanllm-0.1.13/bin/setup_awanllm.rb"
|
68
|
+
system("ruby #{path_to_script}")
|
67
69
|
end
|
68
70
|
end
|
69
71
|
|
data/walkthrough_awanllm.gemspec
CHANGED
@@ -37,8 +37,8 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_development_dependency "rake", "~> 13.0"
|
38
38
|
spec.add_development_dependency "minitest", "~> 5.0"
|
39
39
|
spec.post_install_message = <<-MESSAGE
|
40
|
-
Thank you for installing the
|
40
|
+
Thank you for installing the Walkthrough_AwanLLM gem!
|
41
41
|
To complete the setup, please run the following command:
|
42
|
-
ruby ./vendor/bundle/ruby/
|
42
|
+
ruby ./vendor/bundle/ruby/#{RUBY_VERSION.split('.').first(2).join('.')}/gems/walkthrough_awanllm-0.1.13/bin/setup_awanllm.rb
|
43
43
|
MESSAGE
|
44
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: walkthrough_awanllm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mrudul John
|
@@ -93,9 +93,9 @@ licenses:
|
|
93
93
|
metadata:
|
94
94
|
homepage_uri: https://github.com/mruduljohn/Walkthrough_awanllm_gem
|
95
95
|
post_install_message: |2
|
96
|
-
Thank you for installing the
|
96
|
+
Thank you for installing the Walkthrough_AwanLLM gem!
|
97
97
|
To complete the setup, please run the following command:
|
98
|
-
ruby ./vendor/bundle/ruby/
|
98
|
+
ruby ./vendor/bundle/ruby/3.3/gems/walkthrough_awanllm-0.1.13/bin/setup_awanllm.rb
|
99
99
|
rdoc_options: []
|
100
100
|
require_paths:
|
101
101
|
- lib
|