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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b03831123fac4d5c82bed8ab8136476abd886d907d6a04b186c2de104c73d785
|
4
|
+
data.tar.gz: 1a54df7450657fc3c86340a4ec391b12d75ca782e8e75066c2cc3558c488f981
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
@@ -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.
|
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.
|
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:
|
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.
|
459
|
+
rubygems_version: 3.3.7
|
460
460
|
signing_key:
|
461
461
|
specification_version: 4
|
462
462
|
summary: ActiveModel/Record integrations for Elasticsearch.
|