my_forum 0.0.2.3 → 0.0.2.4

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: b21a1ce3c047c551dd2e52e60a15037b8f859781
4
- data.tar.gz: 427cbeaad565bb449517d2689b4f88d3876f2b6e
3
+ metadata.gz: 45883eee6b59bc47b86d56e77576264fa58a1278
4
+ data.tar.gz: c914086baab4e6fb082635f7026713ba7124d018
5
5
  SHA512:
6
- metadata.gz: 8372e077b81ebfeb3e066fe4ca6fad984931d6147c5b0e4198ae3d92817543edb6ad1d4a41b0590a289d0357dcd6ce553cf7924adef54292d649ea194a22a57b
7
- data.tar.gz: 90e0c058319cd2bd836da93772bad6dc44f3a6dcf490669be736caae23520de6940ae807e93e6f57527d3c9cb6a83f2d25c4bdaadbcba8271674398ab8e20d94
6
+ metadata.gz: 688deb6e5395abc33dded32d67d35c91c70c1e940f9a20a7da9d40e051085cf7dfc7dbccfa0bfb78665b0e69da8af04fc76793df71eeebfb2fdf9005531d3fc3
7
+ data.tar.gz: 39ec5f693d692683a860277c3cc53ab96c246073ff400146fcb526e20077cac7e57b7e873d7f154f47539e15bf24bbd073360c345edbd54159f67ea9581dd434
@@ -70,7 +70,7 @@ module MyForum
70
70
 
71
71
  if User.login_exists?(user_login)
72
72
  "<span class='badge'>#{$1}</span> #{$2}"
73
- elsif User.login_exists?(user_login + $2)
73
+ elsif $2 and User.login_exists?(user_login + $2)
74
74
  "<span class='badge'>#{$1}#{$2}</span>"
75
75
  end
76
76
  end
@@ -1,3 +1,3 @@
1
1
  module MyForum
2
- VERSION = "0.0.2.3"
2
+ VERSION = "0.0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_forum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.3
4
+ version: 0.0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko