krammer 1.1.0 → 1.1.1
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/bin/krammer +10 -4
- data/krammer.gemspec +3 -3
- data/lib/krammer/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b4313f93a2e7ee0b986e6877f2fd66b3020b076
|
|
4
|
+
data.tar.gz: e788abef49cd0b2961b568bca1584c51bbcdbaa1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa58ba08c6de6dffd8c233884e1272d8264af706a83ec5a8f4afc4b96f610129596a89852a882b73b8bac0380ed80b61585d9c0b11b393012797d5e4e13612a6
|
|
7
|
+
data.tar.gz: 5e537a33b6953aef9cf19aa9c0425b10daee57714414b3816d093f0761bdf2513d1a4dae6a734f1205be3726e85182e4842ad2b0f13334958df38ffabb7e0934
|
data/bin/krammer
CHANGED
|
@@ -6,6 +6,7 @@ require "yaml"
|
|
|
6
6
|
require "date"
|
|
7
7
|
require "kramdown"
|
|
8
8
|
require "erb"
|
|
9
|
+
require 'krammer/version'
|
|
9
10
|
|
|
10
11
|
class Info
|
|
11
12
|
def initialize(hash)
|
|
@@ -24,10 +25,6 @@ options = {}
|
|
|
24
25
|
optparse = OptionParser.new do|opts|
|
|
25
26
|
opts.banner = "Usage: krammer [options] ..."
|
|
26
27
|
|
|
27
|
-
opts.on("-t", "--template TEMPLATE", "Use TEMPLATE as the template") do |t|
|
|
28
|
-
options[:template] = t
|
|
29
|
-
end
|
|
30
|
-
|
|
31
28
|
opts.on("-i", "--input INPUT", "Use INPUT as the input file") do |i|
|
|
32
29
|
options[:input] = i
|
|
33
30
|
end
|
|
@@ -36,10 +33,19 @@ optparse = OptionParser.new do|opts|
|
|
|
36
33
|
options[:output] = o
|
|
37
34
|
end
|
|
38
35
|
|
|
36
|
+
opts.on("-t", "--template TEMPLATE", "Use TEMPLATE as the template") do |t|
|
|
37
|
+
options[:template] = t
|
|
38
|
+
end
|
|
39
|
+
|
|
39
40
|
opts.on("-h", "--help", "Display the help screen" ) do
|
|
40
41
|
puts opts
|
|
41
42
|
exit 1
|
|
42
43
|
end
|
|
44
|
+
|
|
45
|
+
opts.on("-v", "--version", "Display the version number") do
|
|
46
|
+
puts Krammer::VERSION
|
|
47
|
+
exit 1
|
|
48
|
+
end
|
|
43
49
|
end
|
|
44
50
|
|
|
45
51
|
optparse.parse!
|
data/krammer.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Krammer::VERSION
|
|
9
9
|
spec.authors = ["Kento Kaneko"]
|
|
10
10
|
spec.email = ["kaneko2 [at] illinois [dot] edu"]
|
|
11
|
-
spec.summary = %q{A (Markdown -> PDF)
|
|
12
|
-
spec.description = %q{A (Markdown -> PDF)
|
|
11
|
+
spec.summary = %q{A (Markdown -> PDF) converter written in Ruby.}
|
|
12
|
+
spec.description = %q{A (Markdown -> PDF) converter written in Ruby.}
|
|
13
13
|
spec.homepage = "https://github.com/kentokaneko/krammer"
|
|
14
14
|
spec.license = "Modified University of Illinois/NCSA"
|
|
15
15
|
|
|
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
23
23
|
spec.add_runtime_dependency "kramdown", "~> 1.5"
|
|
24
24
|
|
|
25
|
-
spec.required_ruby_version = ">=
|
|
25
|
+
spec.required_ruby_version = ">= 1.9.3"
|
|
26
26
|
end
|
data/lib/krammer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: krammer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kento Kaneko
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- - ~>
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '1.5'
|
|
55
|
-
description: A (Markdown -> PDF)
|
|
55
|
+
description: A (Markdown -> PDF) converter written in Ruby.
|
|
56
56
|
email:
|
|
57
57
|
- kaneko2 [at] illinois [dot] edu
|
|
58
58
|
executables:
|
|
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
requirements:
|
|
82
82
|
- - '>='
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
|
-
version:
|
|
84
|
+
version: 1.9.3
|
|
85
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - '>='
|
|
@@ -92,5 +92,5 @@ rubyforge_project:
|
|
|
92
92
|
rubygems_version: 2.4.5
|
|
93
93
|
signing_key:
|
|
94
94
|
specification_version: 4
|
|
95
|
-
summary: A (Markdown -> PDF)
|
|
95
|
+
summary: A (Markdown -> PDF) converter written in Ruby.
|
|
96
96
|
test_files: []
|