activesalesforce 1.1.0 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,12 +15,12 @@ See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  =end
17
17
 
18
- require 'rubygems'
19
- require_gem 'rails', ">= 1.0.0"
20
-
21
18
  require 'thread'
22
19
  require 'benchmark'
23
20
 
21
+ require 'active_record'
22
+ require 'active_record/connection_adapters/abstract_adapter'
23
+
24
24
  require File.dirname(__FILE__) + '/rforce'
25
25
  require File.dirname(__FILE__) + '/column_definition'
26
26
  require File.dirname(__FILE__) + '/relationship_definition'
@@ -33,7 +33,6 @@ require File.dirname(__FILE__) + '/recording_binding'
33
33
  require File.dirname(__FILE__) + '/result_array'
34
34
 
35
35
 
36
-
37
36
  module ActiveRecord
38
37
  class Base
39
38
  @@cache = {}
@@ -15,9 +15,6 @@
15
15
  limitations under the License.
16
16
  =end
17
17
 
18
- require 'rubygems'
19
- require_gem 'rails', ">= 1.0.0"
20
-
21
18
  require 'pp'
22
19
 
23
20
 
@@ -15,10 +15,8 @@
15
15
  limitations under the License.
16
16
  =end
17
17
 
18
- require 'rubygems'
19
- require_gem 'rails', ">= 1.0.0"
20
-
21
18
  require 'pp'
19
+ require 'active_record/connection_adapters/abstract_adapter'
22
20
 
23
21
 
24
22
  module ActiveRecord
@@ -15,9 +15,6 @@
15
15
  limitations under the License.
16
16
  =end
17
17
 
18
- require 'rubygems'
19
- require_gem 'rails', ">= 1.0.0"
20
-
21
18
  require 'pp'
22
19
 
23
20
 
@@ -15,9 +15,6 @@
15
15
  limitations under the License.
16
16
  =end
17
17
 
18
- require 'rubygems'
19
- require_gem 'rails', ">= 1.0.0"
20
-
21
18
  require 'pp'
22
19
 
23
20
 
@@ -15,9 +15,6 @@
15
15
  limitations under the License.
16
16
  =end
17
17
 
18
- require 'rubygems'
19
- require_gem 'rails', ">= 1.0.0"
20
-
21
18
  require 'pp'
22
19
 
23
20
 
@@ -15,9 +15,6 @@
15
15
  limitations under the License.
16
16
  =end
17
17
 
18
- require 'rubygems'
19
- require_gem 'rails', ">= 1.0.0"
20
-
21
18
  require 'pp'
22
19
 
23
20
 
@@ -55,7 +55,7 @@ require 'stringio'
55
55
  require 'rexml/document'
56
56
  require 'rexml/xpath'
57
57
  require 'rubygems'
58
- require_gem 'builder', ">= 2.0.0"
58
+ gem 'builder', ">= 2.0.0"
59
59
 
60
60
 
61
61
  module RForce
@@ -15,10 +15,7 @@
15
15
  limitations under the License.
16
16
  =end
17
17
 
18
- require 'rubygems'
19
18
  require 'set'
20
- require_gem 'rails', ">= 1.0.0"
21
-
22
19
  require 'pp'
23
20
 
24
21
 
@@ -38,13 +35,8 @@ module ActiveSalesforce
38
35
  params = controller.params
39
36
  sid = params[:sid]
40
37
 
41
- puts "Checking for the presence of a SID for [#{@@klasses.to_a.join(', ')}]"
42
-
43
38
  if sid
44
39
  api_server_url = params[:api_server_url]
45
- api_server_url = 'http://na1-api.salesforce.com/services/Soap/u/7.0' unless api_server_url
46
-
47
- puts "asf_sid_authenticate(:sid => '#{sid}', :url => '#{api_server_url}')"
48
40
 
49
41
  # Iterate over all classes that have registered for SID auth support
50
42
  connection = nil
@@ -17,7 +17,7 @@
17
17
 
18
18
  require 'rubygems'
19
19
 
20
- #require_gem 'activesalesforce', '>= 0.4.3'
20
+ #require_gem 'activesalesforce'
21
21
  require File.dirname(__FILE__) + '/../../lib/asf_adapter'
22
22
 
23
23
  require File.dirname(__FILE__) + '/recorded_test_case'
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
2
+ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: activesalesforce
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.0
7
- date: 2007-01-23 00:00:00 -05:00
6
+ version: 1.1.3
7
+ date: 2007-03-28 00:00:00 -04: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
@@ -29,39 +29,39 @@ post_install_message:
29
29
  authors:
30
30
  - Doug Chasman
31
31
  files:
32
+ - lib/id_resolver.rb
33
+ - lib/asf_active_record.rb
34
+ - lib/sid_authentication_filter.rb
32
35
  - lib/result_array.rb
33
- - lib/rforce.rb
34
36
  - 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
39
- - lib/recording_binding.rb
40
- - lib/column_definition.rb
41
- - lib/activesalesforce.rb
42
37
  - lib/entity_definition.rb
38
+ - lib/activesalesforce.rb
39
+ - lib/asf_adapter.rb
43
40
  - lib/relationship_definition.rb
41
+ - lib/rforce.rb
42
+ - lib/column_definition.rb
43
+ - lib/recording_binding.rb
44
44
  - test/unit
45
- - test/unit/config.yml
46
- - test/unit/recorded_test_case.rb
47
45
  - test/unit/recorded_results
46
+ - test/unit/recorded_test_case.rb
48
47
  - test/unit/basic_test.rb
48
+ - test/unit/config.yml
49
49
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_batch_insert.recording
50
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_get_created_by_from_contact.recording
51
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_save_a_contact.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
57
50
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_create_a_contact.recording
58
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_id.recording
59
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_add_notes_to_contact.recording
51
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_default_rule.recording
60
52
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_assignment_rule_id.recording
53
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_read_all_content_columns.recording
54
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_update_mru.recording
61
55
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_addresses.recording
62
- - test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_default_rule.recording
56
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact.recording
57
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_id.recording
63
58
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_first_name.recording
64
59
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_client_id.recording
60
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_master_detail.recording
61
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_add_notes_to_contact.recording
62
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_get_created_by_from_contact.recording
63
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_save_a_contact.recording
64
+ - test/unit/recorded_results/AsfUnitTestsBasicTest.test_count_contacts.recording
65
65
  - README
66
66
  test_files: []
67
67