mdhost 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/mdhost.rb +6 -4
- 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: 3a8134394649ff658a0481ef6c3e320f778e560154f4d07e873c3f56d28b1f77
|
4
|
+
data.tar.gz: 40438e7e07e3de5b341c05ee553f14d554329a51c8f688b2326ea63dabb4935d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60b49b4c61d662da9335cfd1413b7aedd99e90f624ae0424d99444f0e1a1acea3bf336d660c54fd3237cc9ba20c2b37ddfe98783df63c83a5baf2ac63e3a47da
|
7
|
+
data.tar.gz: 3c8ecc633e616d5c1863e2a3dceaac95a53c5a270fb51b3c13d8e9af65c29c6b9c9e138eb04da04e1b2834c577df9f55417a66f8fee68232632c2c3cbc2ec48a
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4
|
data/lib/mdhost.rb
CHANGED
@@ -27,6 +27,8 @@ module MDHost
|
|
27
27
|
opt :format, "Format string to compose multiple inputs into", type: :string
|
28
28
|
opt :table_format, 'Format string to use for the table "Input" column', type: :string
|
29
29
|
|
30
|
+
opt :browser_names, "Use browser names in output table"
|
31
|
+
|
30
32
|
educate_on_error
|
31
33
|
end
|
32
34
|
|
@@ -117,10 +119,10 @@ module MDHost
|
|
117
119
|
end
|
118
120
|
|
119
121
|
def run_format
|
120
|
-
output =
|
121
|
-
|
122
|
-
|
123
|
-
|
122
|
+
output = +"|Input|"
|
123
|
+
output += @options.browser_names ? "Safari|Firefox|Chrome"
|
124
|
+
: "JavaScriptCore|SpiderMonkey|V8"
|
125
|
+
output += "\n|---|---|---|---\n"
|
124
126
|
|
125
127
|
ARGV.each do |input|
|
126
128
|
formatted_input = format(@format_string, input)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mdhost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vinny Diehl
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
|
-
rubygems_version: 3.4.
|
93
|
+
rubygems_version: 3.4.22
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Generate Markdown eshost tables
|