legion-exceptions 1.0.3 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +40 -2
- data/.rubocop.yml +1 -0
- data/README.md +3 -37
- data/bitbucket-pipelines.yml +19 -7
- data/legion-exceptions.gemspec +7 -5
- 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 +19 -20
- 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: 69818c2d789885c350456e7283be59282419f4cdbf430d345a57272ac3366861
|
4
|
+
data.tar.gz: 56a149711dfb83f9146347d12ed90580e215be48c65f1f1c5eec39faefc1596d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b9818f2d4ec379a87aca0bc1930f0904169e4c57edd477cf36b50ef86678da404d3974a914df54929ba04738ba6b6def0d687b6ab799953ded729bbaef507df
|
7
|
+
data.tar.gz: db1f3cca0fc534bb8fdb3801dd283c423b520a42453f6c7c29928784be9b63d08ec80f187bb2ad43148d967ac8597d70f3b049f132cd1b4ea968016073695f61
|
data/.circleci/config.yml
CHANGED
@@ -42,19 +42,50 @@ jobs:
|
|
42
42
|
"ruby-two-seven":
|
43
43
|
docker:
|
44
44
|
- image: circleci/ruby:2.7
|
45
|
-
- image: memcached:1.5-alpine
|
46
45
|
steps:
|
47
46
|
- checkout
|
48
47
|
- ruby/load-cache
|
49
48
|
- ruby/install-deps
|
50
49
|
- ruby/run-tests
|
51
50
|
- ruby/save-cache
|
51
|
+
"jruby-nine-two":
|
52
|
+
docker:
|
53
|
+
- image: circleci/jruby:9.2-jre
|
54
|
+
steps:
|
55
|
+
- checkout
|
56
|
+
- run:
|
57
|
+
name: Bundle Install
|
58
|
+
command: bundle install
|
59
|
+
- run:
|
60
|
+
name: Run RSpec
|
61
|
+
command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
|
62
|
+
when: always
|
63
|
+
- store_test_results:
|
64
|
+
path: test-results
|
65
|
+
- sonarcloud/scan
|
66
|
+
"jruby-nine-two-e":
|
67
|
+
docker:
|
68
|
+
- image: circleci/jruby:9.2.11-jre
|
69
|
+
steps:
|
70
|
+
- checkout
|
71
|
+
- run:
|
72
|
+
name: Bundle Install
|
73
|
+
command: bundle install
|
74
|
+
- run:
|
75
|
+
name: Run RSpec
|
76
|
+
command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
|
77
|
+
when: always
|
78
|
+
- store_test_results:
|
79
|
+
path: test-results
|
52
80
|
"sonarcloud":
|
53
81
|
docker:
|
54
82
|
- image: circleci/ruby:2.7
|
55
83
|
steps:
|
56
84
|
- checkout
|
57
85
|
- ruby/load-cache
|
86
|
+
- run:
|
87
|
+
name: update bundler
|
88
|
+
command: gem update bundler
|
58
89
|
- ruby/install-deps
|
59
90
|
- ruby/run-tests
|
60
91
|
- run:
|
@@ -80,4 +111,11 @@ workflows:
|
|
80
111
|
- sonarcloud:
|
81
112
|
requires:
|
82
113
|
- ruby-two-seven
|
83
|
-
- ruby-two-six
|
114
|
+
- ruby-two-six
|
115
|
+
- jruby-nine-two:
|
116
|
+
requires:
|
117
|
+
- ruby-two-seven
|
118
|
+
- ruby-two-six
|
119
|
+
- jruby-nine-two-e:
|
120
|
+
requires:
|
121
|
+
- jruby-nine-two
|
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
@@ -4,12 +4,24 @@ pipelines:
|
|
4
4
|
branches:
|
5
5
|
master:
|
6
6
|
- step:
|
7
|
-
|
8
|
-
|
7
|
+
caches:
|
8
|
+
- bundler
|
9
9
|
script:
|
10
|
-
- gem install bundler
|
10
|
+
- gem install bundler rubocop
|
11
|
+
- gem update bundler rubocop
|
11
12
|
- bundle install
|
12
|
-
-
|
13
|
-
-
|
14
|
-
|
15
|
-
|
13
|
+
- rubocop
|
14
|
+
- rspec
|
15
|
+
develop:
|
16
|
+
- step:
|
17
|
+
caches:
|
18
|
+
- bundler
|
19
|
+
script:
|
20
|
+
- gem install bundler rubocop
|
21
|
+
- gem update bundler rubocop
|
22
|
+
- bundle install
|
23
|
+
- rubocop
|
24
|
+
- rspec
|
25
|
+
definitions:
|
26
|
+
caches:
|
27
|
+
bundler: vendor/bundle
|
data/legion-exceptions.gemspec
CHANGED
@@ -13,13 +13,15 @@ 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
27
|
spec.add_development_dependency 'bundler'
|
@@ -27,5 +29,5 @@ Gem::Specification.new do |spec|
|
|
27
29
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
28
30
|
spec.add_development_dependency 'rspec_junit_formatter', '~> 0'
|
29
31
|
spec.add_development_dependency 'rubocop'
|
30
|
-
spec.add_development_dependency 'simplecov'
|
32
|
+
spec.add_development_dependency 'simplecov', '< 0.18.0'
|
31
33
|
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.3
|
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-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "<"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 0.18.0
|
90
90
|
type: :development
|
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:
|
96
|
+
version: 0.18.0
|
97
97
|
description: All of the different Legion Exceptions
|
98
98
|
email:
|
99
99
|
- matthewdiverson@gmail.com
|
@@ -103,25 +103,21 @@ extra_rdoc_files: []
|
|
103
103
|
files:
|
104
104
|
- ".circleci/config.yml"
|
105
105
|
- ".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
106
|
- ".rubocop.yml"
|
113
107
|
- Gemfile
|
108
|
+
- Gemfile.lock
|
114
109
|
- LICENSE.txt
|
115
110
|
- README.md
|
116
111
|
- Rakefile
|
117
|
-
- bin/console
|
118
|
-
- bin/setup
|
119
112
|
- bitbucket-pipelines.yml
|
120
113
|
- legion-exceptions.gemspec
|
121
114
|
- lib/legion/exceptions.rb
|
122
115
|
- lib/legion/exceptions/handled_task.rb
|
123
116
|
- lib/legion/exceptions/invalidjson.rb
|
124
117
|
- lib/legion/exceptions/missing_argument.rb
|
118
|
+
- lib/legion/exceptions/missing_cache.rb
|
119
|
+
- lib/legion/exceptions/missing_data.rb
|
120
|
+
- lib/legion/exceptions/missing_transport.rb
|
125
121
|
- lib/legion/exceptions/version.rb
|
126
122
|
- lib/legion/exceptions/wrongtype.rb
|
127
123
|
- lib/legion/exceptions/wrongtypes/array.rb
|
@@ -133,8 +129,11 @@ files:
|
|
133
129
|
homepage: https://bitbucket.org/legion-io/legion-exceptions
|
134
130
|
licenses:
|
135
131
|
- MIT
|
136
|
-
metadata:
|
137
|
-
|
132
|
+
metadata:
|
133
|
+
source_code_uri: https://bitbucket.org/legion-io/legion-exceptions
|
134
|
+
documentation_uri: https://legionio.atlassian.net/wiki/spaces/LEGION/overview
|
135
|
+
bug_tracker_uri: https://legionio.atlassian.net/jira/software/c/projects/EXCEPTIONS
|
136
|
+
post_install_message:
|
138
137
|
rdoc_options: []
|
139
138
|
require_paths:
|
140
139
|
- lib
|
@@ -142,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
141
|
requirements:
|
143
142
|
- - ">="
|
144
143
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
144
|
+
version: 2.5.0
|
146
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
146
|
requirements:
|
148
147
|
- - ">="
|
@@ -150,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
149
|
version: '0'
|
151
150
|
requirements: []
|
152
151
|
rubygems_version: 3.1.2
|
153
|
-
signing_key:
|
152
|
+
signing_key:
|
154
153
|
specification_version: 4
|
155
154
|
summary: Used to keep legion exceptions in one place
|
156
155
|
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__)
|