es-elasticity 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a71a1d59a0baa8af334a40cc3b38c8210b3e962e9daa0a899820bad2d1a2598e
4
- data.tar.gz: 2c7032d5508738f6588c252e126d5213453204359f2bf8cae242359c1a36e7ec
3
+ metadata.gz: 8c13e2b279bf48ef4d133c348954b1b8b19c07a9e3f8af7e539d3bf0e359f485
4
+ data.tar.gz: d9ca4629b1c2c091fb77cac05213b944ef4d877a845f3d6c8e606a37cfbc6fec
5
5
  SHA512:
6
- metadata.gz: 5892bd0e785358bf7d8bd9b3946d3c8561549aad4c95adde310412bddf340e06413db60aa2cd5ebcc725b7cef1bb946d677918de4d323d1b0ca2f4d6873a329e
7
- data.tar.gz: 53478a2feb259f44b52ab87738abbb670a292efa3782e9a41302f0a015e2a1c1d08b9e3fe73c0e67075f9d78f0daab17aa7ad0e37b4e91b8bf4945b4b0b86e1a
6
+ metadata.gz: 01d086f62d915982aeae1fa1135836f8442c6eb578ff8c6daa1bfcb8bd4d70b0e54647a38e3b8d22fac0a477afc6ff11cfcc832215acca5d93f8db4d70344065
7
+ data.tar.gz: 8df1713fd97df4ce332d48a72b6ae9e364a591cc17ca19f6e6a3c621157f595936c84122b8d515ccc18044e2f272da891e2ab22bce4445cc24c00cd112cb74c0
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.1] - 2022-08-16
10
+ ### Changed
11
+ - Revert the additional `frozen_string_literal` updates in 1.0.0 due to some issues with some classes. We'll update these in a separate release to isolate the problem.
12
+
9
13
  ## [1.0.0] - 2022-08-09
10
14
  ### Changed
11
15
  - Consistently use quotations
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- es-elasticity (1.0.0)
4
+ es-elasticity (1.0.1)
5
5
  activemodel (>= 5.2.0, < 7.1)
6
6
  activerecord (>= 5.2.0, < 7.1)
7
7
  activesupport (>= 5.2.0, < 7.1)
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class BaseDocument
5
3
  include ::ActiveModel::Model
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class Bulk
5
3
  def initialize(client)
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class Config
5
3
  def client=(client)
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class Document < BaseDocument
5
3
  IndexMapper.set_delegates(singleton_class, :mapper)
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class IndexConfig
5
3
  class SubclassError < StandardError; end
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class IndexMapper
5
3
  def self.set_delegates(obj, to)
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class InstrumentedClient
5
3
  INDICES_METHODS = %w(exists create delete get_settings get_mapping flush refresh get_alias get_aliases put_alias delete_alias exists_alias update_aliases)
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  require "active_support/subscriber"
4
2
  require "active_support/log_subscriber"
5
3
 
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class MultiSearch
5
3
  def initialize(msearch_args = {})
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class MultiSearchResponseParser
5
3
  class UnknownError < StandardError; end
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  require "elasticity/log_subscriber"
4
2
 
5
3
  module Elasticity
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  module Search
5
3
  def self.build(client, index_name, document_types, body, search_args = {})
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  class SegmentedDocument < BaseDocument
5
3
  # Creates a new segment which behaves almost the same as a Document class dynamically
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  module Strategies
5
3
  # This strategy keeps two aliases that might be mapped to the same index or different index, allowing
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  module Strategies
5
3
  class SingleIndex
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
2
  module Strategies
5
3
  class IndexError < StandardError
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Elasticity
4
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
5
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: es-elasticity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Kochenburger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-10 00:00:00.000000000 Z
11
+ date: 2022-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler