gust 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/gust.gemspec +1 -1
  2. data/lib/gust.rb +1 -1
  3. data/spec/gust_spec.rb +2 -2
  4. metadata +1 -1
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "gust"
6
- s.version = '0.2.1'
6
+ s.version = '0.2.2'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Jeff Kreeftmeijer"]
9
9
  s.email = ["jeff@kreeftmeijer.nl"]
@@ -39,7 +39,7 @@ class Gust
39
39
  end
40
40
 
41
41
  def plain_text(text)
42
- "<div class=\"highlight\"><pre>#{text}</pre></div>\n"
42
+ "<div class=\"highlight plain\"><pre>#{text}</pre></div>\n"
43
43
  end
44
44
 
45
45
  def inline_highlight(html)
@@ -15,7 +15,7 @@ describe Gust do
15
15
 
16
16
  subject { Gust.parse('foo') }
17
17
 
18
- it { should == "<div class=\"highlight\"><pre>foo</pre></div>\n" }
18
+ it { should == "<div class=\"highlight plain\"><pre>foo</pre></div>\n" }
19
19
 
20
20
  end
21
21
 
@@ -23,7 +23,7 @@ describe Gust do
23
23
 
24
24
  subject { Gust.parse('foo', :filename => 'foo.bar') }
25
25
 
26
- it { should == "<div class=\"highlight\"><pre>foo</pre></div>\n" }
26
+ it { should == "<div class=\"highlight plain\"><pre>foo</pre></div>\n" }
27
27
 
28
28
  end
29
29
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gust
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeff Kreeftmeijer