legion-exceptions 1.0.4 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +83 -42
- data/.rubocop.yml +1 -0
- data/README.md +3 -37
- data/bitbucket-pipelines.yml +8 -8
- data/legion-exceptions.gemspec +13 -9
- data/lib/legion/exceptions.rb +8 -5
- data/lib/legion/exceptions/missing_cache.rb +8 -0
- data/lib/legion/exceptions/missing_data.rb +8 -0
- data/lib/legion/exceptions/missing_transport.rb +8 -0
- data/lib/legion/exceptions/version.rb +1 -1
- metadata +55 -28
- data/.idea/.rakeTasks +0 -7
- data/.idea/legion-exceptions.iml +0 -38
- data/.idea/misc.xml +0 -7
- data/.idea/modules.xml +0 -8
- data/.idea/vagrant.xml +0 -7
- data/.idea/workspace.xml +0 -14
- data/bin/console +0 -15
- data/bin/setup +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6325e7d18199590ab81661d59c178251d965010dde5a9d38f935b97851f7f507
|
|
4
|
+
data.tar.gz: 3e963c5df2ee87c9dbd9e89e9201a4b74ba7bca4fd5a9af584e186a3b074c2d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 621303109cf245114d649bf0670850b39d7bd1b1976414438edd1cf89342f8543666b0c61b505cd7bc31bcde4d1f181f08acabcdaf55da7140f75499cae0522a
|
|
7
|
+
data.tar.gz: a5fbe8e7ddb1c84afdab0952652d5c84c48fd71ec71a33cc3e13d823816ca2eefcecccc4b4feba313fc3b6ab55d66294aea415c72cdac5bade663d74da18ea60
|
data/.circleci/config.yml
CHANGED
|
@@ -1,67 +1,106 @@
|
|
|
1
1
|
version: 2.1
|
|
2
2
|
orbs:
|
|
3
|
-
ruby: circleci/ruby@
|
|
4
|
-
sonarcloud: sonarsource/sonarcloud@1.0.
|
|
3
|
+
ruby: circleci/ruby@1.1.2
|
|
4
|
+
sonarcloud: sonarsource/sonarcloud@1.0.2
|
|
5
5
|
|
|
6
6
|
jobs:
|
|
7
7
|
"rubocop":
|
|
8
8
|
docker:
|
|
9
|
-
- image:
|
|
9
|
+
- image: cimg/ruby:2.7
|
|
10
10
|
steps:
|
|
11
11
|
- checkout
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
- run:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
- restore_cache:
|
|
13
|
+
key: "bundler cache mri"
|
|
14
|
+
- run: bundle update
|
|
15
|
+
- run: bundle exec rubocop --format=json --out=rubocop-result.json
|
|
16
|
+
- store_test_results:
|
|
17
|
+
path: rubocop-result.json
|
|
18
|
+
- sonarcloud/scan
|
|
19
|
+
- run: bundle exec rubocop
|
|
20
|
+
- save_cache:
|
|
21
|
+
key: "bundler cache mri"
|
|
22
|
+
paths:
|
|
23
|
+
- "/usr/local/bundle"
|
|
18
24
|
"ruby-two-five":
|
|
19
25
|
docker:
|
|
20
|
-
- image:
|
|
26
|
+
- image: cimg/ruby:2.5
|
|
21
27
|
steps:
|
|
22
28
|
- checkout
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
- restore_cache:
|
|
30
|
+
key: "bundler cache mri"
|
|
31
|
+
- run: bundle update
|
|
32
|
+
- save_cache:
|
|
33
|
+
key: "bundler cache mri"
|
|
34
|
+
paths:
|
|
35
|
+
- "/usr/local/bundle"
|
|
36
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
|
37
|
+
- store_test_results:
|
|
38
|
+
path: rspec-results.xml
|
|
39
|
+
- sonarcloud/scan
|
|
30
40
|
"ruby-two-six":
|
|
31
41
|
docker:
|
|
32
|
-
- image:
|
|
42
|
+
- image: cimg/ruby:2.6
|
|
33
43
|
steps:
|
|
34
44
|
- checkout
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
- restore_cache:
|
|
46
|
+
key: "bundler cache mri"
|
|
47
|
+
- run: bundle update
|
|
48
|
+
- save_cache:
|
|
49
|
+
key: "bundler cache mri"
|
|
50
|
+
paths:
|
|
51
|
+
- "/usr/local/bundle"
|
|
52
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
|
53
|
+
- store_test_results:
|
|
54
|
+
path: rspec-results.xml
|
|
55
|
+
- sonarcloud/scan
|
|
42
56
|
"ruby-two-seven":
|
|
43
57
|
docker:
|
|
44
58
|
- image: circleci/ruby:2.7
|
|
45
|
-
- image: memcached:1.5-alpine
|
|
46
59
|
steps:
|
|
47
60
|
- checkout
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
|
|
61
|
+
- restore_cache:
|
|
62
|
+
key: "bundler cache mri"
|
|
63
|
+
- run: bundle update
|
|
64
|
+
- save_cache:
|
|
65
|
+
key: "bundler cache mri"
|
|
66
|
+
paths:
|
|
67
|
+
- "/usr/local/bundle"
|
|
68
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
|
69
|
+
- store_test_results:
|
|
70
|
+
path: rspec-results.xml
|
|
71
|
+
- sonarcloud/scan
|
|
72
|
+
"jruby92-11jdk":
|
|
53
73
|
docker:
|
|
54
|
-
- image: circleci/
|
|
74
|
+
- image: circleci/jruby:9.2-jre11
|
|
55
75
|
steps:
|
|
56
76
|
- checkout
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
|
|
62
|
-
|
|
77
|
+
- restore_cache:
|
|
78
|
+
key: "bundler cache jruby92-11jdk"
|
|
79
|
+
- run: bundle update
|
|
80
|
+
- save_cache:
|
|
81
|
+
key: "bundler cache jruby92-11jdk"
|
|
82
|
+
paths:
|
|
83
|
+
- "/usr/local/bundle"
|
|
84
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
|
85
|
+
- store_test_results:
|
|
86
|
+
path: rspec-results.xml
|
|
87
|
+
- sonarcloud/scan
|
|
88
|
+
"jruby92-14jdk":
|
|
89
|
+
docker:
|
|
90
|
+
- image: circleci/jruby:9.2-jdk14
|
|
91
|
+
steps:
|
|
92
|
+
- checkout
|
|
93
|
+
- restore_cache:
|
|
94
|
+
key: "bundler cache jruby92-14jdk"
|
|
95
|
+
- run: bundle update
|
|
96
|
+
- save_cache:
|
|
97
|
+
key: "bundler cache jruby92-14jdk"
|
|
98
|
+
paths:
|
|
99
|
+
- "/usr/local/bundle"
|
|
100
|
+
- run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml
|
|
101
|
+
- store_test_results:
|
|
102
|
+
path: rspec-results.xml
|
|
63
103
|
- sonarcloud/scan
|
|
64
|
-
- ruby/save-cache
|
|
65
104
|
|
|
66
105
|
workflows:
|
|
67
106
|
version: 2
|
|
@@ -77,7 +116,9 @@ workflows:
|
|
|
77
116
|
- ruby-two-seven:
|
|
78
117
|
requires:
|
|
79
118
|
- ruby-two-five
|
|
80
|
-
-
|
|
119
|
+
- jruby92-11jdk:
|
|
120
|
+
requires:
|
|
121
|
+
- ruby-two-five
|
|
122
|
+
- jruby92-14jdk:
|
|
81
123
|
requires:
|
|
82
|
-
- ruby-two-
|
|
83
|
-
- ruby-two-six
|
|
124
|
+
- ruby-two-five
|
data/.rubocop.yml
CHANGED
data/README.md
CHANGED
|
@@ -1,39 +1,5 @@
|
|
|
1
1
|
# Legion::Exceptions
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```ruby
|
|
8
|
-
gem 'legion-exceptions'
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
And then execute:
|
|
12
|
-
|
|
13
|
-
$ bundle
|
|
14
|
-
|
|
15
|
-
Or install it yourself as:
|
|
16
|
-
|
|
17
|
-
$ gem install legion-exceptions
|
|
18
|
-
|
|
19
|
-
## Usage
|
|
20
|
-
|
|
21
|
-
TODO: Write usage instructions here
|
|
22
|
-
|
|
23
|
-
## Development
|
|
24
|
-
|
|
25
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
26
|
-
|
|
27
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
28
|
-
|
|
29
|
-
## Contributing
|
|
30
|
-
|
|
31
|
-
Bug reports and pull requests are welcome on GitHub at https://bitbucket.org/legion-io/legion-exceptions. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
32
|
-
|
|
33
|
-
## License
|
|
34
|
-
|
|
35
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
36
|
-
|
|
37
|
-
## Code of Conduct
|
|
38
|
-
|
|
39
|
-
Everyone interacting in the Legion::Exceptions project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/legion-exceptions/blob/master/CODE_OF_CONDUCT.md).
|
|
3
|
+
A simple gem to hold all of the different custom Legion::Exceptions.
|
|
4
|
+
|
|
5
|
+
Typically used by the [LegionIO](https://rubygems.org/gems/legionio) gem
|
data/bitbucket-pipelines.yml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
image: ruby:2.7
|
|
1
|
+
image: ruby:2.7
|
|
2
2
|
|
|
3
3
|
pipelines:
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
tags:
|
|
5
|
+
"v*":
|
|
6
6
|
- step:
|
|
7
7
|
name: Push to RubyGems
|
|
8
8
|
deployment: RubyGems
|
|
9
9
|
script:
|
|
10
|
-
- gem install bundler gem-release
|
|
10
|
+
- gem install bundler gem-release rspec
|
|
11
11
|
- bundle install
|
|
12
|
-
-
|
|
13
|
-
- mkdir .gem
|
|
14
|
-
- (umask 077 ; echo $gem_creds | base64 --decode > .gem/credentials)
|
|
12
|
+
- (umask 077 ; echo $gem_creds | base64 --decode > ~/.gem/credentials)
|
|
15
13
|
- gem release
|
|
16
|
-
- gem tag --push
|
|
17
14
|
artifacts:
|
|
18
15
|
- pkg/**
|
|
16
|
+
definitions:
|
|
17
|
+
caches:
|
|
18
|
+
bundler: /usr/local/bundle
|
data/legion-exceptions.gemspec
CHANGED
|
@@ -13,19 +13,23 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.summary = 'Used to keep legion exceptions in one place'
|
|
14
14
|
spec.description = 'All of the different Legion Exceptions'
|
|
15
15
|
spec.homepage = 'https://bitbucket.org/legion-io/legion-exceptions'
|
|
16
|
-
spec.
|
|
16
|
+
spec.metadata['source_code_uri'] = 'https://bitbucket.org/legion-io/legion-exceptions'
|
|
17
|
+
spec.metadata['documentation_uri'] = 'https://legionio.atlassian.net/wiki/spaces/LEGION/overview'
|
|
18
|
+
spec.metadata['bug_tracker_uri'] = 'https://legionio.atlassian.net/jira/software/c/projects/EXCEPTIONS'
|
|
19
|
+
spec.license = 'MIT'
|
|
20
|
+
spec.required_ruby_version = '>= 2.5.0'
|
|
17
21
|
|
|
18
|
-
spec.files
|
|
22
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
19
23
|
f.match(%r{^(test|spec|features)/})
|
|
20
24
|
end
|
|
21
|
-
spec.bindir = 'exe'
|
|
22
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
23
25
|
spec.require_paths = ['lib']
|
|
24
26
|
|
|
25
|
-
spec.add_development_dependency 'bundler'
|
|
26
|
-
spec.add_development_dependency 'rake'
|
|
27
|
-
spec.add_development_dependency 'rspec'
|
|
28
|
-
spec.add_development_dependency 'rspec_junit_formatter'
|
|
27
|
+
spec.add_development_dependency 'bundler', '>= 2'
|
|
28
|
+
spec.add_development_dependency 'rake'
|
|
29
|
+
spec.add_development_dependency 'rspec'
|
|
30
|
+
spec.add_development_dependency 'rspec_junit_formatter'
|
|
29
31
|
spec.add_development_dependency 'rubocop'
|
|
30
|
-
spec.add_development_dependency '
|
|
32
|
+
spec.add_development_dependency 'rubocop-performance'
|
|
33
|
+
spec.add_development_dependency 'simplecov', '< 0.18.0'
|
|
34
|
+
spec.add_development_dependency 'simplecov_json_formatter'
|
|
31
35
|
end
|
data/lib/legion/exceptions.rb
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
require 'legion/exceptions/version'
|
|
4
|
+
require 'legion/exceptions/handled_task'
|
|
5
|
+
require 'legion/exceptions/invalidjson'
|
|
6
|
+
require 'legion/exceptions/missing_argument'
|
|
7
|
+
require 'legion/exceptions/wrongtype'
|
|
8
|
+
require 'legion/exceptions/missing_cache'
|
|
9
|
+
require 'legion/exceptions/missing_data'
|
|
10
|
+
require 'legion/exceptions/missing_transport'
|
|
8
11
|
|
|
9
12
|
module Legion
|
|
10
13
|
module Exceptions
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: legion-exceptions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Esity
|
|
8
|
-
autorequire:
|
|
9
|
-
bindir:
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -16,54 +16,54 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '2'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
26
|
+
version: '2'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
33
|
+
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - "
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
40
|
+
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rspec
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rspec_junit_formatter
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - "
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- - "
|
|
66
|
+
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
@@ -80,8 +80,36 @@ dependencies:
|
|
|
80
80
|
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: rubocop-performance
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
type: :development
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
83
97
|
- !ruby/object:Gem::Dependency
|
|
84
98
|
name: simplecov
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - "<"
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: 0.18.0
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - "<"
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: 0.18.0
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: simplecov_json_formatter
|
|
85
113
|
requirement: !ruby/object:Gem::Requirement
|
|
86
114
|
requirements:
|
|
87
115
|
- - ">="
|
|
@@ -103,25 +131,21 @@ extra_rdoc_files: []
|
|
|
103
131
|
files:
|
|
104
132
|
- ".circleci/config.yml"
|
|
105
133
|
- ".gitignore"
|
|
106
|
-
- ".idea/.rakeTasks"
|
|
107
|
-
- ".idea/legion-exceptions.iml"
|
|
108
|
-
- ".idea/misc.xml"
|
|
109
|
-
- ".idea/modules.xml"
|
|
110
|
-
- ".idea/vagrant.xml"
|
|
111
|
-
- ".idea/workspace.xml"
|
|
112
134
|
- ".rubocop.yml"
|
|
113
135
|
- Gemfile
|
|
136
|
+
- Gemfile.lock
|
|
114
137
|
- LICENSE.txt
|
|
115
138
|
- README.md
|
|
116
139
|
- Rakefile
|
|
117
|
-
- bin/console
|
|
118
|
-
- bin/setup
|
|
119
140
|
- bitbucket-pipelines.yml
|
|
120
141
|
- legion-exceptions.gemspec
|
|
121
142
|
- lib/legion/exceptions.rb
|
|
122
143
|
- lib/legion/exceptions/handled_task.rb
|
|
123
144
|
- lib/legion/exceptions/invalidjson.rb
|
|
124
145
|
- lib/legion/exceptions/missing_argument.rb
|
|
146
|
+
- lib/legion/exceptions/missing_cache.rb
|
|
147
|
+
- lib/legion/exceptions/missing_data.rb
|
|
148
|
+
- lib/legion/exceptions/missing_transport.rb
|
|
125
149
|
- lib/legion/exceptions/version.rb
|
|
126
150
|
- lib/legion/exceptions/wrongtype.rb
|
|
127
151
|
- lib/legion/exceptions/wrongtypes/array.rb
|
|
@@ -133,8 +157,11 @@ files:
|
|
|
133
157
|
homepage: https://bitbucket.org/legion-io/legion-exceptions
|
|
134
158
|
licenses:
|
|
135
159
|
- MIT
|
|
136
|
-
metadata:
|
|
137
|
-
|
|
160
|
+
metadata:
|
|
161
|
+
source_code_uri: https://bitbucket.org/legion-io/legion-exceptions
|
|
162
|
+
documentation_uri: https://legionio.atlassian.net/wiki/spaces/LEGION/overview
|
|
163
|
+
bug_tracker_uri: https://legionio.atlassian.net/jira/software/c/projects/EXCEPTIONS
|
|
164
|
+
post_install_message:
|
|
138
165
|
rdoc_options: []
|
|
139
166
|
require_paths:
|
|
140
167
|
- lib
|
|
@@ -142,7 +169,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
142
169
|
requirements:
|
|
143
170
|
- - ">="
|
|
144
171
|
- !ruby/object:Gem::Version
|
|
145
|
-
version:
|
|
172
|
+
version: 2.5.0
|
|
146
173
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
174
|
requirements:
|
|
148
175
|
- - ">="
|
|
@@ -150,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
150
177
|
version: '0'
|
|
151
178
|
requirements: []
|
|
152
179
|
rubygems_version: 3.1.2
|
|
153
|
-
signing_key:
|
|
180
|
+
signing_key:
|
|
154
181
|
specification_version: 4
|
|
155
182
|
summary: Used to keep legion exceptions in one place
|
|
156
183
|
test_files: []
|
data/.idea/.rakeTasks
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Settings><!--This file was automatically generated by Ruby plugin.
|
|
3
|
-
You are allowed to:
|
|
4
|
-
1. Remove rake task
|
|
5
|
-
2. Add existing rake tasks
|
|
6
|
-
To add existing rake tasks automatically delete this file and reload the project.
|
|
7
|
-
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build legion-exceptions-1.0.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install legion-exceptions-1.0.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install legion-exceptions-1.0.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v1.0.0 and build and push legion-exceptions-1.0.0.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/legion-exceptions.iml
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="RUBY_MODULE" version="4">
|
|
3
|
-
<component name="ModuleRunConfigurationManager">
|
|
4
|
-
<shared />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="NewModuleRootManager">
|
|
7
|
-
<content url="file://$MODULE_DIR$">
|
|
8
|
-
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
|
|
9
|
-
</content>
|
|
10
|
-
<orderEntry type="inheritedJdk" />
|
|
11
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
12
|
-
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
13
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.1.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
14
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="docile (v1.3.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
16
|
-
<orderEntry type="library" scope="PROVIDED" name="jaro_winkler (v1.5.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
17
|
-
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.19.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
18
|
-
<orderEntry type="library" scope="PROVIDED" name="parser (v2.7.0.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
19
|
-
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
20
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
21
|
-
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.4, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
22
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.9.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
23
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.9.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
24
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.9.0, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
25
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.9.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
26
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.9.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
27
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec_junit_formatter (v0.4.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
28
|
-
<orderEntry type="library" scope="PROVIDED" name="rubocop (v0.80.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
29
|
-
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.10.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
30
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.18.5, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
31
|
-
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.12.2, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
32
|
-
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.6.1, RVM: ruby-2.6.3) [gem]" level="application" />
|
|
33
|
-
</component>
|
|
34
|
-
<component name="RModuleSettingsStorage">
|
|
35
|
-
<LOAD_PATH number="1" string0="$MODULE_DIR$/lib/legion" />
|
|
36
|
-
<I18N_FOLDERS number="0" />
|
|
37
|
-
</component>
|
|
38
|
-
</module>
|
data/.idea/misc.xml
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="JavaScriptSettings">
|
|
4
|
-
<option name="languageLevel" value="ES6" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.6.3" project-jdk-type="RUBY_SDK" />
|
|
7
|
-
</project>
|
data/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/legion-exceptions.iml" filepath="$PROJECT_DIR$/.idea/legion-exceptions.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
data/.idea/vagrant.xml
DELETED
data/.idea/workspace.xml
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="CoverageOptionsProvider">
|
|
4
|
-
<option name="myAddOrReplace" value="0" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="Git.Settings">
|
|
7
|
-
<option name="PUSH_AUTO_UPDATE" value="true" />
|
|
8
|
-
<option name="ROOT_SYNC" value="DONT_SYNC" />
|
|
9
|
-
</component>
|
|
10
|
-
<component name="ProjectId" id="1Yl3GorhOAUJqZmeoXH7D3OLnnA" />
|
|
11
|
-
<component name="PropertiesComponent">
|
|
12
|
-
<property name="settings.editor.selected.configurable" value="reference.settingsdialog.project.vagrant" />
|
|
13
|
-
</component>
|
|
14
|
-
</project>
|
data/bin/console
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
require 'bundler/setup'
|
|
5
|
-
require 'legion/exceptions'
|
|
6
|
-
|
|
7
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
-
|
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
-
# require "pry"
|
|
12
|
-
# Pry.start
|
|
13
|
-
|
|
14
|
-
require 'irb'
|
|
15
|
-
IRB.start(__FILE__)
|