sms_gateway 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ module SmsGateway
4
4
  class Base
5
5
 
6
6
  class << self
7
- attr_reader :deliveries
7
+ attr_accessor :deliveries
8
8
  end
9
9
 
10
10
  @deliveries = []
@@ -1,4 +1,4 @@
1
1
  module SmsGateway
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
4
4
 
@@ -17,6 +17,9 @@ class SmsGateway::Adapters::SmsGatewayTest < Test::Unit::TestCase
17
17
  assert_equal 0, SmsGateway::Base.deliveries.size
18
18
  sms.deliver
19
19
  assert_equal 1, SmsGateway::Base.deliveries.size
20
+
21
+ SmsGateway::Base.deliveries = []
22
+ assert_equal [], SmsGateway::Base.deliveries
20
23
 
21
24
  end
22
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sms_gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-24 00:00:00.000000000 Z
12
+ date: 2013-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty