magti 0.1.0.beta1 → 0.1.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/magti/sms.rb +1 -1
  2. data/lib/magti/version.rb +1 -1
  3. metadata +1 -1
data/lib/magti/sms.rb CHANGED
@@ -20,7 +20,7 @@ module Magti
20
20
  raise ArgumentError, 'illegal mobile number' unless C12.correct_mobile?(mobile)
21
21
  raise ArgumentError, 'max size exceeded' if text.length > Magti::MAX_SIZE
22
22
  options = Magti.config.security_options
23
- if options.nil? or options.empty? or !Set.new(options.keys).proper_subset?(Set[:username, :password, :client, :service])
23
+ if options.nil? or options.empty? or !Set.new(options.keys).proper_subset?(Set[:username, :password, :client_id, :service_id])
24
24
  raise ArgumentError, 'specify Magti.config(options) with :username, :password, :client and :service keys'
25
25
  end
26
26
  options = options.merge(:to => "995#{mobile}", :text => text)
data/lib/magti/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Magti
3
- VERSION = "0.1.0.beta1"
3
+ VERSION = "0.1.0.beta2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.beta1
4
+ version: 0.1.0.beta2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: