refinerycms-masthead 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  class OnlineServicesController < ApplicationController
2
2
  def show
3
- base_url = RefinerySetting.get(:masthead_base_url)
3
+ base_url = params[:base_url] || RefinerySetting.get(:masthead_base_url)
4
4
  app_name = params[:id]
5
5
  @content_url = "#{base_url}servlet/DSFCentralServlet?appName=#{app_name}"
6
6
  render :layout => false
data/lib/masthead.rb CHANGED
@@ -3,7 +3,7 @@ $:.unshift File.expand_path(File.dirname(__FILE__))
3
3
  module Refinery
4
4
  module Masthead
5
5
  def self.version
6
- %q{0.0.4}
6
+ %q{0.0.5}
7
7
  end
8
8
  end
9
9
  end
@@ -6,7 +6,6 @@ module Refinery
6
6
  config.after_initialize do
7
7
  Refinery::Plugin.register do |plugin|
8
8
  plugin.name = "mastheads"
9
- plugin.hide_from_menu = true
10
9
  end
11
10
  end
12
11
  end
metadata CHANGED
@@ -1,13 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-masthead
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 4
10
- version: 0.0.4
4
+ version: 0.0.5
11
5
  platform: ruby
12
6
  authors:
13
7
  - Envy Labs
@@ -15,7 +9,7 @@ autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
11
 
18
- date: 2011-01-21 00:00:00 -05:00
12
+ date: 2011-03-28 00:00:00 -04:00
19
13
  default_executable:
20
14
  dependencies: []
21
15
 
@@ -52,27 +46,21 @@ rdoc_options: []
52
46
  require_paths:
53
47
  - lib
54
48
  required_ruby_version: !ruby/object:Gem::Requirement
55
- none: false
56
49
  requirements:
57
50
  - - ">="
58
51
  - !ruby/object:Gem::Version
59
- hash: 3
60
- segments:
61
- - 0
62
52
  version: "0"
53
+ version:
63
54
  required_rubygems_version: !ruby/object:Gem::Requirement
64
- none: false
65
55
  requirements:
66
56
  - - ">="
67
57
  - !ruby/object:Gem::Version
68
- hash: 3
69
- segments:
70
- - 0
71
58
  version: "0"
59
+ version:
72
60
  requirements: []
73
61
 
74
62
  rubyforge_project:
75
- rubygems_version: 1.3.7
63
+ rubygems_version: 1.3.5
76
64
  signing_key:
77
65
  specification_version: 3
78
66
  summary: CAT Mastheads engine for Refinery CMS