messagebird 0.1.1 → 0.1.2

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: 60591298cdf44f6e11fcdf5028a36d63cc933e80
4
- data.tar.gz: 3341e9e7f6b5187b2d427795b64b21cefb57d196
3
+ metadata.gz: 240689840887a7c3b612574550238b5533abc55d
4
+ data.tar.gz: 7b2fa0ea5944c30fd8ee66ef14ecd94645c3c756
5
5
  SHA512:
6
- metadata.gz: d79edff49e03728c97aa256fa623452d9ebeaed368a74cc11c0e28dc7de3fef9eceacd6e05cd9ca01b2d1cde34f9ac70d07c3ecd669c482d4b4643eda9ed6088
7
- data.tar.gz: 8e9c3b9ca20e78a155480c756ce872ffdf8cc0c8071486c821ed892d6a25d35e6ae0d8df009aa0f9d7c81d80648b9904aacfa43cb982e08b3bb9cb0f20ec3b33
6
+ metadata.gz: 567700f37be1dc95e5acb310a1cf625404c0719a1dfd5caea4a56e1dfed2240bbef53109f85213361020740db8fe22cf1b290d1801d2005a6913513607a9f3b6
7
+ data.tar.gz: f4c0029181bdee661cc75726a00dec082d96e8933e4f10fade190137a8e26630fd1cfc05d76e20296683bcb7180e10936f26df89b109048bd309cff9e2a9e9a8
data/.travis.yml CHANGED
@@ -8,7 +8,22 @@ rvm:
8
8
  - 2.0.0
9
9
  - 2.1.0
10
10
 
11
+ gemfile:
12
+ - Gemfile
13
+ - Gemfile.1.8.7
14
+
11
15
  matrix:
12
16
  fast_finish: true
17
+
13
18
  allow_failures:
14
19
  - rvm: 2.1.0
20
+
21
+ exclude:
22
+ - rvm: 1.8.7
23
+ gemfile: Gemfile
24
+ - rvm: 1.9.3
25
+ gemfile: Gemfile.1.8.7
26
+ - rvm: 2.0.0
27
+ gemfile: Gemfile.1.8.7
28
+ - rvm: 2.1.0
29
+ gemfile: Gemfile.1.8.7
data/Gemfile CHANGED
@@ -3,11 +3,11 @@ source 'https://rubygems.org'
3
3
  group :test do
4
4
  gem 'bundler', '~> 1.0'
5
5
  gem 'rake'
6
- gem 'minitest', :require => false
7
- gem 'rr', :require => false
6
+ gem 'minitest', :require => false
7
+ gem 'rr', :require => false
8
+ gem 'coveralls', :require => false
8
9
  end
9
10
 
10
11
  group :development do
11
12
  gem 'jeweler', '~> 2.0.0', :require => false
12
- gem 'simplecov', :require => false
13
13
  end
