reps_client 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +32 -0
- data/LICENSE +19 -0
- data/README.md +59 -33
- data/lib/reps_client/client.rb +85 -5
- data/lib/reps_client/community.rb +22 -1
- data/lib/reps_client/configuration.rb +34 -6
- data/lib/reps_client/lead.rb +15 -9
- data/lib/reps_client/pick_list.rb +43 -2
- data/lib/reps_client/version.rb +2 -1
- data/lib/reps_client.rb +0 -4
- data/reps_client.gemspec +3 -2
- data/spec/fixtures/save_lead/broken_rule.xml +49 -0
- data/spec/fixtures/save_lead/success.xml +42 -0
- data/spec/reps_client/client_spec.rb +122 -1
- data/spec/reps_client/community_spec.rb +12 -4
- data/spec/reps_client/configuration_spec.rb +31 -0
- data/spec/reps_client/lead_spec.rb +40 -17
- data/spec/reps_client/pick_list_spec.rb +2 -1
- data/spec/spec_helper.rb +0 -3
- data/spec/support/pick_list_shared_examples.rb +5 -3
- data/spec/support/ws_addressing_shared_examples.rb +33 -0
- metadata +42 -18
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reps_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- maeve
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-01-03 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -50,9 +50,25 @@ dependencies:
|
|
50
50
|
type: :runtime
|
51
51
|
version_requirements: *id002
|
52
52
|
- !ruby/object:Gem::Dependency
|
53
|
-
name:
|
53
|
+
name: uuidtools
|
54
54
|
prerelease: false
|
55
55
|
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 15
|
61
|
+
segments:
|
62
|
+
- 2
|
63
|
+
- 1
|
64
|
+
- 2
|
65
|
+
version: 2.1.2
|
66
|
+
type: :runtime
|
67
|
+
version_requirements: *id003
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: savon
|
70
|
+
prerelease: false
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
56
72
|
none: false
|
57
73
|
requirements:
|
58
74
|
- - ~>
|
@@ -64,11 +80,11 @@ dependencies:
|
|
64
80
|
- 7
|
65
81
|
version: 0.9.7
|
66
82
|
type: :runtime
|
67
|
-
version_requirements: *
|
83
|
+
version_requirements: *id004
|
68
84
|
- !ruby/object:Gem::Dependency
|
69
85
|
name: savon_spec
|
70
86
|
prerelease: false
|
71
|
-
requirement: &
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
72
88
|
none: false
|
73
89
|
requirements:
|
74
90
|
- - ~>
|
@@ -79,11 +95,11 @@ dependencies:
|
|
79
95
|
- 1
|
80
96
|
version: "0.1"
|
81
97
|
type: :development
|
82
|
-
version_requirements: *
|
98
|
+
version_requirements: *id005
|
83
99
|
- !ruby/object:Gem::Dependency
|
84
100
|
name: rspec
|
85
101
|
prerelease: false
|
86
|
-
requirement: &
|
102
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
87
103
|
none: false
|
88
104
|
requirements:
|
89
105
|
- - ~>
|
@@ -94,11 +110,11 @@ dependencies:
|
|
94
110
|
- 6
|
95
111
|
version: "2.6"
|
96
112
|
type: :development
|
97
|
-
version_requirements: *
|
113
|
+
version_requirements: *id006
|
98
114
|
- !ruby/object:Gem::Dependency
|
99
115
|
name: webmock
|
100
116
|
prerelease: false
|
101
|
-
requirement: &
|
117
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
102
118
|
none: false
|
103
119
|
requirements:
|
104
120
|
- - ~>
|
@@ -109,11 +125,11 @@ dependencies:
|
|
109
125
|
- 7
|
110
126
|
version: "1.7"
|
111
127
|
type: :development
|
112
|
-
version_requirements: *
|
128
|
+
version_requirements: *id007
|
113
129
|
- !ruby/object:Gem::Dependency
|
114
130
|
name: fakefs
|
115
131
|
prerelease: false
|
116
|
-
requirement: &
|
132
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
117
133
|
none: false
|
118
134
|
requirements:
|
119
135
|
- - ~>
|
@@ -124,11 +140,11 @@ dependencies:
|
|
124
140
|
- 4
|
125
141
|
version: "0.4"
|
126
142
|
type: :development
|
127
|
-
version_requirements: *
|
143
|
+
version_requirements: *id008
|
128
144
|
- !ruby/object:Gem::Dependency
|
129
145
|
name: yard
|
130
146
|
prerelease: false
|
131
|
-
requirement: &
|
147
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
132
148
|
none: false
|
133
149
|
requirements:
|
134
150
|
- - ~>
|
@@ -139,11 +155,11 @@ dependencies:
|
|
139
155
|
- 7
|
140
156
|
version: "0.7"
|
141
157
|
type: :development
|
142
|
-
version_requirements: *
|
158
|
+
version_requirements: *id009
|
143
159
|
- !ruby/object:Gem::Dependency
|
144
160
|
name: rdiscount
|
145
161
|
prerelease: false
|
146
|
-
requirement: &
|
162
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
147
163
|
none: false
|
148
164
|
requirements:
|
149
165
|
- - ~>
|
@@ -154,7 +170,7 @@ dependencies:
|
|
154
170
|
- 6
|
155
171
|
version: "1.6"
|
156
172
|
type: :development
|
157
|
-
version_requirements: *
|
173
|
+
version_requirements: *id010
|
158
174
|
description: A simple wrapper around a SOAP client for the MDI Achieve REPS Leads web service.
|
159
175
|
email:
|
160
176
|
- maeve.revels@g5platform.com
|
@@ -168,7 +184,9 @@ files:
|
|
168
184
|
- .gitignore
|
169
185
|
- .rspec
|
170
186
|
- .rvmrc
|
187
|
+
- CHANGELOG.md
|
171
188
|
- Gemfile
|
189
|
+
- LICENSE
|
172
190
|
- README.md
|
173
191
|
- Rakefile
|
174
192
|
- lib/reps_client.rb
|
@@ -190,6 +208,8 @@ files:
|
|
190
208
|
- spec/fixtures/get_pick_lists/single_relationship_type.xml
|
191
209
|
- spec/fixtures/get_pick_lists/single_source.xml
|
192
210
|
- spec/fixtures/get_pick_lists/single_suffix.xml
|
211
|
+
- spec/fixtures/save_lead/broken_rule.xml
|
212
|
+
- spec/fixtures/save_lead/success.xml
|
193
213
|
- spec/reps_client/client_spec.rb
|
194
214
|
- spec/reps_client/community_spec.rb
|
195
215
|
- spec/reps_client/configuration_spec.rb
|
@@ -201,6 +221,7 @@ files:
|
|
201
221
|
- spec/support/fault_handler_shared_examples.rb
|
202
222
|
- spec/support/lead_shared_examples.rb
|
203
223
|
- spec/support/pick_list_shared_examples.rb
|
224
|
+
- spec/support/ws_addressing_shared_examples.rb
|
204
225
|
has_rdoc: true
|
205
226
|
homepage: ""
|
206
227
|
licenses: []
|
@@ -246,6 +267,8 @@ test_files:
|
|
246
267
|
- spec/fixtures/get_pick_lists/single_relationship_type.xml
|
247
268
|
- spec/fixtures/get_pick_lists/single_source.xml
|
248
269
|
- spec/fixtures/get_pick_lists/single_suffix.xml
|
270
|
+
- spec/fixtures/save_lead/broken_rule.xml
|
271
|
+
- spec/fixtures/save_lead/success.xml
|
249
272
|
- spec/reps_client/client_spec.rb
|
250
273
|
- spec/reps_client/community_spec.rb
|
251
274
|
- spec/reps_client/configuration_spec.rb
|
@@ -257,3 +280,4 @@ test_files:
|
|
257
280
|
- spec/support/fault_handler_shared_examples.rb
|
258
281
|
- spec/support/lead_shared_examples.rb
|
259
282
|
- spec/support/pick_list_shared_examples.rb
|
283
|
+
- spec/support/ws_addressing_shared_examples.rb
|