clickatell-catcher-rack 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
- SHA1:
3
- metadata.gz: b7d83eb0da1bfa1e2b86a1b2b5b6d30ee885180e
4
- data.tar.gz: a69ce1ef3b9864ba29841f4b16b5e828379893b3
2
+ SHA256:
3
+ metadata.gz: 250d3de31171c0fe57e9e8d425d5e2a5c61911c635eba9ee45ca071975af6cd8
4
+ data.tar.gz: e632793bbbac38fa36fd69297ecebfd9bc76017fc9d993d5061c9d6493ceffe2
5
5
  SHA512:
6
- metadata.gz: 0426d725d9453cae03fb2982b4f2853ae0aac8f8d279a7f725d6638df3be0a60962b40aef8e0d1f1cbd2686ae94a85f20e91016e73ec22ccddc79bc68e23c037
7
- data.tar.gz: 591acd4e895c453b08638533e8be58ac7fa8ab5c1a387d6bafe6638c69d4f5c85b90e982ec6faf3e9f24e88df47be049185058f54e3613d3b914885b5813abf8
6
+ metadata.gz: 4cf6bafe8a37addf836c2a968e7165ea782e07cf0af23ca2d0b4171b217c8c38fd7fd91b6cb0ac57fafc8598b1c7dd5f401278fd77059dfe7689a2c3c799401c
7
+ data.tar.gz: e4c1eb64a817d760ea2d72b92c651a361c7c42d1fa68b2614727a2f014fd31ca32bac60273a70b8a4ac307cdc645a89fac8694bb575268f4b372b48196f577a2
@@ -1,4 +1,11 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- before_install: gem install bundler -v 1.11.2
3
+ - 2.0
4
+ - 2.1
5
+ - 2.2
6
+ - 2.3
7
+ - 2.4
8
+ before_install: gem install bundler -v 1.16.1
9
+ env:
10
+ - GEMFILE_VERSIONS="MIN"
11
+ - GEMFILE_VERSIONS="MAX"
data/Gemfile CHANGED
@@ -2,3 +2,8 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in clickatell-catcher-rack.gemspec
4
4
  gemspec
5
+
6
+ if ENV['GEMFILE_VERSIONS'] == 'MIN'
7
+ gem 'multi_json', '~> 1.3.0'
8
+ gem 'rack', '~> 1.1.0'
9
+ end
data/README.md CHANGED
@@ -46,6 +46,11 @@ Now in development mode you can point you clickatell sms code at `http://localho
46
46
  visit `http://localhost:3000/rest/message` to see the messages.
47
47
  Suggested a config to be able to switch between `https://api.clickatell.com/rest/message` and `http://localhost:3000/rest/message`
48
48
 
