saeed-calc-apimatic 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +28 -0
  3. data/README.md +68 -0
  4. data/lib/apimatic_calculator/api_helper.rb +10 -0
  5. data/lib/apimatic_calculator/client.rb +43 -0
  6. data/lib/apimatic_calculator/configuration.rb +92 -0
  7. data/lib/apimatic_calculator/controllers/base_controller.rb +65 -0
  8. data/lib/apimatic_calculator/controllers/simple_calculator_controller.rb +31 -0
  9. data/lib/apimatic_calculator/exceptions/api_exception.rb +10 -0
  10. data/lib/apimatic_calculator/http/http_call_back.rb +10 -0
  11. data/lib/apimatic_calculator/http/http_method_enum.rb +10 -0
  12. data/lib/apimatic_calculator/http/http_request.rb +10 -0
  13. data/lib/apimatic_calculator/http/http_response.rb +10 -0
  14. data/lib/apimatic_calculator/models/base_model.rb +62 -0
  15. data/lib/apimatic_calculator/models/operation_type_enum.rb +29 -0
  16. data/lib/apimatic_calculator/utilities/date_time_helper.rb +11 -0
  17. data/lib/apimatic_calculator/utilities/file_wrapper.rb +16 -0
  18. data/lib/apimatic_calculator.rb +39 -0
  19. data/test/controllers/controller_test_base.rb +28 -0
  20. data/test/controllers/test_simple_calculator_controller.rb +35 -0
  21. data/test/http_response_catcher.rb +19 -0
  22. metadata +21 -104
  23. data/bin/arch +0 -1
  24. data/bin/ash +0 -1
  25. data/bin/base64 +0 -1
  26. data/bin/bbconfig +0 -1
  27. data/bin/busybox +0 -0
  28. data/bin/cat +0 -1
  29. data/bin/chattr +0 -1
  30. data/bin/chgrp +0 -1
  31. data/bin/chmod +0 -1
  32. data/bin/chown +0 -1
  33. data/bin/cp +0 -1
  34. data/bin/date +0 -1
  35. data/bin/dd +0 -1
  36. data/bin/df +0 -1
  37. data/bin/dmesg +0 -1
  38. data/bin/dnsdomainname +0 -1
  39. data/bin/dumpkmap +0 -1
  40. data/bin/echo +0 -1
  41. data/bin/ed +0 -1
  42. data/bin/egrep +0 -1
  43. data/bin/false +0 -1
  44. data/bin/fatattr +0 -1
  45. data/bin/fdflush +0 -1
  46. data/bin/fgrep +0 -1
  47. data/bin/fsync +0 -1
  48. data/bin/getopt +0 -1
  49. data/bin/grep +0 -1
  50. data/bin/gunzip +0 -1
  51. data/bin/gzip +0 -1
  52. data/bin/hostname +0 -1
  53. data/bin/ionice +0 -1
  54. data/bin/iostat +0 -1
  55. data/bin/ipcalc +0 -1
  56. data/bin/kbd_mode +0 -1
  57. data/bin/kill +0 -1
  58. data/bin/link +0 -1
  59. data/bin/linux32 +0 -1
  60. data/bin/linux64 +0 -1
  61. data/bin/ln +0 -1
  62. data/bin/login +0 -1
  63. data/bin/ls +0 -1
  64. data/bin/lsattr +0 -1
  65. data/bin/lzop +0 -1
  66. data/bin/makemime +0 -1
  67. data/bin/mkdir +0 -1
  68. data/bin/mknod +0 -1
  69. data/bin/mktemp +0 -1
  70. data/bin/more +0 -1
  71. data/bin/mount +0 -1
  72. data/bin/mountpoint +0 -1
  73. data/bin/mpstat +0 -1
  74. data/bin/mv +0 -1
  75. data/bin/netstat +0 -1
  76. data/bin/nice +0 -1
  77. data/bin/pidof +0 -0
  78. data/bin/ping +0 -1
  79. data/bin/ping6 +0 -1
  80. data/bin/pipe_progress +0 -1
  81. data/bin/printenv +0 -1
  82. data/bin/ps +0 -0
  83. data/bin/pwait +0 -0
  84. data/bin/pwd +0 -1
  85. data/bin/reformime +0 -1
  86. data/bin/rev +0 -1
  87. data/bin/rm +0 -1
  88. data/bin/rmdir +0 -1
  89. data/bin/run-parts +0 -1
  90. data/bin/sed +0 -1
  91. data/bin/setpriv +0 -1
  92. data/bin/setserial +0 -1
  93. data/bin/sh +0 -1
  94. data/bin/slabtop +0 -0
  95. data/bin/sleep +0 -1
  96. data/bin/stat +0 -1
  97. data/bin/stty +0 -1
  98. data/bin/su +0 -1
  99. data/bin/sync +0 -1
  100. data/bin/tar +0 -1
  101. data/bin/tload +0 -0
  102. data/bin/touch +0 -1
  103. data/bin/true +0 -1
  104. data/bin/umount +0 -1
  105. data/bin/uname +0 -1
  106. data/bin/usleep +0 -1
  107. data/bin/vmstat +0 -0
  108. data/bin/w +0 -0
  109. data/bin/watch +0 -0
  110. data/bin/zcat +0 -1
  111. data/lib/apk/db/installed +0 -3582
  112. data/lib/apk/db/lock +0 -0
  113. data/lib/apk/db/scripts.tar +0 -0
  114. data/lib/apk/db/triggers +0 -2
  115. data/lib/ld-musl-x86_64.so.1 +0 -0
  116. data/lib/libapk.so.3.12.0 +0 -0
  117. data/lib/libc.musl-x86_64.so.1 +0 -1
  118. data/lib/libcrypto.so.1.1 +0 -0
  119. data/lib/libprocps.so.8 +0 -1
  120. data/lib/libprocps.so.8.0.3 +0 -0
  121. data/lib/libssl.so.1.1 +0 -0
  122. data/lib/libz.so +0 -1
  123. data/lib/libz.so.1 +0 -1
  124. data/lib/libz.so.1.2.12 +0 -0
  125. data/lib/sysctl.d/00-alpine.conf +0 -40
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saeed-calc-apimatic
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
  - John Doe
