context_logger 0.0.44 → 0.0.45

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjA0ODA0YWU3NTk2YTE0YjgxYzMxMTczMDZiY2MxY2Q4Yzg1OTUzZA==
4
+ NDU4M2FiYjEwNjcyMjM0NzRjZGE0MzAwMzJjNWQxM2U1ZWRiMzk3OQ==
5
5
  data.tar.gz: !binary |-
6
- N2RiOTFhOWZiZjM3OTY2YzA1ZTY2MmZhMTE5YzQ5NjhjYTRkN2U2Yw==
6
+ ZmM4MmM1ZjI0ZTRmZDg3OTJjMDk4MGExM2MxODUzMmJiOWY5MDRjYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODdlYjJhNWM4ODJjZTA5ZGEzNmRkN2NiMzE1MzdmYjYzNmUyMTY4MTcxNGZm
10
- NWFkMTEwNzY4ZTI5MmZiZjdiM2E1ODEzMjJmNDVjNzY3ZGVmMjNkYzA4MGMw
11
- MTc3MGQ5NmFkNDM1NjI5YzU1ZTcwNmViY2Y0ZGQ5NWM2ZjY2MDU=
9
+ MTcxNjdmYmIxNjg0MzNkZTNkODNkZjA4NGE1ZDg5ZmI0YTliYjU3NDMzM2E2
10
+ NWY5NTk5NDNiYzU3YmY0MmJjMjg2MzUwNGVmNzFjMDQ1MjY4MTQ3MDZhNTUx
11
+ ZmNhM2M3ZjA1MDk1N2IwZjBjNDRmNzM0NGNhNGFjNTg5MzQ0M2I=
12
12
  data.tar.gz: !binary |-
13
- ZGVjMDk3YTg2OWMxODhmYjNmN2QzZDI0MDYzYjNhY2VkYmQ0YjEwZWVhOTgy
14
- ZDcxM2ExMTU0NDUzNDcyYTY5MDA0ODhjNzJjMTYzYTU2MjI5ZmJiMjE4OTkz
15
- NjhjYWQwYTc0NDI0NTBkNmQwMTU5NDVmYmI0YzNiODFlMzM3NTE=
13
+ YTZjMzczM2I3MTNkMDEwMGU3MjRiYWE3MzYwYjQ4NWVhNGMyMGQyYjhmZDhj
14
+ YzI2ZGZmZjIzYjYyOGVkYjUxZTM2YzUxNjEzMGExZjhmYzYxYjVjMTcyMTYy
15
+ ZjUxYTBkYmUyNDIwMzc0MjVlNTI3YzAyNmM1NGFlYjFlYTFiNzc=
@@ -1,7 +1,7 @@
1
1
  module Api
2
2
  module V1
3
3
  module Resources
4
- class ContextLoggerController < ::ActionController::Base
4
+ class ContextLoggersController < ::ActionController::Base
5
5
  def index
6
6
  if params[:action_id].nil?
7
7
  render json: {error: 'Missing mandatory parameter action_id'}, :status => 400, layout: false
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'context_logger'
3
- s.version = '0.0.44'
3
+ s.version = '0.0.45'
4
4
  s.date = '2015-11-11'
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.44
4
+ version: 0.0.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Libster
@@ -20,7 +20,7 @@ files:
20
20
  - Gemfile
21
21
  - Gemfile.lock
22
22
  - README.md
23
- - app/controllers/api/v1/resources/context_logger_controller.rb
23
+ - app/controllers/api/v1/resources/context_loggers_controller.rb
24
24
  - app/models/context_log.rb
25
25
  - config/routes.rb
26
26
  - context_logger.gemspec
@@ -28,7 +28,6 @@ files:
28
28
  - lib/context_logger.rb
29
29
  - lib/context_logger/engine.rb
30
30
  - spec/context_log_stub.rb
31
- - spec/controllers/context_logger_spec.rb
32
31
  - spec/lib/context_logger_spec.rb
33
32
  - spec/logger_stub.rb
34
33
  - spec/rails_helper.rb
@@ -1,23 +0,0 @@
1
- # require 'spec_helper'
2
- # require 'rails/all'
3
- #
4
- # require 'rspec/rails'
5
- #
6
- # require './app/controllers/api/v1/resources/context_logger_controller.rb'
7
- #
8
- # describe Api::V1::Resources::ContextLoggerController do
9
- # let (:connection) { mock("connection") }
10
- # before(:each) do
11
- # ::ActiveRecord::Base.stub!(:connection).and_return(connection)
12
- # ConnectionPool.any_instance.stub(:retrieve_connection).and_return({lala: 1})
13
- # end
14
- #
15
- # context 'index' do
16
- # it 'ContextLoggerController' do
17
- # response_body = 'response_body'
18
- #
19
- # get :index
20
- # expect(response.body).to eq(response_body)
21
- # end
22
- # end
23
- # end