baron 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.13
1
+ 1.0.14
data/baron.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "baron"
8
- s.version = "1.0.13"
8
+ s.version = "1.0.14"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan Buggia"]
data/lib/baron/config.rb CHANGED
@@ -63,8 +63,7 @@ module Baron
63
63
  }
64
64
 
65
65
  def get_feed_permalink
66
- #"#{self[:url]}feed.atom"
67
- "http://localhost:3000/feed.atom"
66
+ "#{self[:url]}feed.atom"
68
67
  end
69
68
 
70
69
  def initialize obj
data/spec/baron_spec.rb CHANGED
@@ -130,7 +130,7 @@ describe "Baron" do
130
130
 
131
131
  it "returns expected content" do
132
132
  @response.body.should include(@config[:title])
133
- @response.body.should include("http://localhost:3000/feed.atom")
133
+ @response.body.should include("http://localhost/feed.atom")
134
134
  @response.body.scan(/<entry>/).count.should == 5
135
135
  @response.body.scan(/<\/entry>/).count.should == 5
136
136
  @response.body.should include('<feed')
@@ -149,10 +149,6 @@ describe "Baron" do
149
149
 
150
150
  it_behaves_like "Server Response"
151
151
 
152
- it "renders expected parameters" do
153
- @response.body.should include("http://localhost:3000/feed.atom")
154
- end
155
-
156
152
  it "returns text content type" do
157
153
  @response['Content-Type'].should == 'text/plain'
158
154
  end
@@ -46,7 +46,7 @@ baron = Baron::Server.new do
46
46
  # Specify the URL of your blog for creating permalinks (good in case people
47
47
  # steal your content, then the links will still point to your articles.)
48
48
  # for example: http://nathanbuggia.com
49
- set :url, 'http://localhost:3000/'
49
+ set :url, 'http://localhost/'
50
50
 
51
51
  # specify your google analytics ID
52
52
  # format of "UA-XXXXXX-X"
data/spec/spec_helper.rb CHANGED
@@ -8,7 +8,7 @@ def load_config
8
8
  Baron::Config.new(:markdown => true,
9
9
  :title => 'my blog',
10
10
  :author => 'John Smith',
11
- :url => 'http://localhost',
11
+ :url => 'http://localhost/',
12
12
  :permalink_prefix => '',
13
13
  :permalink_date_format => :year_month_day_date, # :year_date, :year_month_date, :year_month_day_date, :no_date
14
14
  :article_max => 5,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baron
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: