pass_keyword 0.1.0

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: 0efeeda29119e943f203661ac0e04fb75a3c5512fbc797fff4c8b55fe0bad138
4
+ data.tar.gz: 98383508b20555945403582e59df72af30d10291adbc2172e6881de489593ffd
5
+ SHA512:
6
+ metadata.gz: a4296f8aff4c03b05e9a584ef2c8414f3a361303e9843d1724bee36725905559cc6ca655c1c0411e0ac9325458c25b00102068f907682a662c149648fa1d65ca
7
+ data.tar.gz: 2d9d8e8d99df336f5191de946936846b56470ab58348d7afb3dbfb99f1b6561b18dcd32555b9d04e0887e3354e8518cb3d07dec806706cb3c878f728d2f77b6b
data/.rubocop.yml ADDED
@@ -0,0 +1,17 @@
1
+ require:
2
+ - rubocop-minitest
3
+ - rubocop-rake
4
+
5
+ AllCops:
6
+ TargetRubyVersion: 3.0
7
+
8
+ Style/StringLiterals:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Style/StringLiteralsInInterpolation:
13
+ Enabled: true
14
+ EnforcedStyle: double_quotes
15
+
16
+ Layout/LineLength:
17
+ Max: 80
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Łukasz Wieczorek
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,4 @@
1
+ pass_keyword
2
+ ============
3
+
4
+ Adds pass statement to Ruby Kernel.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "minitest/test_task"
5
+
6
+ Minitest::TestTask.create
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[test rubocop]
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PassKeyword
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "pass_keyword/version"
4
+
5
+ ##
6
+ # Adds pass.
7
+ module Kernel
8
+ def pass; end
9
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/pass_keyword/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "pass_keyword"
7
+ spec.version = PassKeyword::VERSION
8
+ spec.authors = ["Łukasz Wieczorek"]
9
+ spec.email = ["wieczorek1990@gmail.com"]
10
+
11
+ spec.summary = "Adds pass statement to Ruby Kernel."
12
+ spec.description = "Add this gem to verbosely mark places as passed."
13
+ spec.homepage = "https://rubygems.org/gems/pass_keyword"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 3.0.0"
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = "https://github.com/wieczorek1990/pass_keyword"
19
+
20
+ spec.files = Dir.chdir(__dir__) do
21
+ `git ls-files -z`.split("\x0").reject do |f|
22
+ (File.expand_path(f) == __FILE__) ||
23
+ f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
24
+ end
25
+ end
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+ end
@@ -0,0 +1,7 @@
1
+ module PassKeyword
2
+ VERSION: String
3
+ end
4
+
5
+ module Kernel
6
+ def pass: () -> void
7
+ end
metadata ADDED
@@ -0,0 +1,53 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pass_keyword
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Łukasz Wieczorek
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-02-27 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Add this gem to verbosely mark places as passed.
14
+ email:
15
+ - wieczorek1990@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".rubocop.yml"
21
+ - LICENSE.txt
22
+ - README.md
23
+ - Rakefile
24
+ - lib/pass_keyword.rb
25
+ - lib/pass_keyword/version.rb
26
+ - pass_keyword.gemspec
27
+ - sig/pass_keyword.rbs
28
+ homepage: https://rubygems.org/gems/pass_keyword
29
+ licenses:
30
+ - MIT
31
+ metadata:
32
+ homepage_uri: https://rubygems.org/gems/pass_keyword
33
+ source_code_uri: https://github.com/wieczorek1990/pass_keyword
34
+ post_install_message:
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.0.0
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ requirements: []
49
+ rubygems_version: 3.5.6
50
+ signing_key:
51
+ specification_version: 4
52
+ summary: Adds pass statement to Ruby Kernel.
53
+ test_files: []