legion-exceptions 0.1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7a6e0a741f25de97c7c4bdb6f7892a59f35d864a
4
- data.tar.gz: 54e900deca9df2dd3d338c545bed2598b539b246
2
+ SHA256:
3
+ metadata.gz: c7fe7965512555841248caf84487806f316527140e4cd7dc930b2dcb6c12ec52
4
+ data.tar.gz: b345c016258257c7c2394a588457df79a3ed507e6f2ba6a1e7a6f5126cb38546
5
5
  SHA512:
6
- metadata.gz: d7f910719a7e8a81ac5bc15ecc50ea25a12c04f178ee4704d9e9c318bdf822f0cf13449e348d4bfd228069d2d900e630e80d198c951967880456c7ef75a72131
7
- data.tar.gz: 69a61451487746af5b771b0b476519d5d8613d7ecad2b592d86072d9b9d6dcd2fb4bf3a7fe75393282285618c269d85f2c2db980b4c6d5f1149aef300e73af4f
6
+ metadata.gz: b98d15f8898cff49a7aa75b9c6c69adef3e02f432104cd640b216f598d20f8255d5da532dbfe6299b68feddb5789ba920aad0eae7aeeea3cc84976fcc97a0f92
7
+ data.tar.gz: fbbbb11e28b2c9094f1aa1182be6c4279a09dff3155afd4eb14c1a1bf65e88d9931dd00d7d63fd5ca73301e103116a4777784e1bb97bb176189f1fd8ac126da9
data/.circleci/config.yml CHANGED
@@ -1,167 +1,61 @@
1
- version: 2 # use CircleCI 2.0
1
+ version: 2.1
2
+ orbs:
3
+ ruby: circleci/ruby@0.2.1
4
+
2
5
  jobs:
3
6
  "rubocop":
4
7
  docker:
5
- - image: circleci/ruby:2.4-node
8
+ - image: circleci/ruby:2.5-node
6
9
  steps:
7
10
  - checkout
8
- - run: gem install rubocop
11
+ - ruby/load-cache
12
+ - ruby/install-deps
9
13
  - run:
10
14
  name: Run Rubocop
11
- command: rubocop
12
- - store_test_results:
13
- path: test_results
14
- "ruby-2.0":
15
+ command: bundle exec rubocop
16
+ - ruby/save-cache
17
+ "ruby-two-five":
15
18
  docker:
16
- - image: circleci/ruby:2.0
19
+ - image: circleci/ruby:2.5
20
+ - image: memcached:1.5-alpine
17
21
  steps:
18
22
  - checkout
19
- - run:
20
- name: Bundle Install
21
- command: bundle install
22
- - run:
23
- name: Run RSpec
24
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
25
- when: always
26
- - store_test_results:
27
- path: test-results
28
- "ruby-2.1":
23
+ - ruby/load-cache
24
+ - ruby/install-deps
25
+ - ruby/run-tests
26
+ - ruby/save-cache
27
+ "ruby-two-six":
29
28
  docker:
30
- - image: circleci/ruby:2.1
29
+ - image: circleci/ruby:2.6
30
+ - image: memcached:1.5-alpine
31
31
  steps:
32
32
  - checkout
33
- - run:
34
- name: Bundle Install
35
- command: bundle install
36
- - run:
37
- name: Run RSpec
38
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
39
- when: always
40
- - store_test_results:
41
- path: test-results
42
- "ruby-2.2":
33
+ - ruby/load-cache
34
+ - ruby/install-deps
35
+ - ruby/run-tests
36
+ - ruby/save-cache
37
+ "ruby-two-seven":
43
38
  docker:
44
- - image: circleci/ruby:2.2
39
+ - image: circleci/ruby:2.7
40
+ - image: memcached:1.5-alpine
45
41
  steps:
46
42
  - checkout
