asset-resource 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -20,8 +20,8 @@ Built-in configuration and helpers for Rails 2.x, Rails 3.x and Sinatra.
20
20
  # app/views/layouts/application.html.erb
21
21
  <html>
22
22
  <head>
23
+ <%= asset_resource_javascripts %>
23
24
  <%= asset_resource_stylesheets %>
24
- <%= asset_resource_scripts %>
25
25
  </head>
26
26
  </html>
27
27
 
@@ -36,8 +36,8 @@ Built-in configuration and helpers for Rails 2.x, Rails 3.x and Sinatra.
36
36
  # app/views/layouts/application.html.erb
37
37
  <html>
38
38
  <head>
39
+ <%= asset_resource_javascripts %>
39
40
  <%= asset_resource_stylesheets %>
40
- <%= asset_resource_scripts %>
41
41
  </head>
42
42
  </html>
43
43
 
@@ -3,11 +3,11 @@ require "asset_resource/middleware"
3
3
 
4
4
  module AssetResource::Helpers
5
5
  def asset_resource_stylesheets
6
- '<link rel="stylesheet" href="/assets/stylesheets.css" />'
6
+ '<link rel="stylesheet" href="/assets/stylesheets.css" />'.html_safe
7
7
  end
8
8
 
9
9
  def asset_resource_javascripts
10
- '<script type="text/javascript" src="/assets/javascripts.js"></script>'
10
+ '<script type="text/javascript" src="/assets/javascripts.js"></script>'.html_safe
11
11
  end
12
12
  end
13
13
 
@@ -11,11 +11,11 @@ end
11
11
 
12
12
  module AssetResource::Helpers
13
13
  def asset_resource_stylesheets
14
- '<link rel="stylesheet" href="/assets/stylesheets.css" />'
14
+ '<link rel="stylesheet" href="/assets/stylesheets.css" />'.html_safe
15
15
  end
16
16
 
17
17
  def asset_resource_javascripts
18
- '<script type="text/javascript" src="/assets/javascripts.js"></script>'
18
+ '<script type="text/javascript" src="/assets/javascripts.js"></script>'.html_safe
19
19
  end
20
20
  end
21
21
 
@@ -1,5 +1,5 @@
1
1
  module AssetResource
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
4
4
 
5
5
  if defined?(Rails)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset-resource
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 0
9
8
  - 1
10
- version: 0.0.1
9
+ - 0
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dollar
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-25 00:00:00 -04:00
18
+ date: 2010-08-08 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency