anjlab-ruby-smpp 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -4,12 +4,12 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = "ruby-smpp"
8
- s.version = "0.6.1"
7
+ s.name = "anjlab-ruby-smpp"
8
+ s.version = "0.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ray Krueger", "August Z. Flatby"]
12
- s.date = "2012-04-18"
12
+ s.date = "2012-04-19"
13
13
  s.description = "Ruby implementation of the SMPP protocol, based on EventMachine. SMPP is a protocol that allows ordinary people outside the mobile network to exchange SMS messages directly with mobile operators."
14
14
  s.email = "raykrueger@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  "README.rdoc",
27
27
  "Rakefile",
28
28
  "VERSION",
29
+ "anjlab-ruby-smpp.gemspec",
29
30
  "config/environment.rb",
30
31
  "examples/PDU1.example",
31
32
  "examples/PDU2.example",
@@ -57,7 +58,6 @@ Gem::Specification.new do |s|
57
58
  "lib/smpp/server.rb",
58
59
  "lib/smpp/transceiver.rb",
59
60
  "lib/sms.rb",
60
- "ruby-smpp.gemspec",
61
61
  "test/delegate.rb",
62
62
  "test/encoding_test.rb",
63
63
  "test/optional_parameter_test.rb",
@@ -71,7 +71,7 @@ Gem::Specification.new do |s|
71
71
  ]
72
72
  s.homepage = "http://github.com/raykrueger/ruby-smpp"
73
73
  s.require_paths = ["lib"]
74
- s.rubyforge_project = "ruby-smpp"
74
+ s.rubyforge_project = "anjlab-ruby-smpp"
75
75
  s.rubygems_version = "1.8.22"
76
76
  s.summary = "Ruby implementation of the SMPP protocol, based on EventMachine."
77
77
 
@@ -4,13 +4,14 @@ class Smpp::Pdu::SubmitSm < Smpp::Pdu::Base
4
4
  attr_reader :service_type, :source_addr_ton, :source_addr_npi, :source_addr, :dest_addr_ton, :dest_addr_npi,
5
5
  :destination_addr, :esm_class, :protocol_id, :priority_flag, :schedule_delivery_time,
6
6
  :validity_period, :registered_delivery, :replace_if_present_flag, :data_coding,
7
- :sm_default_msg_id, :sm_length, :udh, :short_message, :optional_parameters
7
+ :sm_default_msg_id, :sm_length, :udh, :short_message, :optional_parameters, :source_options
8
8
 
9
9
 
10
10
  # Note: short_message (the SMS body) must be in iso-8859-1 format
11
11
  def initialize(source_addr, destination_addr, short_message, options={}, seq = nil)
12
12
 
13
13
  @msg_body = short_message
14
+ @source_options = options
14
15
 
15
16
  @udh = options[:udh]
16
17
  @service_type = options[:service_type]? options[:service_type] :''
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anjlab-ruby-smpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-04-18 00:00:00.000000000 Z
13
+ date: 2012-04-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: eventmachine
@@ -79,6 +79,7 @@ files:
79
79
  - README.rdoc
80
80
  - Rakefile
81
81
  - VERSION
82
+ - anjlab-ruby-smpp.gemspec
82
83
  - config/environment.rb
83
84
  - examples/PDU1.example
84
85
  - examples/PDU2.example
@@ -110,7 +111,6 @@ files:
110
111
  - lib/smpp/server.rb
111
112
  - lib/smpp/transceiver.rb
112
113
  - lib/sms.rb
113
- - ruby-smpp.gemspec
114
114
  - test/delegate.rb
115
115
  - test/encoding_test.rb
116
116
  - test/optional_parameter_test.rb