action_kit_rest 0.4.9 → 0.4.10

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
2
  SHA256:
3
- metadata.gz: 8d1a20be28c4958f6f3dd3c5e59a4fb55edeef76de26a40f55e48faff8c33020
4
- data.tar.gz: 6f080fe7a70ab91c409bf1288f1a0efb2e135c2a0ecf917c57ae17d9dda2586b
3
+ metadata.gz: c3879b9ace98aaef3b425a16ea52d5abc0ed3cb543ca09d8e5bf51a6ffa16ac7
4
+ data.tar.gz: 277694dc9b9370f2275d898b4c162aad18019b8dc995221f93e0041747d5f352
5
5
  SHA512:
6
- metadata.gz: 554527d0868d5f501a844019d34911254f7244f07b0d5057245d6cf6b6910a313465615760d66de46ee0e1e5ed515beccb6b4848748321902a0423daf81ed175
7
- data.tar.gz: 7fde46c77d6994b2a90610c8ddd10765cac833288e735b9ef4408f25f427bf016e0d51dedbf4e7413aefd2ca78b221b6c92e82711d89821210e667e386c06547
6
+ metadata.gz: 3bcfdc7e2a52d6fa21d3b824fe5dc1ea3a07df4f67c1f66bccb46a7abf93c4859c30248c7d6a504f14e5c5e4244523e554e11f3c2ddb5994aeecd882ddb4cfd7
7
+ data.tar.gz: 75496b78cfbf64de3acbd641e26c13f01b8d2623edcf698d4234dd676f923f5dba1b56333a1b0faf37293673594fdcdbd7257414c8022083f2fff282fb21ec2b
@@ -6,9 +6,9 @@ jobs:
6
6
  runs-on: ubuntu-latest
7
7
  steps:
8
8
  - uses: actions/checkout@v2
9
- - uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
9
+ - uses: ruby/setup-ruby@v1
10
10
  with:
11
- ruby-version: 2.7
11
+ ruby-version: 3.2
12
12
  bundler-cache: true
13
13
  - run: bundle install
14
14
  - run: bundle exec rspec
@@ -16,9 +16,9 @@ jobs:
16
16
  runs-on: ubuntu-latest
17
17
  steps:
18
18
  - uses: actions/checkout@v2
19
- - uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
19
+ - uses: ruby/setup-ruby@v1
20
20
  with:
21
- ruby-version: 2.7
21
+ ruby-version: 3.2
22
22
  bundler-cache: true
23
23
  - run: bundle install
24
24
  - run: bundle exec rubocop
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.2
1
+ 3.2.2
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: action_kit_rest 0.4.9 ruby lib
5
+ # stub: action_kit_rest 0.4.10 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "action_kit_rest".freeze
9
- s.version = "0.4.9"
9
+ s.version = "0.4.10"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Nathan Woodhull".freeze, "Diego Marcet".freeze, "Grey Moore".freeze]
14
- s.date = "2022-11-29"
14
+ s.date = "2024-01-10"
15
15
  s.description = "Gem for interacting with the ActionKit API".freeze
16
16
  s.email = "systems@controlshiftlabs.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -91,35 +91,20 @@ Gem::Specification.new do |s|
91
91
  ]
92
92
  s.homepage = "http://github.com/controlshift/action_kit_rest".freeze
93
93
  s.licenses = ["MIT".freeze]
94
- s.rubygems_version = "3.3.19".freeze
94
+ s.rubygems_version = "3.4.19".freeze
95
95
  s.summary = "A wrapper for the ActionKit REST API".freeze
96
96
 
97
- if s.respond_to? :specification_version then
98
- s.specification_version = 4
99
- end
97
+ s.specification_version = 4
100
98
 
101
- if s.respond_to? :add_runtime_dependency then
102
- s.add_runtime_dependency(%q<vertebrae>.freeze, [">= 0.6.0"])
103
- s.add_development_dependency(%q<bundler>.freeze, [">= 2.0", "< 3.0"])
104
- s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
105
- s.add_development_dependency(%q<em-http-request>.freeze, [">= 1.1.5", "< 2.0"])
106
- s.add_development_dependency(%q<em-synchrony>.freeze, [">= 1.0.6", "< 2.0"])
107
- s.add_development_dependency(%q<eventmachine>.freeze, [">= 1.2.5", "< 2.0"])
108
- s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
109
- s.add_development_dependency(%q<rspec>.freeze, ["~> 3.7"])
110
- s.add_development_dependency(%q<rubocop>.freeze, [">= 0"])
111
- s.add_development_dependency(%q<webmock>.freeze, ["~> 3.3"])
112
- else
113
- s.add_dependency(%q<vertebrae>.freeze, [">= 0.6.0"])
114
- s.add_dependency(%q<bundler>.freeze, [">= 2.0", "< 3.0"])
115
- s.add_dependency(%q<byebug>.freeze, [">= 0"])
116
- s.add_dependency(%q<em-http-request>.freeze, [">= 1.1.5", "< 2.0"])
117
- s.add_dependency(%q<em-synchrony>.freeze, [">= 1.0.6", "< 2.0"])
118
- s.add_dependency(%q<eventmachine>.freeze, [">= 1.2.5", "< 2.0"])
119
- s.add_dependency(%q<juwelier>.freeze, [">= 0"])
120
- s.add_dependency(%q<rspec>.freeze, ["~> 3.7"])
121
- s.add_dependency(%q<rubocop>.freeze, [">= 0"])
122
- s.add_dependency(%q<webmock>.freeze, ["~> 3.3"])
123
- end
99
+ s.add_runtime_dependency(%q<vertebrae>.freeze, [">= 0.6.0"])
100
+ s.add_development_dependency(%q<bundler>.freeze, [">= 2.0", "< 3.0"])
101
+ s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
102
+ s.add_development_dependency(%q<em-http-request>.freeze, [">= 1.1.5", "< 2.0"])
103
+ s.add_development_dependency(%q<em-synchrony>.freeze, [">= 1.0.6", "< 2.0"])
104
+ s.add_development_dependency(%q<eventmachine>.freeze, [">= 1.2.5", "< 2.0"])
105
+ s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
106
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.7"])
107
+ s.add_development_dependency(%q<rubocop>.freeze, [">= 0"])
108
+ s.add_development_dependency(%q<webmock>.freeze, ["~> 3.3"])
124
109
  end
125
110
 
@@ -24,10 +24,10 @@ module ActionKitRest
24
24
  if error_message == 'Sorry, this request could not be processed. Please try again later.'
25
25
  raise ActionKitRest::Response::TryAgainLater, error_message(response)
26
26
  else
27
- raise StandardError, error_message(response)
27
+ raise ActionKitRest::Response::UnknownServerError, error_message(response)
28
28
  end
29
29
  else
30
- raise StandardError, error_message(response)
30
+ raise ActionKitRest::Response::UnknownServerError, error_message(response)
31
31
  end
32
32
  end
33
33
  end
@@ -37,6 +37,8 @@ module ActionKitRest
37
37
  end
38
38
  end
39
39
 
40
+ class UnknownServerError < StandardError; end
41
+
40
42
  class TryAgainLater < StandardError; end
41
43
 
42
44
  class NotFound < StandardError; end
@@ -4,7 +4,7 @@ module ActionKitRest
4
4
  module VERSION
5
5
  MAJOR = 0
6
6
  MINOR = 4
7
- PATCH = 9
7
+ PATCH = 10
8
8
  BUILD = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_kit_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Woodhull
8
8
  - Diego Marcet
9
9
  - Grey Moore
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-11-29 00:00:00.000000000 Z
13
+ date: 2024-01-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: vertebrae
@@ -257,7 +257,7 @@ homepage: http://github.com/controlshift/action_kit_rest
257
257
  licenses:
258
258
  - MIT
259
259
  metadata: {}
260
- post_install_message:
260
+ post_install_message:
261
261
  rdoc_options: []
262
262
  require_paths:
263
263
  - lib
@@ -272,8 +272,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
272
  - !ruby/object:Gem::Version
273
273
  version: '0'
274
274
  requirements: []
275
- rubygems_version: 3.3.19
276
- signing_key:
275
+ rubygems_version: 3.4.19
276
+ signing_key:
277
277
  specification_version: 4
278
278
  summary: A wrapper for the ActionKit REST API
279
279
  test_files: []