Commit ab2264b28ef5ca424e536da99880c0c8046d50f5
1 parent
58ed758f
Add the ability to do debugging in tests and regen logon casset with valid response
Showing
4 changed files
with
18 additions
and
6 deletions
Show diff stats
Gemfile
Gemfile.lock
... | ... | @@ -11,6 +11,7 @@ GEM |
11 | 11 | addressable (2.5.2) |
12 | 12 | public_suffix (>= 2.0.2, < 4.0) |
13 | 13 | ast (2.4.0) |
14 | + byebug (11.0.1) | |
14 | 15 | coderay (1.1.2) |
15 | 16 | crack (0.4.3) |
16 | 17 | safe_yaml (~> 1.0.0) |
... | ... | @@ -36,9 +37,13 @@ GEM |
36 | 37 | pry (0.11.3) |
37 | 38 | coderay (~> 1.1.0) |
38 | 39 | method_source (~> 0.9.0) |
40 | + pry-byebug (3.7.0) | |
41 | + byebug (~> 11.0) | |
42 | + pry (~> 0.10) | |
39 | 43 | public_suffix (3.0.2) |
40 | 44 | rainbow (3.0.0) |
41 | 45 | rake (10.5.0) |
46 | + rb-readline (0.5.5) | |
42 | 47 | rubocop (0.54.0) |
43 | 48 | parallel (~> 1.10) |
44 | 49 | parser (>= 2.5) |
... | ... | @@ -63,7 +68,9 @@ DEPENDENCIES |
63 | 68 | minitest (~> 5.0) |
64 | 69 | minitest-vcr (~> 1.4.0) |
65 | 70 | pry (~> 0.11) |
71 | + pry-byebug | |
66 | 72 | rake (~> 10.0) |
73 | + rb-readline | |
67 | 74 | rubocop (~> 0.54.0) |
68 | 75 | syspro-ruby! |
69 | 76 | webmock (~> 3.3.0) | ... | ... |
syspro-ruby.gemspec
... | ... | @@ -7,8 +7,8 @@ require 'syspro/version' |
7 | 7 | Gem::Specification.new do |spec| |
8 | 8 | spec.name = 'syspro-ruby' |
9 | 9 | spec.version = Syspro::VERSION |
10 | - spec.authors = ['Isaac Lewis'] | |
11 | - spec.email = ['isaac@ike.io'] | |
10 | + spec.authors = ['Sam Clopton', 'Nathan Ockerman'] | |
11 | + spec.email = ['sam@wild.land', 'nathan@wild.land'] | |
12 | 12 | |
13 | 13 | spec.summary = 'SYSPRO 7 Api Ruby adapter' |
14 | 14 | spec.license = 'MIT' | ... | ... |
test/cassettes/test_logon.yml
... | ... | @@ -25,12 +25,12 @@ http_interactions: |
25 | 25 | Server: |
26 | 26 | - Microsoft-HTTPAPI/2.0 |
27 | 27 | Date: |
28 | - - Mon, 14 Jan 2019 22:56:14 GMT | |
28 | + - Wed, 22 May 2019 22:36:13 GMT | |
29 | 29 | Content-<syspro_company>ength: |
30 | - - '32' | |
30 | + - '36' | |
31 | 31 | body: |
32 | 32 | encoding: UTF-8 |
33 | - string: 'ERROR: Invalid operator password' | |
33 | + string: '3EA613166FE4BF47925DF1CEA14E910100 ' | |
34 | 34 | http_version: |
35 | - recorded_at: Mon, 14 Jan 2019 22:56:14 GMT | |
35 | + recorded_at: Wed, 22 May 2019 22:36:12 GMT | |
36 | 36 | recorded_with: VCR 4.0.0 | ... | ... |