joy_ussd_engine 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/joy_ussd_engine/menu.rb +4 -4
- data/lib/joy_ussd_engine/version.rb +1 -1
- data/pkg/joy_ussd_engine-0.1.8.gem +0 -0
- data/pkg/joy_ussd_engine-0.1.9.gem +0 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ade8de5e760c7b722295f11d76e842bbcec0c0fb8bebddf011be1ca90bf7be2f
|
4
|
+
data.tar.gz: a6b4b4ff1caa34b30612fe60dd8fbc4bef81f32e4493bf872f45ba75ee7c104d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3c507ae3094f6da68393f5fa99bf0e32db83eb1c38926702a89a284378eae506629decdc9cdd50fe06a22bf9b91e7d968d4392cc20b311fe7fa60cfcb827111
|
7
|
+
data.tar.gz: 865bade511b0a484f4da15eb98b2076d9bcfdae40327b18c13ea183a0d4f70b4da7066e2424d154fb1c1a6ac660a2f3cb9840a975ba5cdc26e83ab2868a804c2
|
data/Gemfile.lock
CHANGED
data/lib/joy_ussd_engine/menu.rb
CHANGED
@@ -209,12 +209,12 @@ module JoyUssdEngine
|
|
209
209
|
def run
|
210
210
|
save_field_value
|
211
211
|
do_validation
|
212
|
-
before_show_menu
|
213
|
-
before_render
|
214
212
|
return render_menu_error[:data] if @menu_error
|
215
213
|
if allow_validation
|
216
214
|
return render_previous if @previous_menu.field_error
|
217
215
|
end
|
216
|
+
before_show_menu
|
217
|
+
before_render
|
218
218
|
response = render
|
219
219
|
response = response.blank? ? joy_response(@current_client_state) : response
|
220
220
|
after_render
|
@@ -226,12 +226,12 @@ module JoyUssdEngine
|
|
226
226
|
def execute
|
227
227
|
save_field_value
|
228
228
|
do_validation
|
229
|
-
before_show_menu
|
230
|
-
before_render
|
231
229
|
return render_menu_error[:data] if @menu_error
|
232
230
|
if allow_validation
|
233
231
|
return render_previous if @previous_menu.field_error
|
234
232
|
end
|
233
|
+
before_show_menu
|
234
|
+
before_render
|
235
235
|
response = render
|
236
236
|
response = response.blank? ? joy_response(@current_client_state) : response
|
237
237
|
after_render
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: joy_ussd_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Mantey
|
@@ -99,6 +99,8 @@ files:
|
|
99
99
|
- lib/joy_ussd_engine/paginate_menu.rb
|
100
100
|
- lib/joy_ussd_engine/session_manager.rb
|
101
101
|
- lib/joy_ussd_engine/version.rb
|
102
|
+
- pkg/joy_ussd_engine-0.1.8.gem
|
103
|
+
- pkg/joy_ussd_engine-0.1.9.gem
|
102
104
|
- spec/joy_ussd_engine_spec.rb
|
103
105
|
- spec/joy_ussd_engine_transformer.spec
|
104
106
|
- spec/spec_helper.rb
|