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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c81866972798215d7e7aca5e5954895ee922383
4
- data.tar.gz: 697b46179f0e32b8f47e7c1a375e02f8c098fc16
3
+ metadata.gz: cf3f6826c7051b72d92b473240fce2a6864a6e56
4
+ data.tar.gz: ba79efb0019b3ab8428837a00bba7f4f1b71996e
5
5
  SHA512:
6
- metadata.gz: a54fb05256e0d7b4ef6b8cf83bf0ca31c62fd5eb3b1b27b8a818ccc3351e5c06a7e2fd4360ffa96d407088a527293218bb22e72e6f47e226a2ff58468a77fac1
7
- data.tar.gz: a43ffc02b72e745d3b50a9350b3354465a468141a51ddfcb96b61386e5cc00b552ecd5756de5a7fb6691261f22b9000c14eac7d8f621af1ec05e800dbe30d033
6
+ metadata.gz: 58aedd87cbf7e6084b28a3b55937d067c3bea85e79ad6d9301f8e0931174d1b0c8f4e435b1a30d6d1353723f916723a93bec9358bf45c4f97565acf64012a699
7
+ data.tar.gz: 3f25c32105669db23eb720a6fb27b4423d8a43b71863664a51aa56d7b5214d315bd7e4d5647e78116d4f3b90db2944d0ce8ac29b5213d2c71901c058df04a2dd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -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.6 ruby lib
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.6"
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-03"
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.6
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-03 00:00:00.000000000 Z
11
+ date: 2014-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra