arsenal_console_colors 0.1.0 → 0.2.0
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/arsenal_console_colors.rb +6 -5
- data/lib/arsenal_console_colors/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74c2a6fb92feda20daaeb49ba86152464bc95d1b
|
4
|
+
data.tar.gz: 699178f6f1d19698e1aaa397eb99bbc062f3fd17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ec3439a80202872d430411c342da27e19ece286b1f216de161d78242a3facbe9b553871716000f744a1c53ae1bd07206d1ea2a9a1bbae3f7a6a250b0edff0c0
|
7
|
+
data.tar.gz: e11bb70abe2bc7c37d7506ddf4d3deaaaccc643a74d1cb90889afdd05ecfdcbac27f6730cbbcc70332a9847bf720d7f9f20fad7c681ff7bce1ec61d5802628aa
|
@@ -115,15 +115,16 @@ module ArsenalConsoleColors
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def self.all
|
118
|
-
|
118
|
+
puts "#{self.successful}\n#{self.failed}\n#{self.tracking}\n#{self.devise}\n#{self.email}\n#{self.sms}\n#{self.phone}\n#{self.video}\n#{self.fax}\n#{self.stripe}\n#{self.paypal}\n#{self.user}\n#{self.admin}\n#{self.system}\n#{self.api}\n#{self.webhook}\n#{self.test}\n#{self.custom} (NOTE: No Options Set)\n\n"
|
119
119
|
end
|
120
120
|
|
121
121
|
def self.help
|
122
|
-
message = "\nTo see all options outputted:
|
123
|
-
message << "As an example, to use the #{self.tracking} badge:
|
124
|
-
message << "Make your own with
|
122
|
+
message = "\nTo see all options outputted to console: ArsenalConsoleColors.all\n\n"
|
123
|
+
message << "As an example, to use the #{self.tracking} badge inside your code, you can \"puts\": ArsenalConsoleColors.tracking\n\n"
|
124
|
+
message << "Make your own with ArsenalConsoleColors.custom by sending vars \"text\", \"text_color\", and \"background_color\"\n"
|
125
125
|
message << "Usable colors: black, red, green, yellow, blue, magenta, cyan, white\n"
|
126
|
-
message << "As an example:
|
126
|
+
message << "As an example: ArsenalConsoleColors.custom('SOMETHING', 'white', 'black') will show as #{self.custom('SOMETHING', 'white', 'black')}\n\n"
|
127
|
+
puts message
|
127
128
|
end
|
128
129
|
|
129
130
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arsenal_console_colors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arsenal Admin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|