rad_face 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/face/view_helper.rb +2 -2
  2. metadata +46 -54
@@ -13,11 +13,11 @@ module Rad::Face::ViewHelper
13
13
 
14
14
  def themed_partial partial
15
15
  partial.must =~ /^\//
16
- themed_partial = "/#{rad.face.themes_path}/#{theme.name}#{partial}"
16
+ themed_partial = "#{rad.face.themes_path}/#{theme.name}#{partial}"
17
17
  if rad.template.exist? themed_partial
18
18
  themed_partial
19
19
  else
20
- "/#{rad.face.themes_path}/default#{partial}"
20
+ "#{rad.face.themes_path}/default#{partial}"
21
21
  end
22
22
  end
23
23
 
metadata CHANGED
@@ -1,71 +1,67 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rad_face
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Alexey Petrushin
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-04 00:00:00 +04:00
12
+ date: 2011-07-04 00:00:00.000000000 +04:00
14
13
  default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: rad_core
18
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2954680 !ruby/object:Gem::Requirement
19
18
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
24
23
  type: :runtime
25
24
  prerelease: false
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *2954680
26
+ - !ruby/object:Gem::Dependency
28
27
  name: rad_ext
29
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirement: &2954350 !ruby/object:Gem::Requirement
30
29
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
35
34
  type: :runtime
36
35
  prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *2954350
37
+ - !ruby/object:Gem::Dependency
39
38
  name: rad_js
40
- requirement: &id003 !ruby/object:Gem::Requirement
39
+ requirement: &2954120 !ruby/object:Gem::Requirement
41
40
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
46
45
  type: :runtime
47
46
  prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *2954120
48
+ - !ruby/object:Gem::Dependency
50
49
  name: rad_assets
51
- requirement: &id004 !ruby/object:Gem::Requirement
50
+ requirement: &2953850 !ruby/object:Gem::Requirement
52
51
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
57
56
  type: :runtime
58
57
  prerelease: false
59
- version_requirements: *id004
58
+ version_requirements: *2953850
60
59
  description:
61
60
  email:
62
61
  executables: []
63
-
64
62
  extensions: []
65
-
66
63
  extra_rdoc_files: []
67
-
68
- files:
64
+ files:
69
65
  - Rakefile
70
66
  - readme.md
71
67
  - lib/components/face.rb
@@ -89,30 +85,26 @@ files:
89
85
  has_rdoc: true
90
86
  homepage: http://github.com/alexeypetrushin/rad_face
91
87
  licenses: []
92
-
93
88
  post_install_message:
94
89
  rdoc_options: []
95
-
96
- require_paths:
90
+ require_paths:
97
91
  - lib
98
- required_ruby_version: !ruby/object:Gem::Requirement
92
+ required_ruby_version: !ruby/object:Gem::Requirement
99
93
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: "0"
104
- required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ! '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
99
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: "0"
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
110
104
  requirements: []
111
-
112
105
  rubyforge_project:
113
106
  rubygems_version: 1.5.1
114
107
  signing_key:
115
108
  specification_version: 3
116
109
  summary: User Interface tools for Rad Framework
117
110
  test_files: []
118
-