gothify 0.0.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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/gothify.rb +40 -0
  3. metadata +59 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 391a7c514a7df2ab665ccd6ca8dd4cf0f4409abf67ed7bfecea36bcef6b8ccfa
4
+ data.tar.gz: 7cb0312770a306d2efc6ee5d3cc1479b4c4433a2833749f1d9b67618b69bafce
5
+ SHA512:
6
+ metadata.gz: d7e76f644623ac1e01748c4aad8303c81f8043d26ffcf900814cc213a6a52631463ea22158296fc17c46165c76fdb36257679d5425bed4acc96a2eee4b4718c2
7
+ data.tar.gz: 2dd34ad9a5cac160c33feb7d023a47aa394d59fa84b3d916de69bcb8b8e4ca3a56377d86bde8a9ac740eec8fda49f6400d256467b5ebbfdf05cdd1b5a1ca27cf
@@ -0,0 +1,40 @@
1
+ class String
2
+ VANILLA = "\u{61}\u{62}\u{63}\u{64}\u{65}\u{66}\u{67}\u{68}\u{69}\u{6a}\u{6b}\u{6c}\u{6d}\u{6e}\u{6f}\u{70}\u{71}\u{72}\u{73}\u{74}\u{75}\u{76}\u{77}\u{78}\u{79}\u{7a}\u{41}\u{42}\u{43}\u{44}\u{45}\u{46}\u{47}\u{48}\u{49}\u{4a}\u{4b}\u{4c}\u{4d}\u{4e}\u{4f}\u{50}\u{51}\u{52}\u{53}\u{54}\u{55}\u{56}\u{57}\u{58}\u{59}\u{5a}".freeze
3
+ GOTH = "\u{1d51e}\u{1d51f}\u{1d520}\u{1d521}\u{1d522}\u{1d523}\u{1d524}\u{1d525}\u{1d526}\u{1d527}\u{1d528}\u{1d529}\u{1d52a}\u{1d52b}\u{1d52c}\u{1d52d}\u{1d52e}\u{1d52f}\u{1d530}\u{1d531}\u{1d532}\u{1d533}\u{1d534}\u{1d535}\u{1d536}\u{1d537}\u{1d504}\u{1d505}\u{212d}\u{1d507}\u{1d508}\u{1d509}\u{1d50a}\u{210c}\u{2111}\u{1d50d}\u{1d50e}\u{1d50f}\u{1d510}\u{1d511}\u{1d512}\u{1d513}\u{1d514}\u{211c}\u{1d516}\u{1d517}\u{1d518}\u{1d519}\u{1d51a}\u{1d51b}\u{1d51c}\u{2128}".freeze
4
+ GOTHER = "\u{1d586}\u{1d587}\u{1d588}\u{1d589}\u{1d58a}\u{1d58b}\u{1d58c}\u{1d58d}\u{1d58e}\u{1d58f}\u{1d590}\u{1d591}\u{1d592}\u{1d593}\u{1d594}\u{1d595}\u{1d596}\u{1d597}\u{1d598}\u{1d599}\u{1d59a}\u{1d59b}\u{1d59c}\u{1d59d}\u{1d59e}\u{1d59f}\u{1d56c}\u{1d56d}\u{1d56e}\u{1d56f}\u{1d570}\u{1d571}\u{1d572}\u{1d573}\u{1d574}\u{1d575}\u{1d576}\u{1d577}\u{1d578}\u{1d579}\u{1d57a}\u{1d57b}\u{1d57c}\u{1d57d}\u{1d57e}\u{1d57f}\u{1d580}\u{1d581}\u{1d582}\u{1d583}\u{1d584}\u{1d585}".freeze
5
+
6
+ def gothify
7
+ tr(GOTHER, GOTH) \
8
+ .tr(VANILLA, GOTH)
9
+ end
10
+
11
+ def gothify!
12
+ tr!(VANILLA, GOTH)
13
+ self.tr!(GOTHER, GOTH)
14
+ end
15
+
16
+ def gother
17
+ tr(GOTH, GOTHER) \
18
+ .tr(VANILLA, GOTHER)
19
+ end
20
+
21
+ def gother!
22
+ tr!(VANILLA, GOTHER)
23
+ self.tr!(GOTH, GOTHER)
24
+ end
25
+
26
+ def vanilla
27
+ tr(GOTH, VANILLA) \
28
+ .tr(GOTHER, VANILLA)
29
+ end
30
+
31
+ def vanilla!
32
+ tr!(GOTH, VANILLA)
33
+ self.tr!(GOTHER, VANILLA)
34
+ end
35
+
36
+ alias_method :goth, :gothify
37
+ alias_method :goth!, :gothify!
38
+ alias_method :normie, :vanilla
39
+ alias_method :normie!, :vanilla!
40
+ end
metadata ADDED
@@ -0,0 +1,59 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gothify
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Alexandre Karpinski Manikowski
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-02-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: minitest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 5.11.3
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 5.11.3
27
+ description:
28
+ email:
29
+ - alexandre.karpinski.m@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - lib/gothify.rb
35
+ homepage: https://gitlab.com/laka3000/gothify
36
+ licenses:
37
+ - MIT
38
+ metadata: {}
39
+ post_install_message:
40
+ rdoc_options: []
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ requirements: []
54
+ rubyforge_project:
55
+ rubygems_version: 2.7.8
56
+ signing_key:
57
+ specification_version: 4
58
+ summary: Makes you strings goth
59
+ test_files: []