gaptool-server 0.4.11 → 0.4.12

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: 73580bf5be536cfbc940998372be1cdec0bf0f98
4
- data.tar.gz: 0e16e18b18ca8c9bee946c004c569dce1b7a5d22
3
+ metadata.gz: b38f539f54227691affa7abfb436f8b9887893fd
4
+ data.tar.gz: 5e7d911b6bba22aaa56dca63cb819febdb3d4750
5
5
  SHA512:
6
- metadata.gz: 4d97074fd6cd875aa1dc2d31d09bfbba36a330b244266246919ca0311148d6dfab7ae57d1039d9a0da9dd581d4846d0a3a310cd3e1583fc8208e32cc831ac811
7
- data.tar.gz: 1f96d959fb7b246afd441a06ab4e99c2e2b8f7ff68ba09dd4493e14f3510f14e8a359f49500d39b9afa435f063f5e6cb6da186393a3a0dce0a0789f677d0cfe5
6
+ metadata.gz: 4235d648eccc17926e38f80bab7d6093f29b26fea068b573fe97ca9a54471f200d4e4ec074baedaf1462df6d9146d9015b36541f5187673402f230b8648ba4ca
7
+ data.tar.gz: 2c7e8e580f5bd13bfc51fd480f7bcadb80f8da84836a01b9490c94295baf72d9994fc30b0d2fbe4e8ef6718b86c80815662c0eec7bef09004a779961906e0119
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.11
1
+ 0.4.12
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gaptool-server"
8
- s.version = "0.4.11"
8
+ s.version = "0.4.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matt Bailey", "Francesco Laurita"]
data/lib/routes/main.rb CHANGED
@@ -5,6 +5,10 @@ class GaptoolServer < Sinatra::Application
5
5
  "You must be lost. Read the instructions."
6
6
  end
7
7
 
8
+ get '/ping' do
9
+ "PONG"
10
+ end
11
+
8
12
  post '/redishash' do
9
13
  data = JSON.parse request.body.read
10
14
  redishash(data).to_json
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaptool-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Bailey