testing_data 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 +4 -4
- data/lib/testing_data.rb +3 -26
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b7ff7e0a08f40b18b6679e26037487b59f015f36696f591ec6437cf7fcb151e
|
|
4
|
+
data.tar.gz: 1a108c205362a298824694ed0d12d789acb588f9dec9a43e00d5c5a88e20b921
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ddd8ece7658303f4289bd026d69c6dec26dad3f1868c119d83632fb9998c459543e7e7beca145430595932b2e2e9c60d7316a83fd949e9cafa19fc245cd57b70
|
|
7
|
+
data.tar.gz: 78f5aee88a532638e61f2966701552ac47a5216aaa7cf215cdbe634e348d78dda28df9793b913f2f264ae72a8e431aecdd8065782a23a5ecd2889871aad92ce9
|
data/lib/testing_data.rb
CHANGED
|
@@ -6,6 +6,8 @@ module TestingData
|
|
|
6
6
|
Emote2 = ['😍', '👩🏽', '👾 🙇 💁 🙅 🙆 🙋 🙎 🙍', '🐵 🙈 🙉 🙊', '❤️ 💔 💌 💕 💞 💓 💗 💖 💘 💝 💟 💜 💛 💚 💙', '✋🏿 💪🏿 👐🏿 🙌🏿 👏🏿 🙏🏿', '🚾 🆒 🆓 🆕 🆖 🆗 🆙 🏧']
|
|
7
7
|
Int = [0, -0, -0.0, 0.00, 1, 1.00, -1, -1.00, 01000, -2147483648/-1, -9223372036854775808/-1, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, '$1.00', '1/2', '1E2', '1E02', '1E+02', '-$1.00', '-1/2', '-1E2', '-1E02', '-1E+02', '1/0', '0/0', '+0', '+0.0', '0..0', '.', '0.0.0', '0,00', '0,,0', ',', '0,0,0', '0.0/0', '1.0/0.0', '0.0/0.0', '1,0/0,0', '0,0/0,0', '--1', '-', '-.', '-,', 'NaN', 'Infinity', '-Infinity', 'INF', '1#INF', '-1#IND', '1#QNAN', '1#SNAN', '1#IND', '0x0', '0xffffffff', '0xffffffffffffffff', '0xabad1dea', '1\'23456789012345678901234567890123456789', '1,000.00', '1 000.00', '1\'000.00', '1,000,000.00', '1 000 000.00', '1\'000\'000.00', '1.000,00', '1 000,00', '1\'000,00', '1.000.000,00', '1 000 000,00', '1\'000\'000,00', '08', '09', '2.2250738585072011e-308']
|
|
8
8
|
Ios = ['Powerلُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ冗', 'జ్ఞా', '🏳0🌈️']
|
|
9
|
+
Postcode = ['W1J 7NT', 'DE12 8HJ', 'SW1A 1AA', 'HD7 5UZ', 'CH5 3QW', 'W2 1JB', 'PL7 1RF', 'GIR 0AA','JE3 1EP']
|
|
10
|
+
Puntuation = ['.', '()', ':', ';', '/', '?', '{}', '@', '!', '%', '=', '^']
|
|
9
11
|
Reverse = ['أنا أكتب باللغة العربية', 'אני כותב בעברית', 'میں urdu میں لکھ رہا ہوں', 'እኔ በመጻፍ እማሬ ነው']
|
|
10
12
|
Rude = ['Scunthorpe General Hospital', 'Penistone Community Church', 'Lightwater Country Park', 'Jimmy Clitheroe', 'Horniman Museum', 'shitake mushrooms', 'RomansInSussex.co.uk', 'http://www.cum.qc.ca/', 'Craig Cockburn', 'Linda Callahan', 'Dr. Herman I. Libshitz', 'magna cum laude', 'Super Bowl XXX', 'medieval erection of parapets', 'evaluate', 'mocha', 'expression', 'Arsenal canal', 'classic', 'Tyson Gay', 'Dick Van Dyke', 'basement']
|
|
11
13
|
Sql = ['1;DROP TABLE users', '1\'; DROP TABLE users-- 1', '\' OR 1=1 -- 1', '\' OR \'1\'=\'1', '%', '_']
|
|
@@ -16,32 +18,7 @@ module TestingData
|
|
|
16
18
|
Unicode = ['Ω≈ç√∫˜µ≤≥÷', 'åß∂ƒ©˙∆˚¬…æ', 'œ∑´®†¥¨ˆøπ“‘', '¡™£¢∞§¶•ªº–≠', '˛Ç◊ı˜Â¯˘¿', 'ÅÍÎÏ˝ÓÔÒÚÆ☃', 'Œ„´‰ˇÁ¨ˆØ∏”’', '`⁄€‹›fifl‡°·‚—±', '⅛⅜⅝⅞', 'ЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя', '٠١٢٣٤٥٦٧٨٩']
|
|
17
19
|
Zalgo = ['Y̙̜͕o̠̠ͅu̮͕̦̗̩̣͍̥r̹̞̖̺͖ ̣͎̜̳͎̺̟s̠̬̟̫̲͓̝͕t͖̣̭̯͓̟ͅr̝̳͇i͖̗̜̲n̮͙g͈̰s̙͖̻̲͔̪ ̬̭̺̜̩̹a̹̭̮͉͕͈͇̬r̫̼̗̗͎e͉̞͉̳ ̪̥̠̻͈̣ͅl̯̖̰̼̱͖̹e͓̥a̤̯͙̠k̞͓̣i͓̞͙̦̼ͅn̪̻̥̞͕̯g͎̲ ̱̫̟̠', 'W̴ͦ̋ͥ̿͒͛̅ͥ̉̊̀͗̋ͦͤ̀̈́͛͜͏̧̛̝̯͔̻h̡̗͖̲̳̗͓̰̙̯ͩ̊̍̈ͬ͛̅̕a̷̰̝̜̪̼̙̙̦̱̣̩̥͍̰͆ͬ̿ͦͭ͗̈͑͋͡t̨̹̩̭̮̦͈͓̥̟̻̫̜̃̒̋͛̏ͨ̋ ̘͓̗̳̮̬̳͖̰͉̥̗̳̲͖̋ͮͭͥ͋̆̃ͭͨ̎̾͡a̸̧̛̼̰͔̥̪͇͓̭͍̱̠̻̦̥̝͛͆̾̐̔̾ͦ̇̈́ͫ̍̃͂ͫ̔̎͗ ̛ͨ̏ͭ̈́̔̈́̾͊ͨ̆͐̌ͬ͢҉̴̗͍̪̠̱̗̲̙͍̟̪̹͕̮͍̬̞m̢̢̗̳̰͇̺͉̣̩͖͈͎̪̲̘͉̣͙̘̈͒̄̄̊̅ͫͥ͆͐ͬ́̇̐̇̾̎̕e͊̃ͩ̇̎͛̀͢͏̝͈̻̺͙͎̦̭͡s̷̸̢̰̞͚̞̞̮͎͔̗̩͈̙̥̜͆͑ͦ̈͗̇̍ͫͦͮͤ̈́̋ͧ̌̉̂̕͜s̸̈́̌̆̐̽̍̓͒͐҉̮̬̠͚̀', '1̮̰̝̻̻͖̀̓̂3͌̐̿̀̕3̰̻̰̙̓̌̋́̚7̍̒̽̀']
|
|
18
20
|
|
|
19
|
-
All = { CLI: Cli, EMAIL: Email, EMOTE1: Emote1, EMOTE2: Emote2, INT: Int, IOS: Ios,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def feed(type)
|
|
23
|
-
type.downcase!
|
|
24
|
-
type.capitalize!
|
|
25
|
-
case type
|
|
26
|
-
when 'All' then All
|
|
27
|
-
when 'Cli' then Cli
|
|
28
|
-
when 'Email' then Email
|
|
29
|
-
when 'Emote1' then Emote1
|
|
30
|
-
when 'Emote2' then Emote2
|
|
31
|
-
when 'Int' then Int
|
|
32
|
-
when 'Ios' then Ios
|
|
33
|
-
when 'Reverse' then Reverse
|
|
34
|
-
when 'Rude' then Rude
|
|
35
|
-
when 'Sql' then SQL
|
|
36
|
-
when 'Scripts' then Scripts
|
|
37
|
-
when 'Subscript' then Subscript
|
|
38
|
-
when 'Text' then Text
|
|
39
|
-
when 'Twobytechar' then Twobytechar
|
|
40
|
-
when 'Unicode' then Unicode
|
|
41
|
-
when 'Zalgo' then Zalgo
|
|
42
|
-
else return '["Please request a valid data type"]'
|
|
43
|
-
end
|
|
44
|
-
end
|
|
21
|
+
All = { CLI: Cli, EMAIL: Email, EMOTE1: Emote1, EMOTE2: Emote2, INT: Int, IOS: Ios, POSTCODE: Postcode, PUNCTUATION: Puntuation, REVERSE: Reverse, RUDE: Rude, SQL: Sql, SCRIPTS: Scripts, SUBSCRIPT: Subscript, TEXT: Text, TWOBYTECHAR: Twobytechar, UNICODE: Unicode, ZALGO: Zalgo }
|
|
45
22
|
end
|
|
46
23
|
|
|
47
24
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: testing_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Niall47
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|