From c906aacd2c084dd34d84133872fef4bb36844df1 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 26 Apr 2021 15:30:26 +0100 Subject: [PATCH] License: Updates license header in missing files --- .../search/aggregations/significant_text.rb | 19 ++++++++++++++++--- lib/elasticsearch/dsl/search/collapse.rb | 19 ++++++++++++++++--- .../dsl/search/queries/inner_hits.rb | 19 ++++++++++++++++--- .../aggregations/significant_text_spec.rb | 19 ++++++++++++++++--- .../elasticsearch/dsl/search/collapse_spec.rb | 19 ++++++++++++++++--- .../dsl/search/queries/inner_hits_spec.rb | 19 ++++++++++++++++--- spec/elasticsearch/dsl/search_spec.rb | 19 ++++++++++++++++--- 7 files changed, 112 insertions(+), 21 deletions(-) diff --git a/lib/elasticsearch/dsl/search/aggregations/significant_text.rb b/lib/elasticsearch/dsl/search/aggregations/significant_text.rb index 7b9493a..7ca39c8 100644 --- a/lib/elasticsearch/dsl/search/aggregations/significant_text.rb +++ b/lib/elasticsearch/dsl/search/aggregations/significant_text.rb @@ -1,6 +1,19 @@ -# Licensed to Elasticsearch B.V under one or more agreements. -# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -# See the LICENSE file in the project root for more information +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. module Elasticsearch module DSL diff --git a/lib/elasticsearch/dsl/search/collapse.rb b/lib/elasticsearch/dsl/search/collapse.rb index b1d8b48..a55f8f2 100644 --- a/lib/elasticsearch/dsl/search/collapse.rb +++ b/lib/elasticsearch/dsl/search/collapse.rb @@ -1,6 +1,19 @@ -# Licensed to Elasticsearch B.V under one or more agreements. -# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -# See the LICENSE file in the project root for more information +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. module Elasticsearch module DSL diff --git a/lib/elasticsearch/dsl/search/queries/inner_hits.rb b/lib/elasticsearch/dsl/search/queries/inner_hits.rb index 5673851..c0ac470 100644 --- a/lib/elasticsearch/dsl/search/queries/inner_hits.rb +++ b/lib/elasticsearch/dsl/search/queries/inner_hits.rb @@ -1,6 +1,19 @@ -# Licensed to Elasticsearch B.V under one or more agreements. -# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -# See the LICENSE file in the project root for more information +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. module Elasticsearch module DSL diff --git a/spec/elasticsearch/dsl/search/aggregations/significant_text_spec.rb b/spec/elasticsearch/dsl/search/aggregations/significant_text_spec.rb index fd6b35a..c4dc383 100644 --- a/spec/elasticsearch/dsl/search/aggregations/significant_text_spec.rb +++ b/spec/elasticsearch/dsl/search/aggregations/significant_text_spec.rb @@ -1,6 +1,19 @@ -# Licensed to Elasticsearch B.V under one or more agreements. -# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -# See the LICENSE file in the project root for more information +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. require 'spec_helper' diff --git a/spec/elasticsearch/dsl/search/collapse_spec.rb b/spec/elasticsearch/dsl/search/collapse_spec.rb index 7bc7214..aee2943 100644 --- a/spec/elasticsearch/dsl/search/collapse_spec.rb +++ b/spec/elasticsearch/dsl/search/collapse_spec.rb @@ -1,6 +1,19 @@ -# Licensed to Elasticsearch B.V under one or more agreements. -# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -# See the LICENSE file in the project root for more information +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. require 'spec_helper' diff --git a/spec/elasticsearch/dsl/search/queries/inner_hits_spec.rb b/spec/elasticsearch/dsl/search/queries/inner_hits_spec.rb index 4a93b42..0f5fb8f 100644 --- a/spec/elasticsearch/dsl/search/queries/inner_hits_spec.rb +++ b/spec/elasticsearch/dsl/search/queries/inner_hits_spec.rb @@ -1,6 +1,19 @@ -# Licensed to Elasticsearch B.V under one or more agreements. -# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -# See the LICENSE file in the project root for more information +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. require 'spec_helper' diff --git a/spec/elasticsearch/dsl/search_spec.rb b/spec/elasticsearch/dsl/search_spec.rb index ba273f5..1b93836 100644 --- a/spec/elasticsearch/dsl/search_spec.rb +++ b/spec/elasticsearch/dsl/search_spec.rb @@ -1,6 +1,19 @@ -# Licensed to Elasticsearch B.V under one or more agreements. -# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -# See the LICENSE file in the project root for more information +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. require 'spec_helper'