land 0.1.3 → 0.1.4

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: f1581c60af118cdf4c5e5176abfb178c30e3e37ecc5fe4f6d3a73bb839ff1725
4
- data.tar.gz: b1db6762f06f4d51e4b1aefe49c5ce5811559a6b4b498ec3cf7c9191974ce9be
3
+ metadata.gz: 34d6ad8989b2c294b8655cd059572208a80f04e9e2e84ebabcab9d0022a76dc5
4
+ data.tar.gz: 1445e576f9634aab25b40b40f78ca50c7181eb5549a7e00ce70146b824f0b650
5
5
  SHA512:
6
- metadata.gz: aa4a91ca848fec1ae0c83e72c0203571fa13941c3ef2c69d3352d962a2901b7e6844a2bab8afc2c81b27d2d094819027129fe95ea16e54fc0af8ea9ae1c69130
7
- data.tar.gz: 8598411cc72d6845dc7535ed35c8b4a08edd660650c5f33ab114a0a9389313da3950a2f3d6f7117bfca83359716f4c4a09b871d35fa9f7df306976fd8925377c
6
+ metadata.gz: 11184505e9326ab1a9a630570eb0dee642069124316718eee6885ccf53f15115b38593304c4b4ad5b80860d75fd8a1f59e9a8ca9a48b391cacd77218b3151fc6
7
+ data.tar.gz: 8b7650ef30e07d14786b1d6d485427519f73d0cbef7a83b0ff1fe54ba519bd681496a8c97400fa7c7eedcc32740278e43085aa521d645bc03f854913b2e90e77
@@ -30,6 +30,9 @@ class CreateLandSchema < ActiveRecord::Migration[5.0]
30
30
  def up
31
31
  execute "CREATE SCHEMA #{schema};"
32
32
 
33
+ conn = ActiveRecord::Base.connection
34
+ old_search_path = conn.schema_search_path
35
+
33
36
  with_options schema: schema do |t|
34
37
  # Query params
35
38
  t.create_lookup_tables(*QUERY_PARAMS.map(&:pluralize))
@@ -223,5 +226,7 @@ class CreateLandSchema < ActiveRecord::Migration[5.0]
223
226
  ORDER BY agg."avg response time (ms)" DESC
224
227
  ;
225
228
  SQL
229
+
230
+ conn.schema_search_path = old_search_path
226
231
  end
227
232
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Land
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: land
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Peterson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-13 00:00:00.000000000 Z
11
+ date: 2020-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord