hola_tky 0.1.0 → 0.1.1

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: 5c0cf6113cf628cfa56d14dd9d5fb4e31620026efe5ad0bffb2a03ff7c4f135f
4
- data.tar.gz: 9c4ef22277bc957ed3cb3004b6ccbfb35f3d2b2443ca415283502ccaa71e83d9
3
+ metadata.gz: 8d44ee10795f29df49ce737b1e820745c62b5ec05b85a07f366db6d6674f8c26
4
+ data.tar.gz: f2dc326a47cffdb6ac28ac0d994094f9364b0fc47f34c609b33be856dc532d53
5
5
  SHA512:
6
- metadata.gz: 72946925694fb9c7e5bb93f3d0b3b47b1491fa34669b5e48843c8f229838430651b2decd168d47295b5701d5211607e538e435a290780984709bca9fc5fb97af
7
- data.tar.gz: 732dce9ba01c1a648fa8168cce6122cb337efe5285f6a9f51d752460439030d5d54e1607d5b40071703535107287602acae5237bd285dc4f96c7af797d846181
6
+ metadata.gz: 323c3b2d54e3e6f79eb1520d43eca252ea12bdaef571672d067031d7369de301217d5e27fe252f9669f3f6dcb8de8519e3b3dee5a2a66fbc979a9621389310a8
7
+ data.tar.gz: 1570cd3093e74ee201834719f91ab03e7a5eb17f341212d1fc87aa40c10790672eec743698bf7f35a6ff6e4b98fe0887a6fc94d9904349fa4ab85eaca5b3423e
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.1
3
+
4
+ Style/StringLiterals:
5
+ EnforcedStyle: double_quotes
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ EnforcedStyle: double_quotes
data/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.1] - 2025-02-18
4
+
5
+ - Gemのビルドが正常に行えていなかった問題の修正
6
+
7
+
8
+ ## [0.1.0] - 2025-02-17
9
+
10
+ - Initial release
data/Dockerfile ADDED
@@ -0,0 +1,10 @@
1
+ FROM ruby:3.2
2
+
3
+ # 作業ディレクトリを設定
4
+ WORKDIR /app
5
+
6
+ # 必要なツールをインストール
7
+ RUN gem install bundler
8
+
9
+ # コンテナを起動するシェルを指定
10
+ CMD ["/bin/bash"]
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 TODO: Write your name
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,20 @@
1
+ # HolaTky
2
+ A simple hello world gem that generates UUIDs using SecureRandom.
3
+ This gem was created as part of a personal learning project. There is no plan for active maintenance.
4
+
5
+ ## Installation
6
+
7
+ ```
8
+ gem install hola_tky
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ruby
14
+ HolaTky.generate
15
+ => "f779fd5c-8e1c-4a32-bb1d-407b79588b59"
16
+ ```
17
+
18
+ ## License
19
+
20
+ 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,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]
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module HolaTky
4
+ VERSION = "0.1.1"
5
+ end
data/lib/hola_tky.rb ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "hola_tky/version"
4
+ require "securerandom"
5
+
6
+ module HolaTky
7
+ def self.generate
8
+ SecureRandom.uuid
9
+ end
10
+
11
+ class Error < StandardError; end
12
+ end
data/sig/hola_tky.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module HolaTky
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hola_tky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TKY413
@@ -16,7 +16,17 @@ email:
16
16
  executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
- files: []
19
+ files:
20
+ - ".rspec"
21
+ - ".rubocop.yml"
22
+ - CHANGELOG.md
23
+ - Dockerfile
24
+ - LICENSE.txt
25
+ - README.md
26
+ - Rakefile
27
+ - lib/hola_tky.rb
28
+ - lib/hola_tky/version.rb
29
+ - sig/hola_tky.rbs
20
30
  homepage: https://github.com/TKY413/hola_tky
21
31
  licenses:
22
32
  - MIT