gitdocs 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 0.4.12 (1/05/2011)
2
+
3
+ * Fixes incorrect padding style on rendered code blocks (thanks chris kempson)
4
+ * Fixes encoding issues in markdown files
5
+ * Tag documents as utf-8 in meta for web frontend (thanks chris kempson)
6
+
1
7
  0.4.11 (1/04/2011)
2
8
 
3
9
  * Add line-height to code blocks in file displays
data/README.md CHANGED
@@ -164,6 +164,16 @@ Gitdocs is a young project but we have many plans for it including:
164
164
  - Tagging and organizing of files within the web front-end
165
165
  - Better access to the versions for a particular file within the web front-end
166
166
 
167
+ ## Contributors
168
+
169
+ Gitdocs was created at [Miso](http://engineering.gomiso.com) by [Joshua Hull](https://github.com/joshbuddy) and [Nathan Esquenazi](https://github.com/nesquena).
170
+ We also have had several contributors:
171
+
172
+ * [Chris Kempson](https://github.com/ChrisKempson) - Encoding issues
173
+ * [Evan Tatarka](https://github.com/evant) - Browser fixes
174
+
175
+ Gitdocs is still a young project with a lot of opportunity for contributions. Patches welcome!
176
+
167
177
  ## Prior Projects
168
178
 
169
179
  Gitdocs is a fresh project that we originally spiked on in a few days time. Our primary goals are to keep the code as simple as possible,
@@ -21,7 +21,7 @@ body .contents .tilt {
21
21
 
22
22
  .tilt code {
23
23
  background-color: #eee;
24
- padding: 1px 3px;
24
+ padding: 0;
25
25
  -webkit-border-radius: 4px;
26
26
  -moz-border-radius: 4px;
27
27
  border-radius: 4px;
@@ -17,7 +17,7 @@ require 'redcarpet'
17
17
  # Markdown.
18
18
  class RedcarpetCompat
19
19
  def to_html(*_dummy)
20
- @text = @text.encode('utf-8') if @text.respond_to?(:encode)
20
+ @text = @text.force_encoding('utf-8') if @text.respond_to?(:force_encoding)
21
21
  @markdown.render(@text)
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Gitdocs
2
- VERSION = "0.4.11"
2
+ VERSION = "0.4.12"
3
3
  end
@@ -1,6 +1,7 @@
1
1
  !!!
2
2
  %html
3
3
  %head
4
+ %meta{ "http-equiv" => "content-type", :content => "text/html; charset=UTF-8" }
4
5
  %title Gitdocs #{Gitdocs::VERSION}
5
6
  %link{ :href => "/css/bootstrap.css", :rel => "stylesheet"}
6
7
  %link{ :href => "/css/app.css", :rel => "stylesheet" }
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gitdocs
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.11
5
+ version: 0.4.12
6
6
  platform: ruby
7
7
  authors:
8
8
  - Josh Hull