activesalesforce 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,7 @@ module Asf
34
34
  module UnitTests
35
35
 
36
36
  module RecordedTestCase
37
+ LOGGER = Logger.new(STDOUT)
37
38
  @@config = YAML.load_file(File.dirname(__FILE__) + '/config.yml').symbolize_keys
38
39
 
39
40
  attr_reader :connection
@@ -73,6 +74,7 @@ module Asf
73
74
 
74
75
  @connection = MockBinding.new(url, nil, recording?)
75
76
 
77
+ ActiveRecord::Base.logger = LOGGER
76
78
  ActiveRecord::Base.clear_connection_cache!
77
79
  ActiveRecord::Base.reset_column_information_and_inheritable_attributes_for_all_subclasses
78
80
  ActiveRecord::Base.establish_connection(:adapter => 'activesalesforce', :username => config[:username],
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: activesalesforce
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.8
7
- date: 2006-02-20 00:00:00 -05:00
6
+ version: 0.2.9
7
+ date: 2006-02-21 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
@@ -38,7 +38,9 @@ files:
38
38
  - test/unit/recorded_test_case.rb
39
39
  - test/unit/basic_test.rb
40
40
  - test/unit/config.yml
41
+ - test/unit/profiler_results.txt
41
42
  - test/unit/recorded_results
43
+ - test/unit/profiler_results_live.txt
42
44
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact.recording
43
45
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_read_all_content_columns.recording
44
46
  - test/unit/recorded_results/AsfUnitTestsBasicTest.test_save_a_contact.recording