Skip to content

Commit

Permalink
New version
Browse files Browse the repository at this point in the history
  • Loading branch information
emaraschio committed Dec 22, 2014
1 parent bf1569a commit 602eb9d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/swapi.rb
Expand Up @@ -45,7 +45,7 @@ def get(type, id = '')
end

def execute_request(uri)
response = open("#{BASE_URL}/#{uri}").read
response = open("#{BASE_URL}/#{uri}", "User-Agent" => "swapi-ruby").read
end
end
end
Binary file removed swapi-0.0.1.gem
Binary file not shown.
2 changes: 1 addition & 1 deletion swapi.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "swapi"
s.version = "0.0.1"
s.version = "0.0.2"
s.date = "2014-12-22"
s.summary = "Swapi"
s.description = "A Ruby helper library for swapi.co - the Star Wars API"
Expand Down

0 comments on commit 602eb9d

Please sign in to comment.