fuckyeahmarkdown 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e57183a5a47f7b6de78c56bfb81596024fd30f3c5ac457b514bf98ab7ba6406
4
- data.tar.gz: 93f7d1de71a7778fa97ef949594be79b6c860fe4ffad33ba1c2f73176d288cc3
3
+ metadata.gz: 7b58283efb2725a58b8867541f3605efa4f9206d9727d0e170bfa9fb35bac9de
4
+ data.tar.gz: 57c55c89c369cb6997a9ad4c348508213c1a855e265606138fee47129735d89c
5
5
  SHA512:
6
- metadata.gz: 63edf9c2115492fb31999bc66f48a58bbe0306e9bbbc513922dd3c9c3815286a60e855fa9bafed893022878e1eb2f69d734bf16687d380d5634cb8c4652064d7
7
- data.tar.gz: 164a25110ad80bcc78817354f640be5706c75ebea554d66879abc0b1a4055f9c41d42741e34c16ebacf7e0a9ebe646af57ac8a49f1a18987a3f601f9e7af9084
6
+ metadata.gz: c1caa0dabff8869d82a3acff32acbab32b33a0f53b8e6e9ba1678eb06b09f9da4c0c3d99eedefa03f1e7e012d046689b02848e46597000aab959134fe6202d7f
7
+ data.tar.gz: fbb9be2d2feeb5c33325e896468a037f5177bfd612fdeb9141ee6b9d035fe3798456f370388eea948eaa31c1c239ebf50ab906610eff59154fc5db3d6cfc30a0
data/bin/fymd ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'tty-markdown'
4
+ require 'fuckyeahmarkdown'
5
+
6
+ $URL = ARGV[0]
7
+ $URL = gets.chomp if $URL.nil?
8
+
9
+ system 'clear'
10
+ puts '--------------------------------------------------------'
11
+ puts TTY::Markdown.parse(Fuckyeahmarkdown.convert($URL))
12
+ puts '--------------------------------------------------------'
@@ -2,8 +2,9 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'fuckyeahmarkdown'
5
- s.version = '1.0.0'
5
+ s.version = '1.1.0'
6
6
  s.date = '2018-10-29'
7
+ s.executables << 'fymd'
7
8
  s.summary = 'Simple API wrapper for Fuckyeahmarkdown'
8
9
  s.description = '---'
9
10
  s.author = 'Boris Mkrtychan'
@@ -1,5 +1,4 @@
1
1
  require 'net/http'
2
- require 'yaml'
3
2
 
4
3
  # read: (optional, default 1) whether to run Readability or not, 0 turns off
5
4
  $READ = '1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuckyeahmarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Mkrtychan
@@ -26,12 +26,14 @@ dependencies:
26
26
  version: 0.4.0
27
27
  description: "---"
28
28
  email: bmkrtychan@gmail.com
29
- executables: []
29
+ executables:
30
+ - fymd
30
31
  extensions: []
31
32
  extra_rdoc_files: []
32
33
  files:
33
34
  - ".gitignore"
34
35
  - Gemfile
36
+ - bin/fymd
35
37
  - fuckyeahmarkdown.gemspec
36
38
  - lib/fuckyeahmarkdown.rb
37
39
  homepage: https://github.com/bmkrtychan12/fymd