reps_client 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/.gitignore +8 -0
  2. data/.rspec +1 -0
  3. data/.rvmrc +2 -0
  4. data/Gemfile +4 -0
  5. data/README.md +62 -0
  6. data/Rakefile +14 -0
  7. data/lib/reps_client.rb +12 -0
  8. data/lib/reps_client/client.rb +95 -0
  9. data/lib/reps_client/community.rb +23 -0
  10. data/lib/reps_client/configuration.rb +83 -0
  11. data/lib/reps_client/errors.rb +36 -0
  12. data/lib/reps_client/lead.rb +291 -0
  13. data/lib/reps_client/pick_list.rb +62 -0
  14. data/lib/reps_client/version.rb +3 -0
  15. data/reps_client.gemspec +36 -0
  16. data/spec/fixtures/faults/client_fault.xml +28 -0
  17. data/spec/fixtures/faults/invalid_enterprise_key_fault.xml +25 -0
  18. data/spec/fixtures/faults/server_fault.xml +25 -0
  19. data/spec/fixtures/get_communities/multiple_communities.xml +59 -0
  20. data/spec/fixtures/get_communities/single_community.xml +54 -0
  21. data/spec/fixtures/get_pick_lists/full_pick_lists.xml +100 -0
  22. data/spec/fixtures/get_pick_lists/single_prefix.xml +70 -0
  23. data/spec/fixtures/get_pick_lists/single_relationship_type.xml +70 -0
  24. data/spec/fixtures/get_pick_lists/single_source.xml +71 -0
  25. data/spec/fixtures/get_pick_lists/single_suffix.xml +70 -0
  26. data/spec/reps_client/client_spec.rb +217 -0
  27. data/spec/reps_client/community_spec.rb +139 -0
  28. data/spec/reps_client/configuration_spec.rb +132 -0
  29. data/spec/reps_client/errors_spec.rb +56 -0
  30. data/spec/reps_client/lead_spec.rb +906 -0
  31. data/spec/reps_client/pick_list_spec.rb +320 -0
  32. data/spec/reps_client_spec.rb +11 -0
  33. data/spec/spec_helper.rb +21 -0
  34. data/spec/support/fault_handler_shared_examples.rb +51 -0
  35. data/spec/support/lead_shared_examples.rb +33 -0
  36. data/spec/support/pick_list_shared_examples.rb +16 -0
  37. metadata +259 -0
metadata ADDED
@@ -0,0 +1,259 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: reps_client
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - maeve
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-12-09 00:00:00 -08:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: modelish
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 29
30
+ segments:
31
+ - 0
32
+ - 1
33
+ - 3
34
+ version: 0.1.3
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: configlet
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ hash: 1
46
+ segments:
47
+ - 2
48
+ - 1
49
+ version: "2.1"
50
+ type: :runtime
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ name: savon
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ hash: 53
61
+ segments:
62
+ - 0
63
+ - 9
64
+ - 7
65
+ version: 0.9.7
66
+ type: :runtime
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
69
+ name: savon_spec
70
+ prerelease: false
71
+ requirement: &id004 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ hash: 9
77
+ segments:
78
+ - 0
79
+ - 1
80
+ version: "0.1"
81
+ type: :development
82
+ version_requirements: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ prerelease: false
86
+ requirement: &id005 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ~>
90
+ - !ruby/object:Gem::Version
91
+ hash: 15
92
+ segments:
93
+ - 2
94
+ - 6
95
+ version: "2.6"
96
+ type: :development
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
99
+ name: webmock
100
+ prerelease: false
101
+ requirement: &id006 !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ~>
105
+ - !ruby/object:Gem::Version
106
+ hash: 1
107
+ segments:
108
+ - 1
109
+ - 7
110
+ version: "1.7"
111
+ type: :development
112
+ version_requirements: *id006
113
+ - !ruby/object:Gem::Dependency
114
+ name: fakefs
115
+ prerelease: false
116
+ requirement: &id007 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ~>
120
+ - !ruby/object:Gem::Version
121
+ hash: 3
122
+ segments:
123
+ - 0
124
+ - 4
125
+ version: "0.4"
126
+ type: :development
127
+ version_requirements: *id007
128
+ - !ruby/object:Gem::Dependency
129
+ name: yard
130
+ prerelease: false
131
+ requirement: &id008 !ruby/object:Gem::Requirement
132
+ none: false
133
+ requirements:
134
+ - - ~>
135
+ - !ruby/object:Gem::Version
136
+ hash: 5
137
+ segments:
138
+ - 0
139
+ - 7
140
+ version: "0.7"
141
+ type: :development
142
+ version_requirements: *id008
143
+ - !ruby/object:Gem::Dependency
144
+ name: rdiscount
145
+ prerelease: false
146
+ requirement: &id009 !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ~>
150
+ - !ruby/object:Gem::Version
151
+ hash: 3
152
+ segments:
153
+ - 1
154
+ - 6
155
+ version: "1.6"
156
+ type: :development
157
+ version_requirements: *id009
158
+ description: A simple wrapper around a SOAP client for the MDI Achieve REPS Leads web service.
159
+ email:
160
+ - maeve.revels@g5platform.com
161
+ executables: []
162
+
163
+ extensions: []
164
+
165
+ extra_rdoc_files: []
166
+
167
+ files:
168
+ - .gitignore
169
+ - .rspec
170
+ - .rvmrc
171
+ - Gemfile
172
+ - README.md
173
+ - Rakefile
174
+ - lib/reps_client.rb
175
+ - lib/reps_client/client.rb
176
+ - lib/reps_client/community.rb
177
+ - lib/reps_client/configuration.rb
178
+ - lib/reps_client/errors.rb
179
+ - lib/reps_client/lead.rb
180
+ - lib/reps_client/pick_list.rb
181
+ - lib/reps_client/version.rb
182
+ - reps_client.gemspec
183
+ - spec/fixtures/faults/client_fault.xml
184
+ - spec/fixtures/faults/invalid_enterprise_key_fault.xml
185
+ - spec/fixtures/faults/server_fault.xml
186
+ - spec/fixtures/get_communities/multiple_communities.xml
187
+ - spec/fixtures/get_communities/single_community.xml
188
+ - spec/fixtures/get_pick_lists/full_pick_lists.xml
189
+ - spec/fixtures/get_pick_lists/single_prefix.xml
190
+ - spec/fixtures/get_pick_lists/single_relationship_type.xml
191
+ - spec/fixtures/get_pick_lists/single_source.xml
192
+ - spec/fixtures/get_pick_lists/single_suffix.xml
193
+ - spec/reps_client/client_spec.rb
194
+ - spec/reps_client/community_spec.rb
195
+ - spec/reps_client/configuration_spec.rb
196
+ - spec/reps_client/errors_spec.rb
197
+ - spec/reps_client/lead_spec.rb
198
+ - spec/reps_client/pick_list_spec.rb
199
+ - spec/reps_client_spec.rb
200
+ - spec/spec_helper.rb
201
+ - spec/support/fault_handler_shared_examples.rb
202
+ - spec/support/lead_shared_examples.rb
203
+ - spec/support/pick_list_shared_examples.rb
204
+ has_rdoc: true
205
+ homepage: ""
206
+ licenses: []
207
+
208
+ post_install_message:
209
+ rdoc_options: []
210
+
211
+ require_paths:
212
+ - lib
213
+ required_ruby_version: !ruby/object:Gem::Requirement
214
+ none: false
215
+ requirements:
216
+ - - ">="
217
+ - !ruby/object:Gem::Version
218
+ hash: 3
219
+ segments:
220
+ - 0
221
+ version: "0"
222
+ required_rubygems_version: !ruby/object:Gem::Requirement
223
+ none: false
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ hash: 3
228
+ segments:
229
+ - 0
230
+ version: "0"
231
+ requirements: []
232
+
233
+ rubyforge_project: reps_client
234
+ rubygems_version: 1.6.2
235
+ signing_key:
236
+ specification_version: 3
237
+ summary: Adapter for MDI Achieve REPS Leads
238
+ test_files:
239
+ - spec/fixtures/faults/client_fault.xml
240
+ - spec/fixtures/faults/invalid_enterprise_key_fault.xml
241
+ - spec/fixtures/faults/server_fault.xml
242
+ - spec/fixtures/get_communities/multiple_communities.xml
243
+ - spec/fixtures/get_communities/single_community.xml
244
+ - spec/fixtures/get_pick_lists/full_pick_lists.xml
245
+ - spec/fixtures/get_pick_lists/single_prefix.xml
246
+ - spec/fixtures/get_pick_lists/single_relationship_type.xml
247
+ - spec/fixtures/get_pick_lists/single_source.xml
248
+ - spec/fixtures/get_pick_lists/single_suffix.xml
249
+ - spec/reps_client/client_spec.rb
250
+ - spec/reps_client/community_spec.rb
251
+ - spec/reps_client/configuration_spec.rb
252
+ - spec/reps_client/errors_spec.rb
253
+ - spec/reps_client/lead_spec.rb
254
+ - spec/reps_client/pick_list_spec.rb
255
+ - spec/reps_client_spec.rb
256
+ - spec/spec_helper.rb
257
+ - spec/support/fault_handler_shared_examples.rb
258
+ - spec/support/lead_shared_examples.rb
259
+ - spec/support/pick_list_shared_examples.rb