47
- - run:
48
- name: Bundle Install
49
- command: bundle install
50
- - run:
51
- name: Run RSpec
52
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
53
- when: always
54
- - store_test_results:
55
- path: test-results
56
-
57
- "ruby-2.3":
58
- docker:
59
- - image: circleci/ruby:2.3
60
- steps:
61
- - checkout
62
- - run:
63
- name: Bundle Install
64
- command: bundle install
65
- - run:
66
- name: Run RSpec
67
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
68
- when: always
69
- - store_test_results:
70
- path: test-results
71
-
72
- "ruby-2.4":
73
- docker:
74
- - image: circleci/ruby:2.4-node
75
- steps:
76
- - checkout
77
- - run:
78
- name: Bundle Install
79
- command: bundle install
80
- - run:
81
- name: Run RSpec
82
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
83
- when: always
84
- - store_test_results:
85
- path: test-results
86
- "ruby-2.5":
87
- docker:
88
- - image: circleci/ruby:2.5-node
89
- steps:
90
- - checkout
91
- - run:
92
- name: Bundle Install
93
- command: bundle install
94
- - run:
95
- name: Run RSpec
96
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
97
- when: always
98
- - store_test_results:
99
- path: test-results
100
- "ruby-2.6":
101
- docker:
102
- - image: circleci/ruby:2.6-node
103
- steps:
104
- - checkout
105
- - run:
106
- name: Bundle Install
107
- command: bundle install
108
- - run:
109
- name: Run RSpec
110
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
111
- when: always
112
- - store_test_results:
113
- path: test-results
114
- "jruby-9.2":
115
- docker:
116
- - image: circleci/jruby:9.2
117
- steps:
118
- - checkout
119
- - run:
120
- name: Bundle Install
121
- command: bundle install
122
- - run:
123
- name: Run RSpec
124
- command: bundle exec rspec --format progress --format RspecJunitFormatter -o test-results/rspec/results.xml
125
- when: always
126
- - store_test_results:
127
- path: test-results
43
+ - ruby/load-cache
44
+ - ruby/install-deps
45
+ - ruby/run-tests
46
+ - ruby/save-cache
128
47
 
129
48
  workflows:
130
49
  version: 2
131
- cop_rake_deploy:
50
+ rubocop-rspec:
132
51
  jobs:
133
52
  - rubocop
134
- # - ruby-2.2:
135
- # requires:
136
- # - ruby-2.4
137
- # filters:
138
- # branches:
139
- # only: /\bdevelop\b|\bmaster\b/
140
- - ruby-2.3:
141
- requires:
142
- - ruby-2.4
143
- filters:
144
- branches:
145
- only: /\bdevelop\b|\bmaster\b/
146
- - ruby-2.4:
53
+ - ruby-two-five:
147
54
  requires:
148
55
  - rubocop
149
- - ruby-2.5:
56
+ - ruby-two-six:
150
57
  requires:
151
- - ruby-2.4
152
- filters:
153
- branches:
154
- only: /\bdevelop\b|\bmaster\b/
155
- - ruby-2.6:
58
+ - ruby-two-five
59
+ - ruby-two-seven:
156
60
  requires:
157
- - ruby-2.4
158
- filters:
159
- branches:
160
- only: /\bdevelop\b|\bmaster\b/
161
- # - jruby-9.2:
162
- # requires:
163
- # - ruby-2.2
164
- # - ruby-2.3
165
- # - ruby-2.4
166
- # - ruby-2.5
167
- # - ruby-2.6
61
+ - ruby-two-five
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
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>
@@ -0,0 +1,38 @@
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 ADDED
@@ -0,0 +1,7 @@
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 ADDED
@@ -0,0 +1,8 @@
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 ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VagrantProjectSettings">
4
+ <option name="instanceFolder" value="" />
5
+ <option name="provider" value="" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,14 @@
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/.rubocop.yml CHANGED
@@ -1,25 +1,8 @@
1
- Metrics/LineLength:
1
+ Layout/LineLength:
2
2
  Max: 120
3
- Metrics/MethodLength:
4
- Max: 30
5
- Metrics/ClassLength:
6
- Max: 1500
7
- Metrics/BlockLength:
8
- Max: 50
9
3
  Layout/SpaceAroundEqualsInParameterDefault:
10
4
  EnforcedStyle: space
11
- Style/SymbolArray:
12
- Enabled: true
13
- Layout/AlignHash:
14
- EnforcedHashRocketStyle: table
15
- EnforcedColonStyle: table
16
- Style/HashSyntax:
17
- EnforcedStyle: ruby19_no_mixed_keys
18
5
  Style/Documentation:
19
6
  Enabled: false
20
7
  AllCops:
21
- TargetRubyVersion: 2.2
22
- Style/FrozenStringLiteralComment:
23
- Enabled: false
24
- Naming/FileName:
25
- Enabled: false
8
+ TargetRubyVersion: 2.5
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in legion-exceptions.gemspec
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
  require 'rspec/core/rake_task'
3
5
 
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'bundler/setup'
4
5
  require 'legion/exceptions'
@@ -11,7 +11,12 @@ pipelines:
11
11
  - bundle install
12
12
  - rubocop
13
13
  - rake
14
-
14
+ - step:
15
+ name: Upload Artifact
16
+ deployment: test
17
+ script:
18
+ - gem build *.gemspec
19
+ - curl -X POST --user "${BB_AUTH_STRING}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"legion-exceptions-0.1.0.gem"
15
20
  - step:
16
21
  name: Deploy to test gem server
