ad_man 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ module AdMan
31
31
  keyword_id = Keyword.find_by_name(keyword).id
32
32
  ad = Advertisement.render_random_ad(keyword_id)
33
33
  #grab size? leaderboard or banner
34
- elsif keyword.nil? || keyword.blank?
34
+ elsif keyword.nil? || keyword.blank? || keyword == 'all'
35
35
  ad = Advertisement.render_random_ad
36
36
  end
37
37
  if ad
@@ -1,3 +1,3 @@
1
1
  module AdMan
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ad_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: