web-connect 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/netfira/web_connect/rack_app.rb +3 -0
- data/lib/netfira/web_connect/version.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 810c9f86338860a0ced0f39617ccc0a0b9cff27f
|
4
|
+
data.tar.gz: fdb92385501bde33487bb9ab8b340ce954083cc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73e97a19149d5dc6e05267a2625cbc5446b7313764280d98e3da3b7591a53f112a6041774fb204689dfc357a887b798aa58473a69f9babc75c8357286c059a59
|
7
|
+
data.tar.gz: f7a7bc98991f2a17cbffd0ad86e753d8a1c69a37600debe4bf314f9b537cbb2ef113a026e6a5b8f27e10230a8286aed11d9f066a06a39fa64e3eb46a74dad4fb
|
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'ostruct'
|
2
2
|
|
3
|
+
require_relative 'version'
|
4
|
+
|
3
5
|
module Netfira::WebConnect
|
4
6
|
class RackApp
|
5
7
|
def call(env)
|
@@ -38,6 +40,7 @@ module Netfira::WebConnect
|
|
38
40
|
[
|
39
41
|
status,
|
40
42
|
{
|
43
|
+
'X-Netfira-Version' => PLATFORM_AND_VERSION,
|
41
44
|
'Content-Type' => 'application/json',
|
42
45
|
'Content-Length' => body_string.length.to_s
|
43
46
|
}.merge(headers),
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil E. Pearson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
12
|
+
date: 2014-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|