Skip to content

Commit 700f73a

Browse files
committed
Add missing license headers (#856)
1 parent 6613dd0 commit 700f73a

File tree

17 files changed

+64
-2
lines changed

17 files changed

+64
-2
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/indices/freeze.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
module Elasticsearch
26
module API
37
module Indices

elasticsearch-api/lib/elasticsearch/api/actions/indices/unfreeze.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
module Elasticsearch
26
module API
37
module Indices

elasticsearch-api/spec/elasticsearch/api/actions/indices/freeze_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
require 'spec_helper'
26

37
describe 'client.indices#freeze' do

elasticsearch-api/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
require 'spec_helper'
26

37
describe 'client.indices#unfreeze' do

elasticsearch-api/utils/thor/generator/endpoint_specifics.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# frozen_string_literal: true
2-
31
# Licensed to Elasticsearch B.V under one or more agreements.
42
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
53
# See the LICENSE file in the project root for more information

elasticsearch-api/utils/thor/generator/files_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
require 'pathname'
26

37
module Elasticsearch

elasticsearch-transport/spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
require 'elasticsearch'
26
require 'elasticsearch-transport'
37
require 'logger'

elasticsearch-xpack/spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
if defined?(JRUBY_VERSION)
26
require 'pry-nav'
37
else

elasticsearch-xpack/test/unit/machine_learning/delete_forecast_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
require 'test_helper'
26

37
module Elasticsearch

elasticsearch-xpack/test/unit/machine_learning/find_file_structure_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Licensed to Elasticsearch B.V under one or more agreements.
2+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+
# See the LICENSE file in the project root for more information
4+
15
require 'test_helper'
26

37
module Elasticsearch

0 commit comments

Comments
 (0)