tinycode 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +2 -0
- data/.rubocop.yml +51 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +81 -0
- data/LICENSE +674 -0
- data/README.md +159 -0
- data/Rakefile +19 -0
- data/lib/tinycode/core_ext.rb +54 -0
- data/lib/tinycode/fixed_integer.rb +66 -0
- data/lib/tinycode/module.rb +164 -0
- data/lib/tinycode/no_core_ext.rb +3 -0
- data/lib/tinycode/version.rb +5 -0
- data/lib/tinycode.rb +4 -0
- data/tinycode.gemspec +42 -0
- metadata +173 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 07affc4666974e192c3359925596623e35d4674732c10a3db1563f9ff487b331
|
4
|
+
data.tar.gz: 82bb76504b5f0e22eec2607150732a53d888f4e509539ca289f98eadb8ebdf95
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 220eaf04d0307e8ccdc8914511ffe4d6a8a6276ba82d5f2e9fbfc1347167f9d164657d6bb6cf2d8113ae4d413725024aec82863658fe79af004bf3583b474a6c
|
7
|
+
data.tar.gz: 225c34e6887baf7973fd275c7c8ac6e2f68826c1ad6afee1aa94abcf1512f26e9aa061fe0b10f1dcaf3e497752e0fb6b028f00f24ae44c626224e4c87596547c
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
require: rubocop-rspec
|
2
|
+
|
3
|
+
AllCops:
|
4
|
+
TargetRubyVersion: 3.0.0
|
5
|
+
NewCops: enable
|
6
|
+
|
7
|
+
Layout/ArgumentAlignment:
|
8
|
+
EnforcedStyle: with_fixed_indentation
|
9
|
+
Layout/EmptyLineBetweenDefs:
|
10
|
+
AllowAdjacentOneLineDefs: true
|
11
|
+
Layout/EmptyLines: # Directly conflicts with YARDs only way to suppress unwanted
|
12
|
+
Enabled: false # comments, such as copyright headers
|
13
|
+
Layout/FirstArrayElementIndentation:
|
14
|
+
EnforcedStyle: consistent
|
15
|
+
Layout/FirstHashElementIndentation:
|
16
|
+
EnforcedStyle: consistent
|
17
|
+
Layout/LineEndStringConcatenationIndentation:
|
18
|
+
EnforcedStyle: indented
|
19
|
+
Layout/SpaceInsideBlockBraces:
|
20
|
+
SpaceBeforeBlockParameters: false
|
21
|
+
Layout/SpaceInsideHashLiteralBraces:
|
22
|
+
EnforcedStyle: no_space
|
23
|
+
|
24
|
+
Lint/StructNewOverride:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
Metrics/AbcSize:
|
28
|
+
CountRepeatedAttributes: false
|
29
|
+
Metrics/BlockLength:
|
30
|
+
IgnoredMethods:
|
31
|
+
- describe
|
32
|
+
|
33
|
+
RSpec/MultipleExpectations:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
Style/AsciiComments:
|
37
|
+
Enabled: false
|
38
|
+
Style/FormatStringToken:
|
39
|
+
Enabled: false
|
40
|
+
Style/NegatedIf:
|
41
|
+
Enabled: false
|
42
|
+
Style/NumericLiterals:
|
43
|
+
MinDigits: 7
|
44
|
+
Style/NumericPredicate:
|
45
|
+
EnforcedStyle: comparison
|
46
|
+
Style/SymbolArray:
|
47
|
+
EnforcedStyle: brackets
|
48
|
+
Style/TrailingCommaInArrayLiteral:
|
49
|
+
Enabled: false
|
50
|
+
Style/WordArray:
|
51
|
+
MinSize: 4
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
tinycode (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
ast (2.4.2)
|
10
|
+
diff-lcs (1.4.4)
|
11
|
+
docile (1.4.0)
|
12
|
+
ffi (1.15.4)
|
13
|
+
listen (3.7.0)
|
14
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
15
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
16
|
+
parallel (1.21.0)
|
17
|
+
parser (3.0.2.0)
|
18
|
+
ast (~> 2.4.1)
|
19
|
+
rainbow (3.0.0)
|
20
|
+
rake (13.0.6)
|
21
|
+
rb-fsevent (0.11.0)
|
22
|
+
rb-inotify (0.10.1)
|
23
|
+
ffi (~> 1.0)
|
24
|
+
regexp_parser (2.1.1)
|
25
|
+
rerun (0.13.1)
|
26
|
+
listen (~> 3.0)
|
27
|
+
rexml (3.2.5)
|
28
|
+
rspec (3.10.0)
|
29
|
+
rspec-core (~> 3.10.0)
|
30
|
+
rspec-expectations (~> 3.10.0)
|
31
|
+
rspec-mocks (~> 3.10.0)
|
32
|
+
rspec-core (3.10.1)
|
33
|
+
rspec-support (~> 3.10.0)
|
34
|
+
rspec-expectations (3.10.1)
|
35
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
36
|
+
rspec-support (~> 3.10.0)
|
37
|
+
rspec-mocks (3.10.2)
|
38
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
39
|
+
rspec-support (~> 3.10.0)
|
40
|
+
rspec-support (3.10.3)
|
41
|
+
rubocop (1.23.0)
|
42
|
+
parallel (~> 1.10)
|
43
|
+
parser (>= 3.0.0.0)
|
44
|
+
rainbow (>= 2.2.2, < 4.0)
|
45
|
+
regexp_parser (>= 1.8, < 3.0)
|
46
|
+
rexml
|
47
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
48
|
+
ruby-progressbar (~> 1.7)
|
49
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
50
|
+
rubocop-ast (1.13.0)
|
51
|
+
parser (>= 3.0.1.1)
|
52
|
+
rubocop-rake (0.6.0)
|
53
|
+
rubocop (~> 1.0)
|
54
|
+
rubocop-rspec (2.6.0)
|
55
|
+
rubocop (~> 1.19)
|
56
|
+
ruby-progressbar (1.11.0)
|
57
|
+
simplecov (0.21.2)
|
58
|
+
docile (~> 1.1)
|
59
|
+
simplecov-html (~> 0.11)
|
60
|
+
simplecov_json_formatter (~> 0.1)
|
61
|
+
simplecov-html (0.12.3)
|
62
|
+
simplecov_json_formatter (0.1.3)
|
63
|
+
unicode-display_width (2.1.0)
|
64
|
+
yard (0.9.26)
|
65
|
+
|
66
|
+
PLATFORMS
|
67
|
+
x86_64-darwin-19
|
68
|
+
|
69
|
+
DEPENDENCIES
|
70
|
+
rake (~> 13.0)
|
71
|
+
rerun (~> 0.13)
|
72
|
+
rspec (~> 3.0)
|
73
|
+
rubocop (~> 1.21)
|
74
|
+
rubocop-rake (~> 0.6)
|
75
|
+
rubocop-rspec (~> 2.6)
|
76
|
+
simplecov (~> 0.21)
|
77
|
+
tinycode!
|
78
|
+
yard (~> 0.9)
|
79
|
+
|
80
|
+
BUNDLED WITH
|
81
|
+
2.2.31
|