mos-eisley 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df5d6441ddf658b086d3a5eee969188a5b4d9005
4
- data.tar.gz: 6ab0f0d46fdac2170dc1afb90379983ab88f652b
3
+ metadata.gz: b537a2e7627e6922e3796c2bd8d28d2f6fab2f8f
4
+ data.tar.gz: c6e97af433d6d21d85d2d5b2e50af1d27f2691f9
5
5
  SHA512:
6
- metadata.gz: a776bd3143822f5a03a85b5c5f54f0a3a3e36ccd3c06373df8e586485694bfe46c30b1149b3214b29d63df3d93f7e06c534c1e1f931f38fb5f83093e0381bfed
7
- data.tar.gz: b079b803d58453004bbaa4503c39565c1c359085bae3de908120b5ce67da13fa6fde0a1b67a8ce8a795e012f38d3a11cd3c0ea5f3d2e7702402032ef964f2afa
6
+ metadata.gz: 61dc0130ad335a21bbf8d1da0eedd965fc02aa238e08c4d7d968eccc63cc7c0bafca1f841d0791bef05a53c1524262a8afe03d02b02cbd18251592b6a74a2af1
7
+ data.tar.gz: 38ba1113a4f5b646a5406599c96acdf6006a0eefe2d6c601707a10b76f5ecc6bf55044258dd4557068177d4678b3c9df76f6a0fe44af07ba13cc76e7e7a7b7a3
@@ -12,11 +12,10 @@ module MosEisley
12
12
  configure do
13
13
  set :environment, :production
14
14
  c = Config.shared
15
- # set :public_folder, c.public_folder if c.public_folder
16
- # set :dump_errors, c.dump_errors
17
- # set :logging, c.logging
18
- enable :logging
19
- MosEisley::WebAPI.auth_test
15
+ set :dump_errors, c.dump_errors
16
+ set :logging, c.logging
17
+ WebAPI.auth_test
18
+ c.run_post_boot
20
19
  end
21
20
 
22
21
  before do
@@ -48,6 +48,15 @@ module MosEisley
48
48
  @bot_access_token = ''
49
49
  end
50
50
 
51
+ def set_post_boot(&block)
52
+ @post_boot_block = block
53
+ end
54
+
55
+ def run_post_boot
56
+ @post_boot_block.call if @post_boot_block
57
+ @post_boot_block = nil
58
+ end
59
+
51
60
  end
52
61
 
53
62
  end
@@ -1,5 +1,5 @@
1
1
  module MosEisley
2
2
 
3
- Version = '0.0.2'
3
+ Version = '0.0.3'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mos-eisley
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken J.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-20 00:00:00.000000000 Z
11
+ date: 2017-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kajiki