Skip to content

Commit

Permalink
cleaning up naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Percival committed Jun 20, 2009
1 parent ca9eb3c commit b9c9955
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/rturk.rb
Expand Up @@ -4,7 +4,7 @@ module RTurk
$:.push(File.expand_path(File.dirname(__FILE__)))

require 'rturk/utilities'
require 'rturk/actions'
require 'rturk/custome_operations'
require 'rturk/answer'
require 'rturk/external_question_builder'
require 'rturk/requester'
6 changes: 3 additions & 3 deletions lib/rturk/actions.rb → lib/rturk/custom_operations.rb
@@ -1,4 +1,4 @@
module RTurk::Actions
module RTurk::CustomOperations
# Overides createHIT to allow for easier entry
def create_hit(props, page)
props = format_props(props)
Expand All @@ -10,9 +10,9 @@ def create_hit(props, page)
def kill_hit(hit_id)
forceExpireHIT(:HITId => hit_id)
get_assignments_for_hit(hit_id).each do |assignment|
p approveAssignment(:AssignmentId => assignment[:AssignmentId])
approveAssignment(:AssignmentId => assignment[:AssignmentId])
end
p disposeHIT(:HITId => hit_id)
disposeHIT(:HITId => hit_id)
end

# Wipe out all HIT's associated with this account
Expand Down
2 changes: 1 addition & 1 deletion rturk.gemspec
Expand Up @@ -16,6 +16,6 @@ Gem::Specification.new do |s|
s.summary = 'simple Twitter API wrapper'

s.add_dependency(%q<rest-client>, [">= 0.9"])
s.add_dependency(%q<xmlsimple>, [">= 1.1.3"])
s.add_dependency(%q<xml-simple>, [">= 1.0.12"])

end

0 comments on commit b9c9955

Please sign in to comment.