wire2air 0.3.2 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 David Miani
1
+ Copyright (c) 2011 Wire2Air
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,17 +1,24 @@
1
1
  = Wire2Air
2
2
 
3
- Description goes here.
4
-
5
- == Contributing to wire2air:w
6
-
7
-
8
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
9
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
10
- * Fork the project
11
- * Start a feature/bugfix branch
12
- * Commit and push until you are happy with your contribution
13
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
14
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
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/nanothief/wire2air"
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 = ["David Miani"]
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.2
1
+ 0.3.4
@@ -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
- # :from => 1111,
10
- # :vasid => 12345)
11
- # connection.submit_sm()
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
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wire2air}
8
- s.version = "0.3.2"
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{David Miani}]
12
- s.date = %q{2011-09-12}
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/nanothief/wire2air}
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.2
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - David Miani
8
+ - Wire2Air
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-12 00:00:00.000000000Z
12
+ date: 2011-09-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2165643900 !ruby/object:Gem::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: *2165643900
24
+ version_requirements: *2165691020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: yard
27
- requirement: &2165643420 !ruby/object:Gem::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: *2165643420
35
+ version_requirements: *2165690540
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &2165642940 !ruby/object:Gem::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: *2165642940
46
+ version_requirements: *2165690060
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jeweler
49
- requirement: &2165642460 !ruby/object:Gem::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: *2165642460
57
+ version_requirements: *2165689580
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rcov
60
- requirement: &2165641980 !ruby/object:Gem::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: *2165641980
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/nanothief/wire2air
90
+ homepage: http://github.com/wire2air/wire2air
91
91
  licenses:
92
92
  - MIT
93
93
  post_install_message: