lazy_init 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: c64fcdc54aff938649a72d27f052323186594ae0811c797af886a8f50592c885
4
+ data.tar.gz: 0d63513a82a948a865275cd22de4baaaaa33c594fed332f8398fd5f05a856e41
5
+ SHA512:
6
+ metadata.gz: 8c2db87b2eb8bfb3c30ef12be6c2967a7172f2de3e74818271d44767f0484bf68c493aab388aa84963bd14703a6a606a9e761fdd4831d55472e2ffae575c0401
7
+ data.tar.gz: 456a5e3b90199ef2687ec2b27ceee6eee751a3d311c365ed5e8b1e5aca786c00b1f9199ece268a8d0368a82e02f11bc17a6035421b19528e8c0810386022751b
data/.gitignore ADDED
@@ -0,0 +1,20 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+ /.yardoc/
13
+ /_yardoc/
14
+ /doc/
15
+ /.bundle/
16
+ /vendor/bundle
17
+ /lib/bundler/man/
18
+ Gemfile.lock
19
+ .rspec_status
20
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ # .rspec
2
+ --format documentation
3
+ --color
4
+ --require spec_helper
data/CHANGELOG.md ADDED
File without changes
data/GEMFILE ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ gem 'pry', '~> 0.14'
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Konstanty Koszewski
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/RAKEFILE ADDED
@@ -0,0 +1,43 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ require 'rubocop/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec)
6
+ RuboCop::RakeTask.new
7
+
8
+ task default: %i[spec rubocop]
9
+
10
+ desc 'Run performance benchmarks'
11
+ task :benchmark do
12
+ ruby 'benchmarks/benchmark.rb'
13
+ end
14
+
15
+ desc 'Run thread safe investigator'
16
+ task :threads do
17
+ ruby 'benchmarks/thread_safety_verification.rb'
18
+ end
19
+
20
+ desc 'Generate YARD documentation'
21
+ task :doc do
22
+ system 'yard doc'
23
+ end
24
+
25
+ desc 'Main integration tests'
26
+ task :rspec do
27
+ system 'rspec'
28
+ end
29
+
30
+ desc 'Run specific stress tests'
31
+ task :stress do
32
+ system 'RUN_STRESS_TESTS=1 rspec spec/stress'
33
+ end
34
+
35
+ desc 'Run specific stress tests'
36
+ task :rubocop do
37
+ system 'rubocop -a'
38
+ end
39
+
40
+ desc 'Compile gem'
41
+ task :build do
42
+ system 'gem build lazy_init.gemspec'
43
+ end