t2_airtime 0.2.6 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +413 -31
  4. data/Rakefile +23 -3
  5. data/app/controllers/t2_airtime/airtime_controller.rb +102 -102
  6. data/config/routes.rb +8 -8
  7. data/lib/t2_airtime/engine.rb +6 -0
  8. data/lib/t2_airtime/version.rb +1 -1
  9. data/lib/t2_airtime.rb +1 -0
  10. data/spec/dummy/Rakefile +6 -0
  11. data/spec/dummy/app/assets/config/manifest.js +2 -0
  12. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  13. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  14. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  15. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  16. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  17. data/spec/dummy/app/jobs/application_job.rb +2 -0
  18. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  19. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  20. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  21. data/spec/dummy/bin/bundle +3 -0
  22. data/spec/dummy/bin/rails +4 -0
  23. data/spec/dummy/bin/rake +4 -0
  24. data/spec/dummy/bin/setup +27 -0
  25. data/spec/dummy/bin/update +26 -0
  26. data/spec/dummy/config/application.rb +31 -0
  27. data/spec/dummy/config/boot.rb +5 -0
  28. data/spec/dummy/config/cable.yml +10 -0
  29. data/spec/dummy/config/environment.rb +5 -0
  30. data/spec/dummy/config/environments/development.rb +44 -0
  31. data/spec/dummy/config/environments/production.rb +80 -0
  32. data/spec/dummy/config/environments/test.rb +42 -0
  33. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  34. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/spec/dummy/config/initializers/cors.rb +16 -0
  36. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  37. data/spec/dummy/config/initializers/inflections.rb +16 -0
  38. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  39. data/spec/dummy/config/initializers/wrap_parameters.rb +9 -0
  40. data/spec/dummy/config/locales/en.yml +33 -0
  41. data/spec/dummy/config/puma.rb +56 -0
  42. data/spec/dummy/config/routes.rb +3 -0
  43. data/spec/dummy/config/secrets.yml +32 -0
  44. data/spec/dummy/config/spring.rb +6 -0
  45. data/spec/dummy/config.ru +5 -0
  46. data/spec/dummy/log/development.log +118 -0
  47. data/spec/dummy/log/test.log +0 -0
  48. data/spec/dummy/tmp/restart.txt +0 -0
  49. data/spec/rails_helper.rb +60 -0
  50. data/spec/spec_helper.rb +96 -0
  51. data/spec/t2_airtime_spec.rb +181 -0
  52. metadata +92 -73
  53. data/.gitignore +0 -14
  54. data/.rspec +0 -2
  55. data/.travis.yml +0 -5
  56. data/CODE_OF_CONDUCT.md +0 -74
  57. data/Gemfile +0 -6
  58. data/LICENSE.txt +0 -21
  59. data/doc/T2Airtime/API.html +0 -1152
  60. data/doc/T2Airtime/Account.html +0 -260
  61. data/doc/T2Airtime/AirtimeController.html +0 -491
  62. data/doc/T2Airtime/Base.html +0 -346
  63. data/doc/T2Airtime/ConfigurationError.html +0 -124
  64. data/doc/T2Airtime/Country.html +0 -448
  65. data/doc/T2Airtime/Engine.html +0 -124
  66. data/doc/T2Airtime/Error.html +0 -290
  67. data/doc/T2Airtime/Operator.html +0 -272
  68. data/doc/T2Airtime/Product.html +0 -294
  69. data/doc/T2Airtime/Reply.html +0 -775
  70. data/doc/T2Airtime/Request.html +0 -664
  71. data/doc/T2Airtime/Test.html +0 -221
  72. data/doc/T2Airtime/Transaction.html +0 -426
  73. data/doc/T2Airtime/Util.html +0 -338
  74. data/doc/T2Airtime.html +0 -147
  75. data/doc/_index.html +0 -265
  76. data/doc/class_list.html +0 -51
  77. data/doc/css/common.css +0 -1
  78. data/doc/css/full_list.css +0 -58
  79. data/doc/css/style.css +0 -492
  80. data/doc/file.README.html +0 -172
  81. data/doc/file_list.html +0 -56
  82. data/doc/frames.html +0 -17
  83. data/doc/index.html +0 -172
  84. data/doc/js/app.js +0 -248
  85. data/doc/js/full_list.js +0 -216
  86. data/doc/js/jquery.js +0 -4
  87. data/doc/method_list.html +0 -491
  88. data/doc/top-level-namespace.html +0 -110
  89. data/release +0 -7
  90. data/t2_airtime.gemspec +0 -33
