rack-usermanual 0.3.2 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/rack-usermanual.gemspec +1 -1
- data/views/_docstring.haml +4 -0
- data/views/_menu.haml +1 -1
- data/views/page.haml +1 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzZjMTE4MzJiNzdlYzk0M2QyZTExM2ZhNmE2M2Y0YjdjZGQzMmU2Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjhkMGVlZjU5MjJjY2IxMWQwMTkyMzZhOGQ3YzIxNjFhNzliNGVhOQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDQxOTk5YmVlMjMyM2JiM2JkMGNhMGYzMjk0Mzc5M2M5NzQ0MThmYjQ3YmUw
|
10
|
+
Y2MxOGVlOTgwZThjYzcwMmZmMjgxYmJjZmExYzQ2NjA0NDk3MDk4ODU5ZmQ5
|
11
|
+
MWRmYzNhZWI0NWM2NzI2YTlhNTFhMDZkZmE2NzExM2ZmNjU5NTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTdlODQ0ZDBjMWM5ODViMzRjMzNkODE5NDhjOTA5ZmI1YjY0OWJkNjU3ZmNk
|
14
|
+
Yjk5YmYwMTZlYzkyZjBlMmQ4YTJhZDc5MjIxYzkxNGYzMjRiMjAwNjlkY2Yw
|
15
|
+
Y2FmMTIyYWM0MTZlMTM3OTc0NzJkYTZiOTVkMmY3MmQ1YjQ5ZWE=
|
data/rack-usermanual.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "rack-usermanual"
|
6
|
-
s.version = "0.
|
6
|
+
s.version = "0.4"
|
7
7
|
s.authors = ["Chris Parsons"]
|
8
8
|
s.email = ["chris.p@rsons.org"]
|
9
9
|
s.homepage = "http://github.com/chrismdp/rack-usermanual"
|
data/views/_menu.haml
CHANGED
data/views/page.haml
CHANGED
@@ -12,7 +12,6 @@
|
|
12
12
|
|
13
13
|
- elements = @json.first['elements']
|
14
14
|
- if elements
|
15
|
-
%h4 Some examples:
|
16
15
|
.examples
|
17
16
|
- elements = @json.first['elements']
|
18
17
|
- if elements.first['keyword'] == 'Background'
|
@@ -27,7 +26,7 @@
|
|
27
26
|
%em
|
28
27
|
- if example['steps']
|
29
28
|
- example['steps'].slice_before {|step| step['keyword'] =~ /When|But/ }.each do |chunk|
|
30
|
-
= replace_start(chunk.map { |step| step['keyword'].downcase + step['name'] + haml(:_cells, :locals => { :rows => step['rows']}) }.join(', ')).tap {|s| s.sub!(/./, &:upcase) }.tap {|s| s.sub!(/$/, '.') unless s.include?("<table>") }
|
29
|
+
= replace_start(chunk.map { |step| step['keyword'].downcase + step['name'] + haml(:_cells, :locals => { :rows => step['rows']}) + haml(:_docstring, :locals => { :string => step['doc_string']}) }.join(', ')).tap {|s| s.sub!(/./, &:upcase) }.tap {|s| s.sub!(/$/, '.') unless s.include?("<table>") || s.include?("<pre") }
|
31
30
|
- else
|
32
31
|
%span.muted This example hasn't yet been detailed.
|
33
32
|
%hr
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-usermanual
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Parsons
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -131,6 +131,7 @@ files:
|
|
131
131
|
- spec/spec_helper.rb
|
132
132
|
- spec/usermanual_spec.rb
|
133
133
|
- views/_cells.haml
|
134
|
+
- views/_docstring.haml
|
134
135
|
- views/_menu.haml
|
135
136
|
- views/_pending.haml
|
136
137
|
- views/index.haml
|