refinerycms 0.9.9.15 → 0.9.9.16

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -29,12 +29,12 @@ end
29
29
  # REFINERY CMS ================================================================
30
30
  # Anything you put in here will be overridden when the app gets updated.
31
31
 
32
- # gem 'refinerycms', '~> 0.9.9.13'
32
+ # gem 'refinerycms', '~> 0.9.9.16'
33
33
 
34
34
  group :development, :test do
35
35
  # To use refinerycms-testing, uncomment it (if it's commented out) and run 'bundle install'
36
36
  # Then, run 'rails generate refinerycms_testing' which will copy its support files.
37
- gem 'refinerycms-testing', '~> 0.9.9.13'
37
+ gem 'refinerycms-testing', '~> 0.9.9.16'
38
38
  end
39
39
 
40
40
  # END REFINERY CMS ============================================================
data/Gemfile.lock CHANGED
@@ -1,48 +1,48 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- refinerycms (0.9.9.15)
4
+ refinerycms (0.9.9.16)
5
5
  bundler (~> 1.0)
6
- refinerycms-authentication (= 0.9.9.15)
7
- refinerycms-base (= 0.9.9.15)
8
- refinerycms-core (= 0.9.9.15)
9
- refinerycms-dashboard (= 0.9.9.15)
10
- refinerycms-images (= 0.9.9.15)
11
- refinerycms-pages (= 0.9.9.15)
12
- refinerycms-resources (= 0.9.9.15)
13
- refinerycms-settings (= 0.9.9.15)
14
- refinerycms-authentication (0.9.9.15)
6
+ refinerycms-authentication (= 0.9.9.16)
7
+ refinerycms-base (= 0.9.9.16)
8
+ refinerycms-core (= 0.9.9.16)
9
+ refinerycms-dashboard (= 0.9.9.16)
10
+ refinerycms-images (= 0.9.9.16)
11
+ refinerycms-pages (= 0.9.9.16)
12
+ refinerycms-resources (= 0.9.9.16)
13
+ refinerycms-settings (= 0.9.9.16)
14
+ refinerycms-authentication (0.9.9.16)
15
15
  devise (~> 1.2.0)
16
- refinerycms-core (= 0.9.9.15)
17
- refinerycms-base (0.9.9.15)
18
- refinerycms-core (0.9.9.15)
16
+ refinerycms-core (= 0.9.9.16)
17
+ refinerycms-base (0.9.9.16)
18
+ refinerycms-core (0.9.9.16)
19
19
  acts_as_indexed (~> 0.7)
20
20
  friendly_id_globalize3 (~> 3.2.1)
21
21
  globalize3 (>= 0.1.0.beta)
22
22
  moretea-awesome_nested_set (~> 1.4)
23
- rails (~> 3.0.5)
23
+ rails (~> 3.0.6)
24
24
  rdoc (>= 2.5.11)
25
- refinerycms-base (= 0.9.9.15)
25
+ refinerycms-base (= 0.9.9.16)
26
26
  refinerycms-generators (~> 1.0)
27
- refinerycms-settings (= 0.9.9.15)
27
+ refinerycms-settings (= 0.9.9.16)
28
28
  truncate_html (~> 0.5)
29
29
  will_paginate (~> 3.0.pre)
30
- refinerycms-dashboard (0.9.9.15)
31
- refinerycms-core (= 0.9.9.15)
32
- refinerycms-images (0.9.9.15)
30
+ refinerycms-dashboard (0.9.9.16)
31
+ refinerycms-core (= 0.9.9.16)
32
+ refinerycms-images (0.9.9.16)
33
33
  dragonfly (~> 0.8.2)
34
34
  rack-cache (>= 0.5.3)
35
- refinerycms-core (= 0.9.9.15)
36
- refinerycms-pages (0.9.9.15)
37
- refinerycms-core (= 0.9.9.15)
38
- seo_meta (~> 1.0.2)
39
- refinerycms-resources (0.9.9.15)
35
+ refinerycms-core (= 0.9.9.16)
36
+ refinerycms-pages (0.9.9.16)
37
+ refinerycms-core (= 0.9.9.16)
38
+ seo_meta (~> 1.0.3)
39
+ refinerycms-resources (0.9.9.16)
40
40
  dragonfly (~> 0.8.2)
41
41
  rack-cache (>= 0.5.3)
