nook 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: 28aec05a5cf8cb1130c9c14dcd275c8aaf6f22d187d95676d67714909cc3ff7d
4
+ data.tar.gz: 57514a7fa5bcead9c5a055c2bce33f99e09c9fc675632d19c8ee56a559e503f8
5
+ SHA512:
6
+ metadata.gz: 4d0111e99e593a9b1b25bf9ec375f53e7387c0980567951ae5fb1dcb57ce2acdd1ad6af15b6a3d4dfeadc57ee7a5ec47eb19d8b1375a03dc54fd576c971f6c41
7
+ data.tar.gz: 3b979c53a32174133f73202c613ad6ac2451cb8abf4486586a9e9415684dfe24f033744a4431ea78224afef5bd64edbefab3d701b1003e98759ff00065c7590d
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nick Gorbikoff
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # nook
2
+
3
+ A quiet corner for notes and the things that belong together.
4
+
5
+ This is the first, small release: `nook` prints what it is for and `nook --version`
6
+ prints the version. The tool grows here, in place, under the same name.
7
+
8
+ ```sh
9
+ gem install nook
10
+ nook
11
+ ```
12
+
13
+ MIT licence. Nick Gorbikoff.
data/exe/nook ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ $LOAD_PATH.unshift File.expand_path("../lib", __dir__)
5
+ require "nook"
6
+
7
+ exit Nook.run(ARGV)
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nook
4
+ VERSION = "0.1.0"
5
+ end
data/lib/nook.rb ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "nook/version"
4
+
5
+ module Nook
6
+ PURPOSE = "A quiet corner for notes and the things that belong together."
7
+
8
+ def self.run(argv, out: $stdout)
9
+ if argv.include?("--version") || argv.include?("-v")
10
+ out.puts VERSION
11
+ else
12
+ out.puts "#{PURPOSE} (nook #{VERSION})"
13
+ end
14
+ 0
15
+ end
16
+ end
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nook
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Nick Gorbikoff
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: A quiet corner for notes and the things that belong together; the first
13
+ release carries the name and the executable while the tool takes shape.
14
+ email:
15
+ - nick.gorbikoff@gmail.com
16
+ executables:
17
+ - nook
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - LICENSE.md
22
+ - README.md
23
+ - exe/nook
24
+ - lib/nook.rb
25
+ - lib/nook/version.rb
26
+ homepage: https://rubygems.org/gems/nook
27
+ licenses:
28
+ - MIT
29
+ metadata:
30
+ rubygems_mfa_required: 'true'
31
+ homepage_uri: https://rubygems.org/gems/nook
32
+ rdoc_options: []
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '3.2'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ requirements: []
46
+ rubygems_version: 4.0.12
47
+ specification_version: 4
48
+ summary: A quiet corner for notes and the things that belong together.
49
+ test_files: []