show_for 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,7 +48,7 @@ module ShowFor
48
48
  content
49
49
  end
50
50
 
51
- html.html_safe! if safe && html.respond_to?(:html_safe!)
51
+ html.html_safe if safe && html.respond_to?(:html_safe)
52
52
  concat ? @template.concat(html) : html
53
53
  end
54
54
 
@@ -1,3 +1,3 @@
1
1
  module ShowFor
2
- VERSION = "0.1.4".freeze
2
+ VERSION = "0.1.5".freeze
3
3
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: show_for
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 17
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 4
9
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
10
11
  platform: ruby
11
12
  authors:
12
13
  - "Jos\xC3\xA9 Valim"
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-05-20 00:00:00 +02:00
18
+ date: 2010-07-29 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
 
@@ -41,6 +42,11 @@ files:
41
42
  - lib/show_for/locale/en.yml
42
43
  - lib/show_for/version.rb
43
44
  - README.rdoc
45
+ - test/builder_test.rb
46
+ - test/helper_test.rb
47
+ - test/support/misc_helpers.rb
48
+ - test/support/models.rb
49
+ - test/test_helper.rb
44
50
  has_rdoc: true
45
51
  homepage: http://github.com/plataformatec/show_for
46
52
  licenses: []
@@ -51,23 +57,27 @@ rdoc_options:
51
57
  require_paths:
52
58
  - lib
53
59
  required_ruby_version: !ruby/object:Gem::Requirement
60
+ none: false
54
61
  requirements:
55
62
  - - ">="
56
63
  - !ruby/object:Gem::Version
64
+ hash: 3
57
65
  segments:
58
66
  - 0
59
67
  version: "0"
60
68
  required_rubygems_version: !ruby/object:Gem::Requirement
69
+ none: false
61
70
  requirements:
62
71
  - - ">="
63
72
  - !ruby/object:Gem::Version
73
+ hash: 3
64
74
  segments:
65
75
  - 0
66
76
  version: "0"
67
77
  requirements: []
68
78
 
69
79
  rubyforge_project:
70
- rubygems_version: 1.3.6
80
+ rubygems_version: 1.3.7
71
81
  signing_key:
72
82
  specification_version: 3
73
83
  summary: Wrap your objects with a helper to easily show them