data/Gemfile.1.8.7 ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ group :test do
4
+ gem 'bundler', '~> 1.0'
5
+ gem 'rake'
6
+ gem 'minitest', :require => false
7
+ gem 'rr', :require => false
8
+ end
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014 Nedap N.V., Bram de Vries
3
+ Copyright (c) 2014 Bram de Vries
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
data/README.md CHANGED
@@ -1,8 +1,16 @@
1
- [![Code Climate](https://codeclimate.com/github/nedap/messagebird.png)](https://codeclimate.com/github/nedap/messagebird)
2
- [![Build Status](https://travis-ci.org/nedap/messagebird.png?branch=master)](https://travis-ci.org/nedap/messagebird)
1
+ [![Gem Version](https://badge.fury.io/rb/messagebird.png)](http://badge.fury.io/rb/messagebird)
2
+ [![Code Climate](https://codeclimate.com/github/nedap/messagebird-sms-api-ruby.png)](https://codeclimate.com/github/nedap/messagebird-sms-api-ruby)
3
+ [![Coverage Status](https://coveralls.io/repos/nedap/messagebird-sms-api-ruby/badge.png?branch=master)](https://coveralls.io/r/nedap/messagebird-sms-api-ruby?branch=master)
4
+ [![Build Status](https://travis-ci.org/nedap/messagebird-sms-api-ruby.png?branch=master)](https://travis-ci.org/nedap/messagebird-sms-api-ruby)
3
5
 
4
- # MessageBird API gem
5
- Implementation of the MessageBird text (sms) service API
6
+ # MessageBird SMS API for Ruby
7
+ Implementation of the MessageBird SMS API for Ruby.
8
+
9
+ ## Installation
10
+ Just paste the following in your Gemfile:
11
+ ```ruby
12
+ gem 'messagebird'
13
+ ```
6
14
 
7
15
  ## Compatibility
8
16
  Development is focussed on MRI 1.9.3 and 2.0.0.
@@ -19,7 +27,7 @@ Legacy support for MRI 1.8.7, and experimental support for MRI 2.1.0 and JRuby 1
19
27
  * 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.
20
28
 
21
29
  ## Credits
22
- Based on the API example on https://www.messagebird.com/nl/sms-api#ruby
30
+ Based on the API example at https://www.messagebird.com/nl/sms-api#ruby
23
31
 
24
- ## Licence
25
- See the LICENCE file for licensing information.
32
+ ## License
33
+ See the LICENSE file for licensing information.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -6,11 +6,11 @@ require 'pp'
6
6
  require 'messagebird'
7
7
 
8
8
  MessageBird.configure do
9
- username 'nedappep'
10
- password 'testpass'
11
- sender_name 'NedapPep'
9
+ username 'my-user-name'
10
+ password 'my-pass-word'
11
+ sender_name 'GemTester'
12
12
  end
13
13
 
14
- MessageBird.deliver("NedapPep", "31648951497", "test message") do |response|
14
+ MessageBird.deliver("GemTester", "31600000000", "test message") do |response|
15
15
  pp response
16
16
  end
data/messagebird.gemspec CHANGED
@@ -2,25 +2,27 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: messagebird 0.1.1 ruby lib
5
+ # stub: messagebird 0.1.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "messagebird"
9
- s.version = "0.1.1"
9
+ s.version = "0.1.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Bram de Vries"]
13
- s.date = "2014-01-22"
13
+ s.date = "2014-01-27"
14
14
  s.description = "Implementation of the MessageBird text (sms) service API"
15
15
  s.email = "bram.devries@nedap.com"
16
16
  s.executables = ["messagebird_test_connection"]
17
17
  s.extra_rdoc_files = [
18
+ "LICENSE",
18
19
  "README.md"
19
20
  ]
20
21
  s.files = [
21
22
  ".travis.yml",
22
23
  "Gemfile",
23
- "LICENCE",
24
+ "Gemfile.1.8.7",
25
+ "LICENSE",
24
26
  "README.md",
25
27
  "Rakefile",
26
28
  "VERSION",
@@ -57,14 +59,11 @@ Gem::Specification.new do |s|
57
59
 
58
60
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
59
61
  s.add_development_dependency(%q<jeweler>, ["~> 2.0.0"])
60
- s.add_development_dependency(%q<simplecov>, [">= 0"])
61
62
  else
62
63
  s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
63
- s.add_dependency(%q<simplecov>, [">= 0"])
64
64
  end
65
65
  else
66
66
  s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
67
- s.add_dependency(%q<simplecov>, [">= 0"])
68
67
  end
69
68
  end
70
69
 
data/test/helper.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require 'rubygems'
2
2
  require 'bundler'
3
3
 
4
- # Use SimpleCov when available
4
+ # Use Coveralls/SimpleCov when available
5
5
  begin
6
- require 'simplecov'
7
- SimpleCov.start
6
+ require 'coveralls'
7
+ Coveralls.wear!
8
8
  rescue LoadError
9
9
  end
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messagebird
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bram de Vries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-22 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jeweler
@@ -24,31 +24,19 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.0.0
27
- - !ruby/object:Gem::Dependency
28
- name: simplecov
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  description: Implementation of the MessageBird text (sms) service API
42
28
  email: bram.devries@nedap.com
43
29
  executables:
44
30
  - messagebird_test_connection
45
31
  extensions: []
46
32
  extra_rdoc_files:
33
+ - LICENSE
47
34
  - README.md
48
35
  files:
49
36
  - .travis.yml
50
37
  - Gemfile
51
- - LICENCE
38
+ - Gemfile.1.8.7
39
+ - LICENSE
52
40
  - README.md
53
41
  - Rakefile
54
42
  - VERSION