sgsms 0.1.0 → 0.1.1

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/sgsms/version.rb +2 -2
  2. data/lib/sgsms.rb +1 -1
  3. metadata +36 -14
data/lib/sgsms/version.rb CHANGED
@@ -3,11 +3,11 @@ module Sgsms
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 0
6
+ TINY = 1
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
10
10
  end
11
11
 
12
12
  end
13
- end
13
+ end
data/lib/sgsms.rb CHANGED
@@ -36,7 +36,7 @@ module Sgsms
36
36
  #return {:status => :ok, :id => 1 }
37
37
  case response
38
38
  when Net::HTTPSuccess
39
- if response.body.match(/^OK: 0; .+ ID: ([\dabcdef]+).*^SMSGlobalMsgID:(\d+)/m)
39
+ if response.body.match(/^OK: 0; .+ ID: ([\dabcdef]+).*SMSGlobalMsgID:(\d+)/m)
40
40
  return {:status => :ok, :id => $1.to_s, :msgid => $2.to_i}
41
41
  elsif response.body.match(/^ERROR: (.*): (.*)$/)
42
42
  return {:status => :fail, :error => $1, :detail => $2}
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sgsms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Leonard Garvey
8
+ - First Last
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-04-14 00:00:00.000000000Z
12
+ date: 2011-04-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &2156805280 !ruby/object:Gem::Requirement
16
+ requirement: &2156810260 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,32 @@ dependencies:
21
21
  version: 0.8.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2156805280
24
+ version_requirements: *2156810260
25
+ - !ruby/object:Gem::Dependency
26
+ name: bundler
27
+ requirement: &2156809780 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *2156809780
36
+ - !ruby/object:Gem::Dependency
37
+ name: jnunemaker-matchy
38
+ requirement: &2156809160 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 0.4.0
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *2156809160
25
47
  - !ruby/object:Gem::Dependency
26
48
  name: shoulda
27
- requirement: &2156804780 !ruby/object:Gem::Requirement
49
+ requirement: &2156808560 !ruby/object:Gem::Requirement
28
50
  none: false
29
51
  requirements:
30
52
  - - ~>
@@ -32,20 +54,20 @@ dependencies:
32
54
  version: 2.11.0
33
55
  type: :development
34
56
  prerelease: false
35
- version_requirements: *2156804780
57
+ version_requirements: *2156808560
36
58
  - !ruby/object:Gem::Dependency
37
- name: fakeweb
38
- requirement: &2156804300 !ruby/object:Gem::Requirement
59
+ name: mocha
60
+ requirement: &2156807920 !ruby/object:Gem::Requirement
39
61
  none: false
40
62
  requirements:
41
63
  - - ~>
42
64
  - !ruby/object:Gem::Version
43
- version: 1.3.0
65
+ version: 0.9.0
44
66
  type: :development
45
67
  prerelease: false
46
- version_requirements: *2156804300
68
+ version_requirements: *2156807920
47
69
  description:
48
- email: lengarvey@gmail.com
70
+ email: user@example.com
49
71
  executables: []
50
72
  extensions: []
51
73
  extra_rdoc_files:
@@ -57,7 +79,7 @@ files:
57
79
  - lib/sgsms.rb
58
80
  - test/test_helper.rb
59
81
  - test/unit/sgsms_test.rb
60
- homepage: https://github.com/lengarvey/sgsms
82
+ homepage: http://my-site.net
61
83
  licenses: []
62
84
  post_install_message:
63
85
  rdoc_options:
@@ -82,5 +104,5 @@ rubyforge_project:
82
104
  rubygems_version: 1.7.2
83
105
  signing_key:
84
106
  specification_version: 3
85
- summary: This gem sends sms via SMSGlobal's http api
107
+ summary: This gem does ...
86
108
  test_files: []