42
- refinerycms-core (= 0.9.9.15)
43
- refinerycms-settings (0.9.9.15)
44
- refinerycms-base (= 0.9.9.15)
45
- refinerycms-testing (0.9.9.15)
42
+ refinerycms-core (= 0.9.9.16)
43
+ refinerycms-settings (0.9.9.16)
44
+ refinerycms-base (= 0.9.9.16)
45
+ refinerycms-testing (0.9.9.16)
46
46
  autotest
47
47
  autotest-notification
48
48
  autotest-rails
@@ -55,7 +55,7 @@ PATH
55
55
  json_pure
56
56
  launchy
57
57
  rack-test (~> 0.5.6)
58
- refinerycms-core (= 0.9.9.15)
58
+ refinerycms-core (= 0.9.9.16)
59
59
  rspec-rails (~> 2.5)
60
60
 
61
61
  GEM
@@ -63,32 +63,32 @@ GEM
63
63
  specs:
64
64
  ZenTest (4.5.0)
65
65
  abstract (1.0.0)
66
- actionmailer (3.0.5)
67
- actionpack (= 3.0.5)
66
+ actionmailer (3.0.6)
67
+ actionpack (= 3.0.6)
68
68
  mail (~> 2.2.15)
69
- actionpack (3.0.5)
70
- activemodel (= 3.0.5)
71
- activesupport (= 3.0.5)
69
+ actionpack (3.0.6)
70
+ activemodel (= 3.0.6)
71
+ activesupport (= 3.0.6)
72
72
  builder (~> 2.1.2)
73
73
  erubis (~> 2.6.6)
74
- i18n (~> 0.4)
74
+ i18n (~> 0.5.0)
75
75
  rack (~> 1.2.1)
76
- rack-mount (~> 0.6.13)
76
+ rack-mount (~> 0.6.14)
77
77
  rack-test (~> 0.5.7)
78
78
  tzinfo (~> 0.3.23)
79
- activemodel (3.0.5)
80
- activesupport (= 3.0.5)
79
+ activemodel (3.0.6)
80
+ activesupport (= 3.0.6)
81
81
  builder (~> 2.1.2)
82
- i18n (~> 0.4)
83
- activerecord (3.0.5)
84
- activemodel (= 3.0.5)
85
- activesupport (= 3.0.5)
82
+ i18n (~> 0.5.0)
83
+ activerecord (3.0.6)
84
+ activemodel (= 3.0.6)
85
+ activesupport (= 3.0.6)
86
86
  arel (~> 2.0.2)
87
87
  tzinfo (~> 0.3.23)
88
- activeresource (3.0.5)
89
- activemodel (= 3.0.5)
90
- activesupport (= 3.0.5)
91
- activesupport (3.0.5)
88
+ activeresource (3.0.6)
89
+ activemodel (= 3.0.6)
90
+ activesupport (= 3.0.6)
91
+ activesupport (3.0.6)
92
92
  acts_as_indexed (0.7.2)
93
93
  arel (2.0.9)
94
94
  autotest (4.4.6)
@@ -97,7 +97,7 @@ GEM
97
97
  autotest (~> 4.3)
98
98
  autotest-rails (4.1.0)
99
99
  ZenTest
100
- babosa (0.3.2)
100
+ babosa (0.3.3)
101
101
  bcrypt-ruby (2.1.4)
102
102
  builder (2.1.2)
103
103
  capybara (0.4.1.2)
@@ -119,7 +119,7 @@ GEM
119
119
  gherkin (>= 2.3.5)
120
120
  json (>= 1.4.6)
121
121
  term-ansicolor (>= 1.0.5)
122
- cucumber-rails (0.4.0)
122
+ cucumber-rails (0.4.1)
123
123
  cucumber (>= 0.10.1)
124
124
  nokogiri (>= 1.4.4)
125
125
  rack-test (>= 0.5.7)
@@ -168,17 +168,17 @@ GEM
168
168
  rack (>= 1.0.0)
169
169
  rack-test (0.5.7)
170
170
  rack (>= 1.0)
171
- rails (3.0.5)
172
- actionmailer (= 3.0.5)
173
- actionpack (= 3.0.5)
174
- activerecord (= 3.0.5)
175
- activeresource (= 3.0.5)
176
- activesupport (= 3.0.5)
171
+ rails (3.0.6)
172
+ actionmailer (= 3.0.6)
173
+ actionpack (= 3.0.6)
174
+ activerecord (= 3.0.6)
175
+ activeresource (= 3.0.6)
176
+ activesupport (= 3.0.6)
177
177
  bundler (~> 1.0)
