cloudwalk_handshake 1.2.3 → 1.2.4

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: f3825a5ad02777a9e7b30760e0e2931d97d24c1d
4
- data.tar.gz: 43b9221641c8a41bccc464b6efd7183db614e808
3
+ metadata.gz: 50a1e9c74d705d36e86cbb11b31fac2adf77e986
4
+ data.tar.gz: 26587294474324b98aeafcc6acf60d0600c35003
5
5
  SHA512:
6
- metadata.gz: 5c568120c60d04dc9b43a846c5017786129506602c3ed07e7a6acb4e3637547d56ed91e21bd8731df0269d7e679ed8b72cd91545f4727673c4916fd77f5044f1
7
- data.tar.gz: 2608d3357a8f2ccd66d71af4d20bbc26bab6631ab4bcb5834c92436836963c642c37439b818284596cf69798f86f6db9cb80fadf134d05eb0d0e4b1c4d2ed421
6
+ metadata.gz: 59ee5c815c40f64ce95e5940990bac6d05d1022604c8ab8c24dfe634f5310109fd8c0148414a54964ab6fda8c0c3893c758fa343c52058c1f2f9c934ee4b4c4c
7
+ data.tar.gz: 5e6c7f69703d0300857a38698d1797bb64fb0dc3940a6529dcb3c9ee76d019904dcad9d76612252b866fce92b1cfdcac2aea40f09c9d8331b0fbe8837354a9a1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudwalk_handshake (1.2.3)
4
+ cloudwalk_handshake (1.2.4)
5
5
  funky-simplehttp (~> 0.6)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,21 +1,7 @@
1
1
  # CloudWalk Handshake
2
2
 
3
- Implements
3
+ CloudWalk Handshake.
4
4
 
5
- - Base32 algorithm.
5
+ ## License
6
6
 
7
- - TOTP authentication.
8
-
9
- - CloudWalk handshake.
10
-
11
- ## Contributing
12
-
13
- 1. Fork it
14
- 2. Create your feature branch (`git checkout -b my-new-feature`)
15
- 3. Commit your changes (`git commit -am 'Added some feature'`)
16
- 4. Push to the branch (`git push origin my-new-feature`)
17
- 5. Create new Pull Request
18
-
19
- # License
20
-
21
- All rights reserved to CloudWalk LTDA.
7
+ All rights reserved to CloudWalk, Inc.
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "CloudWalk Handshake to perform transactions and content download"
13
13
  spec.homepage = "http://cloudwalk.io"
14
14
  spec.license = "MIT"
15
- spec.files = %w(.gitignore Gemfile Gemfile.lock RELEASE_NOTES.md README.md Rakefile cloudwalk_handshake.gemspec lib/version.rb out/cloudwalk_handshake/main.mrb)
15
+ spec.files = %w(.gitignore Gemfile Gemfile.lock README.md Rakefile cloudwalk_handshake.gemspec lib/version.rb out/cloudwalk_handshake/main.mrb)
16
16
  spec.extensions = []
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
@@ -1,6 +1,6 @@
1
1
 
2
2
  class CloudwalkHandshake
3
3
  def self.version
4
- "1.2.3"
4
+ "1.2.4"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwalk_handshake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
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-04-16 00:00:00.000000000 Z
11
+ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -63,7 +63,6 @@ files:
63
63
  - Gemfile
64
64
  - Gemfile.lock
65
65
  - README.md
66
- - RELEASE_NOTES.md
67
66
  - Rakefile
68
67
  - cloudwalk_handshake.gemspec
69
68
  - lib/version.rb
@@ -1,195 +0,0 @@
1
- # CloudWalk Handshake
2
-
3
- ### 1.2.3 - 2019-04-16
4
-
5
- - If infinitepay_host return body if received key unavailable.
6
-
7
- ### 1.2.2 - 2019-03-21
8
-
9
- - Bug fix add dependency funky-simplehttp on gemspec and avoid exception on gem use.
10
-
11
- ### 1.2.1 - 2019-03-14
12
-
13
- - Bug fix LogRegister handshake size log;
14
- - Refactoring MessageParser
15
- - Add 2 more NSU test scenarios;
16
- - Refactoring identification matching strings;
17
- - Support to return CwHttp and WebScoket handshake transaction information;
18
- - Rescue any exception on must use executions;
19
- - Bug fix JSON NSU extraction to bigger informations (16 bytes).
20
- - Rename LogRegiser nsu method to LogRegister::nsu;
21
- - Refactoring LogRegister debug messages;
22
- - Rescue LogRegister exceptions;
23
- - Refactoring log read/write strategy do not store open message size, store encrypted, and real, message size instead refactoring log read process to avoid double logging;
24
-
25
- ### 1.2.0 - 2019-03-13
26
-
27
- - Bug fix LogRegister sent size log information;
28
- - Rename LogRegister.cw_websocket_trasction_nsu to log_websocket_trasction_nsu and implement support to receive a buffer that could contain a NSU information;
29
- - Bug fix MessageParser::identify removing http verb match;
30
- - Support CwHttpSocket logging.
31
-
32
- ### 1.1.0 - 2019-03-12
33
-
34
- - Update cloudwalk (1.14.1);
35
- - Implement LogRegiser and MessageParser to log socket read/write operations.
36
-
37
- ### 1.0.0 - 2019-02-28
38
-
39
- - Implement CwMetadata to support request metadata, divide metadata in 2 levels, level 1 with all the values, and level 2 with only Media, Geo-Cell-Info, Signal and Battery;
40
- - Implement CwHttpSocket to support http transaction;
41
- - Support http host at SSL endpoint configuration to enable new ciphers;
42
- - Refactoring CwHttpSocket to support payment channel API;
43
- - Support to send transaction to infinitepay directly CwHttpSocket only, and configured by ParamsDat.file[“infinitepay_host”].
44
-
45
- ### 0.13.2 - 2018-09-10
46
-
47
- - Return nil if handshake ssl error at CloudwalkHandshake.
48
-
49
- ### 0.13.1 - 2018-08-29
50
-
51
- - Add rescue ssl exception on socket operation.
52
- - Add rescue tcp exception on socket operation.
53
- - Check if socket is created at handshake and ssl handshake.
54
-
55
- ### 0.13.0 - 2018-08-15
56
-
57
- - Implement UTC mode from params.dat to generate TOTP.
58
-
59
- ### 0.12.0 - 2018-01-04
60
-
61
- - Replace Device::Helper for DaFunk::Helper.
62
- - Update da_funk (1.0.0).
63
-
64
- ### 0.11.0 - 2017-11-08
65
-
66
- - Check if web socket exists to close or check response.
67
- - Change License to MIT.
68
-
69
- ### 0.10.0 - 2017-08-10
70
-
71
- - Log SSL exceptions.
72
-
73
- ### 0.9.0 - 2017-08-08
74
-
75
- - Add rescue for SSL exceptions.
76
- - Add cloudwalk gem.
77
-
78
- ### 0.8.0 - 2016-12-15
79
-
80
- - Bug fix message size of message greater than 126 bytes.
81
-
82
- ### 0.7.3 - 2016-11-26
83
-
84
- - Add bytes_available setter to CloudwalkSocket.
85
- - Refactoring format_message and PONG OPCODE to add mask key to it.
86
-
87
- ### 0.7.2 - 2016-11-26
88
-
89
- - Bug fix check if @socket exist in CloudwalkSocket#closed?
90
- - Raise error if socket is closed in CloudwalkSocket#read.
91
-
92
- ### 0.7.1 - 2016-11-18
93
-
94
- - CwWebSocket::Client#close set connected as false.
95
-
96
- ### 0.7.0 - 2016-11-18
97
-
98
- - Support Cloudwalk Websocket.
99
-
100
- ### 0.6.0 - 2016-09-02
101
-
102
- - On recv and recv_nonblock return empty if any byte available.
103
- - Implement signature on metadata handshake.
104
- - Replace DaFunk version by Device version on handshake.
105
- - Implement initialize for CloudwalkSocket and set bytes_available = 0 and buffer as empty string.
106
- - Implement internal read for CloudwalkSocket that read 4k bytes each time and store in buffer.
107
- - Update da_funk to version 0.7.3.
108
-
109
- ### 0.5.4 - 2016-02-17 - Socket.read return nil if socket closed
110
-
111
- - Change socket.”read” methods to return nil if socket closed.
112
- - Support to 3 handshake tries.
113
-
114
- ### 0.5.3 - 2016-02-16 - Add more information on metadata handshake
115
-
116
- - Add more information on metadata handshake.
117
-
118
- ### 0.5.2 - 2016-02-12 - Remove simplehttp dependecy
119
-
120
- - Remove simplehttp dependency.
121
-
122
- ### 0.5.1 - 2016-01-06 - CloudWalk Handshake Version 3.0.
123
-
124
- - CloudawlkSocket#write return the number of bytes
125
- sent.
126
- - Implement CloudawlkSocket#recv
127
- - Refactor Cloudwalk#read to be blocking.
128
- - Use to_big(16) instead to_i(16) on SNTP operations.
129
-
130
- ### 0.5.0 - 2016-01-06 - CloudWalk Handshake Version 3.0.
131
-
132
- - CloudWalk Handshake Version 3.0.
133
-
134
- ### 0.4.12 - 2015-12-16 - Send timezone to hwclock.
135
-
136
- - Send timezone to hwclock.
137
-
138
- ### 0.4.11 - 2015-12-10 - Update binary
139
-
140
- - Update cloudwalk_handshake binary.
141
-
142
- ### 0.4.10 - 2015-12-10 - CloudwalkSocket#bytes_available fix
143
-
144
- - Bug fix on CloudwalkSocket#bytes_available to only call the method to the socket if previous value was 0, so avoiding a second call if it returns a value. It used to have segfault if on the second call in some platforms.
145
-
146
- ### 0.4.9 - 2015-12-10 - CloudwalkSocket#read improvement
147
-
148
- - Implement CloudwalkSocket#recv_nonblock.
149
- - Turn CloudwalkSocket#read blocking checking if socket tcp has bytes to peek.
150
- - CloudwalkSocket#recv_nonblock and CloudwalkSocket#read returns empty if socket was closed.
151
-
152
- ### 0.4.8 - 2015-12-08 - Update da_funk version
153
-
154
- - Update da_funk to version 0.4.19.
155
- - Return 0 on Socket#write if buffer is nil or empty.
156
- - Clear timezone if a problem on TOTP authentication is returned.
157
- - Add debug false to not compile the code with debugs.
158
-
159
- ### 0.4.7 - 2015-12-04 - Refactoring
160
-
161
- - Refactoring CloudwalkTotp to not trust in Time#utc method.
162
-
163
- ### 0.4.6 - 2015-12-01 - Refactoring
164
-
165
- - Refactoring CloudwalkHandshake class.
166
- - Raise an exception on SNTP.get if `socket.read` don't work.
167
- - Update DaFunk to version 0.4.16.
168
-
169
- ### 0.4.5 - 2015-11-18 - Time.utc
170
-
171
- - Bug fix, change Time.utc strategy to avoid terminal UTC support, now UTC depeding on Setting configuration only.
172
-
173
- ### 0.4.4 - 2015-10-30 - Bug fixes
174
-
175
- - Bug fix, persist local timezone hour, instead of utc.
176
- - Fix error checking returned company name from switch. Supporting a lot of errors deriving from “err”, example “errhs” and “errsr”.
177
-
178
- ### 0.4.3 - 2015-09-29 - Update da_funk version
179
-
180
- - Update DaFunk to version 0.4.12.
181
-
182
- ### 0.4.2 - 2015-09-29 - License
183
-
184
- - Change lincense.
185
- - Add support to generate gem file to upload to rubygems.org.
186
-
187
- ### 0.4.1 - 2015-08-05 - Fix non ssl socket use
188
-
189
- - Fix non ssl socket use
190
-
191
- ### 0.4.0 - 2015-08-04 - Update Dafunk Version
192
-
193
- - Update DaFunk version to 0.4.9.
194
-
195
- ### 0.3.0 - 2015-08-04 - First stable Version