yard-sinatra 0.5.1 → 1.0.0
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 +8 -7
- metadata +37 -68
data/README.md
CHANGED
|
@@ -3,16 +3,10 @@ YARD::Sinatra
|
|
|
3
3
|
|
|
4
4
|
This plugin adds [Sinatra](http://sinatrarb.com) routes to [YARD](http://yardoc.org/) output.
|
|
5
5
|
|
|
6
|
-
BigBand
|
|
7
|
-
-------
|
|
8
|
-
|
|
9
|
-
YARD::Sinatra is part of the [BigBand](http://github.com/rkh/big_band) stack.
|
|
10
|
-
Check it out if you are looking for fancy Sinatra extensions.
|
|
11
|
-
|
|
12
6
|
Usage
|
|
13
7
|
-----
|
|
14
8
|
|
|
15
|
-
Install via
|
|
9
|
+
Install via rubygems:
|
|
16
10
|
|
|
17
11
|
gem install yard-sinatra
|
|
18
12
|
|
|
@@ -62,3 +56,10 @@ For instance, you might want a list of all routes defined in a given list of fil
|
|
|
62
56
|
YARD::Sinatra.routes.each do |route|
|
|
63
57
|
puts route.http_verb, route.http_path, route.file, route.docstring
|
|
64
58
|
end
|
|
59
|
+
|
|
60
|
+
Thanks
|
|
61
|
+
------
|
|
62
|
+
|
|
63
|
+
* Ryan Sobol for implementing `not_found` documentation.
|
|
64
|
+
* Loren Segal for making it seamlessly work as YARD plugin.
|
|
65
|
+
Well, and for YARD.
|
metadata
CHANGED
|
@@ -1,103 +1,72 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yard-sinatra
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 5
|
|
9
|
-
- 1
|
|
10
|
-
version: 0.5.1
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
prerelease:
|
|
11
6
|
platform: ruby
|
|
12
|
-
authors:
|
|
7
|
+
authors:
|
|
13
8
|
- Konstantin Haase
|
|
14
9
|
autorequire:
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
dependencies:
|
|
21
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2011-08-17 00:00:00.000000000Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
22
15
|
name: yard
|
|
23
|
-
|
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: &2151922380 !ruby/object:Gem::Requirement
|
|
25
17
|
none: false
|
|
26
|
-
requirements:
|
|
18
|
+
requirements:
|
|
27
19
|
- - ~>
|
|
28
|
-
- !ruby/object:Gem::Version
|
|
29
|
-
|
|
30
|
-
segments:
|
|
31
|
-
- 0
|
|
32
|
-
- 6
|
|
33
|
-
- 0
|
|
34
|
-
version: 0.6.0
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '0.7'
|
|
35
22
|
type: :runtime
|
|
36
|
-
version_requirements: *id001
|
|
37
|
-
- !ruby/object:Gem::Dependency
|
|
38
|
-
name: rspec
|
|
39
23
|
prerelease: false
|
|
40
|
-
|
|
24
|
+
version_requirements: *2151922380
|
|
25
|
+
- !ruby/object:Gem::Dependency
|
|
26
|
+
name: rspec
|
|
27
|
+
requirement: &2151921560 !ruby/object:Gem::Requirement
|
|
41
28
|
none: false
|
|
42
|
-
requirements:
|
|
43
|
-
- -
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
|
|
46
|
-
segments:
|
|
47
|
-
- 1
|
|
48
|
-
- 3
|
|
49
|
-
- 0
|
|
50
|
-
version: 1.3.0
|
|
29
|
+
requirements:
|
|
30
|
+
- - ~>
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '2.6'
|
|
51
33
|
type: :development
|
|
52
|
-
|
|
53
|
-
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: *2151921560
|
|
36
|
+
description: Displays Sinatra routes (including comments) in YARD output.
|
|
54
37
|
email: konstantin.mailinglists@googlemail.com
|
|
55
38
|
executables: []
|
|
56
|
-
|
|
57
39
|
extensions: []
|
|
58
|
-
|
|
59
40
|
extra_rdoc_files: []
|
|
60
|
-
|
|
61
|
-
files:
|
|
41
|
+
files:
|
|
62
42
|
- lib/yard/sinatra.rb
|
|
63
43
|
- lib/yard-sinatra.rb
|
|
64
44
|
- spec/example_app.rb
|
|
65
45
|
- spec/yard/sinatra_spec.rb
|
|
66
46
|
- README.md
|
|
67
47
|
- LICENSE
|
|
68
|
-
has_rdoc: yard
|
|
69
48
|
homepage: http://github.com/rkh/yard-sinatra
|
|
70
49
|
licenses: []
|
|
71
|
-
|
|
72
50
|
post_install_message:
|
|
73
51
|
rdoc_options: []
|
|
74
|
-
|
|
75
|
-
require_paths:
|
|
52
|
+
require_paths:
|
|
76
53
|
- lib
|
|
77
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
55
|
none: false
|
|
79
|
-
requirements:
|
|
80
|
-
- -
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
- 0
|
|
85
|
-
version: "0"
|
|
86
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - ! '>='
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '0'
|
|
60
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
61
|
none: false
|
|
88
|
-
requirements:
|
|
89
|
-
- -
|
|
90
|
-
- !ruby/object:Gem::Version
|
|
91
|
-
|
|
92
|
-
segments:
|
|
93
|
-
- 0
|
|
94
|
-
version: "0"
|
|
62
|
+
requirements:
|
|
63
|
+
- - ! '>='
|
|
64
|
+
- !ruby/object:Gem::Version
|
|
65
|
+
version: '0'
|
|
95
66
|
requirements: []
|
|
96
|
-
|
|
97
67
|
rubyforge_project:
|
|
98
|
-
rubygems_version: 1.
|
|
68
|
+
rubygems_version: 1.8.6
|
|
99
69
|
signing_key:
|
|
100
70
|
specification_version: 3
|
|
101
|
-
summary: Displays Sinatra routes (including comments) in YARD output
|
|
71
|
+
summary: Displays Sinatra routes (including comments) in YARD output.
|
|
102
72
|
test_files: []
|
|
103
|
-
|