bson_ext is now in 1.2.0 + add lastmod for the sitemap xml + fix issue #19
This commit is contained in:
parent
d56af954f2
commit
415ce9fb82
2
Gemfile
2
Gemfile
@ -8,7 +8,7 @@ gem 'warden'
|
||||
gem 'devise', '= 1.1.3'
|
||||
|
||||
gem 'mongoid', '2.0.0.beta.19'
|
||||
gem 'bson_ext', '1.1.5'
|
||||
gem 'bson_ext', '1.2.0'
|
||||
gem 'locomotive_mongoid_acts_as_tree', '0.1.5.1', :require => 'mongoid_acts_as_tree'
|
||||
gem 'will_paginate'
|
||||
|
||||
|
16
Gemfile.lock
16
Gemfile.lock
@ -43,8 +43,8 @@ GEM
|
||||
autotest (4.4.6)
|
||||
ZenTest (>= 4.4.1)
|
||||
bcrypt-ruby (2.1.4)
|
||||
bson (1.1.5)
|
||||
bson_ext (1.1.5)
|
||||
bson (1.2.0)
|
||||
bson_ext (1.2.0)
|
||||
builder (2.1.2)
|
||||
capybara (0.4.0)
|
||||
celerity (>= 0.7.9)
|
||||
@ -58,7 +58,7 @@ GEM
|
||||
celerity (0.8.7)
|
||||
childprocess (0.1.6)
|
||||
ffi (~> 0.6.3)
|
||||
closure-compiler (0.3.3)
|
||||
closure-compiler (1.0.0)
|
||||
columnize (0.3.2)
|
||||
configuration (1.2.0)
|
||||
crack (0.1.8)
|
||||
@ -115,17 +115,17 @@ GEM
|
||||
growl-glue (1.0.7)
|
||||
haml (3.0.18)
|
||||
has_scope (0.5.0)
|
||||
heroku (1.17.6)
|
||||
heroku (1.17.8)
|
||||
json (~> 1.4.6)
|
||||
launchy (~> 0.3.2)
|
||||
rest-client (>= 1.4.0, < 1.7.0)
|
||||
httparty (0.6.1)
|
||||
httparty (0.7.3)
|
||||
crack (= 0.1.8)
|
||||
i18n (0.5.0)
|
||||
inherited_resources (1.1.2)
|
||||
has_scope (~> 0.5.0)
|
||||
responders (~> 0.6.0)
|
||||
jammit (0.5.4)
|
||||
jammit (0.6.0)
|
||||
closure-compiler (>= 0.1.0)
|
||||
yui-compressor (>= 0.9.1)
|
||||
json (1.4.6)
|
||||
@ -247,7 +247,7 @@ GEM
|
||||
xpath (0.1.3)
|
||||
nokogiri (~> 1.3)
|
||||
yard (0.6.4)
|
||||
yui-compressor (0.9.1)
|
||||
yui-compressor (0.9.3)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
@ -257,7 +257,7 @@ DEPENDENCIES
|
||||
ZenTest
|
||||
actionmailer-with-request
|
||||
autotest
|
||||
bson_ext (= 1.1.5)
|
||||
bson_ext (= 1.2.0)
|
||||
capybara
|
||||
cucumber (= 0.8.5)
|
||||
cucumber-rails
|
||||
|
@ -13,12 +13,14 @@ xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
|
||||
page.content_type.contents.visible.each do |c|
|
||||
xml.url do
|
||||
xml.loc page_main_url(page, c)
|
||||
xml.lastmod page.updated_at
|
||||
xml.priority 0.9
|
||||
end
|
||||
end
|
||||
else
|
||||
xml.url do
|
||||
xml.loc page_main_url(page)
|
||||
xml.lastmod page.updated_at
|
||||
xml.priority 0.9
|
||||
end
|
||||
end
|
||||
|
@ -21,6 +21,8 @@ en:
|
||||
upload: Upload
|
||||
labels:
|
||||
theme_asset:
|
||||
plain_text_name: File name
|
||||
content_type: File type
|
||||
new:
|
||||
source: File
|
||||
edit:
|
||||
|
@ -21,6 +21,10 @@ fr:
|
||||
upload: Envoi au serveur
|
||||
labels:
|
||||
theme_asset:
|
||||
plain_text_name: Nom du fichier
|
||||
content_type: Type du fichier
|
||||
folder: Dossier
|
||||
hidden: Caché
|
||||
new:
|
||||
source: Fichier
|
||||
edit:
|
||||
|
12
doc/TODO
12
doc/TODO
@ -1,10 +1,5 @@
|
||||
BOARD:
|
||||
|
||||
x notify accounts when new instance of models (opt): none, one or many accounts. Used for contact form.
|
||||
x implementation
|
||||
x emails
|
||||
x tests
|
||||
- fix bug issue about (custom fields)
|
||||
|
||||
BACKLOG:
|
||||
|
||||
@ -181,4 +176,9 @@ x nav tag:
|
||||
x site | page | parent
|
||||
x retrieve only important page information from mongodb
|
||||
x published by default when importing pages
|
||||
x page redirection
|
||||
x page redirection
|
||||
x notify accounts when new instance of models (opt): none, one or many accounts. Used for contact form.
|
||||
x implementation
|
||||
x emails
|
||||
x tests
|
||||
x fix bug issue about (custom fields)
|
@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
||||
s.add_dependency "warden"
|
||||
s.add_dependency "devise", "= 1.1.3"
|
||||
s.add_dependency "mongoid", "2.0.0.beta.19"
|
||||
s.add_dependency "bson_ext", "1.1.5"
|
||||
s.add_dependency "bson_ext", "= 1.2.0"
|
||||
s.add_dependency "locomotive_mongoid_acts_as_tree", "0.1.5.1"
|
||||
s.add_dependency "will_paginate"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user