refinerycms-core 0.9.9.12 → 0.9.9.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
  # Select top menu items unless 'roots' is supplied.
6
6
  collection ||= @menu_pages
7
7
  caching = ((defined?(cache_menu) && cache_menu) || RefinerySetting.find_or_set(:cache_menu, false)) && File.writable?(Rails.cache.cache_path)
8
- cache_if(caching && !logged_in?, [Refinery.base_cache_key, "pages_menus", dom_id, Globalize.locale, request.path].join('_')) do
8
+ cache_if(caching && !user_signed_in?, [Refinery.base_cache_key, "pages_menus", dom_id, Globalize.locale, request.path].join('_')) do
9
9
  if (roots ||= collection.select{|p| p.parent_id.nil?}).present?
10
10
  # In order to match items that aren't shown in menu and highlight their associations.
11
11
  # This can be supplied if the logic is different in your case.
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-core}
5
- s.version = %q{0.9.9.12}
5
+ s.version = %q{0.9.9.13}
6
6
  s.summary = %q{Core engine for Refinery CMS}
7
7
  s.description = %q{The core of Refinery CMS. This handles the common functionality and is required by most engines}
8
- s.date = %q{2011-03-27}
8
+ s.date = %q{2011-03-28}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
11
11
  s.rubyforge_project = %q{refinerycms}
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
  s.require_paths = %w(lib)
15
15
  s.executables = %w()
16
16
 
17
- s.add_dependency 'refinerycms-base', '~> 0.9.9.12'
18
- s.add_dependency 'refinerycms-settings', '~> 0.9.9.12'
17
+ s.add_dependency 'refinerycms-base', '~> 0.9.9.13'
18
+ s.add_dependency 'refinerycms-settings', '~> 0.9.9.13'
19
19
  s.add_dependency 'refinerycms-generators', '~> 1.0'
20
20
  s.add_dependency 'acts_as_indexed', '~> 0.7'
21
21
  s.add_dependency 'friendly_id_globalize3', '~> 3.2.1'
@@ -133,7 +133,6 @@ Gem::Specification.new do |s|
133
133
  'lib/generators/templates/config/database.yml.mysql',
134
134
  'lib/generators/templates/config/database.yml.postgresql',
135
135
  'lib/generators/templates/config/database.yml.sqlite3',
136
- 'lib/generators/templates/config/i18n-js.yml',
137
136
  'lib/generators/templates/config/initializers',
138
137
  'lib/generators/templates/config/initializers/devise.rb',
139
138
  'lib/generators/templates/db',
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-core
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.12
5
+ version: 0.9.9.13
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-03-27 00:00:00 +13:00
16
+ date: 2011-03-28 00:00:00 +13:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- version: 0.9.9.12
27
+ version: 0.9.9.13
28
28
  type: :runtime
29
29
  version_requirements: *id001
30
30
  - !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.12
38
+ version: 0.9.9.13
39
39
  type: :runtime
40
40
  version_requirements: *id002
41
41
  - !ruby/object:Gem::Dependency
@@ -226,7 +226,6 @@ files:
226
226
  - lib/generators/templates/config/database.yml.mysql
227
227
  - lib/generators/templates/config/database.yml.postgresql
228
228
  - lib/generators/templates/config/database.yml.sqlite3
229
- - lib/generators/templates/config/i18n-js.yml
230
229
  - lib/generators/templates/config/initializers/devise.rb
231
230
  - lib/generators/templates/db/seeds.rb
232
231
  - lib/refinery/activity.rb
@@ -1,4 +0,0 @@
1
- # Find more details about this configuration file at http://github.com/fnando/i18n-js
2
- translations:
3
- - file: "public/javascripts/translations.js"
4
- only: "*.js.*"