Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added gemspec and license, and updated Rakefile to retain gemspec whe…

…n building with Echoe. Version 0.7.3 ready!
  • Loading branch information...
commit b9ea6a642c71f299f3d8d0bd94ba73d101669d38 1 parent 1e63f2a
@arsduo arsduo authored
Showing with 70 additions and 0 deletions.
  1. +2 −0  CHANGELOG
  2. +22 −0 LICENSE
  3. +15 −0 Manifest
  4. +1 −0  Rakefile
  5. +30 −0 koala.gemspec
View
2  CHANGELOG
@@ -6,7 +6,9 @@ v0.7.3
-- Using those methods triggers a deprecation warning
-- This will be removed by 1.0
-- There are new info methods (get_access_token_info, get_app_access_token_info, get_token_info_from_session_keys, and get_user_info_from_cookies) that natively return hashes, for when you want the expiration date
+-- Responses with HTTP status 500+ now properly throw errors under Net::HTTP
-- Updated changelog
+-- Added license
v0.7.2
-- Added support for exchanging session keys for OAuth access tokens (get_token_from_session_key for single keys, get_tokens_from_session_keys for multiple)
View
22 LICENSE
@@ -0,0 +1,22 @@
+The MIT License
+
+Copyright (c) 2010 Alex Koppel
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
15 Manifest
@@ -1,6 +1,21 @@
CHANGELOG
+LICENSE
Manifest
Rakefile
+examples/oauth_playground/Capfile
+examples/oauth_playground/LICENSE
+examples/oauth_playground/Rakefile
+examples/oauth_playground/config.ru
+examples/oauth_playground/config/deploy.rb
+examples/oauth_playground/config/facebook.yml
+examples/oauth_playground/lib/load_facebook.rb
+examples/oauth_playground/lib/oauth_playground.rb
+examples/oauth_playground/readme.md
+examples/oauth_playground/spec/oauth_playground_spec.rb
+examples/oauth_playground/spec/spec_helper.rb
+examples/oauth_playground/tmp/restart.txt
+examples/oauth_playground/views/index.erb
+examples/oauth_playground/views/layout.erb
init.rb
lib/koala.rb
lib/koala/graph_api.rb
View
1  Rakefile
@@ -12,4 +12,5 @@ Echoe.new('koala', '0.7.3') do |p|
p.email = "alex@alexkoppel.com"
p.ignore_pattern = ["tmp/*", "script/*", "pkg/*"]
p.development_dependencies = []
+ p.retain_gemspec = true
end
View
30 koala.gemspec
@@ -0,0 +1,30 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{koala}
+ s.version = "0.7.3"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Alex Koppel, Chris Baclig, Rafi Jacoby, Context Optional"]
+ s.date = %q{2010-06-22}
+ s.description = %q{Koala is a lightweight, flexible Ruby SDK for Facebook. It allows read/write access to the social graph via the Graph API and the older REST API, as well as support for realtime updates and OAuth and Facebook Connect authentication. Koala is fully tested and supports Net::HTTP and Typhoeus connections out of the box and can accept custom modules for other services.}
+ s.email = %q{alex@alexkoppel.com}
+ s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "lib/koala.rb", "lib/koala/graph_api.rb", "lib/koala/http_services.rb", "lib/koala/realtime_updates.rb", "lib/koala/rest_api.rb"]
+ s.files = ["CHANGELOG", "LICENSE", "Manifest", "Rakefile", "examples/oauth_playground/Capfile", "examples/oauth_playground/LICENSE", "examples/oauth_playground/Rakefile", "examples/oauth_playground/config.ru", "examples/oauth_playground/config/deploy.rb", "examples/oauth_playground/config/facebook.yml", "examples/oauth_playground/lib/load_facebook.rb", "examples/oauth_playground/lib/oauth_playground.rb", "examples/oauth_playground/readme.md", "examples/oauth_playground/spec/oauth_playground_spec.rb", "examples/oauth_playground/spec/spec_helper.rb", "examples/oauth_playground/tmp/restart.txt", "examples/oauth_playground/views/index.erb", "examples/oauth_playground/views/layout.erb", "init.rb", "lib/koala.rb", "lib/koala/graph_api.rb", "lib/koala/http_services.rb", "lib/koala/realtime_updates.rb", "lib/koala/rest_api.rb", "readme.md", "spec/facebook_data.yml", "spec/koala/api_base_tests.rb", "spec/koala/graph_and_rest_api/graph_and_rest_api_no_token_tests.rb", "spec/koala/graph_and_rest_api/graph_and_rest_api_with_token_tests.rb", "spec/koala/graph_api/graph_api_no_access_token_tests.rb", "spec/koala/graph_api/graph_api_with_access_token_tests.rb", "spec/koala/live_testing_data_helper.rb", "spec/koala/net_http_service_tests.rb", "spec/koala/oauth/oauth_tests.rb", "spec/koala/realtime_updates/realtime_updates_tests.rb", "spec/koala/rest_api/rest_api_no_access_token_tests.rb", "spec/koala/rest_api/rest_api_with_access_token_tests.rb", "spec/koala_spec.rb", "spec/koala_spec_helper.rb", "spec/koala_spec_without_mocks.rb", "spec/mock_facebook_responses.yml", "spec/mock_http_service.rb", "koala.gemspec"]
+ s.homepage = %q{http://github.com/arsduo/koala}
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Koala", "--main", "readme.md"]
+ s.require_paths = ["lib"]
+ s.rubyforge_project = %q{koala}
+ s.rubygems_version = %q{1.3.6}
+ s.summary = %q{A lightweight, flexible library for Facebook with support for the Graph API, the old REST API, realtime updates, and OAuth validation.}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.