metadata CHANGED
@@ -1,57 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t2_airtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - matteolc
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-05 00:00:00.000000000 Z
11
+ date: 2017-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: rspec-rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.15'
19
+ version: '3.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.15'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.0'
26
+ version: '3.6'
55
27
  - !ruby/object:Gem::Dependency
56
28
  name: rails
57
29
  requirement: !ruby/object:Gem::Requirement
@@ -122,46 +94,11 @@ executables: []
122
94
  extensions: []
123
95
  extra_rdoc_files: []
124
96
  files:
125
- - ".gitignore"
126
- - ".rspec"
127
- - ".travis.yml"
128
- - CODE_OF_CONDUCT.md
129
- - Gemfile
130
- - LICENSE.txt
97
+ - MIT-LICENSE
131
98
  - README.md
132
99
  - Rakefile
133
100
  - app/controllers/t2_airtime/airtime_controller.rb
134
101
  - config/routes.rb
135
- - doc/T2Airtime.html
136
- - doc/T2Airtime/API.html
137
- - doc/T2Airtime/Account.html
138
- - doc/T2Airtime/AirtimeController.html
139
- - doc/T2Airtime/Base.html
140
- - doc/T2Airtime/ConfigurationError.html
141
- - doc/T2Airtime/Country.html
142
- - doc/T2Airtime/Engine.html
143
- - doc/T2Airtime/Error.html
144
- - doc/T2Airtime/Operator.html
145
- - doc/T2Airtime/Product.html
146
- - doc/T2Airtime/Reply.html
147
- - doc/T2Airtime/Request.html
148
- - doc/T2Airtime/Test.html
149
- - doc/T2Airtime/Transaction.html
150
- - doc/T2Airtime/Util.html
151
- - doc/_index.html
152
- - doc/class_list.html
153
- - doc/css/common.css
154
- - doc/css/full_list.css
155
- - doc/css/style.css
156
- - doc/file.README.html
157
- - doc/file_list.html
158
- - doc/frames.html
159
- - doc/index.html
160
- - doc/js/app.js
161
- - doc/js/full_list.js
162
- - doc/js/jquery.js
163
- - doc/method_list.html
164
- - doc/top-level-namespace.html
165
102
  - lib/t2_airtime.rb
166
103
  - lib/t2_airtime/api.rb
167
104
  - lib/t2_airtime/base.rb
@@ -173,8 +110,48 @@ files:
173
110
  - lib/t2_airtime/url.rb
174
111
  - lib/t2_airtime/util.rb
175
112
  - lib/t2_airtime/version.rb
