sitemap_generator 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,7 +3,6 @@ require 'rake/rdoctask'
3
3
  require 'rubygems'
4
4
  gem 'rspec', '1.3.0'
5
5
  require 'spec/rake/spectask'
6
- gem 'nokogiri'
7
6
 
8
7
  begin
9
8
  require 'jeweler'
@@ -70,7 +69,6 @@ namespace :test do
70
69
  desc "Prepare the gem install for testing"
71
70
  task :gem do
72
71
  ENV["SITEMAP_RAILS"] = 'gem'
73
- Helpers.prepare_path(Helpers.local_path('spec/mock_app_gem/vendor/gems/sitemap_generator-1.2.3'))
74
72
  rm_rf(Helpers.local_path('spec/mock_app_gem/public/sitemap*'))
75
73
  end
76
74
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.3
1
+ 1.3.4
@@ -21,8 +21,8 @@ module SitemapGenerator
21
21
  if block_given?
22
22
  instance_eval(&block)
23
23
  else
24
- sitemap_config_file ||= ::Rails.root + 'config/sitemap.rb'
25
- eval File.read(sitemap_config_file), nil, sitemap_config_file.to_s
24
+ sitemap_config_file ||= File.join(::Rails.root, 'config/sitemap.rb')
25
+ eval(File.read(sitemap_config_file), nil, sitemap_config_file.to_s)
26
26
  end
27
27
  end
28
28
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sitemap_generator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 3
10
- version: 1.3.3
9
+ - 4
10
+ version: 1.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Karl Varga
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-05 00:00:00 -07:00
19
+ date: 2010-12-06 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency