hoi 0.0.4 → 0.0.5

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.
Files changed (4) hide show
  1. data/Gemfile +1 -0
  2. data/VERSION +1 -1
  3. data/lib/hoi.rb +2 -2
  4. metadata +4 -1
data/Gemfile CHANGED
@@ -7,4 +7,5 @@ group :development, :test do
7
7
  gem "shoulda", ">= 0"
8
8
  gem "bundler"
9
9
  gem "mocha", "> 0.9.11"
10
+ gem "rake"
10
11
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
data/lib/hoi.rb CHANGED
@@ -3,7 +3,7 @@ require 'json'
3
3
  require 'cgi'
4
4
 
5
5
  class Hoi
6
- VERSION = '0.0.4'
6
+ VERSION = '0.0.5'
7
7
 
8
8
  include HTTParty
9
9
  format :plain
@@ -93,7 +93,7 @@ class Hoi
93
93
  end
94
94
 
95
95
  def call(url, params)
96
- return {:status => 'success_ok'} if @@test_mode
96
+ return {'status' => 'success_ok'} if @@test_mode
97
97
  handle_response( self.class.post('/sms/send', {:body => default_params(params) }) )
98
98
  end
99
99
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -120,6 +120,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
120
  - - ! '>='
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
+ segments:
124
+ - 0
125
+ hash: 4386599800446273781
123
126
  required_rubygems_version: !ruby/object:Gem::Requirement
124
127
  none: false
125
128
  requirements: