context_logger 0.0.20 → 0.0.21

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: 11721f6e3545a9fe9d80bf63d60c4ae256e61c36
4
- data.tar.gz: 4a78fdd8506f97d2bd098dffd7f133ee4204d141
3
+ metadata.gz: a84c92632413564e63205b6169e064c2eaa39e8c
4
+ data.tar.gz: c9f26b3316522b07fb1aaee703295c80eb976b3a
5
5
  SHA512:
6
- metadata.gz: 9531f2ba0fbb5319c249787618a3f638492c7a6cabf2b9153366172d147ee75425ddf649db8d1763def1579cdc39c063c665f349631b5e73a39be8bf5eef4ea3
7
- data.tar.gz: 631c95cb7bfde949081a40e74f03e2f5d6415b3f3d8b886d3cb3936a223f67fb428c00782b14ca24b23df9835987a0083d93daa3fedf219232827b1247da82fa
6
+ metadata.gz: 46d13d88fe05987e73e8a25c31b079286bed1c6906c6dd81469dfc23f9f7a2dabaf1b6c1d9d16d3642de4489c382b4e230836e0963771c3230c7576fddc5654b
7
+ data.tar.gz: 58e0c1223c8a57bbab5145fe8b9937a3b81a7c6f12b63fa87a0fe0bacee5d53fcad5ebe1425a6721818c694ea6746e7d94407692bedef58cf02d162f3ff1c258
@@ -0,0 +1,9 @@
1
+ Rails.application.routes.draw do
2
+ namespace :api do
3
+ namespace :v1 do
4
+ namespace :resources do
5
+ resources :context_logger, only: [:index]
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,13 +1,13 @@
1
1
  module ContextLogger
2
2
  class Engine < ::Rails::Engine
3
- # isolate_namespace ContextLogger
4
- #
5
- # initializer :append_migrations do |app|
6
- # unless app.root.to_s.match root.to_s
7
- # config.paths['db/migrate'].expanded.each do |expanded_path|
8
- # app.config.paths['db/migrate'] << expanded_path
9
- # end
10
- # end
11
- # end
3
+ isolate_namespace ContextLogger
4
+
5
+ initializer :append_migrations do |app|
6
+ unless app.root.to_s.match root.to_s
7
+ config.paths['db/migrate'].expanded.each do |expanded_path|
8
+ app.config.paths['db/migrate'] << expanded_path
9
+ end
10
+ end
11
+ end
12
12
  end
13
13
  end
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.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Libster
@@ -16,6 +16,7 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
+ - app/config/routes.rb
19
20
  - app/controllers/api/v1/resources/context_logger_controller.rb
20
21
  - app/models/context_log.rb
21
22
  - db/migrate/20151112164817_create_context_logs.rb