178
- railties (= 3.0.5)
179
- railties (3.0.5)
180
- actionpack (= 3.0.5)
181
- activesupport (= 3.0.5)
178
+ railties (= 3.0.6)
179
+ railties (3.0.6)
180
+ actionpack (= 3.0.6)
181
+ activesupport (= 3.0.6)
182
182
  rake (>= 0.8.7)
183
183
  thor (~> 0.14.4)
184
184
  rake (0.8.7)
@@ -208,7 +208,7 @@ GEM
208
208
  ffi (>= 1.0.7)
209
209
  json_pure
210
210
  rubyzip
211
- seo_meta (1.0.2)
211
+ seo_meta (1.0.3)
212
212
  refinerycms-generators (~> 1.0.1)
213
213
  sqlite3 (1.3.3)
214
214
  term-ansicolor (1.0.5)
@@ -216,7 +216,7 @@ GEM
216
216
  treetop (1.4.9)
217
217
  polyglot (>= 0.3.1)
218
218
  truncate_html (0.5.0)
219
- tzinfo (0.3.25)
219
+ tzinfo (0.3.26)
220
220
  warden (1.0.3)
221
221
  rack (>= 1.0.0)
222
222
  will_paginate (3.0.pre2)
@@ -229,5 +229,5 @@ PLATFORMS
229
229
  DEPENDENCIES
230
230
  refinerycms!
231
231
  refinerycms-i18n (~> 0.9.9.16)
232
- refinerycms-testing (~> 0.9.9.13)
232
+ refinerycms-testing (~> 0.9.9.16)
233
233
  sqlite3
@@ -2,21 +2,24 @@ xml.instruct!
2
2
 
3
3
  xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
4
4
 
5
- @pages.each do |page|
6
- # exclude sites that are external to our own domain.
7
- page_url = if page.url.is_a?(Hash)
8
- # This is how most pages work without being overriden by link_url
9
- page.url.merge({:only_path => false})
10
- elsif page.url.to_s !~ /^http/
11
- # handle relative link_url addresses.
12
- "#{request.protocol}#{request.host_with_port}#{page.url}"
13
- end
5
+ @locales.each do |locale|
6
+ ::I18n.locale = locale
7
+ Page.live.in_menu.includes(:parts).each do |page|
8
+ # exclude sites that are external to our own domain.
9
+ page_url = if page.url.is_a?(Hash)
10
+ # This is how most pages work without being overriden by link_url
11
+ page.url.merge({:only_path => false})
12
+ elsif page.url.to_s !~ /^http/
13
+ # handle relative link_url addresses.
14
+ [request.protocol, request.host_with_port, page.url].join
15
+ end
14
16
 
15
- # Add XML entry only if there is a valid page_url found above.
16
- xml.url do
17
- xml.loc url_for(page_url)
18
- xml.lastmod page.updated_at.to_date
19
- end if page_url.present?
17
+ # Add XML entry only if there is a valid page_url found above.
18
+ xml.url do
19
+ xml.loc url_for(page_url)
20
+ xml.lastmod page.updated_at.to_date
21
+ end if page_url.present? and page.show_in_menu?
22
+ end
20
23
  end
21
24
 
22
25
  end
