context_logger 0.0.53 → 0.0.54

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: 82f6e6577dcf3d27a9a5b7a0caf75e5cf2400239
4
- data.tar.gz: 5e8798958e0ab096849f0491285f871ae9b76aac
3
+ metadata.gz: 948df51513db5d83a70cde2a7395de2433889a3c
4
+ data.tar.gz: e5315995db0cfe5ef8dff2b02f36dcc580dfb56d
5
5
  SHA512:
6
- metadata.gz: cc063f86460bade597eb785fc746f3c6d16e8a7ca6503964da14d59f187bf59c61b2c71afc160e414fe75eeccae3ee00d354c7b6bad118bf035d75970c9c4e10
7
- data.tar.gz: 7d600c5120e5a03967087ad2f5363f1cc62fb4c12856c13aa43cefde373491cb4bcb60526b7de47052d7157321771612dce0c3878f140c7ef35a8a6a254aa774
6
+ metadata.gz: 0a35a9763934accd75b8f716350286cb4d8cf39cc0aa18dd6677c7db2c376669712c98c2309dff68b3c5e6ee8ecadaa8a940923c791aa537fc8244f2377eeccf
7
+ data.tar.gz: d95353bf2878f6febe9769a87a80f0fa52845017236cf02edce1586e558bb55ac66d03f611e5c79b807dca535f66068dee0d3ff738ff2e73ad38775add30773d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- context_logger (0.0.53)
4
+ context_logger (0.0.54)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,14 +1,14 @@
1
- module API
1
+ module Api
2
2
  module V1
3
3
  module Resources
4
4
  class ContextLoggersController < ::ActionController::Base
5
5
  def index
6
- if params[:action_id].nil?
7
- render json: {error: 'Missing mandatory parameter action_id'}, :status => 400, layout: false
8
- return
9
- end
10
- #TODO: add pagination
11
- render json: ::ContextLog.where(action_id: params[:action_id]).all, layout: false, :root => false
6
+ if params[:action_id].nil?
7
+ render json: {error: 'Missing mandatory parameter action_id'}, :status => 400, layout: false
8
+ return
9
+ end
10
+ #TODO: add pagination
11
+ render json: ::ContextLog.where(action_id: params[:action_id]).all, layout: false, :root => false
12
12
  end
13
13
  end
14
14
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'context_logger'
3
- s.version = '0.0.53'
3
+ s.version = '0.0.54'
4
4
  s.date = '2017-08-10'
5
5
  s.summary = 'Writes log by context'
6
6
  s.description = 'Writes log to db and log files (configurable destinations) according the context and exposes the log entries via http'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: context_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.53
4
+ version: 0.0.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Libster