fanforce 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,10 +1,2 @@
1
1
  source "http://rubygems.org"
2
2
  gemspec
3
-
4
- gem 'multi_json', '~> 1.3.6'
5
- gem 'rest-client', '~> 1.6.7'
6
- gem 'rack', '> 1.0'
7
-
8
- group :development, :test do
9
- gem 'rake'
10
- end
data/fanforce.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ["lib"]
19
19
 
20
20
  gem.add_development_dependency 'rake'
21
- gem.add_runtime_dependency 'multi_json', '~> 1.3.6'
22
- gem.add_runtime_dependency 'rest-client', '~> 1.6.7'
21
+ gem.add_runtime_dependency 'multi_json', '>= 1.3.6'
22
+ gem.add_runtime_dependency 'rest-client', '>= 1.6.7'
23
23
  gem.add_runtime_dependency 'rack', '> 1.0'
24
24
  end
data/lib/fanforce/main.rb CHANGED
@@ -4,7 +4,6 @@ require 'rest-client'
4
4
 
5
5
  class Fanforce
6
6
  include Fanforce::Utils
7
- ########################################################################
8
7
 
9
8
  def initialize(arg={})
10
9
  if arg.is_a?(Hash)
@@ -5,6 +5,7 @@ require 'multi_json'
5
5
 
6
6
  module Fanforce::Utils
7
7
  extend Fanforce::Utils
8
+ def self.included(base) base.extend(self) end
8
9
 
9
10
  def is_blank?(obj)
10
11
  obj.respond_to?(:empty?) ? obj.empty? : !obj
@@ -1,3 +1,3 @@
1
1
  class Fanforce
2
- VERSION = '0.4.8'
2
+ VERSION = '0.4.9'
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.4.8
4
+ version: 0.4.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -32,7 +32,7 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ~>
35
+ - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
37
  version: 1.3.6
38
38
  type: :runtime
@@ -40,7 +40,7 @@ dependencies:
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ~>
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: 1.3.6
46
46
  - !ruby/object:Gem::Dependency
@@ -48,7 +48,7 @@ dependencies:
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ~>
51
+ - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
53
  version: 1.6.7
54
54
  type: :runtime
@@ -56,7 +56,7 @@ dependencies:
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ~>
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.6.7
62
62
  - !ruby/object:Gem::Dependency