walkthrough_awanllm 0.1.13 → 0.1.15

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: 8ab19e7f4d7a011bf342aa0e45063d8d397dec3bf11060f667e2fff742327312
4
- data.tar.gz: 3c6e2d313c0d3f1fc648c0836acfcce957edfbeb5100c82747ad785d600c044a
3
+ metadata.gz: 9dcb26e59c68c3727c81f4d20f66369cf0c9a51a75e09985f43dd40526ae336a
4
+ data.tar.gz: eecd465ca39fe9fdfbe39b700e389d3bf2b6c84a2552f4c2c522a3c3efa32b3e
5
5
  SHA512:
6
- metadata.gz: 9ea20ec71310c2ae9c02361c3b325a49c6da30a468013d3d38e41eb6c232dab1be3a15e365a3d8c702f33690f46f0817ae07fe30cd8c3d930b781e1521fb6c07
7
- data.tar.gz: d383a9b470a5c6af3b6b690dc57be45b59356920e5846275e1a98005d42bc56c2706fb20695eaa44590027eb6cd9e8a224e21f102e7bbfadc79cb22382649957
6
+ metadata.gz: e0984c6bfd92631f32ea4186e4b23a5b4d08f6980a623010e21516c3b9bda44949fc373660f493400ecf37bf3713b4fc55df9cf62a3437d6c45c5f74f1e4d449
7
+ data.tar.gz: fb06c2eb1d560f453629f433ba6371ba6d67203d805103ba7501b1929255fc831d63591257a1947b376b7f1d76e11be196ef9829e9684022b085c2216e399380
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 ./vendor/bundle/ruby/YOUR_VERSION/gems/walkthrough_awanllm-0.1.15/bin/setup_awanllm.rb
34
34
  ```
35
35
 
36
36
  ## Usage
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WalkthroughAwanllm
4
- VERSION = "0.1.13"
4
+ VERSION = "0.1.15"
5
5
  end
@@ -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
- system('ruby setup_awanllm')
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
 
@@ -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 AwanLLM gem!
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/YOUR_VERSION/gems/walkthrough_awanllm-0.1.13/bin/setup_awanllm.rb
42
+ ruby ./vendor/bundle/ruby/#{RUBY_VERSION.split('.').first(3).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.13
4
+ version: 0.1.15
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 AwanLLM gem!
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/YOUR_VERSION/gems/walkthrough_awanllm-0.1.13/bin/setup_awanllm.rb
98
+ ruby ./vendor/bundle/ruby/3.3.0/gems/walkthrough_awanllm-0.1.13/bin/setup_awanllm.rb
99
99
  rdoc_options: []
100
100
  require_paths:
101
101
  - lib