ballou_sms_gateway 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Readme.md +3 -3
- data/ballou_sms_gateway.gemspec +2 -2
- metadata +100 -88
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d414a9799699b925c72eccb31eafbe5f6b5d83f0
|
4
|
+
data.tar.gz: 388ab71a6bc78c338e3ff40370be2d56a78e32c7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 894e6688d2ef871ed6801dd5a1d8f5141af15e8f3bbf5b44482a1e56fb5a937e000db3f0bfade14942e731fd3f2286979edad6d492fa6b33be94c0bd5b0aa155
|
7
|
+
data.tar.gz: cd846e9c463dfd605121788a39ea0d396a7337c66dde2fa5c11bc03838be75123263c6d93dab0b52988f283d736f44d6ce43a5fa5873f68891d75ab12c8ee71b
|
data/Readme.md
CHANGED
@@ -30,14 +30,14 @@ BallouSmsGateway.new.username("u").password("p").from("Github").to("070XXXXXXX")
|
|
30
30
|
|
31
31
|
The list below is a set of methods that can be chained, like above. **Order doesn't matter.**
|
32
32
|
|
33
|
-
- **id** (String) (CR) (
|
33
|
+
- **id** (String) (CR) (Optional) A unique ID for the text message. Used for statics. Default is a [UUID string](http://en.wikipedia.org/wiki/Universally_unique_identifier).
|
34
34
|
- **username** (String) (UN) Ballou username.
|
35
35
|
- **password** (String) (PW) Ballou password.
|
36
36
|
- **from** (String) (O) Who is the SMS from? Up to 10 character using text or up to 15 character using only numbers.
|
37
37
|
- **to** (String or Array< String >) (D) SMS receiver(s). May begin with a plus sign, otherwise just integers.
|
38
38
|
- **message** (String) (M) Message to be send. Max 160 character, if the `long` flag isn't set.
|
39
|
-
- **long** (No argument) (LONGSMS) Makes it possible to send a long message, up to *918*
|
40
|
-
- **request_id** (String) (RI) (
|
39
|
+
- **long** (No argument) (LONGSMS) (Optional) Makes it possible to send a long message, up to *918* characters.
|
40
|
+
- **request_id** (String) (RI) (Optional) Default is a [UUID string](http://en.wikipedia.org/wiki/Universally_unique_identifier).
|
41
41
|
|
42
42
|
Take a look at the [official (swedish) site](http://www.ballou.se/exempel/) for more information.
|
43
43
|
|
data/ballou_sms_gateway.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
11
11
|
gem.name = "ballou_sms_gateway"
|
12
12
|
gem.require_paths = ["lib"]
|
13
|
-
gem.version = "2.0.
|
13
|
+
gem.version = "2.0.1"
|
14
14
|
|
15
15
|
gem.add_dependency("rest-client", "~> 1.6.7")
|
16
16
|
gem.add_dependency("uuid", "~> 2.3.4")
|
@@ -21,5 +21,5 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_development_dependency("rspec")
|
22
22
|
gem.add_development_dependency("webmock")
|
23
23
|
|
24
|
-
gem.required_ruby_version = "
|
24
|
+
gem.required_ruby_version = "> 1.9.0"
|
25
25
|
end
|
metadata
CHANGED
@@ -1,106 +1,122 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ballou_sms_gateway
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 2.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.1
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- Linus Oleander
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-08-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
16
14
|
name: rest-client
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
23
19
|
version: 1.6.7
|
24
20
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: uuid
|
28
21
|
prerelease: false
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.6.7
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: uuid
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
34
33
|
version: 2.3.4
|
35
34
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: nokogiri
|
39
35
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.3.4
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
45
47
|
version: 1.5.0
|
46
48
|
type: :runtime
|
47
|
-
version_requirements: *id003
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: acts_as_chain
|
50
49
|
prerelease: false
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.5.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: acts_as_chain
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
56
61
|
version: 1.0.1
|
57
62
|
type: :runtime
|
58
|
-
version_requirements: *id004
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: vcr
|
61
63
|
prerelease: false
|
62
|
-
|
63
|
-
|
64
|
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.0.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: vcr
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
65
73
|
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version:
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
68
76
|
type: :development
|
69
|
-
version_requirements: *id005
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: rspec
|
72
77
|
prerelease: false
|
73
|
-
|
74
|
-
|
75
|
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
76
87
|
- - ">="
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version:
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
79
90
|
type: :development
|
80
|
-
version_requirements: *id006
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: webmock
|
83
91
|
prerelease: false
|
84
|
-
|
85
|
-
|
86
|
-
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: webmock
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
87
101
|
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version:
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
90
104
|
type: :development
|
91
|
-
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
92
111
|
description: Ruby bindings for Ballou's (ballou.se) SMS Gateway.
|
93
|
-
email:
|
112
|
+
email:
|
94
113
|
- linus@oleander.nu
|
95
114
|
executables: []
|
96
|
-
|
97
115
|
extensions: []
|
98
|
-
|
99
116
|
extra_rdoc_files: []
|
100
|
-
|
101
|
-
|
102
|
-
- .
|
103
|
-
- .rspec
|
117
|
+
files:
|
118
|
+
- ".gitignore"
|
119
|
+
- ".rspec"
|
104
120
|
- Gemfile
|
105
121
|
- Rakefile
|
106
122
|
- Readme.md
|
@@ -113,32 +129,28 @@ files:
|
|
113
129
|
- spec/spec_helper.rb
|
114
130
|
homepage: https://github.com/oleander/ballou-sms-gateway
|
115
131
|
licenses: []
|
116
|
-
|
132
|
+
metadata: {}
|
117
133
|
post_install_message:
|
118
134
|
rdoc_options: []
|
119
|
-
|
120
|
-
require_paths:
|
135
|
+
require_paths:
|
121
136
|
- lib
|
122
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
- !ruby/object:Gem::Version
|
137
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">"
|
140
|
+
- !ruby/object:Gem::Version
|
127
141
|
version: 1.9.0
|
128
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
|
-
|
130
|
-
requirements:
|
142
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
131
144
|
- - ">="
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version:
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
134
147
|
requirements: []
|
135
|
-
|
136
148
|
rubyforge_project:
|
137
|
-
rubygems_version: 1.8
|
149
|
+
rubygems_version: 2.1.8
|
138
150
|
signing_key:
|
139
|
-
specification_version:
|
151
|
+
specification_version: 4
|
140
152
|
summary: Ruby bindings for Ballou's (ballou.se) SMS Gateway.
|
141
|
-
test_files:
|
153
|
+
test_files:
|
142
154
|
- spec/ballou_sms_gateway_spec.rb
|
143
155
|
- spec/fixtures/vcr_cassettes/invalid-request.yml
|
144
156
|
- spec/fixtures/vcr_cassettes/valid-request.yml
|