17
22
  deployment: production
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  lib = File.expand_path('lib', __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require 'legion/exceptions/version'
@@ -20,8 +22,7 @@ Gem::Specification.new do |spec|
20
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
23
  spec.require_paths = ['lib']
22
24
 
23
- spec.add_development_dependency 'bundler', '~> 1'
24
- spec.add_development_dependency 'codecov', '~> 0'
25
+ spec.add_development_dependency 'bundler'
25
26
  spec.add_development_dependency 'rake', '~> 10.0'
26
27
  spec.add_development_dependency 'rspec', '~> 3.0'
27
28
  spec.add_development_dependency 'rspec_junit_formatter', '~> 0'
@@ -1,8 +1,12 @@
1
- require 'legion/exceptions/version'
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'exceptions/version'
4
+ require_relative 'exceptions/handled_task'
5
+ require_relative 'exceptions/invalidjson'
6
+ require_relative 'exceptions/missing_argument'
7
+ require_relative 'exceptions/wrongtype'
2
8
 
3
9
  module Legion
4
- # Used for Legion Exceptions
5
10
  module Exceptions
6
- # Your code goes here...
7
11
  end
8
12
  end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Legion
4
+ module Exception
5
+ class HandledTask < StandardError
6
+ end
7
+ end
8
+ end
@@ -2,7 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module Exception
5
- # Invalid JSON class
6
5
  class InvalidJson < StandardError; end
7
6
  end
8
7
  end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Legion
4
+ module Exception
5
+ class MissingArgument < StandardError
6
+ end
7
+ end
8
+ end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Legion
2
4
  module Exceptions
3
- VERSION = '0.1.0'.freeze
5
+ VERSION = '1.0.1'
4
6
  end
5
7
  end
@@ -1,8 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative 'wrongtypes/array'
4
+ require_relative 'wrongtypes/hash'
5
+ require_relative 'wrongtypes/integer'
6
+ require_relative 'wrongtypes/nil'
7
+ require_relative 'wrongtypes/string'
8
+
3
9
  module Legion
4
10
  module Exception
5
- # Wrongtype Exception
6
- class WrongType < StandardError; end
11
+ module WrongType
12
+ end
7
13
  end
8
14
  end
@@ -2,8 +2,7 @@
2
2
 
3
3
  module Legion
4
4
  module Exception
5
- class WrongType
6
- # This thing should be an array
5
+ module WrongType
7
6
  class Array < TypeError
8
7
  end
9
8
  end
@@ -2,8 +2,7 @@
2
2
 
3
3
  module Legion
4
4
  module Exception
5
- class WrongType
6
- # This thing should be a hash
5
+ module WrongType
7
6
  class Hash < TypeError
8
7
  end
9
8
  end
@@ -2,8 +2,7 @@
2
2
 
3
3
  module Legion
4
4
  module Exception
5
- class WrongType
6
- # This thing should be an int
5
+ module WrongType
7
6
  class Integer < TypeError
8
7
  end
9
8
  end
@@ -2,8 +2,7 @@
2
2
 
3
3
  module Legion
4
4
  module Exception
5
- class WrongType
6
- # This thing should be an int
5
+ module WrongType
7
6
  class Nil < TypeError
8
7
  end
9
8
  end
@@ -2,8 +2,7 @@
2
2
 
3
3
  module Legion
4
4
  module Exception
5
- class WrongType
6
- # This thing should be a string
5
+ module WrongType
7
6
  class String < TypeError
8
7
  end
9
8
  end
metadata CHANGED
@@ -1,41 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-exceptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-22 00:00:00.000000000 Z
11
+ date: 2020-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1'
27
- - !ruby/object:Gem::Dependency
28
- name: codecov
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
17
+ - - ">="
32
18
  - !ruby/object:Gem::Version
33
19
  version: '0'
34
20
  type: :development
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - "~>"
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
@@ -117,6 +103,12 @@ extra_rdoc_files: []
117
103
  files:
118
104
  - ".circleci/config.yml"
119
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"
120
112
  - ".rubocop.yml"
121
113
  - Gemfile
122
114
  - LICENSE.txt
@@ -127,8 +119,9 @@ files:
127
119
  - bitbucket-pipelines.yml
128
120
  - legion-exceptions.gemspec
129
121
  - lib/legion/exceptions.rb
122
+ - lib/legion/exceptions/handled_task.rb
130
123
  - lib/legion/exceptions/invalidjson.rb
131
- - lib/legion/exceptions/missingargument.rb
124
+ - lib/legion/exceptions/missing_argument.rb
132
125
  - lib/legion/exceptions/version.rb
133
126
  - lib/legion/exceptions/wrongtype.rb
134
127
  - lib/legion/exceptions/wrongtypes/array.rb
@@ -155,8 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
148
  - !ruby/object:Gem::Version
156
149
  version: '0'
157
150
  requirements: []
158
- rubyforge_project:
159
- rubygems_version: 2.6.12
151
+ rubygems_version: 3.0.8
160
152
  signing_key:
161
153
  specification_version: 4
162
154
  summary: Used to keep legion exceptions in one place
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Legion
4
- module Exception
5
- # Missing argument exception
6
- class MissingArgument < StandardError; end
7
- end
8
- end