176
- - release
177
- - t2_airtime.gemspec
113
+ - spec/dummy/Rakefile
114
+ - spec/dummy/app/assets/config/manifest.js
115
+ - spec/dummy/app/assets/javascripts/application.js
116
+ - spec/dummy/app/assets/stylesheets/application.css
117
+ - spec/dummy/app/channels/application_cable/channel.rb
118
+ - spec/dummy/app/channels/application_cable/connection.rb
119
+ - spec/dummy/app/controllers/application_controller.rb
120
+ - spec/dummy/app/jobs/application_job.rb
121
+ - spec/dummy/app/mailers/application_mailer.rb
122
+ - spec/dummy/app/views/layouts/mailer.html.erb
123
+ - spec/dummy/app/views/layouts/mailer.text.erb
124
+ - spec/dummy/bin/bundle
125
+ - spec/dummy/bin/rails
126
+ - spec/dummy/bin/rake
127
+ - spec/dummy/bin/setup
128
+ - spec/dummy/bin/update
129
+ - spec/dummy/config.ru
130
+ - spec/dummy/config/application.rb
131
+ - spec/dummy/config/boot.rb
132
+ - spec/dummy/config/cable.yml
133
+ - spec/dummy/config/environment.rb
134
+ - spec/dummy/config/environments/development.rb
135
+ - spec/dummy/config/environments/production.rb
136
+ - spec/dummy/config/environments/test.rb
137
+ - spec/dummy/config/initializers/application_controller_renderer.rb
138
+ - spec/dummy/config/initializers/backtrace_silencers.rb
139
+ - spec/dummy/config/initializers/cors.rb
140
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
141
+ - spec/dummy/config/initializers/inflections.rb
142
+ - spec/dummy/config/initializers/mime_types.rb
143
+ - spec/dummy/config/initializers/wrap_parameters.rb
144
+ - spec/dummy/config/locales/en.yml
145
+ - spec/dummy/config/puma.rb
146
+ - spec/dummy/config/routes.rb
147
+ - spec/dummy/config/secrets.yml
148
+ - spec/dummy/config/spring.rb
149
+ - spec/dummy/log/development.log
150
+ - spec/dummy/log/test.log
151
+ - spec/dummy/tmp/restart.txt
152
+ - spec/rails_helper.rb
153
+ - spec/spec_helper.rb
154
+ - spec/t2_airtime_spec.rb
178
155
  homepage: https://github.com/matteolc/t2_airtime
179
156
  licenses:
180
157
  - MIT
@@ -200,4 +177,46 @@ signing_key:
200
177
  specification_version: 4
201
178
  summary: Wrapper methods to interface with [TransferTo](https://www.transfer-to.com/home)
202
179
  Airtime API
203
- test_files: []
180
+ test_files:
181
+ - spec/spec_helper.rb
182
+ - spec/t2_airtime_spec.rb
183
+ - spec/dummy/bin/rake
184
+ - spec/dummy/bin/rails
185
+ - spec/dummy/bin/setup
186
+ - spec/dummy/bin/update
187
+ - spec/dummy/bin/bundle
188
+ - spec/dummy/Rakefile
189
+ - spec/dummy/app/channels/application_cable/channel.rb
190
+ - spec/dummy/app/channels/application_cable/connection.rb
191
+ - spec/dummy/app/controllers/application_controller.rb
192
+ - spec/dummy/app/mailers/application_mailer.rb
193
+ - spec/dummy/app/assets/stylesheets/application.css
194
+ - spec/dummy/app/assets/javascripts/application.js
195
+ - spec/dummy/app/assets/config/manifest.js
196
+ - spec/dummy/app/jobs/application_job.rb
197
+ - spec/dummy/app/views/layouts/mailer.text.erb
198
+ - spec/dummy/app/views/layouts/mailer.html.erb
199
+ - spec/dummy/config.ru
200
+ - spec/dummy/log/test.log
201
+ - spec/dummy/log/development.log
202
+ - spec/dummy/tmp/restart.txt
203
+ - spec/dummy/config/initializers/backtrace_silencers.rb
204
+ - spec/dummy/config/initializers/mime_types.rb
205
+ - spec/dummy/config/initializers/wrap_parameters.rb
206
+ - spec/dummy/config/initializers/inflections.rb
207
+ - spec/dummy/config/initializers/cors.rb
208
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
209
+ - spec/dummy/config/initializers/application_controller_renderer.rb
210
+ - spec/dummy/config/secrets.yml
211
+ - spec/dummy/config/application.rb
212
+ - spec/dummy/config/puma.rb
213
+ - spec/dummy/config/cable.yml
214
+ - spec/dummy/config/spring.rb
215
+ - spec/dummy/config/environments/production.rb
216
+ - spec/dummy/config/environments/test.rb
217
+ - spec/dummy/config/environments/development.rb
218
+ - spec/dummy/config/routes.rb
219
+ - spec/dummy/config/locales/en.yml
220
+ - spec/dummy/config/boot.rb
221
+ - spec/dummy/config/environment.rb
222
+ - spec/rails_helper.rb
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
- /bin/
10
-
11
- # rspec failure tracking
12
- .rspec_status
13
-
14
- .env
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.3.3
5
- before_install: gem install bundler -v 1.15.4
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at TODO: Write your email address. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in t2_airtime.gemspec
6
- gemspec
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2017 matteolc
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.