crapi 0.1.3 → 1.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 526054c0e4505c430bcc3d63e726e679d611a14c6523b007b2d55e73ed5e6cb5
4
- data.tar.gz: 69fbccd69cee1dc78d25620bffa29e39443e04025177da5bd80f5663de7bdbde
3
+ metadata.gz: '075697a77cf82734a58523c8c65c8395d754ad3e7a0a41648a5d33228e62b77e'
4
+ data.tar.gz: c5368393dd38933dd3e10ee4bb23dfc809e5ab023dbdccfa50a882d23fdf41a6
5
5
  SHA512:
6
- metadata.gz: f149b73275cb33895908b1f01fcd00d1bd6031897563bd9d209286a7d01b06b66689ed518551c9b783140f49928bc02dfa11ca74ddbea21ad1d4d412e9ad9139
7
- data.tar.gz: 7a3d54904295924ae1bd7d04e97788de460a2b8ffdd3324bc3da074885baded829fd759bc797e0c150f500ddb5fb792eced8c5ec28d772403b69f808a955285b
6
+ metadata.gz: 9340c8ec96dd620bcd6e41388af546e2adb5b01edc331209d2f541f6229e396caece559911bbbb16879d2cd53b1ca3bf2af5cf0dbfb28ed2b5525a2892a6408a
7
+ data.tar.gz: c72ae40ed2ca9b4bcaef675e4e8326dc33e4764b9c577a10fddfbdbc52653e4458f386e363f4c5d42e04c033eb8782ca5bef0071cfd2d67f65c208a028d6130e
@@ -0,0 +1,63 @@
1
+ # Ruby CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
+ #
5
+ version: 2
6
+ jobs:
7
+ build:
8
+ docker:
9
+ # specify the version you desire here
10
+ - image: cimg/ruby:3.0
11
+
12
+ # Specify service dependencies here if necessary
13
+ # CircleCI maintains a library of pre-built images
14
+ # documented at https://circleci.com/docs/2.0/circleci-images/
15
+ # - image: circleci/postgres:9.4
16
+
17
+ working_directory: ~/repo
18
+
19
+ steps:
20
+ - checkout
21
+
22
+ # Download and cache dependencies
23
+ - restore_cache:
24
+ keys:
25
+ - v1-dependencies-{{ checksum "Gemfile.lock" }}
26
+ # fallback to using the latest cache if no exact match is found
27
+ - v1-dependencies
28
+
29
+ - run:
30
+ name: update bundler
31
+ command: |
32
+ gem install bundler --version $(tail -n 1 ~/repo/Gemfile.lock | tr -d ' ')
33
+
34
+ - run:
35
+ name: install dependencies
36
+ command: |
37
+ bundle install --jobs=4 --retry=3 --path vendor/bundle
38
+
39
+ - save_cache:
40
+ paths:
41
+ - ./vendor/bundle
42
+ key: v1-dependencies-{{ checksum "Gemfile.lock" }}
43
+
44
+ # run tests!
45
+ - run:
46
+ name: run tests
47
+ command: |
48
+ mkdir /tmp/test-results
49
+ TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
50
+
51
+ bundle exec rspec --format progress \
52
+ --format RspecJunitFormatter \
53
+ --out /tmp/test-results/rspec.xml \
54
+ --format progress \
55
+ -- \
56
+ $TEST_FILES
57
+
58
+ # collect reports
59
+ - store_test_results:
60
+ path: /tmp/test-results
61
+ - store_artifacts:
62
+ path: /tmp/test-results
63
+ destination: test-results
data/.rubocop.yml CHANGED
@@ -1,81 +1,64 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.5
3
- Include:
4
- - "**/*.rake"
5
- - "**/Gemfile"
6
- - "**/Rakefile"
7
- - "**/Capfile"
8
- - "**/Berksfile"
9
- - "**/Cheffile"
10
- Exclude:
11
- - "vendor/**/*"
12
- - "db/**/*"
13
- - "tmp/**/*"
14
- - "true/**/*"
15
- Metrics/ClassLength:
16
- Description: Avoid classes longer than 100 lines of code.
17
- Enabled: false
18
- CountComments: false
19
- Max: 100
20
- Metrics/LineLength:
21
- Description: Limit lines to 100 characters.
2
+ TargetRubyVersion: 3.0
3
+ SuggestExtensions: false
4
+ NewCops: enable
5
+
6
+
7
+ Layout/EmptyLineAfterGuardClause:
8
+ # Add empty line after guard clause.
22
9
  Enabled: false
