activesalesforce 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/README +3 -1
  2. data/lib/asf_adapter.rb +21 -14
  3. data/lib/rforce.rb +5 -8
  4. data/test/unit/basic_test.rb +6 -2
  5. data/test/unit/config.yml +3 -7
  6. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_add_notes_to_contact.recording +1068 -875
  7. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_assignment_rule_id.recording +836 -697
  8. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_batch_insert.recording +852 -729
  9. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_client_id.recording +1236 -0
  10. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_count_contacts.recording +830 -2703
  11. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_create_a_contact.recording +831 -692
  12. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact.recording +831 -692
  13. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_first_name.recording +844 -949
  14. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_id.recording +865 -730
  15. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_addresses.recording +841 -930
  16. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_get_created_by_from_contact.recording +2071 -1614
  17. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_master_detail.recording +1146 -701
  18. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_read_all_content_columns.recording +831 -692
  19. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_save_a_contact.recording +831 -692
  20. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_default_rule.recording +833 -695
  21. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_update_mru.recording +833 -695
  22. data/test/unit/recorded_test_case.rb +1 -3
  23. metadata +23 -35
  24. data/test/unit/config.yml~ +0 -8
  25. data/test/unit/profiler_results.txt +0 -1072
  26. data/test/unit/profiler_results_live.txt +0 -1347
  27. data/test/unit/test.html +0 -157
  28. data/test/unit/test.html~ +0 -183
@@ -57,11 +57,9 @@ module Asf
57
57
 
58
58
 
59
59
  def setup
60
- url = 'https://www.salesforce.com/services/Soap/u/7.0'
61
-
62
60
  @recording = (((not File.exists?(recording_file_name)) or config[:recording]) or @force_recording.include?(method_name.to_sym))
63
61
 
64
- action = { :adapter => 'activesalesforce', :username => config[:username],
62
+ action = { :adapter => 'activesalesforce', :url => config[:url], :username => config[:username],
65
63
  :password => config[:password], :recording_source => recording_file_name }
66
64
 
67
65
  action[:recording] = true if @recording
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: activesalesforce
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.0
7
- date: 2006-11-08 00:00:00 -05:00
6
+ version: 1.1.0
7
+ date: 2007-01-23 00:00:00 -05:00
8
8
  summary: ActiveSalesforce (ASF) is a Rails connection adapter that provides direct access to Salesforce.com hosted data and metadata via the ActiveRecord model layer. Objects, fields, and relationships are all auto surfaced as active record attributes and rels.
9
9
  require_paths:
10
10
  - lib
@@ -25,46 +25,43 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
25
  platform: ruby
26
26
  signing_key:
27
27
  cert_chain:
28
+ post_install_message:
28
29
  authors:
29
30
  - Doug Chasman
30
31
  files:
32
+ - lib/result_array.rb
33
+ - lib/rforce.rb
31
34
  - lib/boxcar_command.rb
35
+ - lib/sid_authentication_filter.rb
36
+ - lib/asf_active_record.rb
37
+ - lib/id_resolver.rb
38
+ - lib/asf_adapter.rb
32
39
  - lib/recording_binding.rb
33
40
  - lib/column_definition.rb
34
41
  - lib/activesalesforce.rb
35
42
  - lib/entity_definition.rb
36
- - lib/rforce.rb
37
- - lib/asf_adapter.rb
38
- - lib/sid_authentication_filter.rb
39
43
  - lib/relationship_definition.rb
40
- - lib/result_array.rb
41
- - lib/id_resolver.rb
42
- - lib/asf_active_record.rb
43
44
  - test/unit
44
- - test/unit/recorded_test_case.rb
45
- - test/unit/basic_test.rb
46
- - test/unit/test.html~
47
45
  - test/unit/config.yml
48
- - test/unit/config.yml~
49
- - test/unit/profiler_results.txt
46
+ - test/unit/recorded_test_case.rb
50
47
  - test/unit/recorded_results
51
- - test/unit/test.html
52
- - test/unit/profiler_results_live.txt
53
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_default_rule.recording
54
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact.recording
48
+ - test/unit/basic_test.rb
55
49
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_batch_insert.recording
56
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_read_all_content_columns.recording
57
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_update_mru.recording
58
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_addresses.recording
50
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_get_created_by_from_contact.recording
59
51
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_save_a_contact.recording
60
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_add_notes_to_contact.recording
61
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_first_name.recording
52
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_update_mru.recording
53
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_read_all_content_columns.recording
54
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact.recording
55
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_master_detail.recording
56
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_count_contacts.recording
62
57
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_create_a_contact.recording
63
58
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_id.recording
64
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_count_contacts.recording
65
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_master_detail.recording
59
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_add_notes_to_contact.recording
66
60
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_assignment_rule_id.recording
67
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_get_created_by_from_contact.recording
61
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_addresses.recording
62
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_default_rule.recording
63
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_first_name.recording
64
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_client_id.recording
68
65
  - README
69
66
  test_files: []
70
67
 
@@ -97,12 +94,3 @@ dependencies:
97
94
  - !ruby/object:Gem::Version
98
95
  version: 1.2.4
99
96
  version:
100
- - !ruby/object:Gem::Dependency
101
- name: asf_scaffold_generator
102
- version_requirement:
103
- version_requirements: !ruby/object:Gem::Version::Requirement
104
- requirements:
105
- - - ">="
106
- - !ruby/object:Gem::Version
107
- version: 0.1.2
108
- version:
@@ -1,8 +0,0 @@
1
- url: https://www.salesforce.com/services/Soap/u/7.0
2
- username: doug_chasman@yahoo.com
3
- password: Maceymo@11
4
-
5
- #username: admin@summer05_pbrondum.com
6
- #password: Test2000
7
-
8
- recording: false