walkthrough_awanllm 0.2.12 → 0.2.13
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/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/walkthrough_awanllm/railtie.rb +1 -1
- data/lib/walkthrough_awanllm/version.rb +1 -1
- data/lib/walkthrough_awanllm.rb +1 -1
- 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: b329403ca09c399e5dcdef0ca3098a3d616735f83acbbc76bc93867771778e7d
|
4
|
+
data.tar.gz: b86efe0bcd4778a479c5a0ef7d408b042de719aa24f2087b1910e1bafd982a70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59056ee499266885faf9839ef189bba8c543d75a44b575c146872f82fb59a95e1b6bd59e6d21e6c9eaafbfcbf6f0bdbcda6ea6936190ca30a386a087981fab40
|
7
|
+
data.tar.gz: 296ecfc26cc29c5d521be6ac2160bd5267705837767b3fb2cdeb91a08dfb24510cf2bc83d8c5e8082ac7844b11542e8c35ef0c30389b4238fceb119218a750a9
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -32,7 +32,7 @@ $ gem install walkthrough_awanllm
|
|
32
32
|
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.
|
33
33
|
|
34
34
|
```sh
|
35
|
-
$ ruby ./vendor/bundle/ruby/YOUR_VERSION/gems/walkthrough_awanllm-0.2.
|
35
|
+
$ ruby ./vendor/bundle/ruby/YOUR_VERSION/gems/walkthrough_awanllm-0.2.13/bin/setup_awanllm.rb
|
36
36
|
```
|
37
37
|
|
38
38
|
Get API key from https://www.awanllm.com/
|
@@ -24,7 +24,7 @@ bundle exec rails runner "AwanLLM::Tracker.new.update_activity_log"
|
|
24
24
|
|
25
25
|
# Write the Git hook script
|
26
26
|
File.open(git_hook_script_path, "w") { |f| f.write(git_hook_script_content) }
|
27
|
-
FileUtils.chmod(
|
27
|
+
FileUtils.chmod(0744, git_hook_script_path)
|
28
28
|
|
29
29
|
# Inform the user about the setup
|
30
30
|
puts "Git hook for tracking activity log updates has been set up: #{git_hook_script_path}"
|
data/lib/walkthrough_awanllm.rb
CHANGED
@@ -131,7 +131,7 @@ module WalkthroughAwanllm
|
|
131
131
|
puts 'Walkthrough_AwanLLM gem is already configured.'
|
132
132
|
else
|
133
133
|
ruby_version = RUBY_VERSION.split('.').first(3).join('.')
|
134
|
-
path_to_script = "./vendor/bundle/ruby/#{ruby_version}/gems/walkthrough_awanllm-0.2.
|
134
|
+
path_to_script = "./vendor/bundle/ruby/#{ruby_version}/gems/walkthrough_awanllm-0.2.13/bin/setup_awanllm.rb"
|
135
135
|
system("ruby #{path_to_script}")
|
136
136
|
end
|
137
137
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: walkthrough_awanllm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mrudul John
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -111,7 +111,7 @@ metadata:
|
|
111
111
|
post_install_message: |2
|
112
112
|
Thank you for installing the Walkthrough_AwanLLM gem!
|
113
113
|
To complete the setup, please run the following command:
|
114
|
-
ruby ./vendor/bundle/ruby/3.3.0/gems/walkthrough_awanllm-0.2.
|
114
|
+
ruby ./vendor/bundle/ruby/3.3.0/gems/walkthrough_awanllm-0.2.13/bin/setup_awanllm.rb
|
115
115
|
rdoc_options: []
|
116
116
|
require_paths:
|
117
117
|
- lib
|