49
+ ## Plans
50
+
51
+ * Standalone Version
52
+ * Support for some of the [Error codes](https://www.clickatell.com/help/apidocs/error/List_of_Error_Codes.htm)
53
+
49
54
  ## Development
50
55
 
51
56
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -19,11 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'rack'
23
- spec.add_dependency 'multi_json', '~> 1.0'
22
+ spec.required_ruby_version = '>= 2.0.0'
23
+
24
+ spec.add_dependency 'rack', '>= 1.1.0', '< 3.0'
25
+ spec.add_dependency 'multi_json', '>= 1.3.0', '~> 1.0'
24
26
 
25
27
  spec.add_development_dependency 'rack-test'
26
- spec.add_development_dependency 'rubocop'
28
+ spec.add_development_dependency 'rubocop', '~> 0.46.0'
27
29
  spec.add_development_dependency 'coveralls'
28
30
  spec.add_development_dependency 'bundler', '~> 1.11'
29
31
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,5 +1,4 @@
1
- require 'rack/request'
2
- require 'rack/nulllogger'
1
+ require 'rack'
3
2
 
4
3
  require 'clickatell/catcher/rack/version'
5
4
  require 'clickatell/catcher/rack/message_adder'
@@ -1,7 +1,7 @@
1
1
  module Clickatell
2
2
  module Catcher
3
3
  module Rack
4
- VERSION = '0.1.0'.freeze
4
+ VERSION = '0.1.1'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,125 +1,137 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clickatell-catcher-rack
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
  - Grant Petersen-Speelman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-15 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.1.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - '>='
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: '0'
29
+ version: 1.1.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: multi_json
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - ~>
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 1.3.0
40
+ - - "~>"
32
41
  - !ruby/object:Gem::Version
33
42
  version: '1.0'
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - ~>
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 1.3.0
50
+ - - "~>"
39
51
  - !ruby/object:Gem::Version
40
52
  version: '1.0'
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: rack-test
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
45
- - - '>='
57
+ - - ">="
46
58
  - !ruby/object:Gem::Version
47
59
  version: '0'
48
60
  type: :development
49
61
  prerelease: false
50
62
  version_requirements: !ruby/object:Gem::Requirement
51
63
  requirements:
52
- - - '>='
64
+ - - ">="
53
65
  - !ruby/object:Gem::Version
54
66
  version: '0'
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: rubocop
57
69
  requirement: !ruby/object:Gem::Requirement
58
70
  requirements:
59
- - - '>='
71
+ - - "~>"
60
72
  - !ruby/object:Gem::Version
61
- version: '0'
73
+ version: 0.46.0
62
74
  type: :development
63
75
  prerelease: false
64
76
  version_requirements: !ruby/object:Gem::Requirement
65
77
  requirements:
66
- - - '>='
78
+ - - "~>"
67
79
  - !ruby/object:Gem::Version
68
- version: '0'
80
+ version: 0.46.0
69
81
  - !ruby/object:Gem::Dependency
70
82
  name: coveralls
71
83
  requirement: !ruby/object:Gem::Requirement
72
84
  requirements:
73
- - - '>='
85
+ - - ">="
74
86
  - !ruby/object:Gem::Version
75
87
  version: '0'
76
88
  type: :development
77
89
  prerelease: false
78
90
  version_requirements: !ruby/object:Gem::Requirement
79
91
  requirements:
80
- - - '>='
92
+ - - ">="
81
93
  - !ruby/object:Gem::Version
82
94
  version: '0'
83
95
  - !ruby/object:Gem::Dependency
84
96
  name: bundler
85
97
  requirement: !ruby/object:Gem::Requirement
86
98
  requirements:
87
- - - ~>
99
+ - - "~>"
88
100
  - !ruby/object:Gem::Version
89
101
  version: '1.11'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
93
105
  requirements:
94
- - - ~>
106
+ - - "~>"
95
107
  - !ruby/object:Gem::Version
96
108
  version: '1.11'
97
109
  - !ruby/object:Gem::Dependency
98
110
  name: rake
99
111
  requirement: !ruby/object:Gem::Requirement
100
112
  requirements:
101
- - - ~>
113
+ - - "~>"
102
114
  - !ruby/object:Gem::Version
103
115
  version: '10.0'
104
116
  type: :development
105
117
  prerelease: false
106
118
  version_requirements: !ruby/object:Gem::Requirement
107
119
  requirements:
108
- - - ~>
120
+ - - "~>"
109
121
  - !ruby/object:Gem::Version
110
122
  version: '10.0'
111
123
  - !ruby/object:Gem::Dependency
112
124
  name: rspec
113
125
  requirement: !ruby/object:Gem::Requirement
114
126
  requirements:
115
- - - ~>
127
+ - - "~>"
116
128
  - !ruby/object:Gem::Version
117
129
  version: '3.0'
118
130
  type: :development
119
131
  prerelease: false
120
132
  version_requirements: !ruby/object:Gem::Requirement
121
133
  requirements:
122
- - - ~>
134
+ - - "~>"
123
135
  - !ruby/object:Gem::Version
124
136
  version: '3.0'
125
137
  description: Simple rack app the allows for a local catcher clickatell environment.
@@ -129,11 +141,11 @@ executables: []
129
141
  extensions: []
130
142
  extra_rdoc_files: []
131
143
  files:
132
- - .coveralls.yml
133
- - .gitignore
134
- - .rspec
135
- - .rubocop.yml
136
- - .travis.yml
144
+ - ".coveralls.yml"
145
+ - ".gitignore"
146
+ - ".rspec"
147
+ - ".rubocop.yml"
148
+ - ".travis.yml"
137
149
  - Gemfile
138
150
  - LICENSE.txt
139
151
  - README.md
@@ -158,17 +170,17 @@ require_paths:
158
170
  - lib
159
171
  required_ruby_version: !ruby/object:Gem::Requirement
160
172
  requirements:
161
- - - '>='
173
+ - - ">="
162
174
  - !ruby/object:Gem::Version
163
- version: '0'
175
+ version: 2.0.0
164
176
  required_rubygems_version: !ruby/object:Gem::Requirement
165
177
  requirements:
166
- - - '>='
178
+ - - ">="
167
179
  - !ruby/object:Gem::Version
168
180
  version: '0'
169
181
  requirements: []
170
182
  rubyforge_project:
171
- rubygems_version: 2.0.14
183
+ rubygems_version: 2.7.4
172
184
  signing_key:
173
185
  specification_version: 4
174
186
  summary: local sms catcher clickatell environment.