<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nickserver.git/test/unit/request_handler_test.rb, branch 0.10.0</title>
<subtitle>[nickserver] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/'/>
<entry>
<title>refactor: split up ResponseHandler</title>
<updated>2016-08-29T07:41:12+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-08-29T07:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=58d687f927aabc8aa2fdfc46132cb71706bdde46'/>
<id>58d687f927aabc8aa2fdfc46132cb71706bdde46</id>
<content type='text'>
Now we have a Dispatcher and two ResponseHandlers that have the same interface.

Moving towards a Chain of Responsibility pattern.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we have a Dispatcher and two ResponseHandlers that have the same interface.

Moving towards a Chain of Responsibility pattern.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: push down adapter dependency injection to sources</title>
<updated>2016-08-27T07:09:07+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-08-27T07:09:07+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=47343fad827ac2bef2ed7bc08768e4e58ac9a95f'/>
<id>47343fad827ac2bef2ed7bc08768e4e58ac9a95f</id>
<content type='text'>
The original idea was that we would have all the celluloid related things
injected in reel_server. However it seems unlikely that we will use a
different http system anytime soon.

Removing some layers of dependency injection to reduce complexity. We
can easily bring this back if we want.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The original idea was that we would have all the celluloid related things
injected in reel_server. However it seems unlikely that we will use a
different http system anytime soon.

Removing some layers of dependency injection to reduce complexity. We
can easily bring this back if we want.
</pre>
</div>
</content>
</entry>
<entry>
<title>[update] trying to silence warnings</title>
<updated>2016-08-26T15:47:16+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-08-26T15:47:16+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=85aff3a58343199b912da0eed9200976e1eacb17'/>
<id>85aff3a58343199b912da0eed9200976e1eacb17</id>
<content type='text'>
These warnings were showing on gitlab ci.

$ bundle exec rake test
/usr/local/bin/ruby -w -Ilib:test -I/builds/leap/nickserver/vendor/ruby/2.1.0/gems/rake-11.2.2/lib /builds/leap/nickserver/vendor/ruby/2.1.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb test/**/*_test.rb
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.12.5/lib/bundler/rubygems_integration.rb:468: warning: method redefined; discarding old find_spec_for_exe
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems.rb:261: warning: previous definition of find_spec_for_exe was here
I, [2016-08-26T15:34:46.162843 #325]  INFO -- : Celluloid 0.17.3 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
/builds/leap/nickserver/test/unit/request_handler_test.rb:28: warning: mismatched indentations at 'end' with 'def' at 21
/builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_protocols not initialized
/builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_select_cb not initialized
Run options: --seed 61653

# Running:

.................../builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_protocols not initialized
/builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_select_cb not initialized
.../builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_protocols not initialized
/builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_select_cb not initialized
.................

Finished in 2.029982s, 19.2120 runs/s, 10.8375 assertions/s.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These warnings were showing on gitlab ci.

$ bundle exec rake test
/usr/local/bin/ruby -w -Ilib:test -I/builds/leap/nickserver/vendor/ruby/2.1.0/gems/rake-11.2.2/lib /builds/leap/nickserver/vendor/ruby/2.1.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb test/**/*_test.rb
/usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.12.5/lib/bundler/rubygems_integration.rb:468: warning: method redefined; discarding old find_spec_for_exe
/usr/local/lib/ruby/site_ruby/2.1.0/rubygems.rb:261: warning: previous definition of find_spec_for_exe was here
I, [2016-08-26T15:34:46.162843 #325]  INFO -- : Celluloid 0.17.3 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
/builds/leap/nickserver/test/unit/request_handler_test.rb:28: warning: mismatched indentations at 'end' with 'def' at 21
/builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_protocols not initialized
/builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_select_cb not initialized
Run options: --seed 61653

# Running:

.................../builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_protocols not initialized
/builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_select_cb not initialized
.../builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_protocols not initialized
/builds/leap/nickserver/vendor/ruby/2.1.0/gems/celluloid-io-0.17.3/lib/celluloid/io/ssl_socket.rb:22: warning: instance variable @npn_select_cb not initialized
.................

Finished in 2.029982s, 19.2120 runs/s, 10.8375 assertions/s.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FEATURE] fetch key by fingerprint</title>
<updated>2016-07-13T18:35:55+00:00</updated>
<author>
<name>Zara Gebru</name>
<email>zgebru@thoughtworks.com</email>
</author>
<published>2016-07-13T18:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=59263baee9fc04524c8a69af1f7293fa4315d3ff'/>
<id>59263baee9fc04524c8a69af1f7293fa4315d3ff</id>
<content type='text'>
- add fingerprint unit tests
- add integration test
- implement by_fingerprint
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- add fingerprint unit tests
- add integration test
- implement by_fingerprint
</pre>
</div>
</content>
</entry>
<entry>
<title>[Test] get email form hkp</title>
<updated>2016-07-12T10:47:15+00:00</updated>
<author>
<name>Zara Gebru</name>
<email>zgebru@thoughtworks.com</email>
</author>
<published>2016-07-12T10:47:15+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=a96a8f552074e8a624f1420d2f58db4e90c3762c'/>
<id>a96a8f552074e8a624f1420d2f58db4e90c3762c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: turn EmailAddress into a class, cleanup</title>
<updated>2016-07-02T11:26:43+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-07-02T11:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=e81c1a8cf274a13903be00c74c975c0cb2c20995'/>
<id>e81c1a8cf274a13903be00c74c975c0cb2c20995</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: change send_response -&gt; respond in em_server</title>
<updated>2016-06-21T10:33:52+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-06-21T10:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=cd67dfac8f764140c47e0fba9304eba168c7a25b'/>
<id>cd67dfac8f764140c47e0fba9304eba168c7a25b</id>
<content type='text'>
This way the interface mimics the one of Celluloid Reels request.

request.respond status, content
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way the interface mimics the one of Celluloid Reels request.

request.respond status, content
</pre>
</div>
</content>
</entry>
<entry>
<title>seperate generic RequestHandler from EmServer</title>
<updated>2016-06-20T11:29:43+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-06-20T10:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=b185742d959a0a3854c5e628354a538a15bdea15'/>
<id>b185742d959a0a3854c5e628354a538a15bdea15</id>
<content type='text'>
The request handler takes a responder (the EmServer) and an adapter as initialization arguments.

It will then respond to requests by querying the sources using the adapter and calling send_response on the responder.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The request handler takes a responder (the EmServer) and an adapter as initialization arguments.

It will then respond to requests by querying the sources using the adapter and calling send_response on the responder.
</pre>
</div>
</content>
</entry>
</feed>
