guard-nginx 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 5b3a1cb4863c400c165ba7ee33df070a11b533699a4b7776246d11629edb3828
4
- data.tar.gz: 66af32f85a6b3c75ddfe317230534798f9879056d77a99e4faf11a017f60937d
3
+ metadata.gz: 5cd66b3a45c56a1a7c86807847234ff5cc6df13e67bf1c05da5a25ea37b28042
4
+ data.tar.gz: f12294afc9f745b56d11f469a9d8a434395cd929ba8a653dade1d663826466c7
5
5
  SHA512:
6
- metadata.gz: 617d6591cb44014734a76bd16e4205d769792d03c09b85dae6e166a80ea9b490f547edc9813bfd83bcf0c6b9b5ddfb308d8bac9a541c0734bcd7f057709972e3
7
- data.tar.gz: c37f39cfb97d6295ec81c1409f484009d535ab0b32d43d3566c8224bea2e0f69918e6f722ae179e8822244a6f6ed39acaae0b0695a3d9969bb7d16287000cb9e
6
+ metadata.gz: ee8bce58d843ff394c185f44470567b11ca29286b4c116b3fc7330409322b881d799c47c11ff4b37b1789a98a60dad4b36e7ca842fc888609741a56af2dc01f6
7
+ data.tar.gz: 95cabb694a32fc16deb8ad17b1a5d0621f12a39e66ba204af26c2a1d673ea50be6fcd189606b98905158c0f97f4957cd045631acc8b748e05362702e52d66215
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ guard-nginx-*.gem
@@ -5,7 +5,6 @@ require 'guard/nginx/config_processor'
5
5
  module ::Guard
6
6
  class Nginx < Plugin
7
7
  def initialize(options)
8
- @value = "Test"
9
8
  UI.info "hello path: #{Dir.pwd}"
10
9
  Dir.mkdir("#{tmp_path}/config") unless Dir.exist?("#{tmp_path}/config")
11
10
  super
@@ -7,6 +7,102 @@ events {
7
7
  }
8
8
 
9
9
  http {
10
+ types {
11
+ text/html html htm shtml;
12
+ text/css css;
13
+ text/xml xml;
14
+ image/gif gif;
15
+ image/jpeg jpeg jpg;
16
+ application/javascript js;
17
+ application/atom+xml atom;
18
+ application/rss+xml rss;
19
+
20
+ text/mathml mml;
21
+ text/plain txt;
22
+ text/vnd.sun.j2me.app-descriptor jad;
23
+ text/vnd.wap.wml wml;
24
+ text/x-component htc;
25
+
26
+ image/png png;
27
+ image/svg+xml svg svgz;
28
+ image/tiff tif tiff;
29
+ image/vnd.wap.wbmp wbmp;
30
+ image/webp webp;
31
+ image/x-icon ico;
32
+ image/x-jng jng;
33
+ image/x-ms-bmp bmp;
34
+
35
+ application/font-woff woff;
36
+ application/java-archive jar war ear;
37
+ application/json json;
38
+ application/mac-binhex40 hqx;
39
+ application/msword doc;
40
+ application/pdf pdf;
41
+ application/postscript ps eps ai;
42
+ application/rtf rtf;
43
+ application/vnd.apple.mpegurl m3u8;
44
+ application/vnd.google-earth.kml+xml kml;
45
+ application/vnd.google-earth.kmz kmz;
46
+ application/vnd.ms-excel xls;
47
+ application/vnd.ms-fontobject eot;
48
+ application/vnd.ms-powerpoint ppt;
49
+ application/vnd.oasis.opendocument.graphics odg;
50
+ application/vnd.oasis.opendocument.presentation odp;
51
+ application/vnd.oasis.opendocument.spreadsheet ods;
52
+ application/vnd.oasis.opendocument.text odt;
53
+ application/vnd.openxmlformats-officedocument.presentationml.presentation
54
+ pptx;
55
+ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
56
+ xlsx;
57
+ application/vnd.openxmlformats-officedocument.wordprocessingml.document
58
+ docx;
59
+ application/vnd.wap.wmlc wmlc;
60
+ application/x-7z-compressed 7z;
61
+ application/x-cocoa cco;
62
+ application/x-java-archive-diff jardiff;
63
+ application/x-java-jnlp-file jnlp;
64
+ application/x-makeself run;
65
+ application/x-perl pl pm;
66
+ application/x-pilot prc pdb;
67
+ application/x-rar-compressed rar;
68
+ application/x-redhat-package-manager rpm;
69
+ application/x-sea sea;
70
+ application/x-shockwave-flash swf;
71
+ application/x-stuffit sit;
72
+ application/x-tcl tcl tk;
73
+ application/x-x509-ca-cert der pem crt;
74
+ application/x-xpinstall xpi;
75
+ application/xhtml+xml xhtml;
76
+ application/xspf+xml xspf;
77
+ application/zip zip;
78
+
79
+ application/octet-stream bin exe dll;
80
+ application/octet-stream deb;
81
+ application/octet-stream dmg;
82
+ application/octet-stream iso img;
83
+ application/octet-stream msi msp msm;
84
+
85
+ audio/midi mid midi kar;
86
+ audio/mpeg mp3;
87
+ audio/ogg ogg;
88
+ audio/x-m4a m4a;
89
+ audio/x-realaudio ra;
90
+
91
+ video/3gpp 3gpp 3gp;
92
+ video/mp2t ts;
93
+ video/mp4 mp4;
94
+ video/mpeg mpeg mpg;
95
+ video/quicktime mov;
96
+ video/webm webm;
97
+ video/x-flv flv;
98
+ video/x-m4v m4v;
99
+ video/x-mng mng;
100
+ video/x-ms-asf asx asf;
101
+ video/x-ms-wmv wmv;
102
+ video/x-msvideo avi;
103
+ }
104
+
105
+
10
106
  upstream puma_guard_nginx {
11
107
  <%= "server unix:#{tmp_path}/sockets/puma.sock;" %>
12
108
  }
@@ -2,6 +2,6 @@ require 'guard/compat/plugin'
2
2
 
3
3
  module ::Guard
4
4
  class NginxVersion
5
- VERSION = "0.1.1".freeze
5
+ VERSION = "0.1.2".freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-nginx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederik Spang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-23 00:00:00.000000000 Z
11
+ date: 2018-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard-compat
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.7.6
114
+ rubygems_version: 2.7.7
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: A guard-plugin for running a local installation of nginx.