Skip to content

Commit

Permalink
Created repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
artob committed Feb 7, 2010
0 parents commit bf52419
Show file tree
Hide file tree
Showing 14 changed files with 131 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env ruby -rubygems
# -*- encoding: utf-8 -*-

GEMSPEC = Gem::Specification.new do |gem|
gem.version = File.read('VERSION').chomp
gem.date = File.mtime('VERSION').strftime('%Y-%m-%d')

gem.name = 'datagraph'
gem.homepage = 'http://github.com/datagraph/datagraph'
gem.license = 'Public Domain' if gem.respond_to?(:license=)
gem.summary = 'Datagraph.org API client.'
gem.description = gem.summary
gem.rubyforge_project = 'datagraph'

gem.authors = ['Arto Bendiken', 'Ben Lavender', 'Josh Huckabee']
gem.email = 'arto.bendiken@gmail.com'

gem.platform = Gem::Platform::RUBY
gem.files = %w(AUTHORS README UNLICENSE VERSION bin/datagraph) + Dir.glob('lib/**/*.rb')
gem.bindir = %q(bin)
gem.executables = %w(datagraph)
gem.default_executable = gem.executables.first
gem.require_paths = %w(lib)
gem.extensions = %w()
gem.test_files = %w()
gem.has_rdoc = false

gem.required_ruby_version = '>= 1.8.2'
gem.requirements = []
gem.add_development_dependency 'rdf-spec', '>= 0.0.9'
gem.add_development_dependency 'rspec', '>= 1.3.0'
gem.add_development_dependency 'yard' , '>= 0.5.3'
gem.add_runtime_dependency 'rdf', '>= 0.0.9'
gem.post_install_message = nil
end
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
.tmp
.yardoc
pkg
tmp
11 changes: 11 additions & 0 deletions .yardopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--title "Datagraph.org API Client"
--output-dir doc/yard
--protected
--no-private
--hide-void-return
--markup markdown
--readme README.md
-
AUTHORS
UNLICENSE
VERSION
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Arto Bendiken <arto.bendiken@gmail.com>
* Ben Lavender <blavender@gmail.com>
* Josh Huckabee <joshhuckabee@gmail.com>
1 change: 1 addition & 0 deletions README
Empty file added README.md
Empty file.
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env ruby
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), 'lib')))
require 'rubygems'
begin
require 'rakefile' # http://github.com/bendiken/rakefile
rescue LoadError => e
end
require 'datagraph'
24 changes: 24 additions & 0 deletions UNLICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

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 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.

For more information, please refer to <http://unlicense.org/>
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.0
5 changes: 5 additions & 0 deletions bin/datagraph
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env ruby
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')))
require 'datagraph'

abort "Usage: #{File.basename($0)} [options] command [args...]" if ARGV.empty?
2 changes: 2 additions & 0 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rdoc
yard
7 changes: 7 additions & 0 deletions lib/datagraph.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require 'rdf'
require 'datagraph/version'

##
module Datagraph
# TODO
end
23 changes: 23 additions & 0 deletions lib/datagraph/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module Datagraph
module VERSION
MAJOR = 0
MINOR = 0
TINY = 0
EXTRA = nil

STRING = [MAJOR, MINOR, TINY].join('.')
STRING << "-#{EXTRA}" if EXTRA

##
# @return [String]
def self.to_s() STRING end

##
# @return [String]
def self.to_str() STRING end

##
# @return [Array(Integer, Integer, Integer)]
def self.to_a() [MAJOR, MINOR, TINY] end
end
end
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require 'datagraph'
require 'rdf/spec'

Spec::Runner.configure do |config|
config.include(RDF::Spec::Matchers)
end

0 comments on commit bf52419

Please sign in to comment.