skypager 2.1.2 → 2.1.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: 2b58af966708284b603f3b068b4ab53a189a26f0
4
- data.tar.gz: d6b27bfb6058d82621d9049ef13e8cbef4d307d4
3
+ metadata.gz: 94c154a8bda0bf80d4c7646f32c6cdec217ebb7a
4
+ data.tar.gz: d1f3ba950aa3d496d91abd7ca8ea764b9215b88e
5
5
  SHA512:
6
- metadata.gz: 2a0045b02510e64763469763600d4c5cc2b74abd714c60657a3cd40a9870caf282d01c47e1f62705126673492c4e23ba5424b87bc5c2a56df12a8a80ad0f787d
7
- data.tar.gz: 420e672d05b052513ce0bed3afd1e7a40eef7ac3247fc4abc696cadfcb2e7d4cc9670a988d08cad3810fb1f30f6c194f4821b69476464c429d2ba0facd533f8a
6
+ metadata.gz: d4018f3661eae1cf6579eff94394f6056323465955fec50b6a395b230eb6c3052915d42a7cc2625845f2d9eb5f846716d96be635a85d9f7ee89c02823806397a
7
+ data.tar.gz: cfc34a307af6449d5b7be691d25e850ec9b7d3d27475fc19bb0a0e8c6000d960099f6d0cc75dd0e507940e85cb3be49358f349177b9c95c29a2fea3df81f0c29
@@ -29,8 +29,6 @@ module Skypager
29
29
  path = normalize_path(request.path)
30
30
  file = build_path.join(path)
31
31
 
32
- binding.pry
33
-
34
32
  if file.exist?
35
33
  serve_file(file)
36
34
  else
@@ -1,3 +1,3 @@
1
1
  module Skypager
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
@@ -0,0 +1,8 @@
1
+ FROM octohost/middleman
2
+
3
+ RUN gem install datapimp skypager brief --no-rdoc --no-ri
4
+
5
+ RUN mkdir /srv/www
6
+
7
+ ADD default /etc/nginx/sites-available/default
8
+ ADD nginx.conf /etc/nginx/nginx.conf
@@ -0,0 +1,13 @@
1
+ server {
2
+ listen 80 default_server backlog=2048;
3
+
4
+ root /srv/www/build;
5
+ index index.html;
6
+
7
+ # Make site accessible from http://localhost/
8
+ server_name localhost;
9
+
10
+ location / {
11
+ try_files $uri $uri/ /index.html;
12
+ }
13
+ }
@@ -0,0 +1,29 @@
1
+ user www-data;
2
+ worker_processes 4;
3
+ pid /run/nginx.pid;
4
+
5
+ events {
6
+ worker_connections 2048;
7
+ multi_accept on;
8
+ use epoll;
9
+ }
10
+
11
+ http {
12
+ server_tokens off;
13
+ sendfile on;
14
+ tcp_nopush on;
15
+ tcp_nodelay on;
16
+ keepalive_timeout 15;
17
+ types_hash_max_size 2048;
18
+ include /etc/nginx/mime.types;
19
+ default_type application/octet-stream;
20
+ access_log off;
21
+ error_log off;
22
+ gzip on;
23
+ gzip_disable "msie6";
24
+ include /etc/nginx/conf.d/*.conf;
25
+ include /etc/nginx/sites-enabled/*;
26
+ open_file_cache max=100;
27
+ }
28
+
29
+ daemon off;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skypager
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Soeder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-22 00:00:00.000000000 Z
11
+ date: 2015-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie
@@ -235,6 +235,9 @@ files:
235
235
  - lib/skypager/site.rb
236
236
  - lib/skypager/tar.rb
237
237
  - lib/skypager/version.rb
238
+ - server/Dockerfile
239
+ - server/default
240
+ - server/nginx.conf
238
241
  - skypager.gemspec
239
242
  - spec/interface/protector_spec.rb
240
243
  - spec/spec_helper.rb