joy_ussd_engine 0.1.7 → 0.1.8
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 +1 -0
- data/lib/joy_ussd_engine/version.rb +1 -1
- metadata +2 -9
- data/pkg/joy_ussd_engine-0.1.1.gem +0 -0
- data/pkg/joy_ussd_engine-0.1.2.gem +0 -0
- data/pkg/joy_ussd_engine-0.1.3.gem +0 -0
- data/pkg/joy_ussd_engine-0.1.4.gem +0 -0
- data/pkg/joy_ussd_engine-0.1.5.gem +0 -0
- data/pkg/joy_ussd_engine-0.1.6.gem +0 -0
- data/pkg/joy_ussd_engine-0.1.7.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be9eefb4a12df8afda79befef8e0e53798ebf2a013205f82ceff655e29a9a84e
|
4
|
+
data.tar.gz: 39d08095974931300dc44efb3f443936feb69687daa58c012b813594a32468a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f287009e3b1933a18d0d8796d39f04e91b85b8bdca52385a40fc7d5596ebdc27953d5fb68561e8d535cbd1294e74bb292741c1df7b6be47f731db3b085f1e279
|
7
|
+
data.tar.gz: 1a5a8bfe5fc507d0235a358ab04b3dcba66178f81d35de3d7d50d6e3ebb056823c81ebbc682b1b65ff1bec7bd3de128b3060e9e03e00b9ad4e2b1b71f9be7d0b
|
data/Gemfile.lock
CHANGED
data/lib/joy_ussd_engine/menu.rb
CHANGED
@@ -106,6 +106,7 @@ module JoyUssdEngine
|
|
106
106
|
data = @context.get_state
|
107
107
|
@previous_client_state = @current_client_state
|
108
108
|
return if data[:"#{@field_name}"].present?
|
109
|
+
return @context.set_state({ClientState: state, PrevClientState: @previous_client_state}) if @field_name.blank?
|
109
110
|
# @context.set_state({"#{data[:field]}".to_sym => @context.params[:message]}) unless data[:field].blank?
|
110
111
|
@context.set_state({ClientState: state, PrevClientState: @previous_client_state , field: @field_name, field_error: @field_error, error_text: @error_text})
|
111
112
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Mantey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: will_paginate
|
@@ -99,13 +99,6 @@ 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.1.gem
|
103
|
-
- pkg/joy_ussd_engine-0.1.2.gem
|
104
|
-
- pkg/joy_ussd_engine-0.1.3.gem
|
105
|
-
- pkg/joy_ussd_engine-0.1.4.gem
|
106
|
-
- pkg/joy_ussd_engine-0.1.5.gem
|
107
|
-
- pkg/joy_ussd_engine-0.1.6.gem
|
108
|
-
- pkg/joy_ussd_engine-0.1.7.gem
|
109
102
|
- spec/joy_ussd_engine_spec.rb
|
110
103
|
- spec/joy_ussd_engine_transformer.spec
|
111
104
|
- spec/spec_helper.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|