smklib 1.0.6 → 1.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2789750e63d5f60a70cc1c3ed577c05fa63ae62c55fb31018221b03abcff944
4
- data.tar.gz: 1f094af5705ae16db7cdc708a98879e9e282f2c20873b8962c57c8f4a01e26bf
3
+ metadata.gz: 2c55f50610842136f634862a4b70e5404ef109b414a7f6243d6d3676cea4b556
4
+ data.tar.gz: 8e0e50e59db769647b8d5bdf1a4892d400299e3a682955d77dd37d2a5fed27e1
5
5
  SHA512:
6
- metadata.gz: 450044416753b87dba7ae2476daadd31874015e6cfd1e2dcf1d9a5bb875326417723c54c6f737c4167f081a102b114d838c93c4070a7ad4cb5829416d0a6352b
7
- data.tar.gz: 6b0ab236aa3ae1fcf80b398d00b207fcb919a23a403a3844aeda1cda69a54de879fc9fab4dfd872f17bd52b5427a785284ab9e13aa302d3f01f9de5c1fb5dfd4
6
+ metadata.gz: 41adf3e6c049fb6d4f75e08b3f6e2a1b4376f25ed831c06728f9b5cc5df9b11ed8be06c01fe0e15d83b7991f209b68edc2d21fd15eb2c22248a0288e0769bc50
7
+ data.tar.gz: 26c67fbd90da8fdc81c5aa013cf4543d956b8a4f973e7177cb72de0cd9e3c4419efb033d81acecd03408f94b74dd5a645268729629166163f9da2516e1d57139
@@ -299,19 +299,17 @@ EOC
299
299
  .flash.notice_content { border-color: green; }
300
300
  </style>
301
301
  "
302
- # s += '<pre>--' + flash.to_yaml + '<br/> -- ' + @flash.to_yaml + '<br/> -- </pre>' if local_request?
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>&nbsp;</div>' # unless s.empty?
313
311
  end
314
- f_a = [flash[:warning], flash['warning'], flash[:alert], flash['alert']].compact.sort.uniq.join(' ')
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"))
@@ -1,8 +1,8 @@
1
1
  module SMKLib #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
- MINOR = 0
5
- TINY = 6
4
+ MINOR = 1
5
+ TINY = 0
6
6
 
7
7
  def self.to_s
8
8
  [MAJOR, MINOR, TINY].join('.')
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.6
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: 2018-12-04 00:00:00.000000000 Z
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
- rubyforge_project:
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...