enigmamachine 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/enigmamachine.rb +3 -15
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/enigmamachine.rb
CHANGED
@@ -52,10 +52,10 @@ class EnigmaMachine < Sinatra::Base
|
|
52
52
|
use Rack::Session::Cookie
|
53
53
|
use Rack::Flash
|
54
54
|
|
55
|
+
# Starts the enigma encoding thread. The thread will be reabsorbed into the
|
56
|
+
# main Sinatra/thin thread once the periodic timer is added.
|
57
|
+
#
|
55
58
|
configure do
|
56
|
-
Log = Logger.new("enigma.log")
|
57
|
-
Log.level = Logger::INFO
|
58
|
-
Log.info("Logging started...")
|
59
59
|
Thread.new do
|
60
60
|
until EM.reactor_running?
|
61
61
|
sleep 1
|
@@ -236,15 +236,3 @@ class EnigmaMachine < Sinatra::Base
|
|
236
236
|
|
237
237
|
end
|
238
238
|
|
239
|
-
|
240
|
-
# Starts the enigma encoding thread. The thread will be reabsorbed into the
|
241
|
-
# main Sinatra/thin thread once the periodic timer is added.
|
242
|
-
#
|
243
|
-
#Thread.new do
|
244
|
-
# until EM.reactor_running?
|
245
|
-
# sleep 1
|
246
|
-
# end
|
247
|
-
# reset_encoding_videos
|
248
|
-
# queue = EncodingQueue.new
|
249
|
-
#end
|
250
|
-
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enigmamachine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- dave
|