data/changelog.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.9.9.16 [7 April 2011]
2
+
3
+ * Improved resource picker. [Will Marshall](https://github.com/willrjmarshall)
4
+ * Improved robustness of `Page#expire_page_caching` for both `ActiveSupport::Cache::FileStore` and `ActiveSupport::Cache::MemoryStore`. [Jeff Hall](https://github.com/zenchicken)
5
+ * Optimised index sizes on MySQL. [Ruslan Doroshenko](https://github.com/rdoroshenko)
6
+ * Changed default cache store to `:memory_store`. [Philip Arndt](https://github.com/parndt)
7
+ * `rake db:migrate` and `rake db:rollback` now works consistently when migrations from other engines are in the mix. [Vaughn Draughon](https://github.com/rocksolidwebdesign)
8
+ * Re-enable cache when logged in, this avoids slowdown of site when admin logged in. [Mark Haylock](https://github.com/mhaylock)
9
+ * [See full list](https://github.com/resolve/refinerycms/compare/0.9.9.15...0.9.9.16)
10
+
1
11
  ## 0.9.9.15 [1 April 2011]
2
12
 
3
13
  * Fixed asset caching of files in `public/stylesheets/`. [Sergio Cambra](https://github.com/scambra)
data/refinerycms.gemspec CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms}
5
- s.version = %q{0.9.9.15}
5
+ s.version = %q{0.9.9.16}
6
6
  s.description = %q{A Ruby on Rails CMS that supports Rails 3. It's easy to extend and sticks to 'the Rails way' where possible.}
7
- s.date = %q{2011-04-01}
7
+ s.date = %q{2011-04-07}
8
8
  s.summary = %q{A Ruby on Rails CMS that supports Rails 3}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
@@ -18,14 +18,14 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency 'bundler', '~> 1.0'
19
19
 
20
20
  # Refinery CMS
21
- s.add_dependency 'refinerycms-authentication', '= 0.9.9.15'
22
- s.add_dependency 'refinerycms-base', '= 0.9.9.15'
23
- s.add_dependency 'refinerycms-core', '= 0.9.9.15'
24
- s.add_dependency 'refinerycms-dashboard', '= 0.9.9.15'
25
- s.add_dependency 'refinerycms-images', '= 0.9.9.15'
26
- s.add_dependency 'refinerycms-pages', '= 0.9.9.15'
27
- s.add_dependency 'refinerycms-resources', '= 0.9.9.15'
28
- s.add_dependency 'refinerycms-settings', '= 0.9.9.15'
21
+ s.add_dependency 'refinerycms-authentication', '= 0.9.9.16'
22
+ s.add_dependency 'refinerycms-base', '= 0.9.9.16'
23
+ s.add_dependency 'refinerycms-core', '= 0.9.9.16'
24
+ s.add_dependency 'refinerycms-dashboard', '= 0.9.9.16'
25
+ s.add_dependency 'refinerycms-images', '= 0.9.9.16'
26
+ s.add_dependency 'refinerycms-pages', '= 0.9.9.16'
27
+ s.add_dependency 'refinerycms-resources', '= 0.9.9.16'
28
+ s.add_dependency 'refinerycms-settings', '= 0.9.9.16'
29
29
 
30
30
  s.files = [
31
31
  '.gitignore',
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.15
5
+ version: 0.9.9.16
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-04-01 00:00:00 +13:00
16
+ date: 2011-04-07 00:00:00 +12:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - "="
37
37
  - !ruby/object:Gem::Version
38
- version: 0.9.9.15
38
+ version: 0.9.9.16
39
39
  type: :runtime
40
40
  version_requirements: *id002
41
41
  - !ruby/object:Gem::Dependency
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - "="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.9.9.15
49
+ version: 0.9.9.16
50
50
  type: :runtime
51
51
  version_requirements: *id003
52
52
  - !ruby/object:Gem::Dependency
@@ -57,7 +57,7 @@ dependencies:
57
57
  requirements:
58
58
  - - "="
59
59
  - !ruby/object:Gem::Version
60
- version: 0.9.9.15
60
+ version: 0.9.9.16
61
61
  type: :runtime
62
62
  version_requirements: *id004
63
63
  - !ruby/object:Gem::Dependency
@@ -68,7 +68,7 @@ dependencies:
68
68
  requirements:
69
69
  - - "="
70
70
  - !ruby/object:Gem::Version
71
- version: 0.9.9.15
71
+ version: 0.9.9.16
72
72
  type: :runtime
73
73
  version_requirements: *id005
74
74
  - !ruby/object:Gem::Dependency
@@ -79,7 +79,7 @@ dependencies:
79
79
  requirements:
80
80
  - - "="
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.9.15
82
+ version: 0.9.9.16
83
83
  type: :runtime
84
84
  version_requirements: *id006
85
85
  - !ruby/object:Gem::Dependency
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - "="
92
92
  - !ruby/object:Gem::Version
93
- version: 0.9.9.15
93
+ version: 0.9.9.16
94
94
  type: :runtime
95
95
  version_requirements: *id007
96
96
  - !ruby/object:Gem::Dependency
@@ -101,7 +101,7 @@ dependencies:
101
101
  requirements:
102
102
  - - "="
103
103
  - !ruby/object:Gem::Version
104
- version: 0.9.9.15
104
+ version: 0.9.9.16
105
105
  type: :runtime
106
106
  version_requirements: *id008
107
107
  - !ruby/object:Gem::Dependency
@@ -112,7 +112,7 @@ dependencies:
112
112
  requirements:
113
113
  - - "="
114
114
  - !ruby/object:Gem::Version
115
- version: 0.9.9.15
115
+ version: 0.9.9.16
116
116
  type: :runtime
117
117
  version_requirements: *id009
118
118
  description: A Ruby on Rails CMS that supports Rails 3. It's easy to extend and sticks to 'the Rails way' where possible.