Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit ec8ae73b763f8d814adbae4868bac5f7b6c49a48 @tenderlove tenderlove committed Sep 27, 2009
Showing with 136 additions and 0 deletions.
  1. +23 −0 .autotest
  2. +6 −0 CHANGELOG.rdoc
  3. +7 −0 Manifest.txt
  4. +48 −0 README.rdoc
  5. +29 −0 Rakefile
  6. +3 −0 bin/psych
  7. +9 −0 ext/psych/extconf.rb
  8. +3 −0 lib/psych.rb
  9. +8 −0 test/test_psych.rb
@@ -0,0 +1,23 @@
+# -*- ruby -*-
+
+require 'autotest/restart'
+
+# Autotest.add_hook :initialize do |at|
+# at.extra_files << "../some/external/dependency.rb"
+#
+# at.libs << ":../some/external"
+#
+# at.add_exception 'vendor'
+#
+# at.add_mapping(/dependency.rb/) do |f, _|
+# at.files_matching(/test_.*rb$/)
+# end
+#
+# %w(TestA TestB).each do |klass|
+# at.extra_class_map[klass] = "test/test_misc.rb"
+# end
+# end
+
+# Autotest.add_hook :run_command do |at|
+# system "rake build"
+# end
@@ -0,0 +1,6 @@
+=== 1.0.0 / 2009-09-26
+
+* 1 major enhancement
+
+ * Birthday!
+
@@ -0,0 +1,7 @@
+History.txt
+Manifest.txt
+README.txt
+Rakefile
+bin/psych
+lib/psych.rb
+test/test_psych.rb
@@ -0,0 +1,48 @@
+= psych
+
+* FIX (url)
+
+== DESCRIPTION:
+
+FIX (describe your package)
+
+== FEATURES/PROBLEMS:
+
+* FIX (list of features or problems)
+
+== SYNOPSIS:
+
+ FIX (code sample of usage)
+
+== REQUIREMENTS:
+
+* FIX (list of requirements)
+
+== INSTALL:
+
+* FIX (sudo gem install, anything else)
+
+== LICENSE:
+
+(The MIT License)
+
+Copyright (c) 2009 FIX
+
+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.
@@ -0,0 +1,29 @@
+# -*- ruby -*-
+
+require 'rubygems'
+require 'hoe'
+
+# Make sure hoe-debugging is installed
+Hoe.plugin :debugging
+
+HOE = Hoe.spec 'psych' do
+ developer('Aaron Patterson', 'aaronp@rubyforge.org')
+ self.readme_file = 'README.rdoc'
+ self.history_file = 'CHANGELOG.rdoc'
+ self.extra_rdoc_files = FileList['*.rdoc']
+
+ %w{ rake-compiler }.each do |dep|
+ self.extra_dev_deps << [dep, '>= 0']
+ end
+end
+
+gem 'rake-compiler', '>= 0.4.1'
+require "rake/extensiontask"
+
+RET = Rake::ExtensionTask.new("psych", HOE.spec) do |ext|
+ ext.lib_dir = File.join(*['lib', 'psych', ENV['FAT_DIR']].compact)
+end
+
+Rake::Task[:test].prerequisites << :compile
+
+# vim: syntax=ruby
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+
+abort "you need to write me"
@@ -0,0 +1,9 @@
+require 'mkmf'
+
+$CFLAGS << " -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline"
+
+libyaml = dir_config('libyaml', '/opt/local/include', '/opt/local/lib')
+
+find_header('yaml.h')
+
+create_makefile('psych/psych')
@@ -0,0 +1,3 @@
+class Psych
+ VERSION = '1.0.0'
+end
@@ -0,0 +1,8 @@
+require "test/unit"
+require "psych"
+
+class TestPsych < Test::Unit::TestCase
+ def test_sanity
+ flunk "write tests or I will kneecap you"
+ end
+end

0 comments on commit ec8ae73

Please sign in to comment.