sbfaulkner-kulriir 1.0.0 → 1.0.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.
- data/README.markdown +7 -4
- data/kulriir.gemspec +2 -2
- metadata +2 -2
data/README.markdown
CHANGED
@@ -30,8 +30,8 @@ In ruby...
|
|
30
30
|
require 'kulriir'
|
31
31
|
...
|
32
32
|
string.highlight
|
33
|
-
string.highlight(:
|
34
|
-
string.highlight(:
|
33
|
+
string.highlight(:syntax => 'javascript')
|
34
|
+
string.highlight(:syntax => 'ruby', :numbers => true)
|
35
35
|
|
36
36
|
From the command-line...
|
37
37
|
|
@@ -39,8 +39,11 @@ From the command-line...
|
|
39
39
|
|
40
40
|
Options:
|
41
41
|
-h, --help Display this message.
|
42
|
-
-
|
43
|
-
-
|
42
|
+
-n, --numbers Include line numbers.
|
43
|
+
-S, --syntaxes List all supported syntaxes.
|
44
|
+
-s, --syntax=name The language for the code to be highlighted.
|
45
|
+
-T, --themes List all supported themes.
|
46
|
+
-t, --theme=name The theme to use for code highlighting.
|
44
47
|
|
45
48
|
## Example
|
46
49
|
|
data/kulriir.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
SPEC = Gem::Specification.new do |s|
|
2
2
|
# identify the gem
|
3
3
|
s.name = "kulriir"
|
4
|
-
s.version = "1.0.
|
4
|
+
s.version = "1.0.1"
|
5
5
|
s.author = "S. Brent Faulkner"
|
6
6
|
s.email = "brentf@unwwwired.net"
|
7
7
|
s.homepage = "http://github.com/sbfaulkner/kulriir"
|
@@ -16,5 +16,5 @@ SPEC = Gem::Specification.new do |s|
|
|
16
16
|
s.extra_rdoc_files = ["README.markdown"]
|
17
17
|
s.add_dependency "rest-client"
|
18
18
|
s.executables = ["kulriir"]
|
19
|
-
s.rubyforge_project =
|
19
|
+
# s.rubyforge_project = "kulriir"
|
20
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbfaulkner-kulriir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- S. Brent Faulkner
|
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
57
|
version:
|
58
58
|
requirements: []
|
59
59
|
|
60
|
-
rubyforge_project:
|
60
|
+
rubyforge_project:
|
61
61
|
rubygems_version: 1.2.0
|
62
62
|
signing_key:
|
63
63
|
specification_version: 2
|