rack-usermanual 0.3.1 → 0.3.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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDQ4MmZlZTg2ZTg4ZDYzMGI5ZTY4MzE2OTg5MzlhYTBmNmQyOTY1MA==
4
+ NGFkMmQyNTkyMDNkYmEzMDQ0ZGQwYzdhN2MxMGFjMzYzMzE5ZGRlYg==
5
5
  data.tar.gz: !binary |-
6
- MTFkOTMzN2U3ZmM3ZmZmNTVmYTE2OTdkZjQ3ZmYwZTVlMWE2NjBiOQ==
6
+ MjEwMDdjMDdiZmNhNmJkMjBiNzU4MjhmNGZiNTdmNjkxMGE2Mjc1Nw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MmY4ZWI0OTFiYjdiYWVhN2YxOTZiMzNkMDM2ZDdhYjI5ZDk4YjU2NDQ0Zjhm
10
- ZmIzNmZjNTZmYmY0NDUwZjBlNDQyZjJiYWNlYmUzYjI2ZmRmYzBlYWM3NGQ1
11
- MGNhNTc3NjNiNGFiOWY1MjBmZDQ1OWFlNzg0NWFiOWFhMWQ4NDI=
9
+ NTk4ZDVmNzg3Mjc1YTU5MmQwZTNlZmFmODQ3MTZlM2MyYjA3ZTcwYmMyNjIw
10
+ NGFkZjUxZjQ5M2JjYmYyMzRhNjFlNGRlZTIzZGM3ZGIxNDE3NGRjMTMyN2M2
11
+ MThiZGUxNzk2ZmQyYWMxODQ1ZDQ1NzYxNWFhMzcyNzFjMzViZWQ=
12
12
  data.tar.gz: !binary |-
13
- OTgwMDI4YTMwZjYzMTE5MTIzNzVjNGVhNDljMTE5MmE4MTVkMWNjZGUyM2Fi
14
- NDhiZDIzNTc2YzM3MGIzMDk1YjU2NzMzZWQ2NTA4ZjE3NzJhNGU5MzRhOGEy
15
- NGE1ZDJiNDBkZjY4YWI3ZmU1OTkxMjIwMTg0NDhiYzNlNDI1ZGE=
13
+ MWNjN2Q3MzNkMzIxNTFmOGM0MDVhYjMzNTMwNzAyMmE1NTMwZTU5NDcxNzFl
14
+ MjkyNGI3NTA2YTYxNTJkMGM4ZGYxODM5ZjM2OGM3Y2JlMjUxNmFkOGI0MjFm
15
+ NjM4NzBhOTBiNmQyODEzYjhiNTExNmUxNDI1OTNmYzg4MDhiMmI=
@@ -3,12 +3,13 @@ $:.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.3.1"
6
+ s.version = "0.3.2"
7
7
  s.authors = ["Chris Parsons"]
8
8
  s.email = ["chris.p@rsons.org"]
9
9
  s.homepage = "http://github.com/chrismdp/rack-usermanual"
10
10
  s.summary = %q{Rack endpoint to serve your cucumber features as a user manual}
11
- s.description = %q{}
11
+ s.description = %q{Rack::Usermanual allows you to serve your gherkin feature files as web pages within your application.}
12
+ s.license = 'MIT'
12
13
 
13
14
  s.rubyforge_project = "rack-usermanual"
14
15
 
data/views/_menu.haml CHANGED
@@ -7,4 +7,4 @@
7
7
  - features.each do |fn|
8
8
  - name = ::File.basename(fn, '.feature')
9
9
  %li
10
- %a{:href => "#{request.script_name}/#{::File.basename(path)}/#{name}"}= humanize(name)
10
+ %a{:href => to("/#{::File.basename(path)}/#{name}")}= humanize(name)
data/views/page.haml CHANGED
@@ -1,5 +1,5 @@
1
1
  %h4.page-header
2
- %a{:href => '/help'} Help & support
2
+ %a{:href => to('/')} Help & support
3
3
  == » #{@human_name} » #{humanize(@page)}
4
4
 
5
5
  .container
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.3.1
4
+ version: 0.3.2
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-06-19 00:00:00.000000000 Z
11
+ date: 2013-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -108,7 +108,8 @@ dependencies:
108
108
  - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description: ''
111
+ description: Rack::Usermanual allows you to serve your gherkin feature files as web
112
+ pages within your application.
112
113
  email:
113
114
  - chris.p@rsons.org
114
115
  executables: []
@@ -135,7 +136,8 @@ files:
135
136
  - views/index.haml
136
137
  - views/page.haml
137
138
  homepage: http://github.com/chrismdp/rack-usermanual
138
- licenses: []
139
+ licenses:
140
+ - MIT
139
141
  metadata: {}
140
142
  post_install_message:
141
143
  rdoc_options: []