skull_island 2.2.2 → 2.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +15 -5
- data/Dockerfile +1 -1
- data/Gemfile.lock +21 -18
- data/README.md +22 -9
- data/lib/skull_island.rb +1 -1
- data/lib/skull_island/cli.rb +9 -3
- data/lib/skull_island/validations/resource.rb +1 -1
- data/lib/skull_island/version.rb +2 -2
- data/skull_island.gemspec +5 -4
- metadata +33 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 419919da7e326596bad5b119c90b63a067c01bbb7bd548b4278439cab7f9d58f
|
4
|
+
data.tar.gz: e256379f87a307d34ce9284ba53bc0c267f22d92d48ce1c4693cefb90efa860b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '055945efbdf0617d570e55a18872dc0698d839f416a8162eb58915970edadd8f1e41ab72c50d3bdb80420fed15cef94dd39bba7d60a4d8a30bab87ae4343f0e5'
|
7
|
+
data.tar.gz: 54d7e77bbc70420ff46af2968a1b7ed0e4ac742445642add8fff2e6531badbf4c3781d87b4c22b85b89a8368c98287baebb0b179944829ac8afbf338e85bf889
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -1,10 +1,20 @@
|
|
1
|
+
env:
|
2
|
+
global:
|
3
|
+
secure: X0rMm9ggYBmo9qLM7D5UYrEa1EpKQV+OzXsHKmHFnZteAlc4EUOsuT0EfYSP+zWUJVUjjSb69CYz70slYxnc8Ovoya/k790mve/aPiJCjq7CFXdZDyMALFttBshcVO5sAGhvkyvD/vtUMiaiZNEQheHJ6P3DnAOYCTEcFKxRfmauzYmFuIUuDZXKDfvIar1TgWguOxk52jXkks68n8iS0UzRyMTgrA0+VxCWpmzGAuuKATcYmt/vuSjeNY1DoLHPuhrhtDHtbL0U0qNkaFauzjr+p8GOcNGEh38sY/+rBLTIEoQifmtkvM0UjKkJJHYwG+5TiCKAtqeVtqyP1mNhDdbuQtprzuzt/AvFevcy2g1KsjEGXn4mklahyDsBWiCOGAmlik/HmUnTCfy1daJLajWcy6JLg6GcNxMzufPVWDe/ceWp6J3Wd7JVhJ96d7qo5hufTnOSpLr/vtVuZ3ZRaPfYHRxhardwaWA2szW1J7/rVKPJn1/jQ8xu3+9eqKJa7IT8sPIDBHAyFo+W5rLUMeicXRKAcVGeCO6rs/auGWnD2/xXO830T0GiYU6AohEeY/w5vBVvuKLbbJvHWH71EiPHTykAL0pIFOlCC4m7kxwsfA+GvYAboWxTdUNc53Vgz8/1lomRBqaf/q7c2lFjW4MIgfLGDxnzGbaf8cVEVDg=
|
1
4
|
language: ruby
|
2
5
|
cache: bundler
|
3
6
|
rvm:
|
4
|
-
-
|
5
|
-
- 2.
|
6
|
-
|
7
|
-
|
7
|
+
- 3.0
|
8
|
+
before_install: gem install bundler -v '~> 2.2'
|
9
|
+
before_script:
|
10
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
|
11
|
+
> ./cc-test-reporter
|
12
|
+
- chmod +x ./cc-test-reporter
|
13
|
+
- "./cc-test-reporter before-build"
|
14
|
+
after_script:
|
15
|
+
- "./cc-test-reporter format-coverage -t cobertura coverage/coverage.xml"
|
16
|
+
- "./cc-test-reporter upload-coverage"
|
17
|
+
- exit $TRAVIS_TEST_RESULT
|
8
18
|
deploy:
|
9
19
|
provider: rubygems
|
10
20
|
api_key:
|
@@ -12,5 +22,5 @@ deploy:
|
|
12
22
|
gem: skull_island
|
13
23
|
on:
|
14
24
|
tags: true
|
15
|
-
rvm:
|
25
|
+
rvm: 3.0
|
16
26
|
repo: jgnagy/skull_island
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
skull_island (2.
|
4
|
+
skull_island (2.3.4)
|
5
5
|
deepsort (~> 0.4)
|
6
6
|
erubi (~> 1.8)
|
7
|
-
json (~> 2.1)
|
8
7
|
linguistics (~> 2.1)
|
9
8
|
rest-client (~> 2.1)
|
10
9
|
thor (~> 1.0)
|
11
10
|
will_paginate (~> 3.1)
|
11
|
+
yajl-ruby (~> 1.4)
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
activesupport (5.2.4.
|
16
|
+
activesupport (5.2.4.5)
|
17
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
18
|
i18n (>= 0.7, < 2)
|
19
19
|
minitest (~> 5.1)
|
@@ -22,12 +22,11 @@ GEM
|
|
22
22
|
public_suffix (>= 2.0.2, < 5.0)
|
23
23
|
ast (2.4.2)
|
24
24
|
concurrent-ruby (1.1.8)
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
thor
|
25
|
+
coveralls_reborn (0.21.0)
|
26
|
+
simplecov (>= 0.18.1, < 0.22.0)
|
27
|
+
term-ansicolor (~> 1.6)
|
28
|
+
thor (>= 0.20.3, < 2.0)
|
29
|
+
tins (~> 1.16)
|
31
30
|
deepsort (0.4.5)
|
32
31
|
diff-lcs (1.4.4)
|
33
32
|
docile (1.3.5)
|
@@ -53,7 +52,7 @@ GEM
|
|
53
52
|
http-accept (1.7.0)
|
54
53
|
http-cookie (1.0.3)
|
55
54
|
domain_name (~> 0.5)
|
56
|
-
i18n (1.8.
|
55
|
+
i18n (1.8.9)
|
57
56
|
concurrent-ruby (~> 1.0)
|
58
57
|
json (2.5.1)
|
59
58
|
json_pure (2.5.1)
|
@@ -64,8 +63,8 @@ GEM
|
|
64
63
|
loggability (0.18.2)
|
65
64
|
mime-types (3.3.1)
|
66
65
|
mime-types-data (~> 3.2015)
|
67
|
-
mime-types-data (3.
|
68
|
-
minitest (5.14.
|
66
|
+
mime-types-data (3.2021.0225)
|
67
|
+
minitest (5.14.4)
|
69
68
|
multi_json (1.15.0)
|
70
69
|
multipart-post (2.1.1)
|
71
70
|
net-http-persistent (2.9.4)
|
@@ -80,7 +79,7 @@ GEM
|
|
80
79
|
websocket (~> 1.0)
|
81
80
|
rainbow (3.0.0)
|
82
81
|
rake (13.0.3)
|
83
|
-
regexp_parser (2.
|
82
|
+
regexp_parser (2.1.1)
|
84
83
|
rest-client (2.1.0)
|
85
84
|
http-accept (>= 1.7.0, < 2.0)
|
86
85
|
http-cookie (>= 1.0.2, < 2.0)
|
@@ -96,10 +95,10 @@ GEM
|
|
96
95
|
rspec-expectations (3.10.1)
|
97
96
|
diff-lcs (>= 1.2.0, < 2.0)
|
98
97
|
rspec-support (~> 3.10.0)
|
99
|
-
rspec-mocks (3.10.
|
98
|
+
rspec-mocks (3.10.2)
|
100
99
|
diff-lcs (>= 1.2.0, < 2.0)
|
101
100
|
rspec-support (~> 3.10.0)
|
102
|
-
rspec-support (3.10.
|
101
|
+
rspec-support (3.10.2)
|
103
102
|
rubocop (0.93.1)
|
104
103
|
parallel (~> 1.10)
|
105
104
|
parser (>= 2.7.1.5)
|
@@ -117,6 +116,8 @@ GEM
|
|
117
116
|
docile (~> 1.1)
|
118
117
|
simplecov-html (~> 0.11)
|
119
118
|
simplecov_json_formatter (~> 0.1)
|
119
|
+
simplecov-cobertura (1.4.2)
|
120
|
+
simplecov (~> 0.8)
|
120
121
|
simplecov-html (0.12.3)
|
121
122
|
simplecov_json_formatter (0.1.2)
|
122
123
|
sync (0.5.0)
|
@@ -142,6 +143,7 @@ GEM
|
|
142
143
|
unicode-display_width (1.7.0)
|
143
144
|
websocket (1.2.9)
|
144
145
|
will_paginate (3.3.0)
|
146
|
+
yajl-ruby (1.4.1)
|
145
147
|
yard (0.9.26)
|
146
148
|
|
147
149
|
PLATFORMS
|
@@ -149,14 +151,15 @@ PLATFORMS
|
|
149
151
|
|
150
152
|
DEPENDENCIES
|
151
153
|
bundler (~> 2.0)
|
152
|
-
|
154
|
+
coveralls_reborn (~> 0.20)
|
153
155
|
rake (~> 13.0)
|
154
156
|
rspec (~> 3.0)
|
155
157
|
rubocop (~> 0.50)
|
156
|
-
simplecov (~> 0.
|
158
|
+
simplecov (~> 0.21)
|
159
|
+
simplecov-cobertura (~> 1.3)
|
157
160
|
skull_island!
|
158
161
|
travis (~> 1.8)
|
159
162
|
yard (~> 0.9.20)
|
160
163
|
|
161
164
|
BUNDLED WITH
|
162
|
-
2.2.
|
165
|
+
2.2.11
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Skull Island
|
2
2
|
|
3
|
-
A full-featured SDK for [Kong](https://konghq.com/kong/) 2.
|
3
|
+
A full-featured SDK for [Kong](https://konghq.com/kong/) 2.3.x (with support 2.0.x, 2.1.x, and 2.2.x, and for migrating from 0.14.x, 1.1.x, 1.2.x, 1.4.x, and 1.5.x). Note that this is unofficial (meaning this project is in no way officially endorsed, recommended, or related to Kong [as a company](https://konghq.com/) or an [open-source project](https://github.com/Kong/kong)). It is also in no way related to the [pet toy company](https://www.kongcompany.com/) by the same name (but hopefully that was obvious).
|
4
4
|
|
5
5
|
![Gem](https://img.shields.io/gem/v/skull_island)
|
6
6
|
![Travis (.org)](https://img.shields.io/travis/jgnagy/skull_island)
|
@@ -21,7 +21,9 @@ skull_island help
|
|
21
21
|
|
22
22
|
### Ruby Gem Install / SDK
|
23
23
|
|
24
|
-
|
24
|
+
**Note:** Starting with 2.3.0, Skull Island only supports Ruby 3.0+. If you need to use Ruby 2.x, you'll need to use a gem version < 2.3.0. I'll maintain the 2.2.x line for Ruby 2.x compatibility for 2021.
|
25
|
+
|
26
|
+
To use the Skull Island gem, either:
|
25
27
|
|
26
28
|
```sh
|
27
29
|
gem install skull_island
|
@@ -30,7 +32,7 @@ gem install skull_island
|
|
30
32
|
Or add this to your Gemfile:
|
31
33
|
|
32
34
|
```ruby
|
33
|
-
gem 'skull_island', '~> 2.
|
35
|
+
gem 'skull_island', '~> 2.3'
|
34
36
|
```
|
35
37
|
|
36
38
|
Or add this to your .gemspec:
|
@@ -38,7 +40,7 @@ Or add this to your .gemspec:
|
|
38
40
|
```ruby
|
39
41
|
Gem::Specification.new do |spec|
|
40
42
|
# ...
|
41
|
-
spec.add_runtime_dependency 'skull_island', '~> 2.
|
43
|
+
spec.add_runtime_dependency 'skull_island', '~> 2.3'
|
42
44
|
# ...
|
43
45
|
end
|
44
46
|
```
|
@@ -54,6 +56,7 @@ Commands:
|
|
54
56
|
skull_island help [COMMAND] # Describe available commands or one specific command
|
55
57
|
skull_island import [OPTIONS] [INPUT|-] # Import a configuration from INPUT
|
56
58
|
skull_island migrate [OPTIONS] [INPUT|-] [OUTPUT|-] # Migrate an older config from INPUT to OUTPUT
|
59
|
+
skull_island render [INPUT|-] # Render out preprocessed YAML for troubleshooting
|
57
60
|
skull_island reset # Fully reset a gateway (removing all config)
|
58
61
|
skull_island version # Display the current installed version of skull_island
|
59
62
|
|
@@ -147,9 +150,19 @@ To use this functionality, either add the `project` key to your configuration fi
|
|
147
150
|
|
148
151
|
When using the `project` feature of Skull Island, the CLI tool will automatically clean up old resources no longer found in your config file. This is, in fact, the _only_ circumstance under which this tool actually removes resources. Use this feature with care, as it can delete large swaths of your configuration if used incorrectly. It is **critical** that this value is unique since this project functionality is used to delete resources.
|
149
152
|
|
153
|
+
#### Troubleshooting Import Failures
|
154
|
+
|
155
|
+
If you're having trouble importing some YAML -- especially if you've done a lot of templating or have a lot of embedded ruby in your template -- you can use the `render` command to just output the raw, preprocessed YAML that Skull Island would attempt to import:
|
156
|
+
|
157
|
+
```sh
|
158
|
+
skull_island render /path/to/some/template.yml
|
159
|
+
```
|
160
|
+
|
161
|
+
This is safe to do on your local machine since it doesn't connect to a gateway. It will leave `lookup` functions but otherwise will leave the YAML without embedded ruby. This can then be linted with any YAML linter to help discover YAML-related formatting issues, etc., that cause import issues.
|
162
|
+
|
150
163
|
### Migrating
|
151
164
|
|
152
|
-
With Skull Island, it is possible to migrate a configuration from a 0.14.x, 1.1.x, 1.2.x, 1.4.x, or 1.5.x gateway to the most recent compatible gateway. If you have a previous export, you can just run `skull_island migrate /path/to/export.yml` and you'll receive a 2.
|
165
|
+
With Skull Island, it is possible to migrate a configuration from a 0.14.x, 1.1.x, 1.2.x, 1.4.x, or 1.5.x gateway to the most recent compatible gateway. If you have a previous export, you can just run `skull_island migrate /path/to/export.yml` and you'll receive a 2.3 compatible config on standard out. If you'd prefer, you can have that config written to a file as well (just like the export command) like so:
|
153
166
|
|
154
167
|
```sh
|
155
168
|
skull_island migrate /path/to/export.yml /output/location/migrated.yml
|
@@ -159,7 +172,7 @@ While this hasn't been heavily tested for all possible use-cases, any configurat
|
|
159
172
|
|
160
173
|
If you don't have a previous export, you'll need to install an older version of this gem using something like `gem install --version '~> 0.14' skull_island`, then perform an `export`, then you can switch back to the latest version of the gem for migrating and importing.
|
161
174
|
|
162
|
-
While it would be possible to make migration _automatic_ for the `import` command, `skull_island` intentionally doesn't do this to avoid the appearance that the config is losslessly compatible across versions. In reality, the newer config version has additional features (like tagging) that are used heavily by skull_island. It makes sense to this author to maintain the migration component and the normal functionality as distinct features to encourage the use of the newer capabilities in 1.1 and beyond. That said, Skull Island does allow 1.x, 2.0.x, and 2.
|
175
|
+
While it would be possible to make migration _automatic_ for the `import` command, `skull_island` intentionally doesn't do this to avoid the appearance that the config is losslessly compatible across versions. In reality, the newer config version has additional features (like tagging) that are used heavily by skull_island. It makes sense to this author to maintain the migration component and the normal functionality as distinct features to encourage the use of the newer capabilities in 1.1 and beyond. That said, Skull Island does allow 1.x, 2.0.x, 2.1.x, and 2.2.x version configurations to be applied to 2.3 gateways, but not the opposite.
|
163
176
|
|
164
177
|
### Reset A Gateway
|
165
178
|
|
@@ -188,7 +201,7 @@ If you're wondering what version of `skull_island` is installed, use:
|
|
188
201
|
```sh
|
189
202
|
$ skull_island version
|
190
203
|
|
191
|
-
SkullIsland Version: 2.
|
204
|
+
SkullIsland Version: 2.3.0
|
192
205
|
```
|
193
206
|
|
194
207
|
### File Format
|
@@ -197,7 +210,7 @@ The import/export/migrate CLI functions produce YAML with support for embedded R
|
|
197
210
|
|
198
211
|
```yaml
|
199
212
|
---
|
200
|
-
version: '2.
|
213
|
+
version: '2.3'
|
201
214
|
project: FooV2
|
202
215
|
certificates: []
|
203
216
|
ca_certificates:
|
@@ -398,7 +411,7 @@ service.routes.size
|
|
398
411
|
# => 4
|
399
412
|
```
|
400
413
|
|
401
|
-
From here, the SDK mostly wraps the attributes described in the [Kong API Docs](https://docs.konghq.com/2.
|
414
|
+
From here, the SDK mostly wraps the attributes described in the [Kong API Docs](https://docs.konghq.com/2.3.x/admin-api/). For simplicity, I'll go over the resource types and attributes this SDK supports manipulating. Rely on the API documentation to determine which attributes are required and under which conditions.
|
402
415
|
|
403
416
|
#### CA Certificates
|
404
417
|
|
data/lib/skull_island.rb
CHANGED
@@ -9,7 +9,6 @@ Hash.include CoreExtensions::Hash::Pruning
|
|
9
9
|
# Standard Library Requirements
|
10
10
|
require 'date'
|
11
11
|
require 'digest'
|
12
|
-
require 'json'
|
13
12
|
require 'singleton'
|
14
13
|
require 'uri'
|
15
14
|
require 'yaml'
|
@@ -22,6 +21,7 @@ Linguistics.use(:en)
|
|
22
21
|
require 'rest-client'
|
23
22
|
require 'will_paginate'
|
24
23
|
require 'will_paginate/array'
|
24
|
+
require 'yajl/json_gem'
|
25
25
|
|
26
26
|
# Internal Requirements
|
27
27
|
require 'skull_island/version'
|
data/lib/skull_island/cli.rb
CHANGED
@@ -30,7 +30,7 @@ module SkullIsland
|
|
30
30
|
|
31
31
|
validate_server_version
|
32
32
|
|
33
|
-
output = { 'version' => '2.
|
33
|
+
output = { 'version' => '2.3' }
|
34
34
|
output['project'] = options['project'] if options['project']
|
35
35
|
|
36
36
|
[
|
@@ -132,6 +132,12 @@ module SkullIsland
|
|
132
132
|
].each { |clname| reset_class(clname, options['project']) }
|
133
133
|
end
|
134
134
|
|
135
|
+
desc('render [INPUT|-]', 'Render out preprocessed YAML for troubleshooting')
|
136
|
+
def render(input_file = '-')
|
137
|
+
raw ||= acquire_input(input_file, options['verbose'])
|
138
|
+
puts erb_preprocess(raw)
|
139
|
+
end
|
140
|
+
|
135
141
|
desc('version', 'Display the current installed version of skull_island')
|
136
142
|
def version
|
137
143
|
puts "SkullIsland Version: #{SkullIsland::VERSION}"
|
@@ -191,7 +197,7 @@ module SkullIsland
|
|
191
197
|
end
|
192
198
|
|
193
199
|
def validate_config_version(version)
|
194
|
-
if version && ['1.1', '1.2', '1.4', '1.5', '2.0', '2.1', '2.2'].include?(version)
|
200
|
+
if version && ['1.1', '1.2', '1.4', '1.5', '2.0', '2.1', '2.2', '2.3'].include?(version)
|
195
201
|
validate_server_version
|
196
202
|
elsif version && ['0.14', '1.0'].include?(version)
|
197
203
|
warn '[CRITICAL] Config version is too old. Try `migrate` instead of `import`.'
|
@@ -214,7 +220,7 @@ module SkullIsland
|
|
214
220
|
def validate_server_version
|
215
221
|
server_version = SkullIsland::APIClient.about_service['version']
|
216
222
|
case server_version
|
217
|
-
when /^2.[
|
223
|
+
when /^2.[123]/
|
218
224
|
true
|
219
225
|
when /^2.0/
|
220
226
|
warn "[WARN] Older server version #{server_version} detected! " \
|
@@ -16,7 +16,7 @@ module SkullIsland
|
|
16
16
|
# Ensure that required properties are set before saving
|
17
17
|
def validate_required_properties(data)
|
18
18
|
required_properties.each do |name, _value|
|
19
|
-
raise Exceptions::InvalidArguments if data[name.to_s].nil?
|
19
|
+
raise Exceptions::InvalidArguments, "Missing argument: #{name}" if data[name.to_s].nil?
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
data/lib/skull_island/version.rb
CHANGED
data/skull_island.gemspec
CHANGED
@@ -24,22 +24,23 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
|
-
spec.required_ruby_version = '~>
|
27
|
+
spec.required_ruby_version = '~> 3.0'
|
28
28
|
|
29
29
|
spec.add_runtime_dependency 'deepsort', '~> 0.4'
|
30
30
|
spec.add_runtime_dependency 'erubi', '~> 1.8'
|
31
|
-
spec.add_runtime_dependency 'json', '~> 2.1'
|
32
31
|
spec.add_runtime_dependency 'linguistics', '~> 2.1'
|
33
32
|
spec.add_runtime_dependency 'rest-client', '~> 2.1'
|
34
33
|
spec.add_runtime_dependency 'thor', '~> 1.0'
|
35
34
|
spec.add_runtime_dependency 'will_paginate', '~> 3.1'
|
35
|
+
spec.add_runtime_dependency 'yajl-ruby', '~> 1.4'
|
36
36
|
|
37
37
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
38
|
-
spec.add_development_dependency '
|
38
|
+
spec.add_development_dependency 'coveralls_reborn', '~> 0.20'
|
39
39
|
spec.add_development_dependency 'rake', '~> 13.0'
|
40
40
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
41
41
|
spec.add_development_dependency 'rubocop', '~> 0.50'
|
42
|
-
spec.add_development_dependency 'simplecov', '~> 0.
|
42
|
+
spec.add_development_dependency 'simplecov', '~> 0.21'
|
43
|
+
spec.add_development_dependency 'simplecov-cobertura', '~> 1.3'
|
43
44
|
spec.add_development_dependency 'travis', '~> 1.8'
|
44
45
|
spec.add_development_dependency 'yard', '~> 0.9.20'
|
45
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skull_island
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Gnagy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deepsort
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: linguistics
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rest-client
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
@@ -67,47 +67,47 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: thor
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: will_paginate
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1
|
89
|
+
version: '3.1'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1
|
96
|
+
version: '3.1'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: yajl-ruby
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '1.4'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '1.4'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,19 +123,19 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '2.0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: coveralls_reborn
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0.
|
131
|
+
version: '0.20'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0.
|
138
|
+
version: '0.20'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rake
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +184,28 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '0.
|
187
|
+
version: '0.21'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0.21'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: simplecov-cobertura
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '1.3'
|
188
202
|
type: :development
|
189
203
|
prerelease: false
|
190
204
|
version_requirements: !ruby/object:Gem::Requirement
|
191
205
|
requirements:
|
192
206
|
- - "~>"
|
193
207
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
208
|
+
version: '1.3'
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
210
|
name: travis
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -299,7 +313,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
299
313
|
requirements:
|
300
314
|
- - "~>"
|
301
315
|
- !ruby/object:Gem::Version
|
302
|
-
version: '
|
316
|
+
version: '3.0'
|
303
317
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
304
318
|
requirements:
|
305
319
|
- - ">="
|