da_funk 1.5.0 → 1.6.0

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: 23ef9a72bcd79debf9223f7d3976b4bcf3aa8f1a
4
- data.tar.gz: bf97be30cc53ef2b1da9a7ea9041464deebc976a
3
+ metadata.gz: b571fe70c3329983a13c4c57ecfb60f86b58b6a8
4
+ data.tar.gz: 3af0eeeca8b9704bf4efc48637cc38b171e4f794
5
5
  SHA512:
6
- metadata.gz: 179af93e10880bd56c5ed30c4df49b7797070db5a691c8e1b2a5c5545d5c1d5e8427e0bc575da7f58d3f1cc9724af6b1d792ade5e3a02f7873e9caa002f00cd2
7
- data.tar.gz: 172cee611f6a8c14c04d0dde48a61f895e3bd964aa30c8cf07cf63787543b285d551f454deacbcf20f49144ccfd98523c3555f476f2f73a5d94971a4c6e3a360
6
+ metadata.gz: 4b255d96110b17debd059af8e0aab5fc8051d6577dcb1a864952f7080abb95a766d974b3e51ca6a11f83150030ce863846b6a48557add1f4d4b32d805030fdab
7
+ data.tar.gz: 0e7c4fc01632c72d4e5bfc028d5148edebe569ebf0644698a59d500cd18931fcd3f6285e160985f932c085842249908cbc9f96bb0d5eb48f1d3fca0d91fee6b3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- da_funk (1.5.0)
4
+ da_funk (1.6.0)
5
5
  archive-zip (~> 0.5)
6
6
  bundler
7
7
  cloudwalk_handshake
@@ -12,14 +12,14 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- archive-zip (0.10.0)
15
+ archive-zip (0.11.0)
16
16
  io-like (~> 0.3.0)
17
17
  ast (2.3.0)
18
18
  cloudwalk (1.4.3)
19
19
  bundler
20
20
  rake
21
21
  cloudwalk_handshake (0.12.0)
22
- funky-emv (0.16.1)
22
+ funky-emv (0.16.2)
23
23
  funky-tlv (~> 0.2)
24
24
  funky-simplehttp (0.5.0)
25
25
  funky-tlv (0.2.3)
@@ -1,5 +1,10 @@
1
1
  # DaFunk
2
2
 
3
+ ### 1.6.0 - 2018-02-01
4
+
5
+ - Implement Notification#reply.
6
+ - Temporarily remove I18n require.
7
+
3
8
  ### 1.5.0 - 2018-01-24
4
9
 
5
10
  - Implement Network::configure to split Network::init in two parts, configure for the definition of the interface, and init it self the system call.
@@ -18,8 +18,8 @@ unless Object.const_defined?(:MTest)
18
18
  require file_path + "/da_funk/screen.rb"
19
19
  require file_path + "/da_funk/callback_flow.rb"
20
20
  require file_path + "/da_funk/screen_flow.rb"
21
- require file_path + "/da_funk/i18n_error.rb"
22
- require file_path + "/da_funk/i18n.rb"
21
+ #require file_path + "/da_funk/i18n_error.rb"
22
+ #require file_path + "/da_funk/i18n.rb"
23
23
  require file_path + "/da_funk/file_parameter.rb"
24
24
  require file_path + "/da_funk/helper/status_bar.rb"
25
25
  require file_path + "/da_funk/event_listener.rb"
@@ -17,7 +17,7 @@ module DaFunk
17
17
  if e.message == "invalid json"
18
18
  msg
19
19
  else
20
- raise
20
+ raise
21
21
  end
22
22
  end
23
23
 
@@ -22,6 +22,12 @@ module DaFunk
22
22
  values.shift # id
23
23
  @callback, *@parameters = values
24
24
  end
25
+
26
+ def reply
27
+ if id
28
+ {"type" => "pnconf","event" => "#{id}"}.to_json
29
+ end
30
+ end
25
31
  end
26
32
  end
27
33
 
@@ -1,4 +1,4 @@
1
1
  module DaFunk
2
- VERSION="1.5.0"
2
+ VERSION="1.6.0"
3
3
  end
4
4
 
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: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Scalone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-24 00:00:00.000000000 Z
11
+ date: 2018-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake