sapoci-connect 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- metadata +29 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e091ad746f1c988fa9130ee59fa46db62371e40437f503f29d3ea7d5996a2715
|
4
|
+
data.tar.gz: 75c2fe60de24231d2c5a544649758aba98add78ef341b19c4a0f23bf851dd86a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60d97f0f3a02c0a60524aeb1f2161095d07cd6fd1dd216ad181360ca4c03b04fb809a49a536047588ea5f388e7758155cadf9e9c41b3c7f44b230a17ade4b01a
|
7
|
+
data.tar.gz: 79208605ea5b145df2d19c24fdf5f8f8265603472f770de409c8051193d0e394ea8240db76d0bea396dca218ae58596dae6d1e81e5c8b432d16c3fa0e26041f8
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# SAP OCI Connect
|
2
2
|
|
3
|
+
[![Test](https://github.com/meplato/sapoci-connect/actions/workflows/test.yml/badge.svg)](https://github.com/meplato/sapoci-connect/actions/workflows/test.yml)
|
4
|
+
|
3
5
|
We use this library to work with eprocurement punchout systems that
|
4
6
|
comply to the SAP OCI 4.0 and 5.0 specification.
|
5
7
|
|
@@ -49,7 +51,7 @@ an `SAPOCI::Document` to look into. Notice that `{preserve_raw: true}` needs
|
|
49
51
|
to be passed as well if you want the original HTTP response body in
|
50
52
|
`response.env[:raw_body]`.
|
51
53
|
|
52
|
-
Review [Faraday](https://github.com/lostisland/faraday) for details on
|
54
|
+
Review [Faraday](https://github.com/lostisland/faraday) for details on
|
53
55
|
connection initiation. We require Faraday version 1.0.1 or later.
|
54
56
|
|
55
57
|
## Testing
|
@@ -57,17 +59,17 @@ connection initiation. We require Faraday version 1.0.1 or later.
|
|
57
59
|
Here's how to test locally:
|
58
60
|
|
59
61
|
```sh
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
62
|
+
bundle install
|
63
|
+
# Start a second console
|
64
|
+
rake start_test_server
|
65
|
+
# Back in first console
|
66
|
+
bundle exec rake test
|
65
67
|
```
|
66
68
|
|
67
69
|
To test remote OCI punchout shops, use the `REMOTE` environment variable:
|
68
70
|
|
69
71
|
```sh
|
70
|
-
|
72
|
+
REMOTE="http://remote-site.com/Login.aspx?u=demo&p=secret" rake
|
71
73
|
```
|
72
74
|
|
73
75
|
## Credits
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sapoci-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Eilhard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.4.1
|
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: 1.
|
26
|
+
version: 1.4.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday_middleware
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,124 +44,118 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: '2.0'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 2.0.9
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
55
|
- - "~>"
|
53
56
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
57
|
+
version: '2.0'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 2.0.9
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: sapoci
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.5.
|
67
|
+
version: 0.5.2
|
62
68
|
type: :runtime
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.5.
|
74
|
+
version: 0.5.2
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: webrick
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.6.
|
81
|
+
version: 1.6.1
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.6.
|
88
|
+
version: 1.6.1
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: bundler
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.
|
95
|
+
version: 2.2.17
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: 2.
|
102
|
+
version: 2.2.17
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: rdoc
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
107
|
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: 6.
|
109
|
+
version: 6.3.1
|
104
110
|
type: :development
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
114
|
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version: 6.
|
116
|
+
version: 6.3.1
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
118
|
name: rake
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
114
120
|
requirements:
|
115
121
|
- - "~>"
|
116
122
|
- !ruby/object:Gem::Version
|
117
|
-
version: 13.0.
|
123
|
+
version: 13.0.3
|
118
124
|
type: :development
|
119
125
|
prerelease: false
|
120
126
|
version_requirements: !ruby/object:Gem::Requirement
|
121
127
|
requirements:
|
122
128
|
- - "~>"
|
123
129
|
- !ruby/object:Gem::Version
|
124
|
-
version: 13.0.
|
130
|
+
version: 13.0.3
|
125
131
|
- !ruby/object:Gem::Dependency
|
126
132
|
name: sinatra
|
127
133
|
requirement: !ruby/object:Gem::Requirement
|
128
134
|
requirements:
|
129
135
|
- - "~>"
|
130
136
|
- !ruby/object:Gem::Version
|
131
|
-
version: '2.
|
132
|
-
- - ">="
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: 2.0.8.1
|
137
|
+
version: '2.1'
|
135
138
|
type: :development
|
136
139
|
prerelease: false
|
137
140
|
version_requirements: !ruby/object:Gem::Requirement
|
138
141
|
requirements:
|
139
142
|
- - "~>"
|
140
143
|
- !ruby/object:Gem::Version
|
141
|
-
version: '2.
|
142
|
-
- - ">="
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: 2.0.8.1
|
144
|
+
version: '2.1'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: sinatra-contrib
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '2.
|
152
|
-
- - ">="
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: 2.0.8.1
|
151
|
+
version: '2.1'
|
155
152
|
type: :development
|
156
153
|
prerelease: false
|
157
154
|
version_requirements: !ruby/object:Gem::Requirement
|
158
155
|
requirements:
|
159
156
|
- - "~>"
|
160
157
|
- !ruby/object:Gem::Version
|
161
|
-
version: '2.
|
162
|
-
- - ">="
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: 2.0.8.1
|
158
|
+
version: '2.1'
|
165
159
|
description: HTTP client library for working with SAP OCI compliant servers.
|
166
160
|
email:
|
167
161
|
- oliver.eilhard@gmail.com
|
@@ -191,16 +185,16 @@ require_paths:
|
|
191
185
|
- lib
|
192
186
|
required_ruby_version: !ruby/object:Gem::Requirement
|
193
187
|
requirements:
|
194
|
-
- - "
|
188
|
+
- - ">="
|
195
189
|
- !ruby/object:Gem::Version
|
196
|
-
version: '2.
|
190
|
+
version: '2.6'
|
197
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
192
|
requirements:
|
199
193
|
- - ">="
|
200
194
|
- !ruby/object:Gem::Version
|
201
195
|
version: '0'
|
202
196
|
requirements: []
|
203
|
-
rubygems_version: 3.
|
197
|
+
rubygems_version: 3.2.3
|
204
198
|
signing_key:
|
205
199
|
specification_version: 4
|
206
200
|
summary: The library builds on the sapoci gem and adds working with remotes, parsing
|