smklib 1.0.6 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smklib/htmlutils.rb +2 -4
- data/lib/smklib/version.rb +2 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c55f50610842136f634862a4b70e5404ef109b414a7f6243d6d3676cea4b556
|
4
|
+
data.tar.gz: 8e0e50e59db769647b8d5bdf1a4892d400299e3a682955d77dd37d2a5fed27e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41adf3e6c049fb6d4f75e08b3f6e2a1b4376f25ed831c06728f9b5cc5df9b11ed8be06c01fe0e15d83b7991f209b68edc2d21fd15eb2c22248a0288e0769bc50
|
7
|
+
data.tar.gz: 26c67fbd90da8fdc81c5aa013cf4543d956b8a4f973e7177cb72de0cd9e3c4419efb033d81acecd03408f94b74dd5a645268729629166163f9da2516e1d57139
|
data/lib/smklib/htmlutils.rb
CHANGED
@@ -299,19 +299,17 @@ EOC
|
|
299
299
|
.flash.notice_content { border-color: green; }
|
300
300
|
</style>
|
301
301
|
"
|
302
|
-
|
303
|
-
f_n = [flash[:notice], flash['notice'], flash[:message], flash['message']].compact.sort.uniq.join(' ')
|
302
|
+
f_n = [flash[:notice], flash[:message]].compact.sort.uniq.join(' ')
|
304
303
|
unless f_n.empty?
|
305
304
|
s += '<div class="flash notice_content">'
|
306
305
|
s += img_tag(:src => image_path("button_ok.png"))
|
307
306
|
s += '<span>'
|
308
307
|
s += f_n
|
309
|
-
#s += '<br/>' + google_conversion_tracker_english if @flash['signup']
|
310
308
|
s += '</span>'
|
311
309
|
s += '</div>'
|
312
310
|
s += '<div> </div>' # unless s.empty?
|
313
311
|
end
|
314
|
-
f_a = [flash[:warning], flash[
|
312
|
+
f_a = [flash[:warning], flash[:alert]].compact.sort.uniq.join(' ')
|
315
313
|
unless f_a.empty?
|
316
314
|
s += '<div class="flash error_content">'
|
317
315
|
s += img_tag(:src => image_path("button_cancel.png"))
|
data/lib/smklib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smklib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathieu Jobin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -150,8 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
|
-
|
154
|
-
rubygems_version: 2.7.8
|
153
|
+
rubygems_version: 3.0.6
|
155
154
|
signing_key:
|
156
155
|
specification_version: 4
|
157
156
|
summary: smklib is somekool's ruby library...
|