valdemaximus-conduit 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/test/tc_conduit.rb CHANGED
@@ -4,26 +4,26 @@ require 'valdemaximus-conduit'
4
4
 
5
5
  class TestValdeMaximusConduit < Test::Unit::TestCase
6
6
  def test_message_with_phone_numbers
7
- c = ValdeMaximus::Conduit.new(:domain => 'localhost', :port => 3000, :creds => 'f_Le6kzsCJi5tNP7rFpQ')
7
+ c = ValdeMaximus::Conduit.new(:domain => 'smsportal.heroku.com', :port => 80, :creds => '_q74odt6MdFbtVU_cdNy')
8
8
  res = c.send_message('hello world',
9
9
  ['8016946634',
10
- '8016946632, Little T Johnson',
11
- '8016946633, Big T Johnson'])
10
+ '8016946632, Jim',
11
+ '8016946633, Pam'])
12
12
  assert_equal('SUCCESS', res[1])
13
13
  end
14
14
 
15
15
  def test_message_with_node_id
16
- c = ValdeMaximus::Conduit.new(:domain => 'localhost', :port => 3000, :creds => 'f_Le6kzsCJi5tNP7rFpQ')
16
+ c = ValdeMaximus::Conduit.new(:domain => 'smsportal.heroku.com', :port => 80, :creds => '_q74odt6MdFbtVU_cdNy')
17
17
  res = c.send_message('hello world',
18
18
  ['8016946634',
19
- '8016946632, Little T Johnson',
20
- '8016946633, Big T Johnson'], 1)
19
+ '8016946632, Dwight',
20
+ '8016946633, Merideth'], 1)
21
21
  assert_equal('SUCCESS', res[1])
22
22
 
23
23
  res = c.send_message('hello world',
24
24
  ['8016946634',
25
- '8016946632, Little T Johnson',
26
- '8016946633, Big T Johnson'], 2)
25
+ '8016946632, Toby',
26
+ '8016946633, Michael'], 1000000)
27
27
  assert_equal('FAILURE', res[1])
28
28
  end
29
29
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{valdemaximus-conduit}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tom Johnson"]
12
- s.date = %q{2009-12-18}
12
+ s.date = %q{2009-12-19}
13
13
  s.description = %q{A Library to programmatically interface with portal}
14
14
  s.email = %q{valde.maximus@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valdemaximus-conduit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Johnson
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-18 00:00:00 -07:00
12
+ date: 2009-12-19 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency