cn_sms 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,16 +2,16 @@ module CnSms
2
2
  module Adapter
3
3
  class Routo < Base
4
4
  def initialize(config)
5
- Routo.username = config['username']
6
- Routo.password = config['password']
7
- Routo.ownnum = config["from"]
8
- Routo.type = "SMS"
5
+ ::Routo.username = config['username']
6
+ ::Routo.password = config['password']
7
+ ::Routo.ownnum = config["from"]
8
+ ::Routo.type = "SMS"
9
9
  end
10
10
 
11
11
  def send(phone,msg)
12
12
  super(phone,msg)
13
13
  phone = phone.delete "+"
14
- Routo.send_sms msg,phone
14
+ ::Routo.send_sms msg,phone
15
15
  puts "sms sent phone:#{phone}. Message:#{msg}"
16
16
  end
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module CnSms
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cn_sms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,12 +10,12 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-07-21 00:00:00.000000000 -03:00
13
+ date: 2011-07-28 00:00:00.000000000 -03:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport
18
- requirement: &2156671320 !ruby/object:Gem::Requirement
18
+ requirement: &2160820360 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 2.3.0
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2156671320
26
+ version_requirements: *2160820360
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: routo
29
- requirement: &2156670880 !ruby/object:Gem::Requirement
29
+ requirement: &2160819940 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2156670880
37
+ version_requirements: *2160819940
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: sms_xchange
40
- requirement: &2156670340 !ruby/object:Gem::Requirement
40
+ requirement: &2160819440 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0'
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *2156670340
48
+ version_requirements: *2160819440
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rspec
51
- requirement: &2156669860 !ruby/object:Gem::Requirement
51
+ requirement: &2160818980 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '0'
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2156669860
59
+ version_requirements: *2160818980
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: fakeweb
62
- requirement: &2156669420 !ruby/object:Gem::Requirement
62
+ requirement: &2160818520 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2156669420
70
+ version_requirements: *2160818520
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: shoulda-matchers
73
- requirement: &2156668980 !ruby/object:Gem::Requirement
73
+ requirement: &2160818020 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: '0'
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2156668980
81
+ version_requirements: *2160818020
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: guard-rspec
84
- requirement: &2156668480 !ruby/object:Gem::Requirement
84
+ requirement: &2160817540 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *2156668480
92
+ version_requirements: *2160817540
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: guard-bundler
95
- requirement: &2156668000 !ruby/object:Gem::Requirement
95
+ requirement: &2160817040 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: '0'
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *2156668000
103
+ version_requirements: *2160817040
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: ruby-debug19
106
- requirement: &2156667500 !ruby/object:Gem::Requirement
106
+ requirement: &2160805980 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,7 +111,7 @@ dependencies:
111
111
  version: '0'
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *2156667500
114
+ version_requirements: *2160805980
115
115
  description: SMS Adapter for all gems
116
116
  email:
117
117
  - renato.elias@gmail.com