neh 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3cf60c744f72e9d315e2f5f05c3d4d5278b0861fa76cee05a0fef9bfb19b8abe
4
+ data.tar.gz: 6cf8a7ce75f55f56d745e6c980185a5ef9c688ffad6f02483a1b4af54e885bce
5
+ SHA512:
6
+ metadata.gz: 87c88a52b19c7fec314f7eecf28b5570574a012fb4f21673587d374d363482da883200bac0ec8315fe65f8ced90657d795aa8431b0b94dbb41e4eb11424ada47
7
+ data.tar.gz: 8b6dab176eff9508e8a9d64424badc473165c08fb93a1b351a8b9426759a75cb61aaff4353873345f0f6820a434a4e6ecc995c6e1d2f8bb472500a7c3261c0a6
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,8 @@
1
+ AllCops:
2
+ TargetRubyVersion: 3.0
3
+
4
+ Style/StringLiterals:
5
+ EnforcedStyle: double_quotes
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ EnforcedStyle: double_quotes
data/CHANGELOG.md ADDED
File without changes
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Neh
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/neh`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by executing:
16
+
17
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Development
24
+
25
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+
27
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/neh.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
data/exe/neh ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "neh"
5
+
6
+ puts Neh.greet
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Neh
4
+ VERSION = "0.0.2"
5
+ end
data/lib/neh.rb ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "neh/version"
4
+
5
+ # Neh module provides a sample greet method.
6
+ module Neh
7
+ # Error class is a standard error class used within the Neh module.
8
+ class Error < StandardError; end
9
+
10
+ # The `greet` method returns a greeting message from the Neh module.
11
+ #
12
+ # @return [String] Greeting message
13
+ def self.greet
14
+ "Hello from the neh gem!"
15
+ end
16
+ end
data/sig/neh.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Neh
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,56 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: neh
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Atsushi Ishida
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-05-27 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Lightweight CLI client for interacting with AI using large language models
14
+ (LLM)
15
+ email:
16
+ - gipcompany@gmail.com
17
+ executables:
18
+ - neh
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - ".rspec"
23
+ - ".rubocop.yml"
24
+ - CHANGELOG.md
25
+ - README.md
26
+ - Rakefile
27
+ - exe/neh
28
+ - lib/neh.rb
29
+ - lib/neh/version.rb
30
+ - sig/neh.rbs
31
+ homepage: https://github.com/gipcompany/neh
32
+ licenses: []
33
+ metadata:
34
+ homepage_uri: https://github.com/gipcompany/neh
35
+ source_code_uri: https://github.com/gipcompany/neh
36
+ changelog_uri: https://github.com/gipcompany/neh/blob/main/CHANGELOG.md
37
+ post_install_message:
38
+ rdoc_options: []
39
+ require_paths:
40
+ - lib
41
+ required_ruby_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 3.0.0
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ requirements: []
52
+ rubygems_version: 3.5.10
53
+ signing_key:
54
+ specification_version: 4
55
+ summary: CLI client for AI with large language models
56
+ test_files: []