ruby-transmitsms 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e3bec2ceebf486c3a7ca105a9d51c035e8b319a
4
- data.tar.gz: 4b098649f758d66a9ed3af3f65f12e78e07ea279
3
+ metadata.gz: d8eca5cb591e340d119c83d2cce8b63eed7c7f84
4
+ data.tar.gz: fd78af4642d8642235b0d5c479bfca1d9aff1ff4
5
5
  SHA512:
6
- metadata.gz: fec33f9e5e09c30281adf3846342736984901312163e5b568d96c0e88df0095b211cc920764076283432551adb05cf513008d755ecd7dd78fdf3844907015db0
7
- data.tar.gz: 935bac1b4735d2fdd119bbd004abe43fa8f8faa8df5a0fca77614b93e1be9b66f97691f1b2642a0ed59f71c1c4617e20a57a947b674297cf5b09dd6fac35c5b2
6
+ metadata.gz: 377b209855ceb3fd7e8d2c2b79b7fef8f3cba47f5bdfb0ecd95c4995bf8e0efd8152c24ec2cc4b81eb17bcc185895ab3ddcfb33c2e03242ff5019a1c96f86497
7
+ data.tar.gz: e062cd21648cf91f485a3312a0c0973811b19d80169c5b8cc4f2f684b22e28ca5b301052dd97f713926cffe73154217fcfc205fe27f7f90044515b38d53719b2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-transmitsms (0.0.1)
4
+ ruby-transmitsms (0.1.1)
5
5
  addressable (>= 2.2.4)
6
6
  json (>= 1.4.6)
7
7
  typhoeus (>= 0.2.1)
data/README.md CHANGED
@@ -3,6 +3,9 @@ ruby-transmitsms
3
3
 
4
4
  Ruby gem to easily access TransmitSMS RESTful APIs
5
5
 
