reactionlab 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/reactionlab/client.rb +2 -2
- data/reactionlab.gemspec +3 -3
- 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: cf3f6826c7051b72d92b473240fce2a6864a6e56
|
4
|
+
data.tar.gz: ba79efb0019b3ab8428837a00bba7f4f1b71996e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58aedd87cbf7e6084b28a3b55937d067c3bea85e79ad6d9301f8e0931174d1b0c8f4e435b1a30d6d1353723f916723a93bec9358bf45c4f97565acf64012a699
|
7
|
+
data.tar.gz: 3f25c32105669db23eb720a6fb27b4423d8a43b71863664a51aa56d7b5214d315bd7e4d5647e78116d4f3b90db2944d0ce8ac29b5213d2c71901c058df04a2dd
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
data/lib/reactionlab/client.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
class ReactionLab::Client < Sinatra::Base
|
2
2
|
|
3
3
|
# This is user-defined
|
4
|
-
def handle(
|
4
|
+
def handle(internal_args, external_args)
|
5
5
|
{ message: 'hello' }
|
6
6
|
end
|
7
7
|
|
8
8
|
post '/' do
|
9
9
|
data = JSON.parse(request.body.read)
|
10
10
|
content_type :json
|
11
|
-
JSON.dump(handle(data))
|
11
|
+
JSON.dump(handle(data['InternalArgs'], data['ExternalArgs']))
|
12
12
|
end
|
13
13
|
|
14
14
|
end
|
data/reactionlab.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: reactionlab 0.0.
|
5
|
+
# stub: reactionlab 0.0.7 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "reactionlab"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.7"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["David Huie"]
|
14
|
-
s.date = "2014-09-
|
14
|
+
s.date = "2014-09-07"
|
15
15
|
s.description = "An experimental gem"
|
16
16
|
s.email = "dahuie@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reactionlab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Huie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|