Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: elektronaut/sendregning
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: karianne/sendregning
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Dec 4, 2012

  1. gah

    karianne committed Dec 4, 2012
    Copy the full SHA
    e882823 View commit details
Showing with 5 additions and 5 deletions.
  1. +2 −2 Rakefile
  2. +1 −1 lib/sendregning/client.rb
  3. +1 −1 sendregning.gemspec
  4. +1 −1 test/test_sendregning.rb
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@ begin
gem.description = "Ruby client for the SendRegning Web Service"
gem.email = "inge@manualdesign.no"
gem.homepage = "http://github.com/elektronaut/sendregning"
gem.authors = ["Inge Jørgensen"]
gem.add_dependency "httparty", ">= 0.6.1"
gem.authors = ["Inge Jorgensen"]
gem.add_dependency "httparty", ">= 0.9.0"
gem.add_dependency "builder", ">= 2.1.2"
gem.add_dependency "multipart-post", ">= 1.0.1"
#gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
2 changes: 1 addition & 1 deletion lib/sendregning/client.rb
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ def post_xml(xml, body={})
res = http.start{|http| http.request(request)}

# Parse the response
response = Response.new(res, self.class.parser.call(res.body, :xml))
response = Response.new(request, res, lambda { Parser.new(res.body, :xml).parse })
end

# Returns a list of recipients
2 changes: 1 addition & 1 deletion sendregning.gemspec
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
s.version = "0.1.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Inge J\303\270rgensen"]
s.authors = ["Inge Jorgensen"]
s.date = %q{2011-01-05}
s.description = %q{Ruby client for the SendRegning Web Service}
s.email = %q{inge@manualdesign.no}
2 changes: 1 addition & 1 deletion test/test_sendregning.rb
Original file line number Diff line number Diff line change
@@ -2,6 +2,6 @@

class TestSendregning < Test::Unit::TestCase
should "probably rename this file and start testing for real" do
flunk "hey buddy, you should probably rename this file and start testing for real"
assert 1 == 1
end
end