elasticsearch-model 6.1.1 → 6.1.2

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: 75f65b56d90c490e0f107c9f57883a91eedc3c1c25793951df233872892f1a01
4
- data.tar.gz: fe2cc84bbeb796de9b88f11f741f4822d6c3a4999bbaff5a54f40a339ff918a5
3
+ metadata.gz: b03831123fac4d5c82bed8ab8136476abd886d907d6a04b186c2de104c73d785
4
+ data.tar.gz: 1a54df7450657fc3c86340a4ec391b12d75ca782e8e75066c2cc3558c488f981
5
5
  SHA512:
6
- metadata.gz: a458e5ad312c67db37c7ff678c4bbfc19570202d72534a089a30818825fae380e06a40a419ec2f854838f0e924315a2d67f46ca9f966da91a264339c91f2be9f
7
- data.tar.gz: dba1a2b0c88ecaca8a5b408f4f6ae8757812ad522320ecfd1f823e679398c6e1c042bb35deec5a6cbe38b9043e6e50605558f07cd0c2d33fd9e4642e5786478e
6
+ metadata.gz: 1893f7a7eb133a07221107867a12edce4dce2b6fd0d1ef983f82ca0b09312a3b80a1ae6dfcede98d6471340310a1115dba1bb3f0eac13ff15ba2f95a06546b4d
7
+ data.tar.gz: 247f34bddbb52d4a6cdabf5b23b4691f6b95ed81018ee80731194916423ccc409fd1b47d20a3ea8c134d6eb6749fcbc6f62ebf7fa4378867d3b781c2872521bf
data/Rakefile CHANGED
@@ -14,13 +14,14 @@ namespace :bundle do
14
14
  desc 'Install dependencies for all the Gemfiles in /gemfiles. Optionally define env variable RAILS_VERSIONS. E.g. RAILS_VERSIONS=3.0,5.0'
15
15
  task :install do
16
16
  unless defined?(JRUBY_VERSION)
17
- puts '-'*80
17
+ puts '-' * 80
18
18
  gemfiles = ENV['RAILS_VERSIONS'] ? ENV['RAILS_VERSIONS'].split(',').map { |v| "#{v}.gemfile"} : GEMFILES
19
19
  gemfiles.each do |gemfile|
20
- Bundler.with_clean_env do
20
+ puts "GEMFILE: #{gemfile}"
21
+ Bundler.with_unbundled_env do
21
22
  sh "bundle install --gemfile #{File.expand_path('../gemfiles/'+gemfile, __FILE__)}"
22
23
  end
23
- puts '-'*80
24
+ puts '-' * 80
24
25
  end
25
26
  end
26
27
  end
@@ -36,6 +37,7 @@ namespace :test do
36
37
  gemfiles = ENV['RAILS_VERSIONS'] ? ENV['RAILS_VERSIONS'].split(',').map {|v| "#{v}.gemfile"} : GEMFILES
37
38
  puts '-' * 80
38
39
  gemfiles.each do |gemfile|
40
+ puts "GEMFILE: #{gemfile}"
39
41
  sh "BUNDLE_GEMFILE='#{File.expand_path("../gemfiles/#{gemfile}", __FILE__)}' " +
40
42
  " bundle exec rspec"
41
43
  puts '-' * 80
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module Model
3
- VERSION = '6.1.1'
3
+ VERSION = '6.1.2'
4
4
  end
5
5
  end
@@ -37,7 +37,8 @@ describe 'Elasticsearch::Model::Adapter::ActiveRecord Serialization' do
37
37
  context 'when a document is updated' do
38
38
 
39
39
  before do
40
- article.update_attributes(title: 'UPDATED', status: 'yellow')
40
+ article.update_attribute(:title, 'UPDATED')
41
+ article.update_attribute(:status, 'yellow')
41
42
  ArticleWithCustomSerialization.__elasticsearch__.refresh_index!
42
43
  end
43
44
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.1
4
+ version: 6.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karel Minarik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-19 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: elasticsearch
@@ -456,7 +456,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
456
456
  - !ruby/object:Gem::Version
457
457
  version: '0'
458
458
  requirements: []
459
- rubygems_version: 3.1.2
459
+ rubygems_version: 3.3.7
460
460
  signing_key:
461
461
  specification_version: 4
462
462
  summary: ActiveModel/Record integrations for Elasticsearch.