<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nickserver.git/lib/nickserver/adapters, branch bugfix/400</title>
<subtitle>[nickserver] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/'/>
<entry>
<title>bugfix: use user:password@ prefix in http basic auth</title>
<updated>2016-12-02T10:36:02+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-02T10:36:02+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=65600992f5317ec8889428001313e36629b1e877'/>
<id>65600992f5317ec8889428001313e36629b1e877</id>
<content type='text'>
http.rb does not do this on its own.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http.rb does not do this on its own.
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup: old empty adapters and tests</title>
<updated>2016-12-02T10:31:20+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-12-02T10:31:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=396b34a52aa7594866fda090f1329827488e98bc'/>
<id>396b34a52aa7594866fda090f1329827488e98bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use plain http.rb rather than celluloid i/o</title>
<updated>2016-09-24T10:02:12+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-09-24T10:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=5a93f2d29c96e649440101f2d1ca28247631b59e'/>
<id>5a93f2d29c96e649440101f2d1ca28247631b59e</id>
<content type='text'>
Turns out http.rb does not support celluloid i/o andymore and we were not making
use of it anyway.

Here's what https://github.com/httprb/http/wiki/Thread-Safety says:
(NOTE: this gem previously supported Celluloid::IO, but that support was removed to add the current timeout backend. It may be added back in a future version)

So now we have a plain http.rb adapter and use that as the default.
This prevents actors from crashing in the adapter (as we don't have any).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out http.rb does not support celluloid i/o andymore and we were not making
use of it anyway.

Here's what https://github.com/httprb/http/wiki/Thread-Safety says:
(NOTE: this gem previously supported Celluloid::IO, but that support was removed to add the current timeout backend. It may be added back in a future version)

So now we have a plain http.rb adapter and use that as the default.
This prevents actors from crashing in the adapter (as we don't have any).
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: remove global require in test_helper</title>
<updated>2016-09-10T06:15:47+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-08-31T10:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=f18d698d09afda894a568de79c5770704a0c9de7'/>
<id>f18d698d09afda894a568de79c5770704a0c9de7</id>
<content type='text'>
require all the things we depend upon where we depend upon them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
require all the things we depend upon where we depend upon them.
</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>refactor: replace blocks/yields with returns</title>
<updated>2016-07-02T10:03:46+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-07-02T10:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=fb2d7e6f8f1fceefbc8964d34369a867eb8f25bb'/>
<id>fb2d7e6f8f1fceefbc8964d34369a867eb8f25bb</id>
<content type='text'>
This became possible because we now use celluloid.
Celluloid handles asynchronity without the need for callbacks
or blocks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This became possible because we now use celluloid.
Celluloid handles asynchronity without the need for callbacks
or blocks.
</pre>
</div>
</content>
</entry>
<entry>
<title>minor: silence warnings and cleanup</title>
<updated>2016-07-02T08:49:48+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-07-02T08:49:48+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=8a664a39bc3dd77a9c53fa5931f81c2b2b8b7295'/>
<id>8a664a39bc3dd77a9c53fa5931f81c2b2b8b7295</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use proper ssl connection with ca_file - green!</title>
<updated>2016-06-30T15:10:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-06-30T15:10:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=39697391452a1306e4aef3a5126bd2b9639b5936'/>
<id>39697391452a1306e4aef3a5126bd2b9639b5936</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>actually use celluloid io for http requests</title>
<updated>2016-06-30T11:47:40+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-06-30T11:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=fe9a23419f9a875a98fc05dc22e2ad6c5f6dbe3b'/>
<id>fe9a23419f9a875a98fc05dc22e2ad6c5f6dbe3b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trying to replace EM base server with reel</title>
<updated>2016-06-30T10:04:07+00:00</updated>
<author>
<name>Azul</name>
<email>azul@riseup.net</email>
</author>
<published>2016-06-30T09:23:45+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/nickserver.git/commit/?id=0491e79c4e5f16d38cf87e53290394e1eccfa2e9'/>
<id>0491e79c4e5f16d38cf87e53290394e1eccfa2e9</id>
<content type='text'>
some tests are still broken. But at least they are running now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
some tests are still broken. But at least they are running now.
</pre>
</div>
</content>
</entry>
</feed>
