mkmatter 3.0.27 → 3.0.36
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/.travis.yml +44 -7
- data/README.md +9 -23
- data/lib/mkmatter/cli/app.rb +9 -16
- data/lib/mkmatter/gem_info.rb +2 -2
- data/lib/mkmatter/version.rb +1 -1
- data/mkmatter.gemspec +0 -1
- metadata +1 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 629d93623595a807d35ede367a3dd5fb80e94c60
|
|
4
|
+
data.tar.gz: 48811f7126f0957b078fe05b8d3cede9092d2e65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 483e970442f03745fe447d96bf0fcbcbb31649bfa741d7ddce2dcb87140ceb67f2f775062a4b4695822f7371f15ae8275fca938a51df9e71ffb5b24048f84d5c
|
|
7
|
+
data.tar.gz: 970ef50d3f55287add980533d0b29decd04916e15171378cc7aca332735a18fc45105f6b45b664e15abc013ff7513a6f4f719513b4b05a2772e34fd1c17d7497
|
data/.travis.yml
CHANGED
|
@@ -1,8 +1,45 @@
|
|
|
1
|
-
|
|
2
1
|
language: ruby
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
script: echo "Running tests against $(ruby -v) ..."
|
|
3
|
+
bundler_args: --jobs=3 --retry=3 --standalone
|
|
4
|
+
notifications:
|
|
5
|
+
irc:
|
|
6
|
+
channels:
|
|
7
|
+
- ircs://irc.electrocode.net:6697/#commits
|
|
8
|
+
template:
|
|
9
|
+
- "%{repository_slug}#%{build_number} (%{branch} - %{commit}) %{author}): %{message}"
|
|
10
|
+
- 'Change view : %{compare_url}'
|
|
11
|
+
- 'Build details : %{build_url}'
|
|
12
|
+
jobs:
|
|
13
|
+
include:
|
|
14
|
+
- stage: test Ruby2.2
|
|
15
|
+
rvm: 2.2.2
|
|
16
|
+
script:
|
|
17
|
+
- echo "Running tests against $(ruby -v) ..."
|
|
18
|
+
- bundle exec rake -t
|
|
19
|
+
- stage: test Ruby2.3
|
|
20
|
+
rvm: 2.3.0
|
|
21
|
+
script:
|
|
22
|
+
- echo "Running tests against $(ruby -v) ..."
|
|
23
|
+
- bundle exec rake -t
|
|
24
|
+
- stage: test Ruby2.4
|
|
25
|
+
rvm: 2.4.0
|
|
26
|
+
script:
|
|
27
|
+
- echo "Running tests against $(ruby -v) ..."
|
|
28
|
+
- bundle exec rake -t
|
|
29
|
+
- stage: test Ruby2.5
|
|
30
|
+
rvm: 2.5.0
|
|
31
|
+
script:
|
|
32
|
+
- echo "Running tests against $(ruby -v) ..."
|
|
33
|
+
- bundle exec rake -t
|
|
34
|
+
- stage: gem release
|
|
35
|
+
rvm: 2.3.0
|
|
36
|
+
script: echo "Deploying to rubygems.org ..."
|
|
37
|
+
deploy:
|
|
38
|
+
provider: rubygems
|
|
39
|
+
api_key:
|
|
40
|
+
secure: BJd+CDvEsqGIB04QiLTr/+xZp9BzhyIZTcAfMWc84SE88jM/PgvklIujWgFTL7ZU1perK38t6PUdWUkiNzSfrIidfzFeRgQRGY9jN2hnxf9isHtkS2Dz75xMCBGaLlC8FmRd/CdftepG8Hd5VzUYCcwbKDOtDnHINhJWQ4RV6m0csf4qkK2vmJXhbuvblsLMwpk5NqNWhf2boQp6URuy7kbIvmGlfqDLULhQpv0ScgRmcogMePeOOGgLB5kWuRwMZUy5jIrhtumd6w1G0E93eqU7P28CL/usQvd+aOygyYJ02lR6cgzhcWd2ldtCCctqjazobQhz8lwqr7m+DHx+Px2JkwBw+XUAkceIuFl+As29/5PSULTmU2+DjjH1QXUXCa566lu8wCN6ZaJIGfgiV1BQzapomCDq8xviNIVKqeWDZ6zL4axAJ22VWfck2m3T4ZPon5qf8+uX1/pGJF6LI7S243Ee52G6GPjPzw1EgsVojliYAjoLIRM6vusLJo0NZzy7BrPUYtNd3KeTdaJE5J7hBhLHrkaZ64RC1Gt2pCT9uLQVv9+oezycS5AdNSeT1C+D//4/XbkhjrppLZBc9f8PC9o5HYHkwvCWdQLv61/3bhZTSCJ4K9H7lfmF58z9E7/891NGeMrJWeTsFsTX60StwooHmRKAy1duUL6SDL4=
|
|
41
|
+
gem: mkmatter
|
|
42
|
+
on:
|
|
43
|
+
tags: true
|
|
44
|
+
repo: IotaSpencer/mkmatter
|
|
45
|
+
branch: master
|
data/README.md
CHANGED
|
@@ -3,33 +3,34 @@
|
|
|
3
3
|
###### Builds & Links
|
|
4
4
|
[](https://travis-ci.org/IotaSpencer/mkmatter)
|
|
5
5
|
[](https://travis-ci.org/IotaSpencer/mkmatter)
|
|
6
|
+
[]()
|
|
7
|
+
[]()
|
|
6
8
|
|
|
9
|
+
###### Gem
|
|
7
10
|
[](https://rubygems.org/gems/mkmatter)
|
|
8
|
-
[](https://github.com/IotaSpencer/mkmatter/tree/v3.0.
|
|
11
|
+
[](https://github.com/IotaSpencer/mkmatter/tree/v3.0.27)
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
[](https://rubygems.org/gems/mkmatter)
|
|
12
15
|
[](https://rubygems.org/gems/mkmatter)
|
|
13
|
-
[](https://github.com/IotaSpencer/mkmatter/tree/v3.0.26)
|
|
14
16
|
|
|
15
17
|
###### Badges
|
|
16
18
|
|
|
17
19
|
[](https://opensource.org/licenses/MIT)
|
|
18
|
-
|
|
19
20
|
[](https://forthebadge.com)
|
|
20
21
|
|
|
21
22
|
[](https://forthebadge.com)
|
|
22
|
-
|
|
23
23
|
[](https://forthebadge.com)
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
25
|
## Contact
|
|
28
26
|
|
|
29
27
|
[](mailto:me@iotaspencer.me)
|
|
28
|
+
[](https://twitter.com/IotaEcode)
|
|
29
|
+
|
|
30
30
|
[](https://iotaspencer.me)
|
|
31
|
+
|
|
31
32
|
[](https://iotaspencer.me/projects/mkmatter)
|
|
32
|
-
|
|
33
|
+
|
|
33
34
|
|
|
34
35
|
## About mkmatter
|
|
35
36
|
|
|
@@ -70,22 +71,7 @@ or
|
|
|
70
71
|
|
|
71
72
|
## Usage
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
If you want to use 'mkmatter', an executable that ships with `mkmatter`, you gots to run it
|
|
76
|
-
|
|
77
|
-
**Note**: Due to minimal constraints in Jekyll, I require at least an empty `_config.yml` file at the root of your source directory.
|
|
78
|
-
|
|
79
|
-
**P.S.**: **It does not have to have any directives, it can be an empty file.**
|
|
80
|
-
|
|
81
|
-
#### Command 'new'
|
|
82
|
-
|
|
83
|
-
1. 'new' is for generating front matter and content
|
|
84
|
-
|
|
85
|
-
1. The current commands under 'new' are 'post' and 'page'
|
|
86
|
-
|
|
87
|
-
Which will ask you questions about the content you want to put out.
|
|
88
|
-
* The script also will open an editor (the 'editor' command) if allowed to, as to allow the user to begin editing their file, front-matter already included.
|
|
74
|
+
**See [Wiki](https://github.com/IotaSpencer/mkmatter/wiki)
|
|
89
75
|
|
|
90
76
|
## Contributing
|
|
91
77
|
|
data/lib/mkmatter/cli/app.rb
CHANGED
|
@@ -9,6 +9,7 @@ require 'rbconfig'
|
|
|
9
9
|
|
|
10
10
|
require 'mkmatter'
|
|
11
11
|
require 'mkmatter/cli/subs'
|
|
12
|
+
require 'mkmatter/gem_info'
|
|
12
13
|
module Mkmatter
|
|
13
14
|
module App
|
|
14
15
|
class CLI < Thor
|
|
@@ -42,16 +43,12 @@ module Mkmatter
|
|
|
42
43
|
'under bsd' => OS::Underlying.bsd?
|
|
43
44
|
})
|
|
44
45
|
table = Terminal::Table.new
|
|
45
|
-
table.style.width = 80
|
|
46
|
-
table.style.border_top = false
|
|
47
46
|
table.title = 'mkmatter Debug Info'
|
|
48
47
|
table.rows = rows.to_a
|
|
49
48
|
table.align_column(0, :left)
|
|
50
|
-
|
|
51
|
-
print '+', '-' * width, '+'
|
|
52
|
-
puts
|
|
49
|
+
|
|
53
50
|
puts table
|
|
54
|
-
|
|
51
|
+
|
|
55
52
|
end
|
|
56
53
|
|
|
57
54
|
map %w[--info -i] => :__print_info
|
|
@@ -60,26 +57,22 @@ module Mkmatter
|
|
|
60
57
|
def __print_info
|
|
61
58
|
format = options[:'info-format']
|
|
62
59
|
rows = {
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'mkmatter
|
|
66
|
-
'
|
|
60
|
+
'author(s)': Mkmatter::GemInfo.authors.join(', '),
|
|
61
|
+
'e-mail': Mkmatter::GemInfo.email,
|
|
62
|
+
'mkmatter version': Mkmatter::VERSION,
|
|
63
|
+
'Ruby version': RbConfig::CONFIG['RUBY_PROGRAM_VERSION'],
|
|
67
64
|
'Platform': RbConfig::CONFIG['build_os']
|
|
68
65
|
}
|
|
69
66
|
case format
|
|
70
67
|
when 'table'
|
|
71
68
|
table = Terminal::Table.new
|
|
72
|
-
table.style.width = 60
|
|
73
|
-
table.style.border_top = false
|
|
74
69
|
table.style.alignment = :center
|
|
75
70
|
table.title = 'mkmatter Info'
|
|
76
71
|
table.rows = rows.to_a
|
|
77
72
|
table.align_column(0, :left)
|
|
78
|
-
|
|
79
|
-
print '+', '-' * width, '+'
|
|
80
|
-
puts
|
|
73
|
+
|
|
81
74
|
puts table
|
|
82
|
-
|
|
75
|
+
|
|
83
76
|
when 'yaml'
|
|
84
77
|
puts rows.stringify_keys.to_yaml
|
|
85
78
|
|
data/lib/mkmatter/gem_info.rb
CHANGED
|
@@ -11,11 +11,11 @@ module Mkmatter
|
|
|
11
11
|
# Gem Summary
|
|
12
12
|
SUMMARY = %q{Script facilitating easy content creation and generation for Jekyll Sites}
|
|
13
13
|
class GemInfo
|
|
14
|
-
def
|
|
14
|
+
def GemInfo.authors
|
|
15
15
|
['Ken Spencer']
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
def
|
|
18
|
+
def GemInfo.email
|
|
19
19
|
'me@iotaspencer.me'
|
|
20
20
|
end
|
|
21
21
|
end
|
data/lib/mkmatter/version.rb
CHANGED
data/mkmatter.gemspec
CHANGED
|
@@ -49,6 +49,5 @@ Gem::Specification.new do |spec|
|
|
|
49
49
|
spec.add_development_dependency 'rspec-core', '~> 3.7', '>= 3.7.0'
|
|
50
50
|
spec.add_development_dependency 'rspec-mocks', '~> 3.7', '>= 3.7.0'
|
|
51
51
|
spec.add_development_dependency 'rspec-expectations', '~> 3.7', '>= 3.7.0'
|
|
52
|
-
spec.add_development_dependency 'rspec-support', '~> 3.7', '>= 3.7.0'
|
|
53
52
|
|
|
54
53
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mkmatter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.36
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ken Spencer
|
|
@@ -216,26 +216,6 @@ dependencies:
|
|
|
216
216
|
- - ">="
|
|
217
217
|
- !ruby/object:Gem::Version
|
|
218
218
|
version: 3.7.0
|
|
219
|
-
- !ruby/object:Gem::Dependency
|
|
220
|
-
name: rspec-support
|
|
221
|
-
requirement: !ruby/object:Gem::Requirement
|
|
222
|
-
requirements:
|
|
223
|
-
- - "~>"
|
|
224
|
-
- !ruby/object:Gem::Version
|
|
225
|
-
version: '3.7'
|
|
226
|
-
- - ">="
|
|
227
|
-
- !ruby/object:Gem::Version
|
|
228
|
-
version: 3.7.0
|
|
229
|
-
type: :development
|
|
230
|
-
prerelease: false
|
|
231
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
232
|
-
requirements:
|
|
233
|
-
- - "~>"
|
|
234
|
-
- !ruby/object:Gem::Version
|
|
235
|
-
version: '3.7'
|
|
236
|
-
- - ">="
|
|
237
|
-
- !ruby/object:Gem::Version
|
|
238
|
-
version: 3.7.0
|
|
239
219
|
description: A gem helps a user maintain a jekyll site source directory.
|
|
240
220
|
email: me@iotaspencer.me
|
|
241
221
|
executables:
|