Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: conorh/rfgraph
base: master
...
head fork: plukevdh/rfgraph
compare: master
  • 2 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
1  .gitignore
View
@@ -1 +0,0 @@
-*.gem
17 README.md → README.rdoc
View
@@ -1,3 +1,5 @@
+= rfgraph
+
Ruby Facebook Graph API Wrapper
===============================
@@ -45,8 +47,17 @@ With auth token
request.put_wall_post("Awesome message!")
-COPYRIGHT
----------
+== Note on Patches/Pull Requests
+
+* Fork the project.
+* Make your feature addition or bug fix.
+* Add tests for it. This is important so I don't break it in a
+ future version unintentionally.
+* Commit, do not mess with rakefile, version, or history.
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
+* Send me a pull request. Bonus points for topic branches.
+
+== Copyright
Copyright (c) 2010 Conor Hunt <conor.hunt@gmail.com>
-Released under the MIT license
+Released under the MIT license
52 Rakefile
View
@@ -0,0 +1,52 @@
+require 'rubygems'
+require 'rake'
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = "rfgraph"
+ gem.summary = %Q{A simple Ruby wrapper to help use the Facebook Graph API.}
+ gem.description = %Q{A simple Ruby wrapper to help use the Facebook Graph API.}
+ gem.email = "hungerandthirst@gmail.com"
+ gem.homepage = "http://github.com/plukevdh/rfgraph"
+ gem.authors = ["Luke van der Hoeven"]
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
+ end
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
+end
+
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/test_*.rb'
+ test.verbose = true
+end
+
+begin
+ require 'rcov/rcovtask'
+ Rcov::RcovTask.new do |test|
+ test.libs << 'test'
+ test.pattern = 'test/**/test_*.rb'
+ test.verbose = true
+ end
+rescue LoadError
+ task :rcov do
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
+ end
+end
+
+task :test => :check_dependencies
+
+task :default => :test
+
+require 'rake/rdoctask'
+Rake::RDocTask.new do |rdoc|
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
+
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = "rfgraph #{version}"
+ rdoc.rdoc_files.include('README*')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
1  VERSION
View
@@ -0,0 +1 @@
+0.0.1
BIN  pkg/rfgraph-0.0.1.gem
View
Binary file not shown
60 rfgraph.gemspec
View
@@ -1,14 +1,48 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
Gem::Specification.new do |s|
- s.name = 'rfgraph'
- s.version = '0.3'
- s.date = '2010-04-21'
- s.authors = ['Conor Hunt']
- s.email = 'conor.hunt@gmail.com'
- s.summary = %q{Ruby wrapper for Facebook Graph API}
- s.homepage = 'http://github.com/conorh/rfgraph'
- s.description = %q{Ruby wrapper for Facebook Graph API}
-
- s.files = ['README.md', 'LICENSE'] + Dir['lib/**/*'].to_a
-
- s.add_dependency('json', '>= 1.2.4')
-end
+ s.name = %q{rfgraph}
+ s.version = "0.0.1"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Luke van der Hoeven"]
+ s.date = %q{2010-04-25}
+ s.description = %q{A simple Ruby wrapper to help use the Facebook Graph API.}
+ s.email = %q{hungerandthirst@gmail.com}
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.rdoc"
+ ]
+ s.files = [
+ "LICENSE",
+ "VERSION",
+ "init.rb",
+ "lib/rfgraph.rb",
+ "lib/rfgraph/auth.rb",
+ "lib/rfgraph/request.rb",
+ "rfgraph.gemspec",
+ "test/rfgraph_test.rb"
+ ]
+ s.homepage = %q{http://github.com/plukevdh/rfgraph}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.6}
+ s.summary = %q{A simple Ruby wrapper to help use the Facebook Graph API.}
+ s.test_files = [
+ "test/rfgraph_test.rb"
+ ]
+
+ 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
+

No commit comments for this range

Something went wrong with that request. Please try again.