esendex4soap 0.4.8 → 0.4.9

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.8
1
+ 0.4.9
data/esendex4soap.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{esendex4soap}
8
- s.version = "0.4.8"
8
+ s.version = "0.4.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Voip Scout}]
data/lib/esendex4soap.rb CHANGED
@@ -27,10 +27,7 @@ module Esendex
27
27
  end
28
28
 
29
29
  def send_message(recipient, text)
30
- if text.size < 140
31
- @message_kind = 'Unicode'
32
- sms(recipient, text.to_a)
33
- elsif text.scan(/./mu).size == text.size
30
+ if text.scan(/./mu).size == text.size
34
31
  sms_parts = text.scan(/.{610}/mu)
35
32
  sms_parts << text[sms_parts.to_s.size..text.size]
36
33
  @message_kind = 'Text'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: esendex4soap
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.8
5
+ version: 0.4.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Voip Scout