fanforce 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,8 +3,16 @@ require 'query_string_parser'
3
3
 
4
4
  module Fanforce::Utils
5
5
 
6
- def self.included(base)
7
- base.extend(self)
6
+ #def self.included(base)
7
+ # base.extend(self)
8
+ #end
9
+
10
+ def blank?(obj)
11
+ obj.respond_to?(:empty?) ? obj.empty? : !obj
12
+ end
13
+
14
+ def present?(obj)
15
+ !blank?(obj)
8
16
  end
9
17
 
10
18
  def self.blank?(obj)
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: