t2_airtime 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ module T2Airtime
17
17
  actualProductSent: data[:actual_product_sent],
18
18
  sms: data[:sms],
19
19
  smsSent: data[:sms_sent],
20
+ smsText: data[:sender_text],
20
21
  cid1: data[:cid1],
21
22
  cid2: data[:cid2],
22
23
  cid3: data[:cid3],
@@ -1,3 +1,3 @@
1
1
  module T2Airtime
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.4.1'.freeze
3
3
  end
@@ -1,167 +1,167 @@
1
- o: ActiveSupport::Cache::Entry: @value[�{: typeI"countries:ET:idi�:attributes{ : name"Afghanistan: alpha3I"AFG;T:callingCodeI"93;T:fetchedAtI"2017-09-17T10:45:30Z;T{;I"countries;T; i�;
2
- { ; " Albania; I"ALB;T;
3
- { ; " Algeria; I"DZA;T;
4
- { ; "American Samoa; I"ASM;T;
5
- { ; " Angola; I"AGO;T;
6
- { ; "
7
- { ; "Antigua and Barbuda; I"ATG;T;
8
- { ; "Argentina; I"ARG;T;
9
- { ; " Armenia; I"ARM;T;
10
- { ; "
11
- Aruba; I"ABW;T;
12
- { ; " Austria; I"AUT;T;
13
- { ; " Bahamas; I"BHS;T;
14
- { ; " Bahrain; I"BHR;T;
15
- { ; "Bangladesh; I"BGD;T;
16
- { ; "
17
- { ; " Belarus; I"BLR;T;
18
- { ; " Belgium; I"BEL;T;
19
- { ; " Belize; I"BLZ;T;
20
- { ; "
21
- Benin; I"BEN;T;
22
- { ; " Bermuda; I"BMU;T;
23
- { ; " Bolivia; I"BOL;T;
24
- { ; "
25
- { ; " Brazil; I"BRA;T;
26
- { ; "British Virgin Islands; I"VGB;T;
27
- { ; "Burkina Faso; I"BFA;T;
28
- { ; " Burundi; I"BDI;T;
29
- { ; "
30
- { ; "
31
- { ; " Canada; I"CAN;T;
32
- { ; "Cape Verde; I"CPV;T;
33
- { ; "Cayman Islands; I"CYM;T;
34
- { ; "Central African Republic; I"CAF;T;
35
- { ; "
36
- Chile; I"CHL;T;
37
- { ; "
38
- China; I"CHN;T;
39
- { ; "
40
- { ; "
41
- Congo; I"COG;T;
42
- { ; "Costa Rica; I"CRI;T;
43
- { ; " Cuba; I"CUB;T;
44
- { ; " Cyprus; I"CYP;T;
45
- { ; "%Democratic Republic of the Congo; I"COD;T;
46
- { ; "
47
- { ; "Dominican Republic; I"DOM;T;
48
- { ; " Ecuador; I"ECU;T;
49
- { ; "
50
- Egypt; I"EGY;T;
51
- { ; "El Salvador; I"SLV;T;
52
- { ; "
53
- { ; " Fiji; I"FJI;T;
54
- { ; " France; I"FRA;T;
55
- { ; "French Guiana; I"GUF;T;
56
- { ; " Gambia; I"GMB;T;
57
- { ; " Georgia; I"GEO;T;
58
- { ; " Germany; I"DEU;T;
59
- { ; "
60
- Ghana; I"GHA;T;
61
- { ; " Grenada; I"GRD;T;
62
- { ; "Guatemala; I"GTM;T;
63
- { ; " Guinea; I"GIN;T;
64
- { ; "Guinea Bissau; I"GNB;T;
65
- { ; " Guyana; I"GUY;T;
66
- { ; "
67
- Haiti; I"HTI;T;
68
- { ; "
69
- { ; "
70
- India; I"IND;T;
71
- { ; "Indonesia; I"IDN;T;
72
- { ; " Iraq; I"IRQ;T;
73
- { ; "
74
- Italy; I"ITA;T;
75
- { ; "Ivory Coast; I"CIV;T;
76
- { ; " Jamaica; I"JAM;T;
77
- { ; " Jordan; I"JOR;T;
1
+ o: ActiveSupport::Cache::Entry: @value[�{: typeI"countries:ET:idi�:attributes{ : name"Afghanistan: alpha3I"AFG;T:callingCodeI"93;T:fetchedAtI"2017-09-17T13:58:46Z;T{;I"countries;T; i�;
2
+ { ; " Albania; I"ALB;T;
3
+ { ; " Algeria; I"DZA;T;
4
+ { ; "American Samoa; I"ASM;T;
5
+ { ; " Angola; I"AGO;T;
6
+ { ; "
7
+ { ; "Antigua and Barbuda; I"ATG;T;
8
+ { ; "Argentina; I"ARG;T;
9
+ { ; " Armenia; I"ARM;T;
10
+ { ; "
11
+ Aruba; I"ABW;T;
12
+ { ; " Austria; I"AUT;T;
13
+ { ; " Bahamas; I"BHS;T;
14
+ { ; " Bahrain; I"BHR;T;
15
+ { ; "Bangladesh; I"BGD;T;
16
+ { ; "
17
+ { ; " Belarus; I"BLR;T;
18
+ { ; " Belgium; I"BEL;T;
19
+ { ; " Belize; I"BLZ;T;
20
+ { ; "
21
+ Benin; I"BEN;T;
22
+ { ; " Bermuda; I"BMU;T;
23
+ { ; " Bolivia; I"BOL;T;
24
+ { ; "
25
+ { ; " Brazil; I"BRA;T;
26
+ { ; "British Virgin Islands; I"VGB;T;
27
+ { ; "Burkina Faso; I"BFA;T;
28
+ { ; " Burundi; I"BDI;T;
29
+ { ; "
30
+ { ; "
31
+ { ; " Canada; I"CAN;T;
32
+ { ; "Cape Verde; I"CPV;T;
33
+ { ; "Cayman Islands; I"CYM;T;
34
+ { ; "Central African Republic; I"CAF;T;
35
+ { ; "
36
+ Chile; I"CHL;T;
37
+ { ; "
38
+ China; I"CHN;T;
39
+ { ; "
40
+ { ; "
41
+ Congo; I"COG;T;
42
+ { ; "Costa Rica; I"CRI;T;
43
+ { ; " Cuba; I"CUB;T;
44
+ { ; " Cyprus; I"CYP;T;
45
+ { ; "%Democratic Republic of the Congo; I"COD;T;
46
+ { ; "
47
+ { ; "Dominican Republic; I"DOM;T;
48
+ { ; " Ecuador; I"ECU;T;
49
+ { ; "
50
+ Egypt; I"EGY;T;
51
+ { ; "El Salvador; I"SLV;T;
52
+ { ; "
53
+ { ; " Fiji; I"FJI;T;
54
+ { ; " France; I"FRA;T;
55
+ { ; "French Guiana; I"GUF;T;
56
+ { ; " Gambia; I"GMB;T;
57
+ { ; " Georgia; I"GEO;T;
58
+ { ; " Germany; I"DEU;T;
59
+ { ; "
60
+ Ghana; I"GHA;T;
61
+ { ; " Grenada; I"GRD;T;
62
+ { ; "Guatemala; I"GTM;T;
63
+ { ; " Guinea; I"GIN;T;
64
+ { ; "Guinea Bissau; I"GNB;T;
65
+ { ; " Guyana; I"GUY;T;
66
+ { ; "
67
+ Haiti; I"HTI;T;
68
+ { ; "
69
+ { ; "
70
+ India; I"IND;T;
71
+ { ; "Indonesia; I"IDN;T;
72
+ { ; " Iraq; I"IRQ;T;
73
+ { ; "
74
+ Italy; I"ITA;T;
75
+ { ; "Ivory Coast; I"CIV;T;
76
+ { ; " Jamaica; I"JAM;T;
77
+ { ; " Jordan; I"JOR;T;
78
78
  ;
79
- { ; "Kazakhstan; I"KAZ;T;
80
- { ; "
81
- Kenya; I"KEN;T;
82
- { ; " Kuwait; I"KWT;T;
83
- { ; "Kyrgyzstan; I"KGZ;T;
84
- { ; " Laos; I"LAO;T;
85
- { ; " Lebanon; I"LBN;T;
86
- { ; " Liberia; I"LBR;T;
87
- { ; "Lithuania; I"LTU;T;
88
- { ; "Macedonia; I"MKD;T;
89
- { ; "Madagascar; I"MDG;T;
90
- { ; " Malawi; I"MWI;T;
91
- { ; "
92
- { ; " Mali; I"MLI;T;
93
- { ; "Martinique; I"MTQ;T;
94
- { ; " Mexico; I"MEX;T;
95
- { ; " Moldova; I"MDA;T;
96
- { ; "Montserrat; I"MSR;T;
97
- { ; " Morocco; I"MAR;T;
98
- { ; "Mozambique; I"MOZ;T;
99
- { ; " Myanmar; I"MMR;T;
100
- { ; " Namibia; I"NAM;T;
101
- { ; "
102
- Nauru; I"NRU;T;
103
- { ; "
104
- Nepal; I"NPL;T;
105
- { ; "Netherlands; I"NLD;T;
106
- { ; "Netherlands Antilles; I"ANT;T;
107
- { ; "Nicaragua; I"NIC;T;
108
- { ; "
109
- Niger; I"NER;T;
110
- { ; " Nigeria; I"NGA;T;
111
- { ; " Oman; I"OMN;T;
112
- { ; "
113
- { ; "Palestine; I"PSE;T;
114
- { ; " Panama; I"PAN;T;
115
- { ; "Papua New Guinea; I"PNG;T;
116
- { ; "
117
- { ; " Peru; I"PER;T;
118
- { ; "Philippines; I"PHL;T;
119
- { ; " Poland; I"POL;T;
120
- { ; "
121
- { ; "Puerto Rico; I"PRI;T;
122
- { ; "
123
- Qatar; I"QAT;T;
124
- { ; " Romania; I"ROU;T;
125
- { ; " Russia; I"RUS;T;
126
- { ; " Rwanda; I"RWA;T;
127
- { ; "
128
- Samoa; I"WSM;T;
129
- { ; "Saudi Arabia; I"SAU;T;
130
- { ; " Senegal; I"SEN;T;
131
- { ; "Serbia and Montenegro; I"SCG;T;
132
- { ; "Sierra Leone; I"SLE;T;
133
- { ; "Singapore; I"SGP;T;
134
- { ; "South Africa; I"ZAF;T;
135
- { ; "
136
- Spain; I"ESP;T;
137
- { ; "Sri Lanka; I"LKA;T;
138
- { ; "St Kitts and Nevis; I"KNA;T;
139
- { ; "
140
- { ; "St Vincent Grenadines; I"VCT;T;
141
- { ; "
142
- { ; "Swaziland; I"SWZ;T;
143
- { ; "Switzerland; I"CHE;T;
144
- { ; "Tajikistan; I"TJK;T;
145
- { ; "
146
- { ; "
147
- { ; " Togo; I"TGO;T;
148
- { ; "
149
- Tonga; I"TON;T;
150
- { ; "Trinidad and Tobago; I"TTO;T;
151
- { ; " Tunisia; I"TUN;T;
152
- { ; " Turkey; I"TUR;T;
153
- { ; "Turks and Caicos; I"TCA;T;
154
- { ; " Uganda; I"UGA;T;
155
- { ; " Ukraine; I"UKR;T;
156
- { ; "United Arab Emirates; I"ARE;T;
157
- { ; "United Kingdom; I"GBR;T;
158
- { ; "United States; I"USA;T;
159
- { ; " Uruguay; I"URY;T;
160
- { ; "Uzbekistan; I"UZB;T;
161
- { ; " Vanuatu; I"VUT;T;
162
- { ; " Vietnam; I"VNM;T;
163
- { ; "
164
- Yemen; I"YEM;T;
165
- { ; " Zambia; I"ZMB;T;
166
- { ; "
79
+ { ; "Kazakhstan; I"KAZ;T;
80
+ { ; "
81
+ Kenya; I"KEN;T;
82
+ { ; " Kuwait; I"KWT;T;
83
+ { ; "Kyrgyzstan; I"KGZ;T;
84
+ { ; " Laos; I"LAO;T;
85
+ { ; " Lebanon; I"LBN;T;
86
+ { ; " Liberia; I"LBR;T;
87
+ { ; "Lithuania; I"LTU;T;
88
+ { ; "Macedonia; I"MKD;T;
89
+ { ; "Madagascar; I"MDG;T;
90
+ { ; " Malawi; I"MWI;T;
91
+ { ; "
92
+ { ; " Mali; I"MLI;T;
93
+ { ; "Martinique; I"MTQ;T;
94
+ { ; " Mexico; I"MEX;T;
95
+ { ; " Moldova; I"MDA;T;
96
+ { ; "Montserrat; I"MSR;T;
97
+ { ; " Morocco; I"MAR;T;
98
+ { ; "Mozambique; I"MOZ;T;
99
+ { ; " Myanmar; I"MMR;T;
100
+ { ; " Namibia; I"NAM;T;
101
+ { ; "
102
+ Nauru; I"NRU;T;
103
+ { ; "
104
+ Nepal; I"NPL;T;
105
+ { ; "Netherlands; I"NLD;T;
106
+ { ; "Netherlands Antilles; I"ANT;T;
107
+ { ; "Nicaragua; I"NIC;T;
108
+ { ; "
109
+ Niger; I"NER;T;
110
+ { ; " Nigeria; I"NGA;T;
111
+ { ; " Oman; I"OMN;T;
112
+ { ; "
113
+ { ; "Palestine; I"PSE;T;
114
+ { ; " Panama; I"PAN;T;
115
+ { ; "Papua New Guinea; I"PNG;T;
116
+ { ; "
117
+ { ; " Peru; I"PER;T;
118
+ { ; "Philippines; I"PHL;T;
119
+ { ; " Poland; I"POL;T;
120
+ { ; "
121
+ { ; "Puerto Rico; I"PRI;T;
122
+ { ; "
123
+ Qatar; I"QAT;T;
124
+ { ; " Romania; I"ROU;T;
125
+ { ; " Russia; I"RUS;T;
126
+ { ; " Rwanda; I"RWA;T;
127
+ { ; "
128
+ Samoa; I"WSM;T;
129
+ { ; "Saudi Arabia; I"SAU;T;
130
+ { ; " Senegal; I"SEN;T;
131
+ { ; "Serbia and Montenegro; I"SCG;T;
132
+ { ; "Sierra Leone; I"SLE;T;
133
+ { ; "Singapore; I"SGP;T;
134
+ { ; "South Africa; I"ZAF;T;
135
+ { ; "
136
+ Spain; I"ESP;T;
137
+ { ; "Sri Lanka; I"LKA;T;
138
+ { ; "St Kitts and Nevis; I"KNA;T;
139
+ { ; "
140
+ { ; "St Vincent Grenadines; I"VCT;T;
141
+ { ; "
142
+ { ; "Swaziland; I"SWZ;T;
143
+ { ; "Switzerland; I"CHE;T;
144
+ { ; "Tajikistan; I"TJK;T;
145
+ { ; "
146
+ { ; "
147
+ { ; " Togo; I"TGO;T;
148
+ { ; "
149
+ Tonga; I"TON;T;
150
+ { ; "Trinidad and Tobago; I"TTO;T;
151
+ { ; " Tunisia; I"TUN;T;
152
+ { ; " Turkey; I"TUR;T;
153
+ { ; "Turks and Caicos; I"TCA;T;
154
+ { ; " Uganda; I"UGA;T;
155
+ { ; " Ukraine; I"UKR;T;
156
+ { ; "United Arab Emirates; I"ARE;T;
157
+ { ; "United Kingdom; I"GBR;T;
158
+ { ; "United States; I"USA;T;
159
+ { ; " Uruguay; I"URY;T;
160
+ { ; "Uzbekistan; I"UZB;T;
161
+ { ; " Vanuatu; I"VUT;T;
162
+ { ; " Vietnam; I"VNM;T;
163
+ { ; "
164
+ Yemen; I"YEM;T;
165
+ { ; " Zambia; I"ZMB;T;
166
+ { ; "
167
167
  3.6e3
@@ -0,0 +1,25 @@
1
+ o: ActiveSupport::Cache::Entry: @value[{ : typeI"
2
+ $1.00;T:localCurrency"USD:localCurrencySymbolI"$;T:
3
+ {; I"
4
+ $2.00;T; @ ;
5
+ {; I"
6
+ $3.00;T; @ ;
7
+ {; I"
8
+ $4.00;T; @ ;
9
+ ;
10
+ {; I"
11
+ $5.00;T; @ ;
12
+ {; I" $10.00;T; @ ;
13
+ 10.28;i�;@;@;i9 ;@;I"9https://operator-logo.transferto.com/logo-2361-1.png;T;I"2017-09-17T16:48:20Z;T;{;{;{;I"countries;T; i�;{;{;I"operators;T; i9 { ;I"
14
+ {; I" $15.00;T; @ ;
15
+ 15.41;i�;@;@;i9 ;@;I"9https://operator-logo.transferto.com/logo-2361-1.png;T;I"2017-09-17T16:48:20Z;T;{;{;{;I"countries;T; i�;{;{;I"operators;T; i9 { ;I"
16
+ {; I" $20.00;T; @ ;
17
+ 20.54;i�;@;@;i9 ;@;I"9https://operator-logo.transferto.com/logo-2361-1.png;T;I"2017-09-17T16:48:20Z;T;{;{;{;I"countries;T; i�;{;{;I"operators;T; i9 { ;I"
18
+ {; I" $25.00;T; @ ;
19
+ 25.67;i�;@;@;i9 ;@;I"9https://operator-logo.transferto.com/logo-2361-1.png;T;I"2017-09-17T16:48:20Z;T;{;{;{;I"countries;T; i�;{;{;I"operators;T; i9 { ;I"
20
+ {; I" $30.00;T; @ ;
21
+ {; I" $35.00;T; @ ;
22
+ 35.93;i�;@;@;i9 ;@;I"9https://operator-logo.transferto.com/logo-2361-1.png;T;I"2017-09-17T16:48:20Z;T;{;{;{;I"countries;T; i�;{;{;I"operators;T; i9 { ;I"
23
+ {; I" $40.00;T; @ ;
24
+ 41.06;i�;@;@;i9 ;@;I"9https://operator-logo.transferto.com/logo-2361-1.png;T;I"2017-09-17T16:48:20Z;T;{;{;{;I"countries;T; i�;{;{;I"operators;T; i9 :@created_atf1505666900.6125484:@expires_inf
25
+ 3.6e3
@@ -0,0 +1,2 @@
1
+ o: ActiveSupport::Cache::Entry: @value[{ : typeI"operators:ET:idi9 :attributes{ : name"Movicel Angola USD: logoI"9https://operator-logo.transferto.com/logo-2361-1.png;T:countryIdi�:countryName" Angola:countryAlpha3I"AGO;T:fetchedAtI"2017-09-17T16:44:08Z;T:relationships{: country{: data{;I"countries;T; i�:@created_atf1505666649.0306542:@expires_inf
2
+ 3.6e3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t2_airtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - matteolc
@@ -174,10 +174,13 @@ files:
174
174
  - spec/dummy/tmp/cache/4AF/760/products%2F715
175
175
  - spec/dummy/tmp/cache/4B0/790/products%2F734
176
176
  - spec/dummy/tmp/cache/4DE/490/products%2F1623
177
+ - spec/dummy/tmp/cache/4DE/4A0/products%2F2361
177
178
  - spec/dummy/tmp/cache/4E6/4F0/products%2F2099
178
179
  - spec/dummy/tmp/cache/51A/A70/operators%2F661
179
180
  - spec/dummy/tmp/cache/51B/A80/operators%2F662
180
181
  - spec/dummy/tmp/cache/51D/AA0/operators%2F664
182
+ - spec/dummy/tmp/cache/51F/AC0/operators%2F666
183
+ - spec/dummy/tmp/cache/632/7D0/msisdn%2F%2B628123456710
181
184
  - spec/dummy/tmp/cache/63A/8F0/msisdn%2F%2B393801524729
182
185
  - spec/dummy/tmp/cache/6A6/C80/msisdn%2F%2B39393801524729
183
186
  - spec/dummy/tmp/cache/769/350/accounts%2Fcurrency
@@ -187,10 +190,12 @@ files:
187
190
  - spec/dummy/tmp/cache/986/BE0/products%2F715%2Fserializer
188
191
  - spec/dummy/tmp/cache/987/CE0/products%2F734%2Fserializer
189
192
  - spec/dummy/tmp/cache/9B5/F40/products%2F1623%2Fserializer
193
+ - spec/dummy/tmp/cache/9B5/F50/products%2F2361%2Fserializer
190
194
  - spec/dummy/tmp/cache/9BD/620/products%2F2099%2Fserializer
191
195
  - spec/dummy/tmp/cache/9F1/5E0/operators%2F661%2Fserializer
192
196
  - spec/dummy/tmp/cache/9F2/6C0/operators%2F662%2Fserializer
193
197
  - spec/dummy/tmp/cache/9F4/880/operators%2F664%2Fserializer
198
+ - spec/dummy/tmp/cache/9F6/A40/operators%2F666%2Fserializer
194
199
  - spec/dummy/tmp/cache/C65/D70/transactions%2F584176053%2Fserializer
195
200
  - spec/dummy/tmp/caching-dev.txt
196
201
  - spec/dummy/tmp/restart.txt
@@ -254,15 +259,20 @@ test_files:
254
259
  - spec/dummy/tmp/cache/9BD/620/products%2F2099%2Fserializer
255
260
  - spec/dummy/tmp/cache/6A6/C80/msisdn%2F%2B39393801524729
256
261
  - spec/dummy/tmp/cache/63A/8F0/msisdn%2F%2B393801524729
262
+ - spec/dummy/tmp/cache/9F6/A40/operators%2F666%2Fserializer
257
263
  - spec/dummy/tmp/cache/987/CE0/products%2F734%2Fserializer
258
264
  - spec/dummy/tmp/cache/9F2/6C0/operators%2F662%2Fserializer
259
265
  - spec/dummy/tmp/cache/4AF/760/products%2F715
260
266
  - spec/dummy/tmp/cache/51A/A70/operators%2F661
267
+ - spec/dummy/tmp/cache/4DE/4A0/products%2F2361
261
268
  - spec/dummy/tmp/cache/4DE/490/products%2F1623
262
269
  - spec/dummy/tmp/cache/3DD/470/countries
263
270
  - spec/dummy/tmp/cache/9F1/5E0/operators%2F661%2Fserializer
264
271
  - spec/dummy/tmp/cache/78E/3C0/transactions%2F584176053
265
272
  - spec/dummy/tmp/cache/361/BB0/accounts
273
+ - spec/dummy/tmp/cache/51F/AC0/operators%2F666
274
+ - spec/dummy/tmp/cache/632/7D0/msisdn%2F%2B628123456710
275
+ - spec/dummy/tmp/cache/9B5/F50/products%2F2361%2Fserializer
266
276
  - spec/dummy/tmp/cache/9B5/F40/products%2F1623%2Fserializer
267
277
  - spec/dummy/tmp/cache/986/BE0/products%2F715%2Fserializer
268
278
  - spec/dummy/tmp/cache/769/350/accounts%2Fcurrency