wbzyl-sinatra-static-assets 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 5
2
+ :patch: 6
3
3
  :major: 0
4
4
  :minor: 0
@@ -3,7 +3,8 @@
3
3
  <head>
4
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
5
5
 
6
- <link rel="stylesheet" href="/stylesheets/app2.css" type="text/css" media="screen" charset="utf-8">
6
+ <%= stylesheet_link_tag "/stylesheets/app2.css" %>
7
+
7
8
  <script src="/javascripts/app2.js" type="text/javascript"></script>
8
9
 
9
10
  <title><%= @title %></title>
@@ -6,6 +6,11 @@ require 'sinatra/url_for'
6
6
 
7
7
  module Sinatra
8
8
  module StaticAssets
9
+ #
10
+ # TODO
11
+ #
12
+ # option: html -> closed == false
13
+ # option: xhtml -> closed == true
9
14
 
10
15
  # In HTML the <img> tag has no end tag:
11
16
  #
@@ -60,7 +65,7 @@ module Sinatra
60
65
  end
61
66
 
62
67
  def javascript_tag(source, options)
63
- # append onto tag </script>
68
+ # append onto tag "</script>"
64
69
  end
65
70
 
66
71
  def extract_options(a)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sinatra-static-assets}
5
- s.version = "0.0.5"
5
+ s.version = "0.0.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["W\305\202odek Bzyl"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbzyl-sinatra-static-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - "W\xC5\x82odek Bzyl"