allscripts_unity_client 1.3.4 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +66 -66
- data/allscripts_unity_client.gemspec +32 -32
- data/lib/allscripts_unity_client/client.rb +215 -205
- data/lib/allscripts_unity_client/client_driver.rb +15 -42
- data/lib/allscripts_unity_client/client_options.rb +68 -0
- data/lib/allscripts_unity_client/json_client_driver.rb +46 -50
- data/lib/allscripts_unity_client/json_unity_request.rb +20 -20
- data/lib/allscripts_unity_client/json_unity_response.rb +1 -1
- data/lib/allscripts_unity_client/soap_client_driver.rb +29 -29
- data/lib/allscripts_unity_client/timezone.rb +15 -10
- data/lib/allscripts_unity_client/unity_request.rb +17 -17
- data/lib/allscripts_unity_client/unity_response.rb +3 -3
- data/lib/allscripts_unity_client/utilities.rb +5 -5
- data/lib/allscripts_unity_client/version.rb +1 -1
- data/lib/allscripts_unity_client.rb +21 -25
- data/spec/allscripts_unity_client_spec.rb +12 -16
- data/spec/client_driver_spec.rb +1 -49
- data/spec/client_options_spec.rb +134 -0
- data/spec/client_spec.rb +9 -9
- data/spec/factories/allscripts_unity_client_parameters_factory.rb +2 -2
- data/spec/factories/client_driver_factory.rb +4 -5
- data/spec/factories/client_factory.rb +2 -2
- data/spec/factories/client_options.rb +13 -0
- data/spec/factories/json_client_driver_factory.rb +1 -1
- data/spec/factories/json_unity_request_factory.rb +1 -1
- data/spec/factories/json_unity_response_factory.rb +1 -1
- data/spec/factories/magic_request_factory.rb +4 -4
- data/spec/factories/soap_client_driver_factory.rb +1 -1
- data/spec/factories/timezone_factory.rb +2 -2
- data/spec/factories/unity_request_factory.rb +3 -3
- data/spec/factories/unity_response_factory.rb +2 -2
- data/spec/json_client_driver_spec.rb +18 -86
- data/spec/json_unity_request_spec.rb +7 -7
- data/spec/json_unity_response_spec.rb +6 -6
- data/spec/soap_client_driver_spec.rb +20 -82
- data/spec/spec_helper.rb +5 -9
- data/spec/support/shared_examples_for_client_driver.rb +37 -58
- data/spec/support/shared_examples_for_unity_request.rb +13 -13
- data/spec/support/shared_examples_for_unity_response.rb +4 -4
- data/spec/timezone_spec.rb +31 -11
- data/spec/unity_request_spec.rb +7 -7
- data/spec/unity_response_spec.rb +4 -4
- data/spec/utilities_spec.rb +2 -2
- metadata +30 -57
@@ -1,59 +1,59 @@
|
|
1
1
|
shared_examples 'a unity request' do
|
2
|
-
let(:magic_request) {
|
2
|
+
let(:magic_request) { build(:magic_request) }
|
3
3
|
|
4
4
|
describe '#to_hash' do
|
5
5
|
it ':action maps to Action' do
|
6
|
-
subject.parameters =
|
6
|
+
subject.parameters = build(:magic_request, action: 'Action')
|
7
7
|
expect(subject.to_hash['Action']).to eq('Action')
|
8
8
|
end
|
9
9
|
|
10
10
|
it ':appname maps to Appname' do
|
11
|
-
subject.parameters =
|
11
|
+
subject.parameters = build(:magic_request, appname: 'Appname')
|
12
12
|
expect(subject.to_hash['Appname']).to eq('Appname')
|
13
13
|
end
|
14
14
|
|
15
15
|
it ':patientid maps to PatientID' do
|
16
|
-
subject.parameters =
|
16
|
+
subject.parameters = build(:magic_request, patientid: 'PatientID')
|
17
17
|
expect(subject.to_hash['PatientID']).to eq('PatientID')
|
18
18
|
end
|
19
19
|
|
20
20
|
it ':token maps to Token' do
|
21
|
-
subject.parameters =
|
21
|
+
subject.parameters = build(:magic_request, token: 'Token')
|
22
22
|
expect(subject.to_hash['Token']).to eq('Token')
|
23
23
|
end
|
24
24
|
|
25
25
|
it ':parameter1 maps to Parameter1' do
|
26
|
-
subject.parameters =
|
26
|
+
subject.parameters = build(:magic_request, parameter1: 'Parameter1')
|
27
27
|
expect(subject.to_hash['Parameter1']).to eq('Parameter1')
|
28
28
|
end
|
29
29
|
|
30
30
|
it ':parameter2 maps to Parameter2' do
|
31
|
-
subject.parameters =
|
31
|
+
subject.parameters = build(:magic_request, parameter2: 'Parameter2')
|
32
32
|
expect(subject.to_hash['Parameter2']).to eq('Parameter2')
|
33
33
|
end
|
34
34
|
|
35
35
|
it ':parameter3 maps to Parameter3' do
|
36
|
-
subject.parameters =
|
36
|
+
subject.parameters = build(:magic_request, parameter3: 'Parameter3')
|
37
37
|
expect(subject.to_hash['Parameter3']).to eq('Parameter3')
|
38
38
|
end
|
39
39
|
|
40
40
|
it ':parameter4 maps to Parameter4' do
|
41
|
-
subject.parameters =
|
41
|
+
subject.parameters = build(:magic_request, parameter4: 'Parameter4')
|
42
42
|
expect(subject.to_hash['Parameter4']).to eq('Parameter4')
|
43
43
|
end
|
44
44
|
|
45
45
|
it ':parameter5 maps to Parameter5' do
|
46
|
-
subject.parameters =
|
46
|
+
subject.parameters = build(:magic_request, parameter5: 'Parameter5')
|
47
47
|
expect(subject.to_hash['Parameter5']).to eq('Parameter5')
|
48
48
|
end
|
49
49
|
|
50
50
|
it ':parameter6 maps to Parameter6' do
|
51
|
-
subject.parameters =
|
51
|
+
subject.parameters = build(:magic_request, parameter6: 'Parameter6')
|
52
52
|
expect(subject.to_hash['Parameter6']).to eq('Parameter6')
|
53
53
|
end
|
54
54
|
|
55
55
|
it 'calls process_date on parameters' do
|
56
|
-
subject.parameters =
|
56
|
+
subject.parameters = build(:populated_magic_request)
|
57
57
|
allow(subject).to receive(:process_date)
|
58
58
|
subject.to_hash
|
59
59
|
expect(subject).to have_received(:process_date).exactly(6).times
|
@@ -74,7 +74,7 @@ shared_examples 'a unity request' do
|
|
74
74
|
|
75
75
|
context 'when given a date string' do
|
76
76
|
it do
|
77
|
-
date =
|
77
|
+
date = '2013-10-24'
|
78
78
|
expect(subject.send(:process_date, date)).to be_instance_of(Date)
|
79
79
|
end
|
80
80
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
shared_examples 'a unity response' do
|
2
|
-
let(:attributes_hash) { FixtureLoader.load_yaml(
|
3
|
-
let(:no_attributes_hash) { FixtureLoader.load_yaml(
|
4
|
-
let(:date_string_hash) { FixtureLoader.load_yaml(
|
5
|
-
let(:date_hash) { FixtureLoader.load_yaml(
|
2
|
+
let(:attributes_hash) { FixtureLoader.load_yaml('attributes_hash.yml') }
|
3
|
+
let(:no_attributes_hash) { FixtureLoader.load_yaml('no_attributes_hash.yml') }
|
4
|
+
let(:date_string_hash) { FixtureLoader.load_yaml('date_string_hash.yml') }
|
5
|
+
let(:date_hash) { FixtureLoader.load_yaml('date_hash.yml') }
|
6
6
|
|
7
7
|
describe '#strip_attributes' do
|
8
8
|
context 'when given nil' do
|
data/spec/timezone_spec.rb
CHANGED
@@ -1,32 +1,32 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe 'Timezone' do
|
4
|
-
subject {
|
4
|
+
subject { build(:timezone) }
|
5
5
|
|
6
|
-
let(:positive_timezone) {
|
7
|
-
let(:utc_timezone) {
|
8
|
-
let(:local_string) {
|
6
|
+
let(:positive_timezone) { build(:timezone, zone_identifier: 'Asia/Jakarta') }
|
7
|
+
let(:utc_timezone) { build(:timezone, zone_identifier: 'UTC') }
|
8
|
+
let(:local_string) { '2013-10-19T17:00:00-07:00' }
|
9
9
|
let(:date) { Date.parse(local_string) }
|
10
|
-
let(:local_time) { Time.parse(
|
10
|
+
let(:local_time) { Time.parse('2013-10-19T17:00:00') }
|
11
11
|
let(:local_datetime) { DateTime.parse(local_string) }
|
12
|
-
let(:utc_string) {
|
13
|
-
let(:utc_time) { Time.parse(
|
12
|
+
let(:utc_string) { '2013-10-20T00:00:00+00:00' }
|
13
|
+
let(:utc_time) { Time.parse('2013-10-20T00:00:00') }
|
14
14
|
let(:utc_datetime) { DateTime.parse(utc_string) }
|
15
15
|
|
16
16
|
def time_to_s(time)
|
17
|
-
time.strftime(
|
17
|
+
time.strftime('%FT%T')
|
18
18
|
end
|
19
19
|
|
20
20
|
describe '#initialize' do
|
21
21
|
context 'when nil is given' do
|
22
22
|
it 'raises ArgumentError' do
|
23
|
-
expect {
|
23
|
+
expect { build(:timezone, zone_identifier: nil) }.to raise_error(ArgumentError)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
27
|
context 'when an invalid TZInfo zone is given' do
|
28
28
|
it 'rasies TZInfo::InvalidTimezoneIdentifier' do
|
29
|
-
expect {
|
29
|
+
expect { build(:timezone, zone_identifier: '') }.to raise_error(TZInfo::InvalidTimezoneIdentifier)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -47,6 +47,26 @@ describe 'Timezone' do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
describe '#==' do
|
51
|
+
context 'when given an object other than Timezone' do
|
52
|
+
it 'returns false' do
|
53
|
+
expect(subject == 'not a timezone').to be_falsey
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
context 'when given a Timezone that has an equivalent @tzinfo' do
|
58
|
+
it 'returns true' do
|
59
|
+
expect(utc_timezone == utc_timezone).to be_truthy
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
context 'when given a Timezone that has a different @tzinfo' do
|
64
|
+
it 'returns false' do
|
65
|
+
expect(subject == utc_timezone).to be_falsey
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
50
70
|
describe '#convert_with_timezone' do
|
51
71
|
context 'when given nil' do
|
52
72
|
it { expect(subject.send(:convert_with_timezone, nil)).to be_nil }
|
@@ -137,7 +157,7 @@ describe 'Timezone' do
|
|
137
157
|
end
|
138
158
|
end
|
139
159
|
|
140
|
-
describe
|
160
|
+
describe '#iso8601_with_offset' do
|
141
161
|
context 'when given nil' do
|
142
162
|
it 'returns nil' do
|
143
163
|
expect(subject.send(:iso8601_with_offset, nil)).to be_nil
|
data/spec/unity_request_spec.rb
CHANGED
@@ -3,34 +3,34 @@ require 'spec_helper'
|
|
3
3
|
describe 'UnityRequest' do
|
4
4
|
it_behaves_like 'a unity request'
|
5
5
|
|
6
|
-
subject {
|
6
|
+
subject { build(:unity_request) }
|
7
7
|
|
8
8
|
describe '#initialize' do
|
9
9
|
context 'when nil is given for parameters' do
|
10
|
-
it { expect {
|
10
|
+
it { expect { build(:unity_request, parameters: nil) }.to raise_error(ArgumentError) }
|
11
11
|
end
|
12
12
|
|
13
13
|
context 'when nil is given for timezone' do
|
14
|
-
it { expect {
|
14
|
+
it { expect { build(:unity_request, timezone: nil) }.to raise_error(ArgumentError) }
|
15
15
|
end
|
16
16
|
|
17
17
|
context 'when nil is given for appname' do
|
18
|
-
it { expect {
|
18
|
+
it { expect { build(:unity_request, appname: nil) }.to raise_error(ArgumentError) }
|
19
19
|
end
|
20
20
|
|
21
21
|
context 'when nil is given for security_token' do
|
22
|
-
it { expect {
|
22
|
+
it { expect { build(:unity_request, security_token: nil) }.to raise_error(ArgumentError) }
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
26
|
describe '#to_hash' do
|
27
27
|
it ':userid maps to UserID' do
|
28
|
-
subject.parameters =
|
28
|
+
subject.parameters = build(:magic_request, userid: 'UserID')
|
29
29
|
expect(subject.to_hash['UserID']).to eq('UserID')
|
30
30
|
end
|
31
31
|
|
32
32
|
it ':data maps to Base64 encoded data' do
|
33
|
-
subject.parameters =
|
33
|
+
subject.parameters = build(:magic_request, data: 'data')
|
34
34
|
expect(subject.to_hash['data']).to eq(['data'].pack('m'))
|
35
35
|
end
|
36
36
|
end
|
data/spec/unity_response_spec.rb
CHANGED
@@ -3,17 +3,17 @@ require 'spec_helper'
|
|
3
3
|
describe 'UnityResponse' do
|
4
4
|
it_behaves_like 'a unity response'
|
5
5
|
|
6
|
-
subject {
|
6
|
+
subject { build(:unity_response, response: get_server_info) }
|
7
7
|
|
8
|
-
let(:get_server_info) { FixtureLoader.load_yaml(
|
8
|
+
let(:get_server_info) { FixtureLoader.load_yaml('get_server_info_xml.yml') }
|
9
9
|
|
10
10
|
describe '#initialize' do
|
11
11
|
context 'when nil is given for response' do
|
12
|
-
it { expect {
|
12
|
+
it { expect { build(:unity_response, response: nil) }.to raise_error(ArgumentError) }
|
13
13
|
end
|
14
14
|
|
15
15
|
context 'when nil is given for timezone' do
|
16
|
-
it { expect {
|
16
|
+
it { expect { build(:unity_response, timezone: nil) }.to raise_error(ArgumentError) }
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
data/spec/utilities_spec.rb
CHANGED
@@ -12,8 +12,8 @@ describe 'Utilities' do
|
|
12
12
|
let(:string_array) { ['string'] }
|
13
13
|
let(:base64_string) { "c3RyaW5n\n" }
|
14
14
|
|
15
|
-
let(:string_keyed_hash) { FixtureLoader.load_yaml(
|
16
|
-
let(:symbol_keyed_hash) { FixtureLoader.load_yaml(
|
15
|
+
let(:string_keyed_hash) { FixtureLoader.load_yaml('string_keyed_hash.yml') }
|
16
|
+
let(:symbol_keyed_hash) { FixtureLoader.load_yaml('symbol_keyed_hash.yml') }
|
17
17
|
|
18
18
|
let(:datetime_string_one) { 'Feb 27 2013 12:37PM' }
|
19
19
|
let(:datetime_string_two) { 'Feb 28 2013 1:34PM' }
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allscripts_unity_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ash Gupta
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2014-
|
12
|
+
date: 2014-04-29 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: savon
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ~>
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,47 +21,41 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ~>
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: 2.3.0
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
|
-
name:
|
29
|
+
name: faraday
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ~>
|
37
33
|
- !ruby/object:Gem::Version
|
38
|
-
version:
|
34
|
+
version: 0.9.0
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ~>
|
45
40
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
41
|
+
version: 0.9.0
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
43
|
+
name: em-http-request
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
46
|
- - ~>
|
53
47
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
48
|
+
version: 1.1.2
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
53
|
- - ~>
|
61
54
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
55
|
+
version: 1.1.2
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: tzinfo
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
60
|
- - ~>
|
69
61
|
- !ruby/object:Gem::Version
|
@@ -71,7 +63,6 @@ dependencies:
|
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
67
|
- - ~>
|
77
68
|
- !ruby/object:Gem::Version
|
@@ -79,29 +70,26 @@ dependencies:
|
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: nokogiri
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
74
|
- - <
|
85
75
|
- !ruby/object:Gem::Version
|
86
76
|
version: '1.6'
|
87
|
-
- -
|
77
|
+
- - '>='
|
88
78
|
- !ruby/object:Gem::Version
|
89
79
|
version: 1.4.0
|
90
80
|
type: :runtime
|
91
81
|
prerelease: false
|
92
82
|
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
83
|
requirements:
|
95
84
|
- - <
|
96
85
|
- !ruby/object:Gem::Version
|
97
86
|
version: '1.6'
|
98
|
-
- -
|
87
|
+
- - '>='
|
99
88
|
- !ruby/object:Gem::Version
|
100
89
|
version: 1.4.0
|
101
90
|
- !ruby/object:Gem::Dependency
|
102
91
|
name: nori
|
103
92
|
requirement: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
93
|
requirements:
|
106
94
|
- - ~>
|
107
95
|
- !ruby/object:Gem::Version
|
@@ -109,7 +97,6 @@ dependencies:
|
|
109
97
|
type: :runtime
|
110
98
|
prerelease: false
|
111
99
|
version_requirements: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
100
|
requirements:
|
114
101
|
- - ~>
|
115
102
|
- !ruby/object:Gem::Version
|
@@ -117,7 +104,6 @@ dependencies:
|
|
117
104
|
- !ruby/object:Gem::Dependency
|
118
105
|
name: american_date
|
119
106
|
requirement: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
107
|
requirements:
|
122
108
|
- - ~>
|
123
109
|
- !ruby/object:Gem::Version
|
@@ -125,7 +111,6 @@ dependencies:
|
|
125
111
|
type: :runtime
|
126
112
|
prerelease: false
|
127
113
|
version_requirements: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
114
|
requirements:
|
130
115
|
- - ~>
|
131
116
|
- !ruby/object:Gem::Version
|
@@ -133,103 +118,90 @@ dependencies:
|
|
133
118
|
- !ruby/object:Gem::Dependency
|
134
119
|
name: factory_girl
|
135
120
|
requirement: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
121
|
requirements:
|
138
122
|
- - ~>
|
139
123
|
- !ruby/object:Gem::Version
|
140
|
-
version: 4.
|
124
|
+
version: 4.4.0
|
141
125
|
type: :development
|
142
126
|
prerelease: false
|
143
127
|
version_requirements: !ruby/object:Gem::Requirement
|
144
|
-
none: false
|
145
128
|
requirements:
|
146
129
|
- - ~>
|
147
130
|
- !ruby/object:Gem::Version
|
148
|
-
version: 4.
|
131
|
+
version: 4.4.0
|
149
132
|
- !ruby/object:Gem::Dependency
|
150
133
|
name: rake
|
151
134
|
requirement: !ruby/object:Gem::Requirement
|
152
|
-
none: false
|
153
135
|
requirements:
|
154
136
|
- - ~>
|
155
137
|
- !ruby/object:Gem::Version
|
156
|
-
version: 10.1
|
138
|
+
version: 10.3.1
|
157
139
|
type: :development
|
158
140
|
prerelease: false
|
159
141
|
version_requirements: !ruby/object:Gem::Requirement
|
160
|
-
none: false
|
161
142
|
requirements:
|
162
143
|
- - ~>
|
163
144
|
- !ruby/object:Gem::Version
|
164
|
-
version: 10.1
|
145
|
+
version: 10.3.1
|
165
146
|
- !ruby/object:Gem::Dependency
|
166
147
|
name: faker
|
167
148
|
requirement: !ruby/object:Gem::Requirement
|
168
|
-
none: false
|
169
149
|
requirements:
|
170
150
|
- - ~>
|
171
151
|
- !ruby/object:Gem::Version
|
172
|
-
version: 1.
|
152
|
+
version: 1.3.0
|
173
153
|
type: :development
|
174
154
|
prerelease: false
|
175
155
|
version_requirements: !ruby/object:Gem::Requirement
|
176
|
-
none: false
|
177
156
|
requirements:
|
178
157
|
- - ~>
|
179
158
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
159
|
+
version: 1.3.0
|
181
160
|
- !ruby/object:Gem::Dependency
|
182
161
|
name: rspec
|
183
162
|
requirement: !ruby/object:Gem::Requirement
|
184
|
-
none: false
|
185
163
|
requirements:
|
186
164
|
- - ~>
|
187
165
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
166
|
+
version: 3.0.0.beta2
|
189
167
|
type: :development
|
190
168
|
prerelease: false
|
191
169
|
version_requirements: !ruby/object:Gem::Requirement
|
192
|
-
none: false
|
193
170
|
requirements:
|
194
171
|
- - ~>
|
195
172
|
- !ruby/object:Gem::Version
|
196
|
-
version:
|
173
|
+
version: 3.0.0.beta2
|
197
174
|
- !ruby/object:Gem::Dependency
|
198
175
|
name: simplecov
|
199
176
|
requirement: !ruby/object:Gem::Requirement
|
200
|
-
none: false
|
201
177
|
requirements:
|
202
178
|
- - ~>
|
203
179
|
- !ruby/object:Gem::Version
|
204
|
-
version: 0.
|
180
|
+
version: 0.8.2
|
205
181
|
type: :development
|
206
182
|
prerelease: false
|
207
183
|
version_requirements: !ruby/object:Gem::Requirement
|
208
|
-
none: false
|
209
184
|
requirements:
|
210
185
|
- - ~>
|
211
186
|
- !ruby/object:Gem::Version
|
212
|
-
version: 0.
|
187
|
+
version: 0.8.2
|
213
188
|
- !ruby/object:Gem::Dependency
|
214
189
|
name: webmock
|
215
190
|
requirement: !ruby/object:Gem::Requirement
|
216
|
-
none: false
|
217
191
|
requirements:
|
218
192
|
- - ~>
|
219
193
|
- !ruby/object:Gem::Version
|
220
|
-
version: 1.
|
194
|
+
version: 1.17.4
|
221
195
|
type: :development
|
222
196
|
prerelease: false
|
223
197
|
version_requirements: !ruby/object:Gem::Requirement
|
224
|
-
none: false
|
225
198
|
requirements:
|
226
199
|
- - ~>
|
227
200
|
- !ruby/object:Gem::Version
|
228
|
-
version: 1.
|
201
|
+
version: 1.17.4
|
229
202
|
- !ruby/object:Gem::Dependency
|
230
203
|
name: coveralls
|
231
204
|
requirement: !ruby/object:Gem::Requirement
|
232
|
-
none: false
|
233
205
|
requirements:
|
234
206
|
- - ~>
|
235
207
|
- !ruby/object:Gem::Version
|
@@ -237,7 +209,6 @@ dependencies:
|
|
237
209
|
type: :development
|
238
210
|
prerelease: false
|
239
211
|
version_requirements: !ruby/object:Gem::Requirement
|
240
|
-
none: false
|
241
212
|
requirements:
|
242
213
|
- - ~>
|
243
214
|
- !ruby/object:Gem::Version
|
@@ -261,6 +232,7 @@ files:
|
|
261
232
|
- lib/allscripts_unity_client.rb
|
262
233
|
- lib/allscripts_unity_client/client.rb
|
263
234
|
- lib/allscripts_unity_client/client_driver.rb
|
235
|
+
- lib/allscripts_unity_client/client_options.rb
|
264
236
|
- lib/allscripts_unity_client/json_client_driver.rb
|
265
237
|
- lib/allscripts_unity_client/json_unity_request.rb
|
266
238
|
- lib/allscripts_unity_client/json_unity_response.rb
|
@@ -272,10 +244,12 @@ files:
|
|
272
244
|
- lib/allscripts_unity_client/version.rb
|
273
245
|
- spec/allscripts_unity_client_spec.rb
|
274
246
|
- spec/client_driver_spec.rb
|
247
|
+
- spec/client_options_spec.rb
|
275
248
|
- spec/client_spec.rb
|
276
249
|
- spec/factories/allscripts_unity_client_parameters_factory.rb
|
277
250
|
- spec/factories/client_driver_factory.rb
|
278
251
|
- spec/factories/client_factory.rb
|
252
|
+
- spec/factories/client_options.rb
|
279
253
|
- spec/factories/json_client_driver_factory.rb
|
280
254
|
- spec/factories/json_unity_request_factory.rb
|
281
255
|
- spec/factories/json_unity_response_factory.rb
|
@@ -320,26 +294,25 @@ files:
|
|
320
294
|
homepage: https://github.com/healthfinch/allscripts-unity-client
|
321
295
|
licenses:
|
322
296
|
- MIT
|
297
|
+
metadata: {}
|
323
298
|
post_install_message:
|
324
299
|
rdoc_options: []
|
325
300
|
require_paths:
|
326
301
|
- lib
|
327
302
|
required_ruby_version: !ruby/object:Gem::Requirement
|
328
|
-
none: false
|
329
303
|
requirements:
|
330
|
-
- -
|
304
|
+
- - '>'
|
331
305
|
- !ruby/object:Gem::Version
|
332
306
|
version: 1.9.3
|
333
307
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
334
|
-
none: false
|
335
308
|
requirements:
|
336
|
-
- -
|
309
|
+
- - '>='
|
337
310
|
- !ruby/object:Gem::Version
|
338
311
|
version: '0'
|
339
312
|
requirements: []
|
340
313
|
rubyforge_project:
|
341
|
-
rubygems_version:
|
314
|
+
rubygems_version: 2.0.14
|
342
315
|
signing_key:
|
343
|
-
specification_version:
|
316
|
+
specification_version: 4
|
344
317
|
summary: Allscripts Unity API client
|
345
318
|
test_files: []
|