antbird 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +42 -0
- data/README.md +6 -4
- data/antbird.gemspec +6 -7
- data/lib/antbird/client.rb +51 -9
- data/lib/antbird/rest_api/rest_api_v6_8.rb +2 -2
- data/lib/antbird/rest_api/rest_api_v7_1.rb +1 -1
- data/lib/antbird/rest_api/rest_api_v7_10.rb +1190 -0
- data/lib/antbird/rest_api/rest_api_v7_2.rb +1 -1
- data/lib/antbird/rest_api/rest_api_v7_3.rb +1 -1
- data/lib/antbird/rest_api/rest_api_v7_4.rb +1 -1
- data/lib/antbird/rest_api/rest_api_v7_5.rb +2 -2
- data/lib/antbird/rest_api/rest_api_v7_6.rb +1044 -0
- data/lib/antbird/rest_api/rest_api_v7_7.rb +1092 -0
- data/lib/antbird/rest_api/rest_api_v7_8.rb +1158 -0
- data/lib/antbird/rest_api/rest_api_v7_9.rb +1182 -0
- data/lib/antbird/version.rb +1 -1
- metadata +51 -41
- data/.travis.yml +0 -30
data/lib/antbird/version.rb
CHANGED
metadata
CHANGED
@@ -1,59 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: antbird
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fukayatsu
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '0.8'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
29
|
+
version: '0.8'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: faraday_middleware
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
39
|
+
version: '0.12'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.0'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
47
|
+
- - ">"
|
39
48
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
-
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
49
|
+
version: '0.12'
|
50
|
+
- - "<"
|
46
51
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
52
|
+
version: '2.0'
|
55
53
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
54
|
+
name: net-http-persistent
|
57
55
|
requirement: !ruby/object:Gem::Requirement
|
58
56
|
requirements:
|
59
57
|
- - ">="
|
@@ -67,47 +65,53 @@ dependencies:
|
|
67
65
|
- !ruby/object:Gem::Version
|
68
66
|
version: '0'
|
69
67
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
68
|
+
name: bundler
|
71
69
|
requirement: !ruby/object:Gem::Requirement
|
72
70
|
requirements:
|
73
|
-
- - "
|
71
|
+
- - ">"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1.16'
|
74
|
+
- - "<"
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: '3.0'
|
76
77
|
type: :development
|
77
78
|
prerelease: false
|
78
79
|
version_requirements: !ruby/object:Gem::Requirement
|
79
80
|
requirements:
|
80
|
-
- - "
|
81
|
+
- - ">"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.16'
|
84
|
+
- - "<"
|
81
85
|
- !ruby/object:Gem::Version
|
82
86
|
version: '3.0'
|
83
87
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
88
|
+
name: rake
|
85
89
|
requirement: !ruby/object:Gem::Requirement
|
86
90
|
requirements:
|
87
91
|
- - "~>"
|
88
92
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
93
|
+
version: '13.0'
|
90
94
|
type: :development
|
91
95
|
prerelease: false
|
92
96
|
version_requirements: !ruby/object:Gem::Requirement
|
93
97
|
requirements:
|
94
98
|
- - "~>"
|
95
99
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
100
|
+
version: '13.0'
|
97
101
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: rspec
|
102
|
+
name: rspec
|
99
103
|
requirement: !ruby/object:Gem::Requirement
|
100
104
|
requirements:
|
101
|
-
- - "
|
105
|
+
- - "~>"
|
102
106
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
107
|
+
version: '3.0'
|
104
108
|
type: :development
|
105
109
|
prerelease: false
|
106
110
|
version_requirements: !ruby/object:Gem::Requirement
|
107
111
|
requirements:
|
108
|
-
- - "
|
112
|
+
- - "~>"
|
109
113
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
114
|
+
version: '3.0'
|
111
115
|
- !ruby/object:Gem::Dependency
|
112
116
|
name: octokit
|
113
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,16 +140,17 @@ dependencies:
|
|
136
140
|
- - "~>"
|
137
141
|
- !ruby/object:Gem::Version
|
138
142
|
version: '3.0'
|
139
|
-
description:
|
143
|
+
description: Antbird is a yet another low level API client for the Elasticsearch HTTP
|
144
|
+
interface.
|
140
145
|
email:
|
141
146
|
- fukayatsu@gmail.com
|
142
147
|
executables: []
|
143
148
|
extensions: []
|
144
149
|
extra_rdoc_files: []
|
145
150
|
files:
|
151
|
+
- ".github/workflows/build.yml"
|
146
152
|
- ".gitignore"
|
147
153
|
- ".rspec"
|
148
|
-
- ".travis.yml"
|
149
154
|
- CODE_OF_CONDUCT.md
|
150
155
|
- Gemfile
|
151
156
|
- Guardfile
|
@@ -165,16 +170,21 @@ files:
|
|
165
170
|
- lib/antbird/rest_api/rest_api_v6_8.rb
|
166
171
|
- lib/antbird/rest_api/rest_api_v7_0.rb
|
167
172
|
- lib/antbird/rest_api/rest_api_v7_1.rb
|
173
|
+
- lib/antbird/rest_api/rest_api_v7_10.rb
|
168
174
|
- lib/antbird/rest_api/rest_api_v7_2.rb
|
169
175
|
- lib/antbird/rest_api/rest_api_v7_3.rb
|
170
176
|
- lib/antbird/rest_api/rest_api_v7_4.rb
|
171
177
|
- lib/antbird/rest_api/rest_api_v7_5.rb
|
178
|
+
- lib/antbird/rest_api/rest_api_v7_6.rb
|
179
|
+
- lib/antbird/rest_api/rest_api_v7_7.rb
|
180
|
+
- lib/antbird/rest_api/rest_api_v7_8.rb
|
181
|
+
- lib/antbird/rest_api/rest_api_v7_9.rb
|
172
182
|
- lib/antbird/version.rb
|
173
183
|
homepage: https://github.com/fukayatsu/antbird
|
174
184
|
licenses:
|
175
185
|
- MIT
|
176
186
|
metadata: {}
|
177
|
-
post_install_message:
|
187
|
+
post_install_message:
|
178
188
|
rdoc_options: []
|
179
189
|
require_paths:
|
180
190
|
- lib
|
@@ -189,8 +199,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
199
|
- !ruby/object:Gem::Version
|
190
200
|
version: '0'
|
191
201
|
requirements: []
|
192
|
-
rubygems_version: 3.
|
193
|
-
signing_key:
|
202
|
+
rubygems_version: 3.1.4
|
203
|
+
signing_key:
|
194
204
|
specification_version: 4
|
195
205
|
summary: Nearly auto-generated Elasticsearch client
|
196
206
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.6.5
|
5
|
-
env:
|
6
|
-
- ES_VERSION=7.5.0
|
7
|
-
- ES_VERSION=7.4.2
|
8
|
-
- ES_VERSION=7.3.2
|
9
|
-
- ES_VERSION=7.2.1
|
10
|
-
- ES_VERSION=7.1.1
|
11
|
-
- ES_VERSION=7.0.1
|
12
|
-
- ES_VERSION=6.8.5
|
13
|
-
- ES_VERSION=6.7.2
|
14
|
-
- ES_VERSION=6.6.2
|
15
|
-
- ES_VERSION=6.5.4
|
16
|
-
- ES_VERSION=6.4.3
|
17
|
-
|
18
|
-
before_install: gem install bundler -v 1.16.1
|
19
|
-
install:
|
20
|
-
- if [[ "${ES_VERSION:0:1}" = "7" ]]; then suffix='-linux-x86_64'; else suffix=''; fi
|
21
|
-
- download_url=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}${suffix}.tar.gz
|
22
|
-
- echo $download_url
|
23
|
-
- mkdir -p ./tmp
|
24
|
-
- curl $download_url | tar xzmp -C ./tmp
|
25
|
-
- ls ./tmp
|
26
|
-
- ./tmp/elasticsearch-${ES_VERSION}/bin/elasticsearch &
|
27
|
-
- bundle install
|
28
|
-
- wget --quiet --waitretry=1 --retry-connrefused --timeout=10 --output-document=- http://127.0.0.1:9200
|
29
|
-
|
30
|
-
script: bundle exec rspec
|