http_store 0.6.0 → 0.6.2

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
  SHA256:
3
- metadata.gz: 3fc35f82b4c13ee6d7fa07fc1e4e6e94c64888ead6e5287baac7481d4b873cc3
4
- data.tar.gz: b6eb03d409312936461f71e0785194583d738baad2d7c175f69c589480e88ba0
3
+ metadata.gz: 51417dbde590057252ad4ee05aeb7229b8d8404ad363e1cc73ca55ff6e807713
4
+ data.tar.gz: 1c7b3672edb4fc7b59a41da5f12631dbf362aed17558892ccf8ac26ebfa4381d
5
5
  SHA512:
6
- metadata.gz: f1e33fd7b35fcd01a17f864137a43ff1f757083f5da10a9cbb7d841f98da584eba59ffb247e731040d084554f1bc562202544d38fd34d23fffeba534f2a6ccd5
7
- data.tar.gz: 54f1031493c66d8bdbb5c987c3100556698cdc9e3ea751d3b6826b5bfbc78443a51194e1d457262c0f709dea806450ea5fb5acfd2461c5b83a7e435a3d3c31e7
6
+ metadata.gz: 65fff5fd411e35bd9ea9e2696c5264eb74a558f30fb49c65ddcea499c9701fcb59cb13074c6a55def855c3fa1e5dfb0d77caee0f993383be275746531cbb4a5e
7
+ data.tar.gz: 29e554f5705231374c30a0d5907aa9f77d5effffa06685e5dc856820a2b51c90d7eb1646e8a8f8c65ffdcbc381b261cdecf898b4734c9e73353c6d38aef5efd0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- http_store (0.6.0)
4
+ http_store (0.6.2)
5
5
  activerecord
6
6
  hashie
7
7
  rails
@@ -0,0 +1,5 @@
1
+ class AddIndexToHttpLog < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_index :http_logs, :client_type
4
+ end
5
+ end
@@ -30,7 +30,7 @@ module HttpStore
30
30
  path: request.path,
31
31
  http_method: request.request_method,
32
32
  data: request.params,
33
- client_type: request.params.client_type,
33
+ client_type: request.params[:client_type],
34
34
  headers: request.headers.select { |k, _v| k.start_with? 'HTTP_' }.to_h,
35
35
  query_params: request.query_parameters,
36
36
  force: true,
@@ -1,3 +1,3 @@
1
1
  module HttpStore
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - black
@@ -141,8 +141,8 @@ files:
141
141
  - bin/setup
142
142
  - db/migrate/1_create_http_logs.rb
143
143
  - db/migrate/2_add_cache_response_field_to_http_log.rb
144
- - db/migrate/3_add_index_to_http_log.rb
145
144
  - db/migrate/3_add_retry_times_field_to_http_log.rb
145
+ - db/migrate/4_add_index_to_http_log.rb
146
146
  - http_store.gemspec
147
147
  - lib/generators/http_store/initializer_generator.rb
148
148
  - lib/http_store.rb
@@ -1,5 +0,0 @@
1
- class AddRetryTimesFieldToHttpLog < ActiveRecord::Migration[5.2]
2
- def change
3
- add_index :http_logs, :client_type
4
- end
5
- end