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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ab19e7f4d7a011bf342aa0e45063d8d397dec3bf11060f667e2fff742327312
4
- data.tar.gz: 3c6e2d313c0d3f1fc648c0836acfcce957edfbeb5100c82747ad785d600c044a
3
+ metadata.gz: 3b5601dee4d5e3026943121708521315475f3e602500f35b2dc25a7656fc0732
4
+ data.tar.gz: c51b9583d68e7e42eace7d400c18583cb07697a0ab3719a4d02f12901761c027
5
5
  SHA512:
6
- metadata.gz: 9ea20ec71310c2ae9c02361c3b325a49c6da30a468013d3d38e41eb6c232dab1be3a15e365a3d8c702f33690f46f0817ae07fe30cd8c3d930b781e1521fb6c07
7
- data.tar.gz: d383a9b470a5c6af3b6b690dc57be45b59356920e5846275e1a98005d42bc56c2706fb20695eaa44590027eb6cd9e8a224e21f102e7bbfadc79cb22382649957
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
@@ -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.14"
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(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.13
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 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/gems/walkthrough_awanllm-0.1.13/bin/setup_awanllm.rb
99
99
  rdoc_options: []
100
100
  require_paths:
101
101
  - lib