yaic 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3e79cd18b926a1244b64213b574f314990348532906a066abbc1d4867c9cec9f
4
+ data.tar.gz: 30275529418ac1be0058b835267cf2a85586889a0c88f1ee33c2427bf938af31
5
+ SHA512:
6
+ metadata.gz: c25ef7dfa97cb7116f8070365007158abdad6a8b47bdddc45d001ab079e7f5462e85980996fd35d4648cf84c5f70bc1a84f12599d925fadbc22b7b3b35b48ccb
7
+ data.tar.gz: a1f6134192a475b4fb5a627cd82c5165677356a76c44c9c2e72cd4c3c878b0f147f684191152ec86018e91713a33e3e33800792768984d05bf96b4c52c99d9c3
data/.dockerignore ADDED
@@ -0,0 +1,5 @@
1
+ # Devenv
2
+ /.direnv
3
+ /.envrc
4
+ .devenv*
5
+ devenv.local.nix
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.4.1
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2025-11-28
4
+
5
+ - Initial release
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Joé Dupuis
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Yaic
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/yaic`. 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
+ ```bash
14
+ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
+ ```
16
+
17
+ If bundler is not being used to manage dependencies, install the gem by executing:
18
+
19
+ ```bash
20
+ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/yaic.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "minitest/test_task"
5
+
6
+ Minitest::TestTask.create
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[test standard]
data/devenv.lock ADDED
@@ -0,0 +1,184 @@
1
+ {
2
+ "nodes": {
3
+ "devenv": {
4
+ "locked": {
5
+ "dir": "src/modules",
6
+ "lastModified": 1764354319,
7
+ "owner": "cachix",
8
+ "repo": "devenv",
9
+ "rev": "cf80afd21444fa1d489f726edc7ec6db5238f6bc",
10
+ "type": "github"
11
+ },
12
+ "original": {
13
+ "dir": "src/modules",
14
+ "owner": "cachix",
15
+ "repo": "devenv",
16
+ "type": "github"
17
+ }
18
+ },
19
+ "flake-compat": {
20
+ "flake": false,
21
+ "locked": {
22
+ "lastModified": 1761588595,
23
+ "owner": "edolstra",
24
+ "repo": "flake-compat",
25
+ "rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
26
+ "type": "github"
27
+ },
28
+ "original": {
29
+ "owner": "edolstra",
30
+ "repo": "flake-compat",
31
+ "type": "github"
32
+ }
33
+ },
34
+ "flake-compat_2": {
35
+ "flake": false,
36
+ "locked": {
37
+ "lastModified": 1761588595,
38
+ "owner": "edolstra",
39
+ "repo": "flake-compat",
40
+ "rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
41
+ "type": "github"
42
+ },
43
+ "original": {
44
+ "owner": "edolstra",
45
+ "repo": "flake-compat",
46
+ "type": "github"
47
+ }
48
+ },
49
+ "flake-utils": {
50
+ "inputs": {
51
+ "systems": "systems"
52
+ },
53
+ "locked": {
54
+ "lastModified": 1731533236,
55
+ "owner": "numtide",
56
+ "repo": "flake-utils",
57
+ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
58
+ "type": "github"
59
+ },
60
+ "original": {
61
+ "owner": "numtide",
62
+ "repo": "flake-utils",
63
+ "type": "github"
64
+ }
65
+ },
66
+ "git-hooks": {
67
+ "inputs": {
68
+ "flake-compat": "flake-compat",
69
+ "gitignore": "gitignore",
70
+ "nixpkgs": [
71
+ "nixpkgs"
72
+ ]
73
+ },
74
+ "locked": {
75
+ "lastModified": 1763988335,
76
+ "owner": "cachix",
77
+ "repo": "git-hooks.nix",
78
+ "rev": "50b9238891e388c9fdc6a5c49e49c42533a1b5ce",
79
+ "type": "github"
80
+ },
81
+ "original": {
82
+ "owner": "cachix",
83
+ "repo": "git-hooks.nix",
84
+ "type": "github"
85
+ }
86
+ },
87
+ "gitignore": {
88
+ "inputs": {
89
+ "nixpkgs": [
90
+ "git-hooks",
91
+ "nixpkgs"
92
+ ]
93
+ },
94
+ "locked": {
95
+ "lastModified": 1762808025,
96
+ "owner": "hercules-ci",
97
+ "repo": "gitignore.nix",
98
+ "rev": "cb5e3fdca1de58ccbc3ef53de65bd372b48f567c",
99
+ "type": "github"
100
+ },
101
+ "original": {
102
+ "owner": "hercules-ci",
103
+ "repo": "gitignore.nix",
104
+ "type": "github"
105
+ }
106
+ },
107
+ "nixpkgs": {
108
+ "locked": {
109
+ "lastModified": 1764230294,
110
+ "owner": "NixOS",
111
+ "repo": "nixpkgs",
112
+ "rev": "0d59e0290eefe0f12512043842d7096c4070f30e",
113
+ "type": "github"
114
+ },
115
+ "original": {
116
+ "owner": "NixOS",
117
+ "ref": "nixpkgs-unstable",
118
+ "repo": "nixpkgs",
119
+ "type": "github"
120
+ }
121
+ },
122
+ "nixpkgs-ruby": {
123
+ "inputs": {
124
+ "flake-compat": "flake-compat_2",
125
+ "flake-utils": "flake-utils",
126
+ "nixpkgs": "nixpkgs_2"
127
+ },
128
+ "locked": {
129
+ "lastModified": 1764135917,
130
+ "owner": "bobvanderlinden",
131
+ "repo": "nixpkgs-ruby",
132
+ "rev": "dba7ed9455e91235c2b62a9c6adb23f7cef1cc5e",
133
+ "type": "github"
134
+ },
135
+ "original": {
136
+ "owner": "bobvanderlinden",
137
+ "repo": "nixpkgs-ruby",
138
+ "type": "github"
139
+ }
140
+ },
141
+ "nixpkgs_2": {
142
+ "locked": {
143
+ "lastModified": 1763948260,
144
+ "owner": "NixOS",
145
+ "repo": "nixpkgs",
146
+ "rev": "1c8ba8d3f7634acac4a2094eef7c32ad9106532c",
147
+ "type": "github"
148
+ },
149
+ "original": {
150
+ "owner": "NixOS",
151
+ "ref": "nixos-25.05",
152
+ "repo": "nixpkgs",
153
+ "type": "github"
154
+ }
155
+ },
156
+ "root": {
157
+ "inputs": {
158
+ "devenv": "devenv",
159
+ "git-hooks": "git-hooks",
160
+ "nixpkgs": "nixpkgs",
161
+ "nixpkgs-ruby": "nixpkgs-ruby",
162
+ "pre-commit-hooks": [
163
+ "git-hooks"
164
+ ]
165
+ }
166
+ },
167
+ "systems": {
168
+ "locked": {
169
+ "lastModified": 1681028828,
170
+ "owner": "nix-systems",
171
+ "repo": "default",
172
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
173
+ "type": "github"
174
+ },
175
+ "original": {
176
+ "owner": "nix-systems",
177
+ "repo": "default",
178
+ "type": "github"
179
+ }
180
+ }
181
+ },
182
+ "root": "root",
183
+ "version": 7
184
+ }
data/devenv.nix ADDED
@@ -0,0 +1,24 @@
1
+ { pkgs, lib, config, inputs, ... }:{
2
+
3
+ cachix.enable = false;
4
+
5
+ env = {
6
+ LD_LIBRARY_PATH = "${config.devenv.profile}/lib";
7
+ };
8
+
9
+ packages = with pkgs; [
10
+ git
11
+ libyaml
12
+ sqlite-interactive
13
+ bashInteractive
14
+ openssl
15
+ curl
16
+ libxml2
17
+ libxslt
18
+ libffi
19
+ docker
20
+ ];
21
+
22
+ languages.ruby.enable = true;
23
+ languages.ruby.versionFile = ./.ruby-version;
24
+ }
data/devenv.yaml ADDED
@@ -0,0 +1,6 @@
1
+ allowUnfree: true
2
+ inputs:
3
+ nixpkgs:
4
+ url: github:NixOS/nixpkgs/nixpkgs-unstable
5
+ nixpkgs-ruby:
6
+ url: github:bobvanderlinden/nixpkgs-ruby
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Yaic
4
+ VERSION = "0.1.0"
5
+ end
data/lib/yaic.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "yaic/version"
4
+
5
+ module Yaic
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
data/sig/yaic.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Yaic
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,54 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yaic
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Joé Dupuis
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-01 00:00:00.000000000 Z
11
+ dependencies: []
12
+ email:
13
+ - joe@dupuis.io
14
+ executables: []
15
+ extensions: []
16
+ extra_rdoc_files: []
17
+ files:
18
+ - ".dockerignore"
19
+ - ".ruby-version"
20
+ - CHANGELOG.md
21
+ - LICENSE.txt
22
+ - README.md
23
+ - Rakefile
24
+ - devenv.lock
25
+ - devenv.nix
26
+ - devenv.yaml
27
+ - lib/yaic.rb
28
+ - lib/yaic/version.rb
29
+ - sig/yaic.rbs
30
+ homepage: https://github.com/JoeDupuis/yaic
31
+ licenses:
32
+ - MIT
33
+ metadata:
34
+ homepage_uri: https://github.com/JoeDupuis/yaic
35
+ source_code_uri: https://github.com/JoeDupuis/yaic
36
+ changelog_uri: https://github.com/JoeDupuis/yaic/blob/main/CHANGELOG.md
37
+ rdoc_options: []
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 3.2.0
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ requirements: []
51
+ rubygems_version: 3.6.2
52
+ specification_version: 4
53
+ summary: Yet another irc client
54
+ test_files: []