wire2air 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE.txt +1 -1
- data/README.rdoc +19 -12
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/wire2air.rb +4 -3
- data/wire2air.gemspec +4 -4
- metadata +14 -14
data/LICENSE.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,17 +1,24 @@
|
|
1
1
|
= Wire2Air
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
==
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
3
|
+
This is a ruby library that allows interaction with the wire2air api service.
|
4
|
+
|
5
|
+
== Installation
|
6
|
+
|
7
|
+
gem install wire2air
|
8
|
+
|
9
|
+
== Example Usage
|
10
|
+
|
11
|
+
require 'wire2air'
|
12
|
+
connection = Wire2Air.new(:username => 'your_username',
|
13
|
+
:password => 'your password',
|
14
|
+
:profile_id => 42,
|
15
|
+
:vasid => 12345) # replace the options with the ones found for your account
|
16
|
+
short_code = 234 # replace with the shortcode from your account you wish to use
|
17
|
+
test_number = "123456789"
|
18
|
+
connection.submit_sm(short_code, test_number, "A message to send")
|
19
|
+
|
20
|
+
See rdoc/ri for details on other methods, they are pretty simple to use.
|
21
|
+
|
15
22
|
|
16
23
|
== Copyright
|
17
24
|
|
data/Rakefile
CHANGED
@@ -15,12 +15,12 @@ require 'jeweler'
|
|
15
15
|
Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
17
|
gem.name = "wire2air"
|
18
|
-
gem.homepage = "http://github.com/
|
18
|
+
gem.homepage = "http://github.com/wire2air/wire2air"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %Q{Ruby interface to the wire2air sms and voice mail service}
|
21
21
|
gem.description = %Q{Allows sending sms and voice messages, checking and adding more credits, subscribing to keywords}
|
22
22
|
gem.email = "davidmiani@gmail.com"
|
23
|
-
gem.authors = ["
|
23
|
+
gem.authors = ["Wire2Air"]
|
24
24
|
# dependencies defined in Gemfile
|
25
25
|
end
|
26
26
|
Jeweler::RubygemsDotOrgTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.4
|
data/lib/wire2air.rb
CHANGED
@@ -6,9 +6,10 @@ require 'uri'
|
|
6
6
|
# connection = Wire2Air.new(:username => 'your_username',
|
7
7
|
# :password => 'your password',
|
8
8
|
# :profile_id => 42,
|
9
|
-
# :
|
10
|
-
#
|
11
|
-
#
|
9
|
+
# :vasid => 12345) # replace the options with the ones found for your account
|
10
|
+
# short_code = 234 # replace with the shortcode from your account you wish to use
|
11
|
+
# test_number = "123456789"
|
12
|
+
# connection.submit_sm(short_code, test_number, "A message to send")
|
12
13
|
class Wire2Air
|
13
14
|
|
14
15
|
|
data/wire2air.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{wire2air}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [%q{
|
12
|
-
s.date = %q{2011-09-
|
11
|
+
s.authors = [%q{Wire2Air}]
|
12
|
+
s.date = %q{2011-09-22}
|
13
13
|
s.description = %q{Allows sending sms and voice messages, checking and adding more credits, subscribing to keywords}
|
14
14
|
s.email = %q{davidmiani@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
|
|
30
30
|
"spec/txtimpact_sms_spec.rb",
|
31
31
|
"wire2air.gemspec"
|
32
32
|
]
|
33
|
-
s.homepage = %q{http://github.com/
|
33
|
+
s.homepage = %q{http://github.com/wire2air/wire2air}
|
34
34
|
s.licenses = [%q{MIT}]
|
35
35
|
s.require_paths = [%q{lib}]
|
36
36
|
s.rubygems_version = %q{1.8.8}
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wire2air
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- Wire2Air
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-09-
|
12
|
+
date: 2011-09-22 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &2165691020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.3.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2165691020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: yard
|
27
|
-
requirement: &
|
27
|
+
requirement: &2165690540 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.6.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2165690540
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &2165690060 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.0.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2165690060
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jeweler
|
49
|
-
requirement: &
|
49
|
+
requirement: &2165689580 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.6.4
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2165689580
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rcov
|
60
|
-
requirement: &
|
60
|
+
requirement: &2165689100 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2165689100
|
69
69
|
description: Allows sending sms and voice messages, checking and adding more credits,
|
70
70
|
subscribing to keywords
|
71
71
|
email: davidmiani@gmail.com
|
@@ -87,7 +87,7 @@ files:
|
|
87
87
|
- spec/spec_helper.rb
|
88
88
|
- spec/txtimpact_sms_spec.rb
|
89
89
|
- wire2air.gemspec
|
90
|
-
homepage: http://github.com/
|
90
|
+
homepage: http://github.com/wire2air/wire2air
|
91
91
|
licenses:
|
92
92
|
- MIT
|
93
93
|
post_install_message:
|