dynamics_crm 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +18 -0
  3. data/.rspec +1 -0
  4. data/.travis.yml +9 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +104 -0
  8. data/Rakefile +9 -0
  9. data/dynamics_crm.gemspec +28 -0
  10. data/lib/dynamics_crm/client.rb +295 -0
  11. data/lib/dynamics_crm/metadata/attribute_metadata.rb +42 -0
  12. data/lib/dynamics_crm/metadata/entity_metadata.rb +24 -0
  13. data/lib/dynamics_crm/metadata/retrieve_all_entities_response.rb +21 -0
  14. data/lib/dynamics_crm/metadata/retrieve_attribute_response.rb +16 -0
  15. data/lib/dynamics_crm/metadata/retrieve_entity_response.rb +17 -0
  16. data/lib/dynamics_crm/metadata/xml_document.rb +39 -0
  17. data/lib/dynamics_crm/response/create_result.rb +15 -0
  18. data/lib/dynamics_crm/response/execute_result.rb +26 -0
  19. data/lib/dynamics_crm/response/result.rb +78 -0
  20. data/lib/dynamics_crm/response/retrieve_multiple_result.rb +38 -0
  21. data/lib/dynamics_crm/response/retrieve_result.rb +20 -0
  22. data/lib/dynamics_crm/version.rb +3 -0
  23. data/lib/dynamics_crm/xml/attributes.rb +163 -0
  24. data/lib/dynamics_crm/xml/column_set.rb +34 -0
  25. data/lib/dynamics_crm/xml/criteria.rb +54 -0
  26. data/lib/dynamics_crm/xml/entity.rb +61 -0
  27. data/lib/dynamics_crm/xml/entity_reference.rb +56 -0
  28. data/lib/dynamics_crm/xml/fault.rb +42 -0
  29. data/lib/dynamics_crm/xml/fetch_expression.rb +27 -0
  30. data/lib/dynamics_crm/xml/message_builder.rb +222 -0
  31. data/lib/dynamics_crm/xml/message_parser.rb +68 -0
  32. data/lib/dynamics_crm/xml/orders.rb +36 -0
  33. data/lib/dynamics_crm/xml/page_info.rb +38 -0
  34. data/lib/dynamics_crm/xml/query.rb +38 -0
  35. data/lib/dynamics_crm.rb +46 -0
  36. data/spec/fixtures/associate_response.xml +17 -0
  37. data/spec/fixtures/create_response.xml +19 -0
  38. data/spec/fixtures/delete_response.xml +16 -0
  39. data/spec/fixtures/disassociate_response.xml +17 -0
  40. data/spec/fixtures/fetch_xml_response.xml +120 -0
  41. data/spec/fixtures/receiver_fault.xml +27 -0
  42. data/spec/fixtures/request_security_token_response.xml +62 -0
  43. data/spec/fixtures/retrieve_account_all_columns.xml +402 -0
  44. data/spec/fixtures/retrieve_all_entities.xml +614 -0
  45. data/spec/fixtures/retrieve_attribute_identifier_response.xml +117 -0
  46. data/spec/fixtures/retrieve_attribute_picklist_response.xml +1097 -0
  47. data/spec/fixtures/retrieve_attribute_response.xml +126 -0
  48. data/spec/fixtures/retrieve_entity_response.xml +671 -0
  49. data/spec/fixtures/retrieve_multiple_result.xml +67 -0
  50. data/spec/fixtures/sender_fault.xml +34 -0
  51. data/spec/fixtures/update_response.xml +16 -0
  52. data/spec/fixtures/who_am_i_result.xml +35 -0
  53. data/spec/lib/client_spec.rb +230 -0
  54. data/spec/lib/metadata/entity_metadata_spec.rb +24 -0
  55. data/spec/lib/metadata/retrieve_all_entities_response_spec.rb +26 -0
  56. data/spec/lib/metadata/retrieve_attribute_response_spec.rb +65 -0
  57. data/spec/lib/metadata/retrieve_entity_response_spec.rb +24 -0
  58. data/spec/lib/response/execute_result_spec.rb +20 -0
  59. data/spec/lib/response/retrieve_multiple_spec.rb +34 -0
  60. data/spec/lib/response/retrieve_result_spec.rb +67 -0
  61. data/spec/lib/xml/attributes_spec.rb +39 -0
  62. data/spec/lib/xml/column_set_spec.rb +19 -0
  63. data/spec/lib/xml/entity_reference_spec.rb +47 -0
  64. data/spec/lib/xml/entity_spec.rb +63 -0
  65. data/spec/lib/xml/fault_spec.rb +41 -0
  66. data/spec/lib/xml/query_spec.rb +43 -0
  67. data/spec/spec_helper.rb +17 -0
  68. data/spec/support/fixture_helpers.rb +14 -0
  69. metadata +240 -0
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe DynamicsCRM::XML::Attributes do
4
+
5
+ describe 'initialization' do
6
+ let(:attrs) {
7
+ {
8
+ "telephone1" => "123-213-1234",
9
+ "modifiedon" => Time.now,
10
+ "donotemail" => true,
11
+ "id" => "1bfa3886-df7e-468c-8435-b5adfb0441ed",
12
+ "reference" => {"Id" => "someid", "Name" => "entityname", "LogicalName" => "opportunity"}
13
+ }
14
+ }
15
+ subject {
16
+ DynamicsCRM::XML::Attributes.new(attrs)
17
+ }
18
+
19
+ context "attributes extends hash" do
20
+ it { subject.should == attrs }
21
+ end
22
+
23
+ context "attributes uses method_missing for hash access" do
24
+ it { subject.telephone1.should == attrs["telephone1"]}
25
+ it { subject.modifiedon.should == attrs["modifiedon"]}
26
+ it { subject.donotemail.should == attrs["donotemail"]}
27
+ it { subject.id.should == attrs["id"]}
28
+ it { subject.reference.should == attrs["reference"]}
29
+ end
30
+
31
+ context "parse attributes according to their type" do
32
+ it { subject.to_xml.should include("<c:key>telephone1</c:key>") }
33
+ it { subject.to_xml.should include("<c:key>donotemail</c:key>") }
34
+ it { subject.to_xml.should include("<c:key>modifiedon</c:key>") }
35
+ end
36
+
37
+ end
38
+
39
+ end
@@ -0,0 +1,19 @@
1
+ require 'spec_helper'
2
+
3
+ describe DynamicsCRM::XML::ColumnSet do
4
+
5
+ describe 'initialization' do
6
+ subject {
7
+ DynamicsCRM::XML::ColumnSet.new(["telephone1","modifiedon","donotemail","accountid"])
8
+ }
9
+
10
+ context "generate ColumnSet XML" do
11
+ it { subject.to_xml.should include("<b:AllColumns>false</b:AllColumns>") }
12
+ it { subject.to_xml.should include("<d:string>accountid</d:string>") }
13
+ it { subject.to_xml.should include("<d:string>donotemail</d:string>") }
14
+ it { subject.to_xml.should include("<d:string>telephone1</d:string>") }
15
+ end
16
+
17
+ end
18
+
19
+ end
@@ -0,0 +1,47 @@
1
+ require 'spec_helper'
2
+
3
+ describe DynamicsCRM::XML::EntityReference do
4
+
5
+ describe 'initialization' do
6
+ subject {
7
+ DynamicsCRM::XML::EntityReference.new("opportunity", "9BF1325C-A592-E311-B7F3-6C3BE5A8A0C8")
8
+ }
9
+
10
+ context "default instance" do
11
+ it { subject.logical_name.should == "opportunity" }
12
+ it { subject.id.should == "9BF1325C-A592-E311-B7F3-6C3BE5A8A0C8" }
13
+ it { subject.name.should be_nil }
14
+ end
15
+
16
+ context "#to_xml" do
17
+ it {
18
+ # Spacing here is intentional to match created string.
19
+ expected_xml = %Q{
20
+ <entityReference>
21
+ <LogicalName>opportunity</LogicalName>
22
+ <Id>9BF1325C-A592-E311-B7F3-6C3BE5A8A0C8</Id>
23
+ <Name #{@name ? '' : 'nil="true"'}>#{@name}</Name>
24
+ </entityReference>
25
+ }
26
+ subject.to_xml.should == expected_xml
27
+ }
28
+ end
29
+
30
+ context "#from_xml" do
31
+ let(:subject) {
32
+ xml = REXML::Document.new(%Q{<entityReference>
33
+ <LogicalName>opportunity</LogicalName>
34
+ <Id>9BF1325C-A592-E311-B7F3-6C3BE5A8A0C8</Id>
35
+ <Name>Sample Opportunity Name</Name>
36
+ </entityReference>})
37
+ DynamicsCRM::XML::EntityReference.from_xml(xml.root)
38
+ }
39
+
40
+ it { subject.logical_name.should == "opportunity" }
41
+ it { subject.id.should == "9BF1325C-A592-E311-B7F3-6C3BE5A8A0C8" }
42
+ it { subject.name.should == "Sample Opportunity Name" }
43
+ end
44
+
45
+ end
46
+
47
+ end
@@ -0,0 +1,63 @@
1
+ require 'spec_helper'
2
+
3
+ describe DynamicsCRM::XML::Entity do
4
+
5
+ describe 'initialization' do
6
+ subject {
7
+ DynamicsCRM::XML::Entity.new("account")
8
+ }
9
+
10
+ context "default instance" do
11
+ it { subject.logical_name.should == "account" }
12
+ it { subject.id.should == "00000000-0000-0000-0000-000000000000" }
13
+ it { subject.attributes.should be_nil }
14
+ it { subject.entity_state.should be_nil }
15
+ it { subject.formatted_values.should be_nil }
16
+ it { subject.related_entities.should be_nil }
17
+ end
18
+
19
+ context "#to_xml" do
20
+ it { subject.to_xml.should include("<a:Id>00000000-0000-0000-0000-000000000000</a:Id>") }
21
+ it { subject.to_xml.should include("<a:LogicalName>account</a:LogicalName>") }
22
+ end
23
+
24
+ end
25
+
26
+ describe "entity with attributes" do
27
+ subject {
28
+ entity = DynamicsCRM::XML::Entity.new("opportunity")
29
+ entity.attributes = DynamicsCRM::XML::Attributes.new(
30
+ opportunityid: DynamicsCRM::XML::EntityReference.new("opportunity", "2dc8d7bb-149f-e311-ba8d-6c3be5a8ad64")
31
+ )
32
+ entity
33
+ }
34
+
35
+ context "#to_xml" do
36
+ # Contains nested Attributes with EntityReference
37
+ it { subject.to_xml.should include('<c:value i:type="a:EntityReference">') }
38
+ it { subject.to_xml.should include("<a:Id>2dc8d7bb-149f-e311-ba8d-6c3be5a8ad64</a:Id>") }
39
+ it { subject.to_xml.should include("<a:LogicalName>opportunity</a:LogicalName>") }
40
+ it { subject.to_xml.should include("<a:Id>00000000-0000-0000-0000-000000000000</a:Id>") }
41
+ end
42
+
43
+ end
44
+
45
+ describe '#from_xml' do
46
+
47
+ subject {
48
+ document = REXML::Document.new(fixture("retrieve_multiple_result"))
49
+ entity_xml = document.get_elements("//b:Entity").first
50
+ DynamicsCRM::XML::Entity.from_xml(entity_xml)
51
+ }
52
+
53
+ context "parses XML document into instance variables" do
54
+ it { subject.id.should == "7bf2e032-ad92-e311-9752-6c3be5a87df0" }
55
+ it { subject.attributes.should == {"accountid" => "7bf2e032-ad92-e311-9752-6c3be5a87df0"} }
56
+ it { subject.entity_state.should be_nil }
57
+ it { subject.formatted_values.should be_nil }
58
+ it { subject.logical_name.should == "account" }
59
+ it { subject.related_entities.should be_nil }
60
+ end
61
+ end
62
+
63
+ end
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+
3
+ describe DynamicsCRM::XML::Fault do
4
+
5
+ describe 'initialization' do
6
+
7
+ context "receiver fault" do
8
+ subject {
9
+ document = REXML::Document.new(fixture('receiver_fault'))
10
+ fault = document.get_elements("//[local-name() = 'Fault']")
11
+ DynamicsCRM::XML::Fault.new(fault)
12
+ }
13
+
14
+ context "generate ColumnSet XML" do
15
+ it { subject.code.should == "s:Receiver" }
16
+ it { subject.subcode.should == "a:InternalServiceFault" }
17
+ it { subject.reason.should == "The server was unable to process the request due to an internal error." }
18
+ it { subject.message.should == "#{subject.code}[#{subject.subcode}] #{subject.reason}" }
19
+ end
20
+ end
21
+
22
+ context "sender fault" do
23
+
24
+ subject {
25
+ document = REXML::Document.new(fixture('sender_fault'))
26
+ fault = document.get_elements("//[local-name() = 'Fault']")
27
+ DynamicsCRM::XML::Fault.new(fault)
28
+ }
29
+
30
+ context "generate ColumnSet XML" do
31
+ it { subject.code.should == "s:Sender" }
32
+ it { subject.subcode.should be_nil }
33
+ it { subject.reason.should == "'account' entity doesn't contain attribute with Name = 'ticketsymbol'." }
34
+ it { subject.message.should start_with("#{subject.code}[#{subject.subcode}] #{subject.reason} (Detail =>") }
35
+ end
36
+
37
+ end
38
+
39
+ end
40
+
41
+ end
@@ -0,0 +1,43 @@
1
+ require 'spec_helper'
2
+
3
+ describe DynamicsCRM::XML::Query do
4
+
5
+ describe 'initialization' do
6
+ subject {
7
+ DynamicsCRM::XML::Query.new('opportunity')
8
+ }
9
+
10
+ context "generate empty Query fragment" do
11
+ it { subject.to_xml.should include("<b:ColumnSet ") }
12
+ it { subject.to_xml.should match(/<b:Conditions>\s+<\/b:Conditions>/) }
13
+ it { subject.to_xml.should include("<b:AllColumns>true</b:AllColumns>") }
14
+ it { subject.to_xml.should include("<b:Distinct>false</b:Distinct>") }
15
+ it { subject.to_xml.should include("<b:EntityName>opportunity</b:EntityName>") }
16
+ it { subject.to_xml.should include("<b:FilterOperator>And</b:FilterOperator>") }
17
+ end
18
+
19
+ end
20
+
21
+
22
+ describe 'criteria' do
23
+ subject {
24
+ query = DynamicsCRM::XML::Query.new('opportunity')
25
+ query.criteria = DynamicsCRM::XML::Criteria.new([["name", "Equal", "Test Opp"]])
26
+ query
27
+ }
28
+
29
+ context "generate empty Query fragment" do
30
+ it { subject.to_xml.should include("<b:ColumnSet ") }
31
+ it { subject.to_xml.should include("<b:ConditionExpression") }
32
+ it { subject.to_xml.should include("AttributeName>name</") }
33
+ it { subject.to_xml.should include("Operator>Equal</") }
34
+ it { subject.to_xml.should include('<d:anyType i:type="s:string" xmlns:s="http://www.w3.org/2001/XMLSchema">Test Opp</d:anyType>') }
35
+ it { subject.to_xml.should include("<b:AllColumns>true</b:AllColumns>") }
36
+ it { subject.to_xml.should include("<b:Distinct>false</b:Distinct>") }
37
+ it { subject.to_xml.should include("<b:EntityName>opportunity</b:EntityName>") }
38
+ it { subject.to_xml.should include("<b:FilterOperator>And</b:FilterOperator>") }
39
+ end
40
+
41
+ end
42
+
43
+ end
@@ -0,0 +1,17 @@
1
+ require 'simplecov'
2
+ SimpleCov.start do
3
+ add_filter "/vendor/"
4
+ end
5
+
6
+ require 'bundler/setup'
7
+ Bundler.require :default, :test
8
+
9
+ RSpec.configure do |config|
10
+ config.order = 'random'
11
+ config.filter_run :focus => true
12
+ config.run_all_when_everything_filtered = true
13
+ end
14
+
15
+ # Requires supporting ruby files with custom matchers and macros, etc,
16
+ # in spec/support/ and its subdirectories.
17
+ Dir[File.join(File.dirname(__FILE__), "support/**/*.rb")].each {|f| require f}
@@ -0,0 +1,14 @@
1
+ module FixtureHelpers
2
+ module InstanceMethods
3
+
4
+ def fixture(f)
5
+ File.read(File.expand_path("../../fixtures/#{f}.xml", __FILE__))
6
+ end
7
+
8
+ end
9
+
10
+ end
11
+
12
+ RSpec.configure do |config|
13
+ config.include FixtureHelpers::InstanceMethods
14
+ end
metadata ADDED
@@ -0,0 +1,240 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dynamics_crm
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Joe Heth
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: curb
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 0.8.5
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.8'
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 0.8.5
33
+ - !ruby/object:Gem::Dependency
34
+ name: mimemagic
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ~>
38
+ - !ruby/object:Gem::Version
39
+ version: '0.2'
40
+ - - ! '>='
41
+ - !ruby/object:Gem::Version
42
+ version: 0.2.1
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: '0.2'
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: 0.2.1
53
+ - !ruby/object:Gem::Dependency
54
+ name: bundler
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ version: '1.3'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: '1.3'
67
+ - !ruby/object:Gem::Dependency
68
+ name: rake
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ~>
72
+ - !ruby/object:Gem::Version
73
+ version: '10.1'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ~>
79
+ - !ruby/object:Gem::Version
80
+ version: '10.1'
81
+ - !ruby/object:Gem::Dependency
82
+ name: rspec
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: '2.14'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: '2.14'
95
+ - !ruby/object:Gem::Dependency
96
+ name: simplecov
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: '0.7'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ~>
107
+ - !ruby/object:Gem::Version
108
+ version: '0.7'
109
+ description: Ruby API for integrating with MS Dynamics 2011/2013 SOAP API
110
+ email:
111
+ - joeheth@gmail.com
112
+ executables: []
113
+ extensions: []
114
+ extra_rdoc_files: []
115
+ files:
116
+ - .gitignore
117
+ - .rspec
118
+ - .travis.yml
119
+ - Gemfile
120
+ - LICENSE.txt
121
+ - README.md
122
+ - Rakefile
123
+ - dynamics_crm.gemspec
124
+ - lib/dynamics_crm.rb
125
+ - lib/dynamics_crm/client.rb
126
+ - lib/dynamics_crm/metadata/attribute_metadata.rb
127
+ - lib/dynamics_crm/metadata/entity_metadata.rb
128
+ - lib/dynamics_crm/metadata/retrieve_all_entities_response.rb
129
+ - lib/dynamics_crm/metadata/retrieve_attribute_response.rb
130
+ - lib/dynamics_crm/metadata/retrieve_entity_response.rb
131
+ - lib/dynamics_crm/metadata/xml_document.rb
132
+ - lib/dynamics_crm/response/create_result.rb
133
+ - lib/dynamics_crm/response/execute_result.rb
134
+ - lib/dynamics_crm/response/result.rb
135
+ - lib/dynamics_crm/response/retrieve_multiple_result.rb
136
+ - lib/dynamics_crm/response/retrieve_result.rb
137
+ - lib/dynamics_crm/version.rb
138
+ - lib/dynamics_crm/xml/attributes.rb
139
+ - lib/dynamics_crm/xml/column_set.rb
140
+ - lib/dynamics_crm/xml/criteria.rb
141
+ - lib/dynamics_crm/xml/entity.rb
142
+ - lib/dynamics_crm/xml/entity_reference.rb
143
+ - lib/dynamics_crm/xml/fault.rb
144
+ - lib/dynamics_crm/xml/fetch_expression.rb
145
+ - lib/dynamics_crm/xml/message_builder.rb
146
+ - lib/dynamics_crm/xml/message_parser.rb
147
+ - lib/dynamics_crm/xml/orders.rb
148
+ - lib/dynamics_crm/xml/page_info.rb
149
+ - lib/dynamics_crm/xml/query.rb
150
+ - spec/fixtures/associate_response.xml
151
+ - spec/fixtures/create_response.xml
152
+ - spec/fixtures/delete_response.xml
153
+ - spec/fixtures/disassociate_response.xml
154
+ - spec/fixtures/fetch_xml_response.xml
155
+ - spec/fixtures/receiver_fault.xml
156
+ - spec/fixtures/request_security_token_response.xml
157
+ - spec/fixtures/retrieve_account_all_columns.xml
158
+ - spec/fixtures/retrieve_all_entities.xml
159
+ - spec/fixtures/retrieve_attribute_identifier_response.xml
160
+ - spec/fixtures/retrieve_attribute_picklist_response.xml
161
+ - spec/fixtures/retrieve_attribute_response.xml
162
+ - spec/fixtures/retrieve_entity_response.xml
163
+ - spec/fixtures/retrieve_multiple_result.xml
164
+ - spec/fixtures/sender_fault.xml
165
+ - spec/fixtures/update_response.xml
166
+ - spec/fixtures/who_am_i_result.xml
167
+ - spec/lib/client_spec.rb
168
+ - spec/lib/metadata/entity_metadata_spec.rb
169
+ - spec/lib/metadata/retrieve_all_entities_response_spec.rb
170
+ - spec/lib/metadata/retrieve_attribute_response_spec.rb
171
+ - spec/lib/metadata/retrieve_entity_response_spec.rb
172
+ - spec/lib/response/execute_result_spec.rb
173
+ - spec/lib/response/retrieve_multiple_spec.rb
174
+ - spec/lib/response/retrieve_result_spec.rb
175
+ - spec/lib/xml/attributes_spec.rb
176
+ - spec/lib/xml/column_set_spec.rb
177
+ - spec/lib/xml/entity_reference_spec.rb
178
+ - spec/lib/xml/entity_spec.rb
179
+ - spec/lib/xml/fault_spec.rb
180
+ - spec/lib/xml/query_spec.rb
181
+ - spec/spec_helper.rb
182
+ - spec/support/fixture_helpers.rb
183
+ homepage: https://github.com/TinderBox/dynamics_crm
184
+ licenses:
185
+ - MIT
186
+ metadata: {}
187
+ post_install_message:
188
+ rdoc_options: []
189
+ require_paths:
190
+ - lib
191
+ required_ruby_version: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ! '>='
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ required_rubygems_version: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ! '>='
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ requirements: []
202
+ rubyforge_project:
203
+ rubygems_version: 2.2.2
204
+ signing_key:
205
+ specification_version: 4
206
+ summary: Ruby gem for integrating with MS Dynamics 2011/2013 SOAP API
207
+ test_files:
208
+ - spec/fixtures/associate_response.xml
209
+ - spec/fixtures/create_response.xml
210
+ - spec/fixtures/delete_response.xml
211
+ - spec/fixtures/disassociate_response.xml
212
+ - spec/fixtures/fetch_xml_response.xml
213
+ - spec/fixtures/receiver_fault.xml
214
+ - spec/fixtures/request_security_token_response.xml
215
+ - spec/fixtures/retrieve_account_all_columns.xml
216
+ - spec/fixtures/retrieve_all_entities.xml
217
+ - spec/fixtures/retrieve_attribute_identifier_response.xml
218
+ - spec/fixtures/retrieve_attribute_picklist_response.xml
219
+ - spec/fixtures/retrieve_attribute_response.xml
220
+ - spec/fixtures/retrieve_entity_response.xml
221
+ - spec/fixtures/retrieve_multiple_result.xml
222
+ - spec/fixtures/sender_fault.xml
223
+ - spec/fixtures/update_response.xml
224
+ - spec/fixtures/who_am_i_result.xml
225
+ - spec/lib/client_spec.rb
226
+ - spec/lib/metadata/entity_metadata_spec.rb
227
+ - spec/lib/metadata/retrieve_all_entities_response_spec.rb
228
+ - spec/lib/metadata/retrieve_attribute_response_spec.rb
229
+ - spec/lib/metadata/retrieve_entity_response_spec.rb
230
+ - spec/lib/response/execute_result_spec.rb
231
+ - spec/lib/response/retrieve_multiple_spec.rb
232
+ - spec/lib/response/retrieve_result_spec.rb
233
+ - spec/lib/xml/attributes_spec.rb
234
+ - spec/lib/xml/column_set_spec.rb
235
+ - spec/lib/xml/entity_reference_spec.rb
236
+ - spec/lib/xml/entity_spec.rb
237
+ - spec/lib/xml/fault_spec.rb
238
+ - spec/lib/xml/query_spec.rb
239
+ - spec/spec_helper.rb
240
+ - spec/support/fixture_helpers.rb