primitive 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bundle/config +2 -0
- data/.editorconfig +8 -0
- data/.github/workflows/ci.yaml +29 -0
- data/.gitignore +7 -0
- data/.rubocop.yml +16 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +7 -0
- data/CODE_OF_CONDUCT.md +73 -0
- data/Gemfile +5 -0
- data/Guardfile +17 -0
- data/LICENSE +5 -0
- data/README.md +107 -0
- data/Rakefile +12 -0
- data/bin/_guard-core +27 -0
- data/bin/bundle +109 -0
- data/bin/bundle-audit +27 -0
- data/bin/bundler-audit +27 -0
- data/bin/coderay +27 -0
- data/bin/guard +27 -0
- data/bin/htmldiff +27 -0
- data/bin/ldiff +27 -0
- data/bin/listen +27 -0
- data/bin/pry +27 -0
- data/bin/racc +27 -0
- data/bin/rake +27 -0
- data/bin/rspec +27 -0
- data/bin/rubocop +27 -0
- data/bin/ruby-parse +27 -0
- data/bin/ruby-rewrite +27 -0
- data/bin/spoom +27 -0
- data/bin/srb +27 -0
- data/bin/srb-rbi +27 -0
- data/bin/tapioca +27 -0
- data/bin/thor +27 -0
- data/bin/yard +27 -0
- data/bin/yardoc +27 -0
- data/bin/yri +27 -0
- data/lib/primitive/entity.rb +50 -0
- data/lib/primitive/version.rb +6 -0
- data/lib/primitive.rb +6 -0
- data/primitive.gemspec +45 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ansi@1.5.0.rbi +8 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +8 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +8 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +8 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
- data/sorbet/rbi/gems/ffi@1.16.3.rbi +8 -0
- data/sorbet/rbi/gems/formatador@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +66 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +562 -0
- data/sorbet/rbi/gems/guard@2.18.1.rbi +8 -0
- data/sorbet/rbi/gems/json@2.7.1.rbi +1561 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +8 -0
- data/sorbet/rbi/gems/listen@3.8.0.rbi +8 -0
- data/sorbet/rbi/gems/lumberjack@1.2.9.rbi +8 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
- data/sorbet/rbi/gems/parser@3.3.0.5.rbi +5472 -0
- data/sorbet/rbi/gems/prism@0.27.0.rbi +35611 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +8 -0
- data/sorbet/rbi/gems/racc@1.7.3.rbi +161 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rake@13.1.0.rbi +3027 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/rbi@0.1.12.rbi +3071 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.0.rbi +8 -0
- data/sorbet/rbi/gems/rexml@3.2.6.rbi +8 -0
- data/sorbet/rbi/gems/rspec-core@3.12.2.rbi +8 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +8 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.6.rbi +8 -0
- data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +8 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-capybara@2.19.0.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-factory_bot@2.24.0.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.24.1.rbi +8 -0
- data/sorbet/rbi/gems/rubocop@1.60.2.rbi +8 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
- data/sorbet/rbi/gems/simplecov-console@0.9.1.rbi +102 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +8 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.3.2.rbi +4420 -0
- data/sorbet/rbi/gems/tapioca@0.13.3.rbi +3520 -0
- data/sorbet/rbi/gems/terminal-table@3.0.2.rbi +8 -0
- data/sorbet/rbi/gems/thor@1.3.1.rbi +4318 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +8 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
- data/sorbet/rbi/gems/yard@0.9.36.rbi +18085 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +363 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `regexp_parser` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem regexp_parser`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rexml` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rexml`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec-core` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec-core`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec-expectations` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec-expectations`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec-mocks` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec-mocks`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec-support` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec-support`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-ast` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-ast`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-capybara` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-capybara`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-factory_bot` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-factory_bot`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-rake` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-rake`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-rspec` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-rspec`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `shellany` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem shellany`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `simplecov-console` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem simplecov-console`.
|
6
|
+
|
7
|
+
# source://simplecov-console//lib/simplecov-console.rb#3
|
8
|
+
class SimpleCov::Formatter::Console
|
9
|
+
# source://simplecov-console//lib/simplecov-console.rb#120
|
10
|
+
def branches_missed(missed_branches); end
|
11
|
+
|
12
|
+
# source://simplecov-console//lib/simplecov-console.rb#184
|
13
|
+
def colorize(s); end
|
14
|
+
|
15
|
+
# source://simplecov-console//lib/simplecov-console.rb#50
|
16
|
+
def format(result); end
|
17
|
+
|
18
|
+
# source://simplecov-console//lib/simplecov-console.rb#34
|
19
|
+
def include_output_style; end
|
20
|
+
|
21
|
+
# Group missed lines for better display
|
22
|
+
#
|
23
|
+
# @param missed [Array<SimpleCov::SourceFile::Line>] array of missed lines reported by SimpleCov
|
24
|
+
# @return [Array<String>] Missing groups of lines
|
25
|
+
#
|
26
|
+
# source://simplecov-console//lib/simplecov-console.rb#131
|
27
|
+
def missed(missed_lines); end
|
28
|
+
|
29
|
+
# source://simplecov-console//lib/simplecov-console.rb#176
|
30
|
+
def pct(number); end
|
31
|
+
|
32
|
+
# @return [Boolean]
|
33
|
+
#
|
34
|
+
# source://simplecov-console//lib/simplecov-console.rb#45
|
35
|
+
def show_branch_coverage?(result); end
|
36
|
+
|
37
|
+
# Truncate string to at most N chars (as defined by missing_len)
|
38
|
+
#
|
39
|
+
# source://simplecov-console//lib/simplecov-console.rb#166
|
40
|
+
def trunc(str); end
|
41
|
+
|
42
|
+
# @return [Boolean]
|
43
|
+
#
|
44
|
+
# source://simplecov-console//lib/simplecov-console.rb#180
|
45
|
+
def use_colors?; end
|
46
|
+
|
47
|
+
class << self
|
48
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
49
|
+
def max_lines; end
|
50
|
+
|
51
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
52
|
+
def max_lines=(_arg0); end
|
53
|
+
|
54
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
55
|
+
def max_rows; end
|
56
|
+
|
57
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
58
|
+
def max_rows=(_arg0); end
|
59
|
+
|
60
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
61
|
+
def missing_len; end
|
62
|
+
|
63
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
64
|
+
def missing_len=(_arg0); end
|
65
|
+
|
66
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
67
|
+
def output_style; end
|
68
|
+
|
69
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
70
|
+
def output_style=(_arg0); end
|
71
|
+
|
72
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
73
|
+
def show_covered; end
|
74
|
+
|
75
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
76
|
+
def show_covered=(_arg0); end
|
77
|
+
|
78
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
79
|
+
def sort; end
|
80
|
+
|
81
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
82
|
+
def sort=(_arg0); end
|
83
|
+
|
84
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
85
|
+
def table_options; end
|
86
|
+
|
87
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
88
|
+
def table_options=(_arg0); end
|
89
|
+
|
90
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
91
|
+
def use_colors; end
|
92
|
+
|
93
|
+
# source://simplecov-console//lib/simplecov-console.rb#11
|
94
|
+
def use_colors=(_arg0); end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
# source://simplecov-console//lib/simplecov-console.rb#7
|
99
|
+
SimpleCov::Formatter::Console::ATTRIBUTES = T.let(T.unsafe(nil), Array)
|
100
|
+
|
101
|
+
# source://simplecov-console//lib/simplecov-console.rb#5
|
102
|
+
SimpleCov::Formatter::Console::VERSION = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `simplecov-html` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem simplecov-html`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|