fugleman 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e275d910cac7ceaca39bebd114f5f48c9c4d3d51
4
- data.tar.gz: 5001c7c53a078b22e5a124916d3124589fe5b007
3
+ metadata.gz: 5bd13db53bfbbd2a3ce643119c5b73de474e2d4e
4
+ data.tar.gz: e0688f6d4ad41828478927529f8f2850c9c88837
5
5
  SHA512:
6
- metadata.gz: 7fe3ae8e6287b12df46eada3a976b9c68245a021aa7e3ff81a1837837beab61e9c72e4d8a3acfd8396e7c23ce54b4904d02cfff7bf57e7031d5e86f7e244661c
7
- data.tar.gz: 1bb4d735ec57aabc72d3e6a964647c033fe3ec8754e00adce17efbe51bf04342dad449d4cc936a12bfa2c52337470c403db9b14af601b0f58e79eb235ea59f4e
6
+ metadata.gz: 95eb4ecf7bac6d18068ccaf1bcde176bfc117a0a76bce4e62fbb41769675c6732dc7844405871226301bb9d0055d5fd8d4c3c60f1752677a207564a44d742371
7
+ data.tar.gz: d2364fd8d003cc3667a54785e1331f54ffe119857fa0902f9fcc4e2f4474d92e1ecc8e9bcf8da758ef89e6aa024293e6ddcdc2b8fbc3038054a82cabe7a82b3a
data/fugleman.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "fugleman"
5
- s.version = "0.1.2"
5
+ s.version = "0.1.3"
6
6
  s.summary = "Helpers and stuff for working with sinatra. Really simple."
7
7
  s.homepage = "https://bitbucket.org/technologyastronauts/fugleman"
8
8
  s.authors = ['Kaspar Schiess']
@@ -35,7 +35,7 @@ module Fugleman::Helpers
35
35
  end
36
36
  def tag(name, options = nil, open = false)
37
37
  attributes = tag_attributes(options)
38
- "<#{name}#{attributes}#{open ? '>' : ' />'}".html_safe
38
+ "<#{name}#{attributes}#{open ? '>' : ' />'}"
39
39
  end
40
40
  def content_tag(name, content = nil, options = nil, &block)
41
41
  if block_given?
@@ -94,7 +94,7 @@ module Fugleman::Helpers
94
94
 
95
95
  # ----------------------------------------------------------------- escapism
96
96
  def escape_html(text)
97
- Rack::Utils.escape_html(text).html_safe
97
+ Rack::Utils.escape_html(text)
98
98
  end
99
99
  alias h escape_html
100
100
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fugleman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaspar Schiess
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-14 00:00:00.000000000 Z
11
+ date: 2014-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -35,11 +35,9 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - LICENSE
37
37
  - README
38
- - fugleman-0.1.1.gem
39
38
  - fugleman.gemspec
40
39
  - lib/fugleman.rb
41
40
  - lib/fugleman/helpers.rb
42
- - nyny.gemspec
43
41
  homepage: https://bitbucket.org/technologyastronauts/fugleman
44
42
  licenses: []
45
43
  metadata: {}
@@ -64,3 +62,4 @@ signing_key:
64
62
  specification_version: 4
65
63
  summary: Helpers and stuff for working with sinatra. Really simple.
66
64
  test_files: []
65
+ has_rdoc:
data/fugleman-0.1.1.gem DELETED
Binary file
data/nyny.gemspec DELETED
@@ -1,24 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "nyny"
5
- s.version = "0.1.1"
6
- s.summary = "Helpers and stuff for working with sinatra. Really simple."
7
- s.homepage = "https://bitbucket.org/technologyastronauts/nyny"
8
- s.authors = ['Kaspar Schiess']
9
- s.email = ["kaspar.schiess@technologyastronauts.ch"]
10
-
11
- s.description = <<-EOF
12
- HTML and other helper functions, for working with sinatra. Except simple.
13
-
14
- Simplistic even. Caution, this stick has a pointed end. And it might be the
15
- one you're holding.
16
- EOF
17
-
18
- s.files = Dir['**/*']
19
- s.test_files = Dir['test/**/*'] + Dir['spec/**/*']
20
- s.executables = Dir['bin/*'].map { |f| File.basename(f) }
21
- s.require_paths = ["lib"]
22
-
23
- s.add_runtime_dependency 'rack'
24
- end