yard-pygmentsrb 0.0.1 → 0.0.2
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.md +2 -4
- data/lib/yard-pygmentsrb/version.rb +1 -1
- data/yard-pygmentsrb.gemspec +2 -2
- metadata +19 -9
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# yard-pygmentsrb
|
|
2
2
|
|
|
3
3
|
_This gems borrows code from nex3's [yard-pygments](https://github.com/nex3/yard-pygments)_
|
|
4
4
|
|
|
@@ -15,8 +15,6 @@ gem install yard-pygmentsrb
|
|
|
15
15
|
|
|
16
16
|
Write some code blocks in your documentation
|
|
17
17
|
|
|
18
|
-
`document.md`
|
|
19
|
-
|
|
20
18
|
```
|
|
21
19
|
!!!python
|
|
22
20
|
def __call__(self, mom):
|
|
@@ -26,7 +24,7 @@ Write some code blocks in your documentation
|
|
|
26
24
|
Tell YARD to generate docs using the plugin
|
|
27
25
|
|
|
28
26
|
```sh
|
|
29
|
-
yard --plugin pygmentsrb
|
|
27
|
+
yard --plugin pygmentsrb
|
|
30
28
|
```
|
|
31
29
|
|
|
32
30
|
_And if you want YARD to always use it, write the `--plugin pygmentsrb` line to your
|
data/yard-pygmentsrb.gemspec
CHANGED
|
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
19
19
|
s.require_paths = ["lib"]
|
|
20
20
|
|
|
21
|
-
s.add_runtime_dependency "yard", "~> 0.
|
|
22
|
-
s.add_runtime_dependency "pygments.rb", "~> 0.2
|
|
21
|
+
s.add_runtime_dependency "yard", "~> 0.8.3"
|
|
22
|
+
s.add_runtime_dependency "pygments.rb", "~> 0.3.2"
|
|
23
23
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yard-pygmentsrb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,30 +9,40 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-10-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: yard
|
|
16
|
-
requirement:
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 0.
|
|
21
|
+
version: 0.8.3
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements:
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ~>
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 0.8.3
|
|
25
30
|
- !ruby/object:Gem::Dependency
|
|
26
31
|
name: pygments.rb
|
|
27
|
-
requirement:
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
28
33
|
none: false
|
|
29
34
|
requirements:
|
|
30
35
|
- - ~>
|
|
31
36
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.2
|
|
37
|
+
version: 0.3.2
|
|
33
38
|
type: :runtime
|
|
34
39
|
prerelease: false
|
|
35
|
-
version_requirements:
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ~>
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 0.3.2
|
|
36
46
|
description: Enables the syntax highligthing of a wide variety of languages through
|
|
37
47
|
Pygments and its Ruby integration pygments.rb. This project borrows code from the
|
|
38
48
|
yard-pygments gem.
|
|
@@ -72,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
82
|
version: '0'
|
|
73
83
|
requirements: []
|
|
74
84
|
rubyforge_project: yard-pygmentsrb
|
|
75
|
-
rubygems_version: 1.8.
|
|
85
|
+
rubygems_version: 1.8.24
|
|
76
86
|
signing_key:
|
|
77
87
|
specification_version: 3
|
|
78
88
|
summary: Adds pygments.rb syntax highlighting to YARD
|