webs 0.1.38 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/lib/controller/webs_controller.rb +9 -1
- data/lib/webs.rb +1 -1
- data/webs.gemspec +2 -2
- metadata +2 -2
data/Rakefile
CHANGED
@@ -97,7 +97,15 @@ module Webs
|
|
97
97
|
end
|
98
98
|
|
99
99
|
def set_webs_permapath pp=nil
|
100
|
-
@permapath = pp
|
100
|
+
@permapath = pp
|
101
|
+
if @permapath.nil?
|
102
|
+
@permapath = request.path
|
103
|
+
if !@permapath.blank? && defined?(Webs::PLATFORM_CONTEXT_PATH) && @permapath.index( Webs::PLATFORM_CONTEXT_PATH )==0
|
104
|
+
@permapath = @permapath[(Webs::PLATFORM_CONTEXT_PATH.length)..@permapath.length-1]
|
105
|
+
end
|
106
|
+
end
|
107
|
+
@permapath ||= "/"
|
108
|
+
@permapath
|
101
109
|
end
|
102
110
|
|
103
111
|
def validate_webs_session
|
data/lib/webs.rb
CHANGED
data/webs.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{webs}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.39"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Chuck Olczak"]
|
9
|
-
s.date = %q{2011-06-
|
9
|
+
s.date = %q{2011-06-03}
|
10
10
|
s.description = %q{Reusable webs stuff.}
|
11
11
|
s.email = %q{chuck@webs.com}
|
12
12
|
gemfiles = [
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: webs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.39
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Chuck Olczak
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-03 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|