@@ -92,109 +92,26 @@ executables: []
92
92
  extensions: []
93
93
  extra_rdoc_files: []
94
94
  files:
95
- - bin/arch
96
- - bin/ash
97
- - bin/base64
98
- - bin/bbconfig
99
- - bin/busybox
100
- - bin/cat
101
- - bin/chattr
102
- - bin/chgrp
103
- - bin/chmod
104
- - bin/chown
105
- - bin/cp
106
- - bin/date
107
- - bin/dd
108
- - bin/df
109
- - bin/dmesg
110
- - bin/dnsdomainname
111
- - bin/dumpkmap
112
- - bin/echo
113
- - bin/ed
114
- - bin/egrep
115
- - bin/false
116
- - bin/fatattr
117
- - bin/fdflush
118
- - bin/fgrep
119
- - bin/fsync
120
- - bin/getopt
121
- - bin/grep
122
- - bin/gunzip
123
- - bin/gzip
124
- - bin/hostname
125
- - bin/ionice
126
- - bin/iostat
127
- - bin/ipcalc
128
- - bin/kbd_mode
129
- - bin/kill
130
- - bin/link
131
- - bin/linux32
132
- - bin/linux64
133
- - bin/ln
134
- - bin/login
135
- - bin/ls
136
- - bin/lsattr
137
- - bin/lzop
138
- - bin/makemime
139
- - bin/mkdir
140
- - bin/mknod
141
- - bin/mktemp
142
- - bin/more
143
- - bin/mount
144
- - bin/mountpoint
145
- - bin/mpstat
146
- - bin/mv
147
- - bin/netstat
148
- - bin/nice
149
- - bin/pidof
150
- - bin/ping
151
- - bin/ping6
152
- - bin/pipe_progress
153
- - bin/printenv
154
- - bin/ps
155
- - bin/pwait
156
- - bin/pwd
157
- - bin/reformime
158
- - bin/rev
159
- - bin/rm
160
- - bin/rmdir
161
- - bin/run-parts
162
- - bin/sed
163
- - bin/setpriv
164
- - bin/setserial
165
- - bin/sh
166
- - bin/slabtop
167
- - bin/sleep
168
- - bin/stat
169
- - bin/stty
170
- - bin/su
171
- - bin/sync
172
- - bin/tar
173
- - bin/tload
174
- - bin/touch
175
- - bin/true
176
- - bin/umount
177
- - bin/uname
178
- - bin/usleep
179
- - bin/vmstat
180
- - bin/w
181
- - bin/watch
182
- - bin/zcat
183
- - lib/apk/db/installed
184
- - lib/apk/db/lock
185
- - lib/apk/db/scripts.tar
186
- - lib/apk/db/triggers
187
- - lib/ld-musl-x86_64.so.1
188
- - lib/libapk.so.3.12.0
189
- - lib/libc.musl-x86_64.so.1
190
- - lib/libcrypto.so.1.1
191
- - lib/libprocps.so.8
192
- - lib/libprocps.so.8.0.3
193
- - lib/libssl.so.1.1
194
- - lib/libz.so
195
- - lib/libz.so.1
196
- - lib/libz.so.1.2.12
197
- - lib/sysctl.d/00-alpine.conf
95
+ - LICENSE
96
+ - README.md
97
+ - lib/apimatic_calculator.rb
98
+ - lib/apimatic_calculator/api_helper.rb
99
+ - lib/apimatic_calculator/client.rb
100
+ - lib/apimatic_calculator/configuration.rb
101
+ - lib/apimatic_calculator/controllers/base_controller.rb
102
+ - lib/apimatic_calculator/controllers/simple_calculator_controller.rb
103
+ - lib/apimatic_calculator/exceptions/api_exception.rb
104
+ - lib/apimatic_calculator/http/http_call_back.rb
105
+ - lib/apimatic_calculator/http/http_method_enum.rb
106
+ - lib/apimatic_calculator/http/http_request.rb
107
+ - lib/apimatic_calculator/http/http_response.rb
108
+ - lib/apimatic_calculator/models/base_model.rb
109
+ - lib/apimatic_calculator/models/operation_type_enum.rb
110
+ - lib/apimatic_calculator/utilities/date_time_helper.rb
111
+ - lib/apimatic_calculator/utilities/file_wrapper.rb
112
+ - test/controllers/controller_test_base.rb
113
+ - test/controllers/test_simple_calculator_controller.rb
114
+ - test/http_response_catcher.rb
198
115
  homepage: ''