23
- Max: 100
10
+
11
+ Layout/LineLength:
12
+ # Checks that line length does not exceed the configured limit.
13
+ Max: 150
14
+
15
+
16
+ Metrics/AbcSize:
17
+ # A calculated magnitude based on number of assignments, branches, and conditions.
18
+ Max: 30
19
+
24
20
  Metrics/BlockLength:
21
+ # Avoid long blocks with many lines.
25
22
  Exclude:
26
23
  - 'spec/**/*.rb'
27
- Metrics/MethodLength:
28
- Description: Avoid methods longer than 10 lines of code.
29
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
30
- Enabled: false
31
- CountComments: false
32
- Max: 10
33
- Metrics/AbcSize:
34
- Description: A calculated magnitude based on number of assignments, branches, and conditions.
35
- Enabled: false
36
- Max: 15
24
+
37
25
  Metrics/CyclomaticComplexity:
38
- Description: A complexity metric that is strongly correlated to the number of test cases needed to validate a method.
39
- Enabled: false
40
- Max: 6
41
- Lint/Debugger:
42
- Description: Warn in debugger entries
43
- Enabled: false
44
- Style/SymbolArray:
45
- Description: Use %i or %I for arrays of symbols.
46
- Enabled: false
47
- Style/RegexpLiteral:
48
- Description: Enforces using / or %r around regular expressions.
49
- EnforcedStyle: percent_r
26
+ # A complexity metric that is strongly correlated to the number of test cases needed to validate a method.
27
+ Max: 10
28
+
29
+ Metrics/MethodLength:
30
+ # Avoid methods longer than 25 lines of code.
31
+ Max: 25
32
+
33
+
50
34
  Style/AsciiComments:
51
- # Disabling this so we can use non-breaking spaces (' ') in documentation comments, preventing browsers from collapsing multiple spaces in code blocks.
52
- Description: This cop checks for non-ascii (non-English) characters in comments.
53
- Enabled: false
54
- Style/NumericLiterals:
55
- Description: This cop checks for big numeric literals without _ between groups of digits in them.
56
- Enabled: false
57
- Style/Documentation:
58
- Description: Document classes and non-namespace modules.
59
- Enabled: false
35
+ # Use only ASCII symbols in comments.
36
+ #
37
+ # NLC: We're allowing non-breaking spaces (' '), as they're needed to prevent
38
+ # browsers from collapsing multiple spaces in documentation code blocks.
39
+ AllowedChars:
40
+ - ' '
41
+
60
42
  Style/ClassAndModuleChildren:
61
- Description: Use nested modules/class definitions instead of compact style.
62
- Enabled: false
63
- Style/FrozenStringLiteralComment:
64
- Enabled: false
65
- Style/EmptyMethod:
43
+ # Checks style of children classes and modules.
66
44
  Enabled: false
67
- Style/StderrPuts:
68
- Enabled: true
69
- Exclude:
70
- - 'bin/**/*'
71
- Style/BlockDelimiters:
72
- Description: Check for uses of braces or do/end around single line or multi-line blocks.
73
- Enabled: true
74
- Exclude:
75
- - 'spec/**/*.rb'
76
- Style/RescueModifier:
77
- Description: This cop checks for uses of rescue in its modifier form.
45
+
46
+ Style/FetchEnvVar:
47
+ # Suggests `ENV.fetch` for the replacement of `ENV[]`.
78
48
  Enabled: false
79
- Naming/UncommunicativeMethodParamName:
80
- Description: This cop checks method parameter names for how descriptive they are.
49
+
50
+ Style/FrozenStringLiteralComment:
51
+ # Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.
52
+ EnforcedStyle: never
53
+
54
+ Style/NumericLiterals:
55
+ # Add underscores to large numeric literals to improve their readability.
81
56
  Enabled: false
57
+
58
+ Style/RegexpLiteral:
59
+ # Use / or %r around regular expressions.
60
+ EnforcedStyle: percent_r
61
+
62
+ Style/StringLiterals:
63
+ # Check for use of ' vs ".
64
+ ConsistentQuotesInMultiline: true
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.1
1
+ 3.0
data/Gemfile.lock CHANGED
@@ -2,61 +2,85 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  crapi (0.1.3)
5
- activesupport (~> 5.2.0)
5
+ activesupport (>= 6.0, < 7.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (5.2.0)
10
+ activesupport (7.0.4)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (>= 0.7, < 2)
13
- minitest (~> 5.1)
14
- tzinfo (~> 1.1)
15
- byebug (10.0.2)
16
- coderay (1.1.2)
17
- concurrent-ruby (1.0.5)
18
- diff-lcs (1.3)
19
- i18n (1.0.1)
12
+ i18n (>= 1.6, < 2)
13
+ minitest (>= 5.1)
14
+ tzinfo (~> 2.0)
15
+ addressable (2.8.1)
16
+ public_suffix (>= 2.0.2, < 6.0)
17
+ ast (2.4.2)
18
+ concurrent-ruby (1.1.10)
19
+ crack (0.4.5)
20
+ rexml
21
+ diff-lcs (1.5.0)
22
+ hashdiff (1.0.1)
23
+ i18n (1.12.0)
20
24
  concurrent-ruby (~> 1.0)
21
- method_source (0.9.0)
22
- minitest (5.11.3)
23
- pry (0.11.3)
24
- coderay (~> 1.1.0)
25
- method_source (~> 0.9.0)
26
- pry-byebug (3.6.0)
27
- byebug (~> 10.0)
28
- pry (~> 0.10)
29
- rake (10.5.0)
30
- rspec (3.7.0)
31
- rspec-core (~> 3.7.0)
32
- rspec-expectations (~> 3.7.0)
33
- rspec-mocks (~> 3.7.0)
34
- rspec-core (3.7.1)
35
- rspec-support (~> 3.7.0)
36
- rspec-expectations (3.7.0)
25
+ json (2.6.3)
26
+ minitest (5.16.3)
27
+ parallel (1.22.1)
28
+ parser (3.1.3.0)
29
+ ast (~> 2.4.1)
30
+ public_suffix (5.0.1)
31
+ rainbow (3.1.1)
32
+ regexp_parser (2.6.1)
33
+ rexml (3.2.5)
34
+ rspec (3.12.0)
35
+ rspec-core (~> 3.12.0)
36
+ rspec-expectations (~> 3.12.0)
37
+ rspec-mocks (~> 3.12.0)
38
+ rspec-core (3.12.0)
39
+ rspec-support (~> 3.12.0)
40
+ rspec-expectations (3.12.1)
37
41
  diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.7.0)
39
- rspec-mocks (3.7.0)
42
+ rspec-support (~> 3.12.0)
43
+ rspec-mocks (3.12.1)
40
44
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.7.0)
42
- rspec-support (3.7.1)
43
- rspec_junit_formatter (0.3.0)
45
+ rspec-support (~> 3.12.0)
46
+ rspec-support (3.12.0)
47
+ rspec_junit_formatter (0.6.0)
44
48
  rspec-core (>= 2, < 4, != 2.12.0)
45
- thread_safe (0.3.6)
46
- tzinfo (1.2.5)
47
- thread_safe (~> 0.1)
49
+ rubocop (1.41.1)
50
+ json (~> 2.3)
51
+ parallel (~> 1.10)
52
+ parser (>= 3.1.2.1)
53
+ rainbow (>= 2.2.2, < 4.0)
54
+ regexp_parser (>= 1.8, < 3.0)
55
+ rexml (>= 3.2.5, < 4.0)
56
+ rubocop-ast (>= 1.23.0, < 2.0)
57
+ ruby-progressbar (~> 1.7)
58
+ unicode-display_width (>= 1.4.0, < 3.0)
59
+ rubocop-ast (1.24.1)
60
+ parser (>= 3.1.1.0)
61
+ ruby-progressbar (1.11.0)
62
+ tzinfo (2.0.5)
63
+ concurrent-ruby (~> 1.0)
64
+ unicode-display_width (2.3.0)
65
+ webmock (3.18.1)
66
+ addressable (>= 2.8.0)
67
+ crack (>= 0.3.2)
68
+ hashdiff (>= 0.4.0, < 2.0.0)
69
+ webrick (1.7.0)
70
+ yard (0.9.28)
71
+ webrick (~> 1.7.0)
48
72
 
49
73
  PLATFORMS
50
- ruby
74
+ x86_64-linux
51
75
 
52
76
  DEPENDENCIES
53
- bundler (~> 1.16)
77
+ bundler (~> 2)
54
78
  crapi!
55
- pry (~> 0.11)
56
- pry-byebug (~> 3.6)
57
- rake (~> 10.0)
58
- rspec (~> 3.0)
59
- rspec_junit_formatter (~> 0.3)
79
+ rspec (~> 3)
80
+ rspec_junit_formatter
81
+ rubocop
82
+ webmock
83
+ yard
60
84
 
61
85
  BUNDLED WITH
62
- 1.16.2
86
+ 2.3.24
data/README.md CHANGED
@@ -1,10 +1,12 @@
1
- # Crapi [![Gem Version](https://badge.fury.io/rb/crapi.svg)](https://badge.fury.io/rb/crapi)
1
+ [![Gem Version](https://img.shields.io/github/v/release/nestor-custodio/crapi?color=green&label=gem%20version)](https://rubygems.org/gems/crapi)
2
+ [![MIT License](https://img.shields.io/github/license/nestor-custodio/crapi)](https://tldrlegal.com/license/mit-license)
2
3
 
3
- Crapi is yet another API wrapper. Yes, there is no shortage of these out there, but no other API wrapper gem (that I could find) provided the kind of functionality you get from the Crapi::Proxy class, which is really the biggest benefit here.
4
4
 
5
- **Crapi::Client** will connect to the target system and handily provides a base path for you (becaue some APIs and services have a path that is always part of every request), **Crapi::Proxy** lets you add to the root client's base path or default set of headers without having to create any new connections.
5
+ # CrAPI
6
6
 
7
- Why "crapi"? Because it's a <u>CR</u>UD <u>API</u> client, and (honestly) "... It could be better."™️
7
+ CrAPI is yet another <u>Cr</u>ud <u>API</u> client wrapper. Yes, there is no shortage of these out there, but no other API wrapper gem (that I could find) provided the kind of functionality you get from the CrAPI::Proxy class, which is really the biggest benefit here.
8
+
9
+ **CrAPI::Client** will connect to the target system and handily provides a base path for you (because some APIs and services have a path that is always part of every request), **CrAPI::Proxy** lets you add to the root client's base path or default set of headers without having to create any new connections.
8
10
 
9
11
 
10
12
  ## Installation
@@ -24,24 +26,24 @@ Or install it yourself as:
24
26
  $ gem install crapi
25
27
 
26
28
 
27
- ## Using The Crapi Tools
29
+ ## Using The CrAPI Tools
28
30
 
29
31
  ### Client Usage
30
32
 
31
33
  ```ruby
32
- ## Connect to an API.
34
+ # Connect to an API.
33
35
 
34
- api = Crapi::Client.new('https://jsonplaceholder.typicode.com/')
36
+ api = CrAPI::Client.new('https://jsonplaceholder.typicode.com/')
35
37
 
36
38
 
37
- ## Issue requests against the API.
39
+ # Issue requests against the API.
38
40
 
39
- api.get('users/1') ## GETs /users/1; returns a Hash.
41
+ api.get('users/1') # GETs /users/1; returns a Hash.
40
42
 
41
- api.get('posts', query: { userId: 2 }) ## GETs /posts?userId=2; returns an Array.
43
+ api.get('posts', query: { userId: 2 }) # GETs /posts?userId=2; returns an Array.
42
44
 
43
45
  mew_comment = { user: 'megapwner', text: 'FRIST!!1!' }
44
- api.post('comments', payload: new_comment) ## POSTs to /comments; returns a Hash.
46
+ api.post('comments', payload: new_comment) # POSTs to /comments; returns a Hash.
45
47
  ```
46
48
 
47
49
  ---
@@ -49,40 +51,40 @@ api.post('comments', payload: new_comment) ## POSTs to /comments; returns a Has
49
51
  ### Proxy Usage
50
52
 
51
53
  ```ruby
52
- ## Connect to an API.
54
+ # Connect to an API.
53
55
 
54
- api = Crapi::Client.new('https://versioned.fake-api.com/api/')
56
+ api = CrAPI::Client.new('https://versioned.fake-api.com/api/')
55
57
 
56
58
 
57
- ## Back in the v1 days, versioning of this API was via the URL ...
59
+ # Back in the v1 days, versioning of this API was via the URL ...
58
60
 
59
61
  v1 = api.new_proxy('/v1')
60
62
 
61
- v1.get('data') ## GETs /api/v1/data; pretty straight-forward.
62
- v1.post('data', payload: values) ## POSTs *values* to /api/v1/data.
63
+ v1.get('data') # GETs /api/v1/data; pretty straight-forward.
64
+ v1.post('data', payload: values) # POSTs *values* to /api/v1/data.
63
65
 
64
66
 
65
- ## For API v2, they switched to an Accept header approach ...
67
+ # For API v2, they switched to an Accept header approach ...
66
68
 
67
69
  v2 = api.new_proxy('/', headers: { Accept: 'application/vnd.fake-api.v2+json' })
68
70
 
69
- v2.get('data') ## GETs /api/data with the v2 header.
71
+ v2.get('data') # GETs /api/data with the v2 header.
70
72
 
71
73
 
72
- ## API v3 keeps the Accept header approach ...
74
+ # API v3 keeps the Accept header approach ...
73
75
 
74
76
  v3 = api.new_proxy('/', headers: { Accept: 'application/vnd.fake-api.v3+json' })
75
77
 
76
- v3.get('data') ## GETs /api/data with the v3 header.
78
+ v3.get('data') # GETs /api/data with the v3 header.
77
79
 
78
80
 
79
- ## Note that only one connection to the client is made and you can easily make
80
- ## v1, v2, and v3 API calls ad hoc without having to juggle paths/headers yourself.
81
+ # Note that only one connection to the client is made and you can easily make
82
+ # v1, v2, and v3 API calls ad hoc without having to juggle paths/headers yourself.
81
83
  ```
82
84
 
83
85
  ---
84
86
 
85
- [Consult the repo docs for the full Crapi documentation.](http://nestor-custodio.github.io/crapi/Crapi.html)
87
+ [Consult the repo docs for the full CrAPI documentation.](http://nestor-custodio.github.io/crapi/CrAPI.html)
86
88
 
87
89
 
88
90
  ## Feature Roadmap / Future Development
@@ -95,13 +97,13 @@ Additional features/options coming in the future:
95
97
 
96
98
  ## Contribution / Development
97
99
 
98
- Bug reports and pull requests are welcome on GitHub at https://github.com/nestor-custodio/crapi.
100
+ Bug reports and pull requests are welcome at: [https://github.com/nestor-custodio/crapi](https://github.com/nestor-custodio/crapi)
99
101
 
100
- 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.
102
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
101
103
 
102
- Linting is courtesy of [Rubocop](https://github.com/bbatsov/rubocop) and documentation is built using [Yard](https://yardoc.org/). Neither is included in the Gemspec; you'll need to install these locally (`gem install rubocop yard`) to take advantage.
104
+ Linting is courtesy of [Rubocop](https://docs.rubocop.org/) (`bundle exec rubocop`) and documentation is built using [Yard](https://yardoc.org/) (`bundle exec yard`). Please ensure you have a clean bill of health from Rubocop and that any new features and/or changes to behaviour are reflected in the documentation before submitting a pull request.
103
105
 
104
106
 
105
107
  ## License
106
108
 
107
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
109
+ CrAPI is available as open source under the terms of the [MIT License](https://tldrlegal.com/license/mit-license).
data/crapi.gemspec CHANGED
@@ -1,31 +1,31 @@
1
-
2
1
  lib = File.expand_path('lib', __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'crapi/version'
5
4
 
6
5
  Gem::Specification.new do |spec|
6
+ spec.required_ruby_version = ['>= 3.0', '< 3.2']
7
+
7
8
  spec.name = 'crapi'
8
- spec.version = Crapi::VERSION
9
+ spec.version = CrAPI::VERSION
9
10
  spec.authors = ['Nestor Custodio']
10
11
  spec.email = ['sakimorix@gmail.com']
11
12
 
12
13
  spec.summary = 'A simple API client with built-in segment/header proxy support. "... It could be better." ™️'
13
- spec.homepage = 'https://www.github.com/nestor-custodio/crapi'
14
+ spec.homepage = 'https://github.com/nestor-custodio/crapi'
14
15
  spec.license = 'MIT'
15
16
 
16
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
- f.match(%r{^(test|spec|features)/})
18
- end
19
- spec.bindir = 'exe'
20
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |filename| filename.start_with? 'test/' }
18
+ spec.executables = []
21
19
  spec.require_paths = ['lib']
22
20
 
23
- spec.add_development_dependency 'bundler', '~> 1.16'
24
- spec.add_development_dependency 'pry', '~> 0.11'
25
- spec.add_development_dependency 'pry-byebug', '~> 3.6'
26
- spec.add_development_dependency 'rake', '~> 10.0'
27
- spec.add_development_dependency 'rspec', '~> 3.0'
28
- spec.add_development_dependency 'rspec_junit_formatter', '~> 0.3'
21
+ spec.metadata['rubygems_mfa_required'] = 'true'
22
+
23
+ spec.add_dependency 'activesupport', ['>= 6.0', '< 7.1']
29
24
 
30
- spec.add_dependency 'activesupport', '~> 5.2.0'
25
+ spec.add_development_dependency 'bundler', '~> 2'
26
+ spec.add_development_dependency 'rspec', '~> 3'
27
+ spec.add_development_dependency 'rspec_junit_formatter'
28
+ spec.add_development_dependency 'rubocop'
29
+ spec.add_development_dependency 'webmock'
30
+ spec.add_development_dependency 'yard'
31
31
  end
@@ -4,18 +4,18 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Exception: Crapi::ArgumentError
7
+ Exception: CrAPI::ArgumentError
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.28
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "Crapi::ArgumentError";
17
+ <script type="text/javascript">
18
+ pathId = "CrAPI::ArgumentError";
19
19
  relpath = '../';
20
20
  </script>
21
21
 
@@ -37,7 +37,7 @@
37
37
  <div id="menu">
38
38
 
39
39
  <a href="../_index.html">Index (A)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Crapi.html" title="Crapi (module)">Crapi</a></span></span>
40
+ <span class='title'><span class='object_link'><a href="../CrAPI.html" title="CrAPI (module)">CrAPI</a></span></span>
41
41
  &raquo;
42
42
  <span class="title">ArgumentError</span>
43
43
 
@@ -59,7 +59,7 @@
59
59
  <div class="clear"></div>
60
60
  </div>
61
61
 
62
- <div id="content"><h1>Exception: Crapi::ArgumentError
62
+ <div id="content"><h1>Exception: CrAPI::ArgumentError
63
63
 
64
64
 
65
65
 
@@ -69,16 +69,16 @@
69
69
  <dl>
70
70
  <dt>Inherits:</dt>
71
71
  <dd>
72
- <span class="inheritName"><span class='object_link'><a href="Error.html" title="Crapi::Error (class)">Error</a></span></span>
72
+ <span class="inheritName"><span class='object_link'><a href="Error.html" title="CrAPI::Error (class)">Error</a></span></span>
73
73
 
74
74
  <ul class="fullTree">
75
75
  <li>Object</li>
76
76
 
77
77
  <li class="next">StandardError</li>
78
78
 
79
- <li class="next"><span class='object_link'><a href="Error.html" title="Crapi::Error (class)">Error</a></span></li>
79
+ <li class="next"><span class='object_link'><a href="Error.html" title="CrAPI::Error (class)">Error</a></span></li>
80
80
 
81
- <li class="next">Crapi::ArgumentError</li>
81
+ <li class="next">CrAPI::ArgumentError</li>
82
82
 
83
83
  </ul>
84
84
  <a href="#" class="inheritanceTree">show all</a>
@@ -105,8 +105,7 @@
105
105
 
106
106
  <h2>Overview</h2><div class="docstring">
107
107
  <div class="discussion">
108
-
109
- <p>An error relating to missing, invalid, or incompatible method arguments.</p>
108
+ <p>An error relating to missing, invalid, or incompatible method arguments.</p>
110
109
 
111
110
 
112
111
  </div>
@@ -133,9 +132,9 @@
133
132
  </div>
134
133
 
135
134
  <div id="footer">
136
- Generated on Wed May 30 11:27:03 2018 by
137
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
- 0.9.12 (ruby-2.5.1).
135
+ Generated on Mon Jan 2 15:16:45 2023 by
136
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
137
+ 0.9.28 (ruby-3.0.4).
139
138
  </div>
140
139
 
141
140
  </div>