bootstrap_helpers 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,7 +18,7 @@ module BootstrapHelpers
|
|
|
18
18
|
|
|
19
19
|
def flash_message_template(message,type)
|
|
20
20
|
content_tag :div, :class=>"alert-message #{equal_bootstrap_class(type)} fade in", 'data-alert'=>'alert' do
|
|
21
|
-
content_tag(:a, '×', :href=>'#', :class=>'close') + content_tag(:p) {message}
|
|
21
|
+
content_tag(:a, '×', :href=>'#', :class=>'close') + content_tag(:p) {message.to_s.html_safe}
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ module BootstrapHelpers
|
|
|
26
26
|
content_tag :div, :class=>"alert-message #{equal_bootstrap_class(type)} block-message fade in",
|
|
27
27
|
'data-alert'=>'alert' do
|
|
28
28
|
concat content_tag(:a, '×', :href=>'#', :class=>'close')
|
|
29
|
-
collection.each {|message| concat content_tag(:p, message)}
|
|
29
|
+
collection.each {|message| concat content_tag(:p, message.to_s.html_safe)}
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap_helpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 9
|
|
10
|
+
version: 0.0.9
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Sergey Pchelincev
|
|
@@ -15,13 +15,10 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2011-12-06 00:00:00 Z
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
22
|
-
|
|
23
|
-
prerelease: false
|
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
25
22
|
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - ">="
|
|
@@ -30,7 +27,9 @@ dependencies:
|
|
|
30
27
|
segments:
|
|
31
28
|
- 0
|
|
32
29
|
version: "0"
|
|
33
|
-
|
|
30
|
+
requirement: *id001
|
|
31
|
+
prerelease: false
|
|
32
|
+
type: :development
|
|
34
33
|
name: rake
|
|
35
34
|
description: Speed up bilding you interface with bootstrap
|
|
36
35
|
email:
|
|
@@ -117,7 +116,6 @@ files:
|
|
|
117
116
|
- test_app/test/fixtures/posts.yml
|
|
118
117
|
- test_app/test/unit/post_test.rb
|
|
119
118
|
- test_app/vendor/plugins/.gitkeep
|
|
120
|
-
has_rdoc: true
|
|
121
119
|
homepage: ""
|
|
122
120
|
licenses: []
|
|
123
121
|
|
|
@@ -147,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
147
145
|
requirements: []
|
|
148
146
|
|
|
149
147
|
rubyforge_project: bootstrap_helpers
|
|
150
|
-
rubygems_version: 1.
|
|
148
|
+
rubygems_version: 1.8.10
|
|
151
149
|
signing_key:
|
|
152
150
|
specification_version: 3
|
|
153
151
|
summary: Early version of collection bootstrap helpers for Rails 3.x
|