amoniac 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/amoniac/data_controller.rb +1 -1
- data/config/routes.rb +1 -1
- data/lib/amoniac/engine.rb +1 -1
- data/lib/amoniac/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cb1362ccd01ae826e34b2578ce8e448b4a758b9155536fca9389dea685e176f
|
4
|
+
data.tar.gz: 7b87863684a410c870354718c836e0f4305c1cc1d6e8d36b8d6d401ec077c1dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f23ee5e7f3ee4cb918d88a2de3e1aceef8c9001e7f19446acb0a871925379c79869e6cd036d79c99888c39650b322421dc8bbcb0c02c2c4a81a4fc3e097fdae4
|
7
|
+
data.tar.gz: c4e3e8249be23344479e2ac167c7422df41dff55e57e36b919ae440afa313b0f8ad434647a52d749f719e9c146c323352ceb03c41501d7d46fe3b41b0522b857
|
@@ -3,7 +3,7 @@ require_dependency "amoniac/application_controller"
|
|
3
3
|
module Amoniac
|
4
4
|
class DataController < ApplicationController
|
5
5
|
def index
|
6
|
-
input =
|
6
|
+
input = params
|
7
7
|
output = Hash[input.map { |k, str| [k, str.reverse] }.to_h]
|
8
8
|
|
9
9
|
render json: output
|
data/config/routes.rb
CHANGED
data/lib/amoniac/engine.rb
CHANGED
data/lib/amoniac/version.rb
CHANGED