pactas_itero 0.5.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +63 -52
- data/lib/pactas_itero/response/raise_error.rb +1 -3
- data/lib/pactas_itero/version.rb +1 -1
- data/pactas_itero.gemspec +37 -0
- metadata +9 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47ede807d9f024bbe91fe7e02c664c4cb37a91a3d3ed7e1d95e976ddb1f78c9f
|
|
4
|
+
data.tar.gz: 78e54d2380a7f3fa107f8efcbefb78aa3f8769cc3a5953e61dcad30fc5cb65a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cea919a09293ade0837cfdffb9dcb31a675c4ee0c3b33b38542a71b66760d308beb8ae888935a7d9cd0fbf6bcc60c2da6451c6a1e721d298fd8ec74d0504441f
|
|
7
|
+
data.tar.gz: 3071aec00f907381d62695962f2548338de436467ba08b4fc59b14987fd2aa6c41c91aad1677dd74d11fc8652c54544fe483c50eaae6f105cdabe694b031b9e4
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,69 +1,79 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pactas_itero (0.
|
|
5
|
-
faraday_middleware (>=
|
|
6
|
-
|
|
4
|
+
pactas_itero (0.5.0)
|
|
5
|
+
faraday_middleware (>= 1.0)
|
|
6
|
+
rash_alt
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
addressable (2.
|
|
12
|
-
public_suffix (
|
|
13
|
-
ast (2.4.
|
|
14
|
-
crack (0.4.
|
|
15
|
-
|
|
16
|
-
diff-lcs (1.
|
|
17
|
-
docile (1.
|
|
18
|
-
faraday (
|
|
11
|
+
addressable (2.7.0)
|
|
12
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
13
|
+
ast (2.4.2)
|
|
14
|
+
crack (0.4.5)
|
|
15
|
+
rexml
|
|
16
|
+
diff-lcs (1.4.4)
|
|
17
|
+
docile (1.3.5)
|
|
18
|
+
faraday (1.3.0)
|
|
19
|
+
faraday-net_http (~> 1.0)
|
|
19
20
|
multipart-post (>= 1.2, < 3)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
ruby2_keywords
|
|
22
|
+
faraday-net_http (1.0.1)
|
|
23
|
+
faraday_middleware (1.0.0)
|
|
24
|
+
faraday (~> 1.0)
|
|
25
|
+
hashdiff (1.0.1)
|
|
26
|
+
hashie (4.1.0)
|
|
27
|
+
json (2.5.1)
|
|
28
|
+
multipart-post (2.1.1)
|
|
29
|
+
parallel (1.20.1)
|
|
30
|
+
parser (3.0.0.0)
|
|
31
|
+
ast (~> 2.4.1)
|
|
32
|
+
public_suffix (4.0.6)
|
|
31
33
|
rainbow (3.0.0)
|
|
32
|
-
rake (
|
|
33
|
-
|
|
34
|
-
hashie (~>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
rspec-
|
|
39
|
-
|
|
40
|
-
rspec-
|
|
41
|
-
rspec-
|
|
34
|
+
rake (13.0.3)
|
|
35
|
+
rash_alt (0.4.9)
|
|
36
|
+
hashie (~> 4.1)
|
|
37
|
+
regexp_parser (2.0.3)
|
|
38
|
+
rexml (3.2.4)
|
|
39
|
+
rspec (3.8.0)
|
|
40
|
+
rspec-core (~> 3.8.0)
|
|
41
|
+
rspec-expectations (~> 3.8.0)
|
|
42
|
+
rspec-mocks (~> 3.8.0)
|
|
43
|
+
rspec-core (3.8.2)
|
|
44
|
+
rspec-support (~> 3.8.0)
|
|
45
|
+
rspec-expectations (3.8.6)
|
|
42
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
43
|
-
rspec-support (~> 3.
|
|
44
|
-
rspec-mocks (3.
|
|
47
|
+
rspec-support (~> 3.8.0)
|
|
48
|
+
rspec-mocks (3.8.2)
|
|
45
49
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
46
|
-
rspec-support (~> 3.
|
|
47
|
-
rspec-support (3.
|
|
48
|
-
rubocop (
|
|
50
|
+
rspec-support (~> 3.8.0)
|
|
51
|
+
rspec-support (3.8.3)
|
|
52
|
+
rubocop (1.8.1)
|
|
49
53
|
parallel (~> 1.10)
|
|
50
|
-
parser (>=
|
|
51
|
-
powerpack (~> 0.1)
|
|
54
|
+
parser (>= 3.0.0.0)
|
|
52
55
|
rainbow (>= 2.2.2, < 4.0)
|
|
56
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
57
|
+
rexml
|
|
58
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
|
53
59
|
ruby-progressbar (~> 1.7)
|
|
54
|
-
unicode-display_width (
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
61
|
+
rubocop-ast (1.4.1)
|
|
62
|
+
parser (>= 2.7.1.5)
|
|
63
|
+
rubocop-performance (1.7.1)
|
|
64
|
+
rubocop (>= 0.82.0)
|
|
65
|
+
ruby-progressbar (1.11.0)
|
|
66
|
+
ruby2_keywords (0.0.4)
|
|
67
|
+
simplecov (0.16.1)
|
|
68
|
+
docile (~> 1.1)
|
|
59
69
|
json (>= 1.8, < 3)
|
|
60
70
|
simplecov-html (~> 0.10.0)
|
|
61
71
|
simplecov-html (0.10.2)
|
|
62
|
-
unicode-display_width (
|
|
63
|
-
webmock (
|
|
72
|
+
unicode-display_width (2.0.0)
|
|
73
|
+
webmock (3.11.2)
|
|
64
74
|
addressable (>= 2.3.6)
|
|
65
75
|
crack (>= 0.3.2)
|
|
66
|
-
hashdiff
|
|
76
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
67
77
|
|
|
68
78
|
PLATFORMS
|
|
69
79
|
ruby
|
|
@@ -72,10 +82,11 @@ DEPENDENCIES
|
|
|
72
82
|
bundler
|
|
73
83
|
pactas_itero!
|
|
74
84
|
rake
|
|
75
|
-
rspec (~> 3.
|
|
76
|
-
rubocop (~>
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
rspec (~> 3.8.0)
|
|
86
|
+
rubocop (~> 1.8.1)
|
|
87
|
+
rubocop-performance (~> 1.7.0)
|
|
88
|
+
simplecov (~> 0.16.1)
|
|
89
|
+
webmock (~> 3.3)
|
|
79
90
|
|
|
80
91
|
BUNDLED WITH
|
|
81
|
-
1.
|
|
92
|
+
2.1.4
|
|
@@ -7,9 +7,7 @@ module PactasItero
|
|
|
7
7
|
|
|
8
8
|
# This class raises an PactasItero-flavored exception based
|
|
9
9
|
# HTTP status codes returned by the API
|
|
10
|
-
class RaiseError < Faraday::
|
|
11
|
-
|
|
12
|
-
private
|
|
10
|
+
class RaiseError < Faraday::Middleware
|
|
13
11
|
|
|
14
12
|
def on_complete(response)
|
|
15
13
|
if error = PactasItero::Error.from_response(response)
|
data/lib/pactas_itero/version.rb
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'pactas_itero/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = 'pactas_itero'
|
|
8
|
+
spec.version = PactasItero::VERSION
|
|
9
|
+
spec.authors = ['Simon Fröhler']
|
|
10
|
+
spec.email = "simon@shipcloud.io"
|
|
11
|
+
spec.summary = %q{pactas_itero provides a client mapping for accessing
|
|
12
|
+
the Pactas Itero API.}
|
|
13
|
+
spec.description = %q{pactas_itero provides a client mapping for accessing
|
|
14
|
+
the Pactas Itero API, making it easy to post your data to, adn read your
|
|
15
|
+
data from your Pactas account.}
|
|
16
|
+
spec.homepage = 'https://github.com/webionate/pactas_itero'
|
|
17
|
+
spec.license = 'MIT'
|
|
18
|
+
|
|
19
|
+
spec.files = Dir["lib/**/*.rb"] + Dir["bin/*"]
|
|
20
|
+
spec.files += Dir["[A-Z]*"] + Dir["spec/**/*"]
|
|
21
|
+
spec.test_files = spec.files.grep(%r{^spec/})
|
|
22
|
+
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
|
23
|
+
spec.require_paths = ['lib']
|
|
24
|
+
|
|
25
|
+
spec.required_ruby_version = ">= 2.0"
|
|
26
|
+
|
|
27
|
+
spec.add_dependency("faraday_middleware", ">= 1.0")
|
|
28
|
+
spec.add_dependency("rash_alt")
|
|
29
|
+
|
|
30
|
+
spec.add_development_dependency 'bundler'
|
|
31
|
+
spec.add_development_dependency 'rake'
|
|
32
|
+
spec.add_development_dependency "rspec", '~> 3.8.0'
|
|
33
|
+
spec.add_development_dependency("rubocop", '~> 0.68') # check houndci compatibility before updating rubocop
|
|
34
|
+
spec.add_development_dependency("rubocop-performance", "~> 1.3")
|
|
35
|
+
spec.add_development_dependency("simplecov", "~> 0.16.1")
|
|
36
|
+
spec.add_development_dependency("webmock", "~> 3.3")
|
|
37
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pactas_itero
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Fröhler
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday_middleware
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
19
|
+
version: '1.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
26
|
+
version: '1.0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rash_alt
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -167,6 +167,7 @@ files:
|
|
|
167
167
|
- lib/pactas_itero/ext/hash/camelize_keys.rb
|
|
168
168
|
- lib/pactas_itero/response/raise_error.rb
|
|
169
169
|
- lib/pactas_itero/version.rb
|
|
170
|
+
- pactas_itero.gemspec
|
|
170
171
|
- spec/fixtures/bearer_token.json
|
|
171
172
|
- spec/fixtures/commit_order_response.json
|
|
172
173
|
- spec/fixtures/contract.json
|
|
@@ -198,7 +199,7 @@ homepage: https://github.com/webionate/pactas_itero
|
|
|
198
199
|
licenses:
|
|
199
200
|
- MIT
|
|
200
201
|
metadata: {}
|
|
201
|
-
post_install_message:
|
|
202
|
+
post_install_message:
|
|
202
203
|
rdoc_options: []
|
|
203
204
|
require_paths:
|
|
204
205
|
- lib
|
|
@@ -213,8 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
213
214
|
- !ruby/object:Gem::Version
|
|
214
215
|
version: '0'
|
|
215
216
|
requirements: []
|
|
216
|
-
rubygems_version: 3.
|
|
217
|
-
signing_key:
|
|
217
|
+
rubygems_version: 3.1.4
|
|
218
|
+
signing_key:
|
|
218
219
|
specification_version: 4
|
|
219
220
|
summary: pactas_itero provides a client mapping for accessing the Pactas Itero API.
|
|
220
221
|
test_files:
|