199
116
  licenses:
200
117
  - MIT
data/bin/arch DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/ash DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/base64 DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/bbconfig DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/busybox DELETED
Binary file
data/bin/cat DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/chattr DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/chgrp DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/chmod DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/chown DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/cp DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/date DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/dd DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/df DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/dmesg DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/dnsdomainname DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/dumpkmap DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/echo DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/ed DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/egrep DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/false DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/fatattr DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/fdflush DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/fgrep DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/fsync DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/getopt DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/grep DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/gunzip DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/gzip DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/hostname DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/ionice DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/iostat DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/ipcalc DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/kbd_mode DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/kill DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/link DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/linux32 DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/linux64 DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/ln DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/login DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/ls DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/lsattr DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/lzop DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/makemime DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/mkdir DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/mknod DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/mktemp DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/more DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/mount DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/mountpoint DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/mpstat DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/mv DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/netstat DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/nice DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/pidof DELETED
Binary file
data/bin/ping DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/ping6 DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/pipe_progress DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/printenv DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/ps DELETED
Binary file
data/bin/pwait DELETED
Binary file
data/bin/pwd DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/reformime DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/rev DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/rm DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/rmdir DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/run-parts DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/sed DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/setpriv DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/setserial DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/sh DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/slabtop DELETED
Binary file
data/bin/sleep DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/stat DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/stty DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/su DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/sync DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/tar DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/tload DELETED
Binary file
data/bin/touch DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/true DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/umount DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/uname DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/usleep DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox
data/bin/vmstat DELETED
Binary file
data/bin/w DELETED
Binary file
data/bin/watch DELETED
Binary file
data/bin/zcat DELETED
@@ -1 +0,0 @@
1
- bin/bin/busybox