Permalink
Browse files

Get specs passing on REE and 1.9, remove project specific .rvmrc and …

…Gemfile.lock
  • Loading branch information...
1 parent 2866387 commit abcfcc5e39c7b2479a31f110633e988dd94475d5 @nickhammond nickhammond committed Feb 21, 2013
Showing with 9 additions and 59 deletions.
  1. +3 −1 .gitignore
  2. +0 −1 .rvmrc
  3. +0 −52 Gemfile.lock
  4. +3 −2 lib/quickeebooks/online/service/service_base.rb
  5. +3 −3 spec/spec_helper.rb
View
@@ -3,4 +3,6 @@ tmp/*
*.pdf
quickeebooks-*.gem
coverage
-.DS_Store
+.DS_Store
+Gemfile.lock
+.rvmrc
View
1 .rvmrc
@@ -1 +0,0 @@
-rvm use ruby-1.9.3-p194@quickeebooks --create
View
@@ -1,52 +0,0 @@
-PATH
- remote: .
- specs:
- quickeebooks (0.1.1)
- activemodel
- nokogiri
- oauth
- roxml
- uuidtools
-
-GEM
- remote: http://rubygems.org/
- specs:
- activemodel (3.2.6)
- activesupport (= 3.2.6)
- builder (~> 3.0.0)
- activesupport (3.2.6)
- i18n (~> 0.6)
- multi_json (~> 1.0)
- builder (3.0.0)
- diff-lcs (1.1.3)
- fakeweb (1.3.0)
- i18n (0.6.0)
- multi_json (1.3.6)
- nokogiri (1.5.5)
- oauth (0.4.6)
- rake (0.9.2.2)
- rcov (0.9.11)
- roxml (3.3.1)
- activesupport (>= 2.3.0)
- nokogiri (>= 1.3.3)
- rr (1.0.4)
- rspec (2.11.0)
- rspec-core (~> 2.11.0)
- rspec-expectations (~> 2.11.0)
- rspec-mocks (~> 2.11.0)
- rspec-core (2.11.0)
- rspec-expectations (2.11.1)
- diff-lcs (~> 1.1.3)
- rspec-mocks (2.11.1)
- uuidtools (2.1.2)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- fakeweb
- quickeebooks!
- rake
- rcov (~> 0.9.8)
- rr (~> 1.0.2)
- rspec (= 2.11.0)
@@ -134,9 +134,10 @@ def do_http(method, resource, body, headers) # throws IntuitRequestException
headers.merge!({'Content-Type' => 'application/xml'})
end
# puts "METHOD = #{method}"
- # puts "URL = #{url}"
- # puts "BODY = #{body == nil ? "<NIL>" : body}"
+ # puts "RESOURCE = #{resource}"
+ # puts "BODY(#{body.class}) = #{body == nil ? "<NIL>" : body.inspect}"
# puts "HEADERS = #{headers.inspect}"
+
response = @oauth.request(method, resource, body, headers)
check_response(response)
end
View
@@ -35,14 +35,14 @@ def fixture_path
end
def onlineFixture(file)
- File.new(fixture_path + '/online/' + file)
+ File.new(fixture_path + '/online/' + file).read
end
def sharedFixture(file)
- File.new(fixture_path + '/shared/' + file)
+ File.new(fixture_path + '/shared/' + file).read
end
def windowsFixture(file)
- File.new(fixture_path + '/windows/' + file)
+ File.new(fixture_path + '/windows/' + file).read
end

0 comments on commit abcfcc5

Please sign in to comment.