mdprev 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. data/mdprev.rb +6 -2
  2. metadata +17 -7
data/mdprev.rb CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  require 'bluecloth'
5
5
 
6
6
  module MarkdownPreview
7
- VERSION = '1.0.2'
7
+ VERSION = '1.0.3'
8
8
  OPEN_HTML = ENV['MDPREV_OPEN_HTML'] || 'open'
9
9
  OPEN_PDF = ENV['MDPREV_OPEN_PDF'] || 'open'
10
10
  CONVERT_PDF = ENV['MDPREV_CONVERT_PDF'] || 'wkhtmltopdf $input $output'
@@ -139,7 +139,7 @@ p + ol, p + ul { margin-top: -16px; }
139
139
  ol:last-child, ul:last-child { margin-bottom: 0; }
140
140
  table { border-collapse: collapse; border-spacing: 0; }
141
141
  caption, th, td { text-align: left; font-weight: normal; }
142
- blockquote:before, blockquote:after,q:before, q:after { content: ""; }
142
+ blockquote:before, blockquote:after,q:before, q:after { content: ''; }
143
143
  blockquote, q { quotes: "" ""; }
144
144
  em { font-style: italic; }
145
145
  strong { font-weight: bold; }
@@ -151,6 +151,10 @@ p:last-child { margin-bottom: 0; }
151
151
  .section { padding: 36px; background: #fff; border: 1px solid #bcbcbc;
152
152
  -webkit-box-shadow: 2px 2px 4px #ccc;
153
153
  -moz-box-shadow: 2px 2px 4px #ccc; margin-bottom: 36px; }
154
+ .section blockquote { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc;
155
+ background: #eee; padding: 12px 36px; position: relative;
156
+ right: 36px; width: 100%; font-style: italic;
157
+ font-family: "Times New Roman", Times, serif; }
154
158
  .section pre { border-top: 1px solid #000; border-bottom: 1px solid #000;
155
159
  color: #fff; background: #555; width: 100%; padding: 12px 36px;
156
160
  position: relative; right: 36px; font-family: Monaco, monospace; }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdprev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: .
11
11
  cert_chain: []
12
- date: 2012-03-08 00:00:00.000000000 Z
12
+ date: 2012-04-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bluecloth
16
- requirement: &69663740 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *69663740
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: minitest
27
- requirement: &69663310 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *69663310
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  description: Run files through markdown processor and open in a browser. Adds a default
37
47
  theme. Works with wkhtmltopdf.
38
48
  email:
@@ -66,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
76
  version: 1.3.6
67
77
  requirements: []
68
78
  rubyforge_project:
69
- rubygems_version: 1.8.15
79
+ rubygems_version: 1.8.23
70
80
  signing_key:
71
81
  specification_version: 3
72
82
  summary: Styled preview of markdown files in browser