themes_for_rails 0.2.4 → 0.2.5
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.
|
@@ -6,7 +6,7 @@ module ThemesForRails
|
|
|
6
6
|
end
|
|
7
7
|
module InstanceMethods
|
|
8
8
|
def current_theme_stylesheet_path(asset)
|
|
9
|
-
base_theme_stylesheet_path(:theme => self.theme_name, :asset => "#{asset}.
|
|
9
|
+
base_theme_stylesheet_path(:theme => self.theme_name, :asset => "#{asset}.css")
|
|
10
10
|
end
|
|
11
11
|
def current_theme_javascript_path(asset)
|
|
12
12
|
base_theme_javascript_path(:theme => self.theme_name, :asset => "#{asset}.js")
|
|
@@ -17,7 +17,7 @@ module ThemesForRails
|
|
|
17
17
|
alias_method :theme_image_path, :current_theme_image_path
|
|
18
18
|
alias_method :theme_javascript_path, :current_theme_javascript_path
|
|
19
19
|
alias_method :theme_stylesheet_path, :current_theme_stylesheet_path
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
def theme_image_tag(source)
|
|
22
22
|
image_tag(theme_image_path(source))
|
|
23
23
|
end
|
|
@@ -33,4 +33,4 @@ module ThemesForRails
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
ActiveSupport.on_load(:action_view) { include ThemesForRails::ViewHelpers }
|
|
36
|
+
ActiveSupport.on_load(:action_view) { include ThemesForRails::ViewHelpers }
|
data/themes_for_rails.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{themes_for_rails}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.5"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Lucas Florio"]
|
|
12
|
-
s.date = %q{2010-10-
|
|
12
|
+
s.date = %q{2010-10-09}
|
|
13
13
|
s.description = %q{It allows an application to have many different ways of rendering static assets and dynamic views. }
|
|
14
14
|
s.email = %q{lucasefe@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
8
|
+
- 5
|
|
9
|
+
version: 0.2.5
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Lucas Florio
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-10-
|
|
17
|
+
date: 2010-10-09 00:00:00 -03:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|