6
+ [![Gem Version](https://badge.fury.io/rb/ruby-transmitsms.svg)](http://badge.fury.io/rb/ruby-transmitsms)
7
+ [![Build Status](https://drone.io/github.com/transmitsms/ruby-transmitsms/status.png)](https://drone.io/github.com/transmitsms/ruby-transmitsms/latest)
8
+
6
9
  ### Sample Usage
7
10
  ```ruby
8
11
  require 'ruby-transmitsms'
@@ -1 +1 @@
1
- gem build ruby-transmitsms.gemspec && sudo gem install ruby-transmitsms--0.0.1.gem && rm ruby-transmitsms-0.0.1.gem
1
+ gem build ruby-transmitsms.gemspec && sudo gem install ruby-transmitsms-0.1.1.gem && rm ruby-transmitsms-0.0.1.gem
@@ -1,7 +1,7 @@
1
1
  require "uri"
2
2
 
3
3
  class AccountApi
4
- basePath = "http://api.burst.dev.local/"
4
+ basePath = "https://api.transmitsms.com/"
5
5
  # apiInvoker = APIInvoker
6
6
 
7
7
  def initialize(api_key, api_secret)
@@ -21,7 +21,7 @@ class AccountApi
21
21
 
22
22
  def config_swagger()
23
23
  Swagger.configure do |config|
24
- config.host = "http://api.burst.dev.local/".gsub("http://", "").gsub("/", "")
24
+ config.host = "https://api.transmitsms.com/".gsub("https://", "").gsub("/", "")
25
25
  config.base_path = "/"
26
26
  config.format = "x-www-form-urlencoded"
27
27
  config.camelize_params = false
@@ -1,7 +1,7 @@
1
1
  require "uri"
2
2
 
3
3
  class EmailApi
4
- basePath = "http://api.burst.dev.local/"
4
+ basePath = "https://api.transmitsms.com/"
5
5
  # apiInvoker = APIInvoker
6
6
 
7
7
  def initialize(api_key, api_secret)
@@ -21,7 +21,7 @@ class EmailApi
21
21
 
22
22
  def config_swagger()
23
23
  Swagger.configure do |config|
24
- config.host = "http://api.burst.dev.local/".gsub("http://", "").gsub("/", "")
24
+ config.host = "https://api.transmitsms.com/".gsub("https://", "").gsub("/", "")
25
25
  config.base_path = "/"
26
26
  config.format = "x-www-form-urlencoded"
27
27
  config.camelize_params = false
@@ -1,7 +1,7 @@
1
1
  require "uri"
2
2
 
3
3
  class KeywordsApi
4
- basePath = "http://api.burst.dev.local/"
4
+ basePath = "https://api.transmitsms.com/"
5
5
  # apiInvoker = APIInvoker
6
6
 
7
7
  def initialize(api_key, api_secret)
@@ -21,7 +21,7 @@ class KeywordsApi
21
21
 
22
22
  def config_swagger()
23
23
  Swagger.configure do |config|
24
- config.host = "http://api.burst.dev.local/".gsub("http://", "").gsub("/", "")
24
+ config.host = "https://api.transmitsms.com/".gsub("https://", "").gsub("/", "")
25
25
  config.base_path = "/"
26
26
  config.format = "x-www-form-urlencoded"
27
27
  config.camelize_params = false
@@ -1,7 +1,7 @@
1
1
  require "uri"
2
2
 
3
3
  class ListsApi
4
- basePath = "http://api.burst.dev.local/"
4
+ basePath = "https://api.transmitsms.com/"
5
5
  # apiInvoker = APIInvoker
6
6
 
7
7
  def initialize(api_key, api_secret)
@@ -21,7 +21,7 @@ class ListsApi
21
21
 
22
22
  def config_swagger()
23
23
  Swagger.configure do |config|
24
- config.host = "http://api.burst.dev.local/".gsub("http://", "").gsub("/", "")
24
+ config.host = "https://api.transmitsms.com/".gsub("https://", "").gsub("/", "")
25
25
  config.base_path = "/"
26
26
  config.format = "x-www-form-urlencoded"
27
27
  config.camelize_params = false
@@ -1,7 +1,7 @@
1
1
  require "uri"
2
2
 
3
3
  class NumbersApi
4
- basePath = "http://api.burst.dev.local/"
4
+ basePath = "https://api.transmitsms.com/"
5
5
  # apiInvoker = APIInvoker
6
6
 
7
7
  def initialize(api_key, api_secret)
@@ -21,7 +21,7 @@ class NumbersApi
21
21
 
22
22
  def config_swagger()
23
23
  Swagger.configure do |config|
24
- config.host = "http://api.burst.dev.local/".gsub("http://", "").gsub("/", "")
24
+ config.host = "https://api.transmitsms.com/".gsub("https://", "").gsub("/", "")
25
25
  config.base_path = "/"
26
26
  config.format = "x-www-form-urlencoded"
27
27
  config.camelize_params = false
@@ -1,7 +1,7 @@
1
1
  require "uri"
2
2
 
3
3
  class ResellersApi
4
- basePath = "http://api.burst.dev.local/"
4
+ basePath = "https://api.transmitsms.com/"
5
5
  # apiInvoker = APIInvoker
6
6
 
7
7
  def initialize(api_key, api_secret)
@@ -21,7 +21,7 @@ class ResellersApi
21
21
 
22
22
  def config_swagger()
23
23
  Swagger.configure do |config|
24
- config.host = "http://api.burst.dev.local/".gsub("http://", "").gsub("/", "")
24
+ config.host = "https://api.transmitsms.com/".gsub("https://", "").gsub("/", "")
25
25
  config.base_path = "/"
26
26
  config.format = "x-www-form-urlencoded"
27
27
  config.camelize_params = false
@@ -1,7 +1,7 @@
1
1
  require "uri"
2
2
 
3
3
  class SmsApi
4
- basePath = "http://api.burst.dev.local/"
4
+ basePath = "https://api.transmitsms.com/"
5
5
  # apiInvoker = APIInvoker
6
6
 
7
7
  def initialize(api_key, api_secret)
@@ -21,7 +21,7 @@ class SmsApi
21
21
 
22
22
  def config_swagger()
23
23
  Swagger.configure do |config|
24
- config.host = "http://api.burst.dev.local/".gsub("http://", "").gsub("/", "")
24
+ config.host = "https://api.transmitsms.com/".gsub("https://", "").gsub("/", "")
25
25
  config.base_path = "/"
26
26
  config.format = "x-www-form-urlencoded"
27
27
  config.camelize_params = false
@@ -81,4 +81,4 @@ class ServerError < StandardError
81
81
  end
82
82
 
83
83
  class ClientError < StandardError
84
- end
84
+ end
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.metadata["allowed_push_host"] = "https://rubygems.org"
7
7
 
8
8
  s.name = "ruby-transmitsms"
9
- s.version = "0.1.0"
9
+ s.version = "0.1.1"
10
10
  s.authors = ["Transmitsms Developers"]
11
11
  s.email = ["transmitsms@gmail.com"]
12
12
  s.homepage = "http://transmitsms.com"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-transmitsms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Transmitsms Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-15 00:00:00.000000000 Z
11
+ date: 2015-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -171,10 +171,11 @@ files:
171
171
  - lib/swagger/request.rb
172
172
  - lib/swagger/response.rb
173
173
  - lib/swagger/version.rb
174
+ - ruby-transmitsms-0.1.0.gem
174
175
  - ruby-transmitsms.gemspec
175
176
  - runtest.sh
176
177
  - setup.sh
177
- - spec/.resellers_api_spec.rb.swp
178
+ - spec/.lists_api_spec.rb.swp
178
179
  - spec/account_api_spec.rb
179
180
  - spec/email_sms_api_spec.rb
180
181
  - spec/keywords_api_spec.rb