da_funk 3.10.0 → 3.10.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59e7847769b09af85140f7f55b98de9d85b7635f
4
- data.tar.gz: d2ecbbee3123cbb88e9e87a5e8387e93b4a0908b
3
+ metadata.gz: 8867be71f4692d1a4964bf790b5027c173a722f4
4
+ data.tar.gz: 1cc8f8ac1809b985a40e3752cb3111b15ae0eb4f
5
5
  SHA512:
6
- metadata.gz: 523597cffdb33f4ecf7a1102ad8a6a9254eb10bc013335dadc9f45543cc38bdb3f4a25a1b236f75ce242e9335dd322ab55311bece1798f509493a0b5648eb7fd
7
- data.tar.gz: dc805e11363b1a3c2718bc047d4c22fc1e34d0438340fe69d273e69b0214a8215427bb0398c2dd6731755f8bd82652c57d47c4b9566faaa4453d9caa7b2c91a0
6
+ metadata.gz: 308ac819d8f1ba2424ebcc746f5831df86155b5cda4d33a829f9102663e751311598f9f3e32515f67dc6e3e202f2b494f467958a4b1aadbf2cf385157413638a
7
+ data.tar.gz: 29bd1b58810cdf37ffb96606b5fa0f9a79d15fa974fa8130c60b2f325f1839829a6371cff360a5674fc7337a38a1b3a8a8d81e43ec5df733fd049d90dab90a60
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- da_funk (3.10.0)
4
+ da_funk (3.10.1)
5
5
  archive-zip (~> 0.5)
6
6
  bundler
7
7
  cloudwalk_handshake
data/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # DaFunk
2
2
 
3
+ ### 3.10.1 - 2019-07-09
4
+
5
+ - Fix application set loop on PaymentChannel and System.
6
+
3
7
  ### 3.10.0 - 2019-07-08
4
8
 
5
9
  - Do not raise load error when cloudwalk_handshake doesn’t exists;
@@ -19,12 +19,14 @@ module DaFunk
19
19
  end
20
20
 
21
21
  def self.app=(application)
22
- @app = application
23
- # if Context::CommunicationChannel send application name thought threads
24
- if @client == Context::CommunicationChannel
25
- @client.app = application
26
- else
27
- Device::System.klass = application
22
+ if @app != application
23
+ @app = application
24
+ # if Context::CommunicationChannel send application name thought threads
25
+ if @client == Context::CommunicationChannel
26
+ @client.app = application
27
+ else
28
+ Device::System.klass = application
29
+ end
28
30
  end
29
31
  @app
30
32
  end
@@ -1,4 +1,4 @@
1
1
  module DaFunk
2
- VERSION="3.10.0"
2
+ VERSION="3.10.1"
3
3
  end
4
4
 
data/lib/device/system.rb CHANGED
@@ -58,8 +58,11 @@ class Device
58
58
  end
59
59
 
60
60
  def self.klass=(application_name)
61
- DaFunk::PaymentChannel.app = klass
62
- @klass=application_name
61
+ if @klass != application_name
62
+ DaFunk::PaymentChannel.app = application_name
63
+ @klass = application_name
64
+ end
65
+ @klass
63
66
  end
64
67
 
65
68
  def self.app
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: da_funk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.0
4
+ version: 3.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Scalone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-08 00:00:00.000000000 Z
11
+ date: 2019-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake