georgedrummond_sinatra_helpers 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,18 +12,18 @@ module GeorgeDrummond
12
12
  # With only one CSS file
13
13
  #
14
14
  # stylesheet_link_tag :app
15
- # # => <link href="/css/app.css" type="text/css" />
15
+ # # => <link href="/css/app.css" type="text/css" rel="stylesheet" />
16
16
  #
17
17
  # With an array of CSS files we want to show
18
18
  #
19
19
  # stylesheet_link_tag :app, :header # =>
20
- # <link href="/css/app.css" type="text/css" />
21
- # <link href="/css/header.css" type="text/css" />
20
+ # <link href="/css/app.css" type="text/css" rel="stylesheet" />
21
+ # <link href="/css/header.css" type="text/css" rel="stylesheet" />
22
22
  def stylesheet_link_tag(*sources)
23
23
  html = []
24
24
  sources.each do |stylesheet|
25
25
  path = "/css/#{stylesheet}.css"
26
- html << "<link href=\"#{ url(path) }\" type=\"text/css\" />"
26
+ html << "<link href=\"#{ url(path) }\" type=\"text/css\" rel=\"stylesheet\" />"
27
27
  end
28
28
  return html.join("\n")
29
29
  end
@@ -1,7 +1,7 @@
1
1
  module GeorgeDrummond
2
2
  module Sinatra
3
3
  module Helpers
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,34 +1,28 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: georgedrummond_sinatra_helpers
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - George Drummond
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-10-17 00:00:00 Z
12
+ date: 2011-10-21 00:00:00.000000000Z
19
13
  dependencies: []
20
-
21
- description: This is a collection of common helper methods that I use within my Sinatra apps. They have a rails like feel and they mainly fill in for helpers you would find in Rails. They do not behave exactly like their rails counterparts so please be careful to read the RDOC.
22
- email:
14
+ description: This is a collection of common helper methods that I use within my Sinatra
15
+ apps. They have a rails like feel and they mainly fill in for helpers you would
16
+ find in Rails. They do not behave exactly like their rails counterparts so please
17
+ be careful to read the RDOC.
18
+ email:
23
19
  - george@accountsapp.com
24
20
  executables: []
25
-
26
21
  extensions: []
27
-
28
- extra_rdoc_files:
22
+ extra_rdoc_files:
29
23
  - README.rdoc
30
24
  - LICENSE
31
- files:
25
+ files:
32
26
  - .gitignore
33
27
  - Gemfile
34
28
  - LICENSE
@@ -39,41 +33,35 @@ files:
39
33
  - lib/georgedrummond_sinatra_helpers/version.rb
40
34
  homepage: https://github.com/georgedrummond/georgedrummond_sinatra_helpers
41
35
  licenses: []
42
-
43
36
  post_install_message:
44
- rdoc_options:
37
+ rdoc_options:
45
38
  - --line-numbers
46
39
  - --inline-source
47
40
  - --title
48
41
  - Sinatra
49
42
  - --main
50
43
  - README.rdoc
51
- require_paths:
44
+ require_paths:
52
45
  - lib
53
- required_ruby_version: !ruby/object:Gem::Requirement
46
+ required_ruby_version: !ruby/object:Gem::Requirement
54
47
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
62
- required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ! '>='
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
53
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- hash: 3
68
- segments:
69
- - 0
70
- version: "0"
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
71
58
  requirements: []
72
-
73
59
  rubyforge_project:
74
- rubygems_version: 1.8.10
60
+ rubygems_version: 1.8.11
75
61
  signing_key:
76
62
  specification_version: 3
77
- summary: This is a collection of common helper methods that I use within my Sinatra apps. They have a rails like feel and they mainly fill in for helpers you would find in Rails. They do not behave exactly like their rails counterparts so please be careful to read the RDOC.
63
+ summary: This is a collection of common helper methods that I use within my Sinatra
64
+ apps. They have a rails like feel and they mainly fill in for helpers you would
65
+ find in Rails. They do not behave exactly like their rails counterparts so please
66
+ be careful to read the RDOC.
78
67
  test_files: []
79
-