madman 0.2.7 → 0.2.8
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/README.md +1 -1
- data/lib/madman/item.rb +3 -1
- data/lib/madman/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ce1a3efa4b8c0f8d508f3070a337c96f54f1309307a795a4f3f352ff491d120
|
|
4
|
+
data.tar.gz: 15bcf89abb0f01f2040d2221d0ab8ad56b0ff35946f49a37ac8b29733854e4fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8cee25b6ba93719f3e277a142a33477f1e3d71d1ab2870eafbfd3e8ac7ab1c50802c19c3c42e6115dc4d74d31e75cabfc927e2bc58740ee3731fea4398b07fc
|
|
7
|
+
data.tar.gz: aa60da86873a48de206154ff1608595e3b90802e5cedeef3a01b61c27c10bd7da44037ffae89e61a4d832d478621bf141d6601710e5f65bc3fdc45d26d27ba23
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@ Madman
|
|
|
2
2
|
==================================================
|
|
3
3
|
|
|
4
4
|
[](https://badge.fury.io/rb/madman)
|
|
5
|
-
[](https://github.com/DannyBen/madman/actions?query=workflow%3ATest)
|
|
6
6
|
[](https://codeclimate.com/github/DannyBen/madman/maintainability)
|
|
7
7
|
|
|
8
8
|
|
data/lib/madman/item.rb
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require 'addressable'
|
|
2
|
+
|
|
1
3
|
module Madman
|
|
2
4
|
class Item
|
|
3
5
|
attr_reader :path, :type, :basedir
|
|
@@ -11,7 +13,7 @@ module Madman
|
|
|
11
13
|
end
|
|
12
14
|
|
|
13
15
|
def href
|
|
14
|
-
URI.escape(path_without_extension.sub(/^#{basedir}\//, ''))
|
|
16
|
+
Addressable::URI.escape(path_without_extension.sub(/^#{basedir}\//, ''))
|
|
15
17
|
end
|
|
16
18
|
|
|
17
19
|
def dir?
|
data/lib/madman/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: madman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Danny Ben Shitrit
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sinatra
|
|
@@ -164,6 +164,20 @@ dependencies:
|
|
|
164
164
|
- - "~>"
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
166
|
version: '2.4'
|
|
167
|
+
- !ruby/object:Gem::Dependency
|
|
168
|
+
name: addressable
|
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
|
170
|
+
requirements:
|
|
171
|
+
- - "~>"
|
|
172
|
+
- !ruby/object:Gem::Version
|
|
173
|
+
version: '2.7'
|
|
174
|
+
type: :runtime
|
|
175
|
+
prerelease: false
|
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
177
|
+
requirements:
|
|
178
|
+
- - "~>"
|
|
179
|
+
- !ruby/object:Gem::Version
|
|
180
|
+
version: '2.7'
|
|
167
181
|
description: A command line utility for markdown fun
|
|
168
182
|
email: db@dannyben.com
|
|
169
183
|
executables:
|
|
@@ -217,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
217
231
|
- !ruby/object:Gem::Version
|
|
218
232
|
version: '0'
|
|
219
233
|
requirements: []
|
|
220
|
-
rubygems_version: 3.
|
|
234
|
+
rubygems_version: 3.1.2
|
|
221
235
|
signing_key:
|
|
222
236
|
specification_version: 4
|
|
223
237
|
summary: The Markdown Swiss Army Knife
|