reactionlab 0.0.9 → 0.0.10

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: e5eb7684027c043ec9e40ae4ce16e55db8c7d471
4
- data.tar.gz: f74933df949f13eba7a314c3970c8220cbe09a3c
3
+ metadata.gz: d808f510e0adf6f04c7c904142384f9c974f434a
4
+ data.tar.gz: d5915ab298ed40d3e76d0b962baf1d88205cca6c
5
5
  SHA512:
6
- metadata.gz: 11e926fcc14ed7b65c68130a54947984224929f86a091c2857fa8b098cf59ad3faf65441fccbdcd1af626662b80ff77f6b2812d998af8618f78673c5768ef0c8
7
- data.tar.gz: 486d181bca7fdd0ee4f762ad47ecc8e46372dc048d1100c16b5517ce958d2c73a0812b3dc9fe0fd4248d2b8baec76f07f0a02ecccf61cbecd68538976a19eb92
6
+ metadata.gz: cbea9f33298ce21cc48a132dd92966528340ed2d451f5d9bc006d240f44a3ae920a9966c291f609a72c441cb1520e3aa2ddb3d97fa39c869183bbafb76a07f7a
7
+ data.tar.gz: bb28ad5b8a321f0feffecfefa4d69190fab88aed871554d2b413965f74f86d043b83b164a270d5a32abbf226abf01a5ccc5c4f8c106d57cbff8e5e5b2c4c7128
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.1.2
1
+ ruby-2.1.5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.10
@@ -1,4 +1,4 @@
1
- class ReactionLab::Client < Sinatra::Base
1
+ class ReactionLab::Server < Sinatra::Base
2
2
 
3
3
  # This is user-defined
4
4
  def handle(internal_args, external_args)
@@ -10,13 +10,13 @@ class ReactionLab::Client < Sinatra::Base
10
10
  content_type :json
11
11
 
12
12
  internal_args = {}
13
- if data['InternalArgs']
14
- internal_args = JSON.parse(data['InternalArgs'])
13
+ if data['internal_args']
14
+ internal_args = JSON.parse(data['internal_args'])
15
15
  end
16
16
 
17
17
  external_args = {}
18
- if data['ExternalArgs']
19
- external_args = JSON.parse(data['ExternalArgs'])
18
+ if data['external_args']
19
+ external_args = JSON.parse(data['external_args'])
20
20
  end
21
21
 
22
22
  JSON.dump(handle(internal_args, external_args))
data/lib/reactionlab.rb CHANGED
@@ -3,4 +3,4 @@ require 'json'
3
3
 
4
4
  module ReactionLab; end
5
5
 
6
- require 'reactionlab/client'
6
+ require 'reactionlab/server'
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.9 ruby lib
5
+ # stub: reactionlab 0.0.10 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "reactionlab"
9
- s.version = "0.0.9"
9
+ s.version = "0.0.10"
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-07"
14
+ s.date = "2014-12-24"
15
15
  s.description = "An experimental gem"
16
16
  s.email = "dahuie@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -27,14 +27,14 @@ Gem::Specification.new do |s|
27
27
  "Rakefile",
28
28
  "VERSION",
29
29
  "lib/reactionlab.rb",
30
- "lib/reactionlab/client.rb",
30
+ "lib/reactionlab/server.rb",
31
31
  "reactionlab.gemspec",
32
32
  "spec/reactionlab_spec.rb",
33
33
  "spec/spec_helper.rb"
34
34
  ]
35
35
  s.homepage = "http://github.com/davidhuie/reactionlab-rb"
36
36
  s.licenses = ["MIT"]
37
- s.rubygems_version = "2.2.2"
37
+ s.rubygems_version = "2.4.3"
38
38
  s.summary = "An experimental gem"
39
39
 
40
40
  if s.respond_to? :specification_version then
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.9
4
+ version: 0.0.10
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-07 00:00:00.000000000 Z
11
+ date: 2014-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -96,7 +96,7 @@ files:
96
96
  - Rakefile
97
97
  - VERSION
98
98
  - lib/reactionlab.rb
99
- - lib/reactionlab/client.rb
99
+ - lib/reactionlab/server.rb
100
100
  - reactionlab.gemspec
101
101
  - spec/reactionlab_spec.rb
102
102
  - spec/spec_helper.rb
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.2.2
123
+ rubygems_version: 2.4.3
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: An experimental gem