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 +4 -4
- data/.github/workflows/ci.yml +4 -4
- data/.ruby-version +1 -1
- data/action_kit_rest.gemspec +15 -30
- data/lib/action_kit_rest/response/raise_error.rb +4 -2
- data/lib/action_kit_rest/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3879b9ace98aaef3b425a16ea52d5abc0ed3cb543ca09d8e5bf51a6ffa16ac7
|
4
|
+
data.tar.gz: 277694dc9b9370f2275d898b4c162aad18019b8dc995221f93e0041747d5f352
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bcfdc7e2a52d6fa21d3b824fe5dc1ea3a07df4f67c1f66bccb46a7abf93c4859c30248c7d6a504f14e5c5e4244523e554e11f3c2ddb5994aeecd882ddb4cfd7
|
7
|
+
data.tar.gz: 75496b78cfbf64de3acbd641e26c13f01b8d2623edcf698d4234dd676f923f5dba1b56333a1b0faf37293673594fdcdbd7257414c8022083f2fff282fb21ec2b
|
data/.github/workflows/ci.yml
CHANGED
@@ -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@
|
9
|
+
- uses: ruby/setup-ruby@v1
|
10
10
|
with:
|
11
|
-
ruby-version: 2
|
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@
|
19
|
+
- uses: ruby/setup-ruby@v1
|
20
20
|
with:
|
21
|
-
ruby-version: 2
|
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
|
+
3.2.2
|
data/action_kit_rest.gemspec
CHANGED
@@ -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.
|
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
|
+
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 = "
|
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.
|
94
|
+
s.rubygems_version = "3.4.19".freeze
|
95
95
|
s.summary = "A wrapper for the ActionKit REST API".freeze
|
96
96
|
|
97
|
-
|
98
|
-
s.specification_version = 4
|
99
|
-
end
|
97
|
+
s.specification_version = 4
|
100
98
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
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
|
27
|
+
raise ActionKitRest::Response::UnknownServerError, error_message(response)
|
28
28
|
end
|
29
29
|
else
|
30
|
-
raise
|
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
|
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.
|
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:
|
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.
|
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: []
|