Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial add

  • Loading branch information...
commit a4b51fd3de11b88505d31e221dda7c8098f4afa7 0 parents
@tenderlove authored
23 .autotest
@@ -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
6 CHANGELOG.rdoc
@@ -0,0 +1,6 @@
+=== 1.0.0 / 2009-07-31
+
+* 1 major enhancement
+
+ * Birthday!
+
7 Manifest.txt
@@ -0,0 +1,7 @@
+History.txt
+Manifest.txt
+README.txt
+Rakefile
+bin/phuby
+lib/phuby.rb
+test/test_phuby.rb
57 README.rdoc
@@ -0,0 +1,57 @@
+= phuby
+
+* http://github.com/tenderlove/phuby
+
+== DESCRIPTION:
+
+Phuby wraps PHP in a loving embrace. Exposes a PHP runtime in ruby
+
+== FEATURES/PROBLEMS:
+
+* many
+
+== SYNOPSIS:
+
+ FIX (code sample of usage)
+
+== REQUIREMENTS:
+
+* php
+
+== BUILD INSTRUCTIONS:
+
+* Download php-5.3.0
+* If you're on OS X, apply php.patch to the downloaded php
+* ./configure --enable-debug --enable-embed --disable-cli --prefix=/usr/local
+* make && sudo make install
+
+* then, back in phuby land: rake test
+
+== INSTALL:
+
+* No.
+
+== 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.
21 Rakefile
@@ -0,0 +1,21 @@
+# -*- ruby -*-
+
+require 'rubygems'
+require 'hoe'
+
+HOE = Hoe.spec 'phuby' do
+ developer('Aaron Patterson', 'aaronp@rubyforge.org')
+ self.readme_file = 'README.rdoc'
+ self.history_file = 'CHANGELOG.rdoc'
+ self.extra_rdoc_files = FileList['*.rdoc']
+
+ self.spec_extras = { :extensions => ["ext/phuby/extconf.rb"] }
+end
+
+RET = Rake::ExtensionTask.new("nokogiri", HOE.spec) do |ext|
+ ext.lib_dir = File.join('lib', 'phuby')
+end
+
+Rake::Task[:test].prerequisites << :compile
+
+# vim: syntax=ruby
3  bin/phuby
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+
+abort "you need to write me"
3  lib/phuby.rb
@@ -0,0 +1,3 @@
+class Phuby
+ VERSION = '1.0.0'
+end
8 test/test_phuby.rb
@@ -0,0 +1,8 @@
+require "test/unit"
+require "phuby"
+
+class TestPhuby < Test::Unit::TestCase
+ def test_sanity
+ flunk "write tests or I will kneecap you"
+ end
+end

1 comment on commit a4b51fd

@devyn

lol:

INSTALL

  • No.
Please sign in to comment.
Something went wrong with that request. Please try again.