nut 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7419defdf03e8850350d4cf2f8f5accb6c823ea
4
- data.tar.gz: d4b643813148542fa25319092cd89954e7425b84
3
+ metadata.gz: 145abb178bb9ee0b35aabeb0b5181e18e58589c4
4
+ data.tar.gz: e7bd39c8dff9b554bb0f79d9be65a47e57018ed4
5
5
  SHA512:
6
- metadata.gz: e334ae9088c2fb606326ae0cdd4073831a5c488ffdccf4eef8c1205fd9569c07e179336ad9fe37a1b2ce08442a3b735152f76aef4247df907482b90de0713df1
7
- data.tar.gz: 6665e5410b25ed63922ea6d2856bee44a2b662a34b194be086d4562419821eea9ce7df59ab7745c30487f1e335d9c4b692fe63521b817f7f49fa5dc339d46879
6
+ metadata.gz: e68e0c250475737ea1107ce49f7b0b1158497e12d09b5c80f124b2ec29161f086d76b519d6bdf9d5ed9243bd4f26c83c49e80eeccb087f302af8bd70480c4b90
7
+ data.tar.gz: 1776c163a5d1875d29ff48b78074f65f2245474d365bca39c685b0008916172b78bf7e173c9886567e6685ee448b4531a01256a768277880d5592628603de16d
data/README.md CHANGED
@@ -131,6 +131,8 @@ The available shortcuts are:
131
131
  * :json
132
132
  * :text
133
133
  * :html
134
+ * :css
135
+ * :js
134
136
 
135
137
  ```ruby
136
138
  # Request Handler Module
@@ -7,7 +7,9 @@ module Nut
7
7
  # Shortcut Symbols for Content-Types
8
8
  TYPE_SYMBOLS = {
9
9
  json: 'application/json',
10
+ js: 'application/javascript',
10
11
  text: 'text/plain',
11
- html: 'text/html'
12
+ html: 'text/html',
13
+ css: 'text/css'
12
14
  }
13
15
  end
data/lib/nut/version.rb CHANGED
@@ -5,5 +5,5 @@
5
5
  module Nut
6
6
 
7
7
  # Version
8
- VERSION = '1.2.3'
8
+ VERSION = '1.2.4'
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nut
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-24 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler