thingfish 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile DELETED
@@ -1,2 +0,0 @@
1
- source "https://rubygems.org/"
2
- gemspec
@@ -1,27 +0,0 @@
1
- == v0.6.0 [2017-01-16] Mahlon E. Smith <mahlon@martini.nu>
2
-
3
- Housekeeping:
4
-
5
- - Bump Configurability dependency.
6
- - Migrate away from .rvmrc.
7
-
8
-
9
- == v0.5.1 [2016-11-14] Michael Granger <ged@FaerieMUD.org>
10
-
11
- Enhancements:
12
-
13
- - Add support for Strelka app discovery.
14
-
15
- Bugfixes:
16
-
17
- - Remove the processor daemon for now
18
- - Documentation fixes
19
-
20
-
21
- == v0.5.0 [2016-11-14] Michael Granger <ged@FaerieMUD.org>
22
-
23
- First public release.
24
-
25
-
26
-
27
-
@@ -1,41 +0,0 @@
1
- .simplecov
2
- ChangeLog
3
- Gemfile
4
- History.rdoc
5
- LICENSE
6
- Manifest.txt
7
- Procfile
8
- README.rdoc
9
- Rakefile
10
- bin/thingfish
11
- etc/mongrel2-config.rb
12
- etc/thingfish.conf.example
13
- lib/strelka/app/metadata.rb
14
- lib/strelka/apps.rb
15
- lib/strelka/httprequest/metadata.rb
16
- lib/thingfish.rb
17
- lib/thingfish/behaviors.rb
18
- lib/thingfish/datastore.rb
19
- lib/thingfish/datastore/memory.rb
20
- lib/thingfish/handler.rb
21
- lib/thingfish/metastore.rb
22
- lib/thingfish/metastore/memory.rb
23
- lib/thingfish/mixins.rb
24
- lib/thingfish/processor.rb
25
- lib/thingfish/processor/sha256.rb
26
- lib/thingfish/spechelpers.rb
27
- spec/data/APIC-1-image.mp3
28
- spec/data/APIC-2-images.mp3
29
- spec/data/PIC-1-image.mp3
30
- spec/data/PIC-2-images.mp3
31
- spec/helpers.rb
32
- spec/spec.opts
33
- spec/thingfish/datastore/memory_spec.rb
34
- spec/thingfish/datastore_spec.rb
35
- spec/thingfish/handler_spec.rb
36
- spec/thingfish/metastore/memory_spec.rb
37
- spec/thingfish/metastore_spec.rb
38
- spec/thingfish/mixins_spec.rb
39
- spec/thingfish/processor/sha256_spec.rb
40
- spec/thingfish/processor_spec.rb
41
- spec/thingfish_spec.rb
data/Procfile DELETED
@@ -1,4 +0,0 @@
1
- # Foreman procfile
2
- mongrel: m2sh.rb -c etc/mongrel2.sqlite start
3
- thingfish: ruby -Ilib:../Thingfish-Datastore-Filesystem/lib:../Mongrel2/lib bin/thingfish etc/thingfish.conf
4
-
@@ -1,57 +0,0 @@
1
- # -*- ruby -*-
2
- # vim: set nosta noet ts=4 sw=4:
3
- #encoding: utf-8
4
-
5
- #
6
- # This script generates a Mongrel2 configuration database suitable for
7
- # getting a Thingfish handler running.
8
- #
9
- # Load it with:
10
- #
11
- # $ m2sh.rb -c mongrel2.sqlite load examples/mongrel2-config.rb
12
- #
13
- # Afterwards, ensure the path to the mongrel2.sqlite file is in your
14
- # thingfish.conf:
15
- #
16
- # mongrel2:
17
- # configdb: /path/to/mongrel2.sqlite
18
- #
19
- # ... and start the mongrel2 daemon:
20
- #
21
- # $ mongrel2 /path/to/mongrel2.sqlite thingfish
22
- #
23
- # In production use, you'll likely want to mount the Thingfish handler
24
- # within the URI space of an existing Mongrel2 environment.
25
- #
26
-
27
- require 'mongrel2'
28
- require 'mongrel2/config/dsl'
29
-
30
- server 'thingfish' do
31
- name 'Thingfish'
32
- default_host 'localhost'
33
-
34
- access_log 'logs/access.log'
35
- error_log 'logs/error.log'
36
- chroot ''
37
- pid_file 'run/mongrel2.pid'
38
-
39
- bind_addr '0.0.0.0'
40
- port 3474
41
-
42
- xrequest '/usr/local/lib/mongrel2/filters/sendfile.so'
43
-
44
- host 'localhost' do
45
- route '/', handler( 'tcp://127.0.0.1:9900', 'thingfish' )
46
- end
47
- end
48
-
49
- setting 'zeromq.threads', 1
50
- setting 'limits.content_length', 250_000
51
- setting 'server.daemonize', false
52
- setting 'upload.temp_store', 'var/uploads/mongrel2.upload.XXXXXX'
53
-
54
- mkdir_p 'var/uploads'
55
- mkdir_p 'run'
56
- mkdir_p 'logs'
57
-
@@ -1,26 +0,0 @@
1
- ---
2
- logging:
3
- __default__: debug STDERR
4
- thingfish: info (color)
5
-
6
- # Thingfish specific configuration.
7
- #
8
- thingfish:
9
- datastore: memory
10
- metastore: memory
11
-
12
- # The path to the Mongrel2 config database.
13
- #
14
- mongrel2:
15
- configdb: example/mongrel2.sqlite
16
-
17
- # Strelka configuration knobs that influence Thingfish's handler.
18
- #
19
- app:
20
- devmode: false
21
- app_glob_pattern: '{apps,handlers}/**/*'
22
- local_data_dirs: data/*
23
- multipartparser:
24
- bufsize: 524288
25
- spooldir: /var/folders/1f/6ymhh79s0n3gjdw16fj7tp480000gp/T/strelka-mimeparts
26
-