[macruby-changes] [3214] MacRuby/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jan 8 13:32:21 PST 2010
Revision: 3214
http://trac.macosforge.org/projects/ruby/changeset/3214
Author: lsansonetti at apple.com
Date: 2010-01-08 13:32:21 -0800 (Fri, 08 Jan 2010)
Log Message:
-----------
removing hotcocoa from the repository
Removed Paths:
-------------
MacRuby/trunk/bin/hotcocoa
MacRuby/trunk/lib/hotcocoa/
MacRuby/trunk/lib/hotcocoa.rb
MacRuby/trunk/sample-macruby/HotCocoa/
Deleted: MacRuby/trunk/bin/hotcocoa
===================================================================
--- MacRuby/trunk/bin/hotcocoa 2010-01-08 21:28:02 UTC (rev 3213)
+++ MacRuby/trunk/bin/hotcocoa 2010-01-08 21:32:21 UTC (rev 3214)
@@ -1,31 +0,0 @@
-#!/usr/bin/env ruby
-
-project_name = ARGV.shift
-
-if project_name.nil? or project_name == "--help" or project_name =="-h"
- puts "Usage: hotcocoa <project name>"
- exit
-end
-
-if File.exist?(project_name)
- if File.extname(project_name) == ".rb"
- file_to_copy = project_name
- project_name = project_name[0..-4]
- else
- puts %{Error: "#{project_name}" already exists in this directory.}
- exit
- end
-else
- file_to_copy = nil
-end
-
-require 'hotcocoa/template'
-HotCocoa::Template.copy_to(project_name, project_name.split("_").collect(&:capitalize).join(" "))
-
-if file_to_copy
- lib_dir = File.join(project_name, "lib")
- File.open(File.join(lib_dir, "application.rb"), "w") do |file|
- file.write File.read(file_to_copy)
- end
-end
-
Deleted: MacRuby/trunk/lib/hotcocoa.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa.rb 2010-01-08 21:28:02 UTC (rev 3213)
+++ MacRuby/trunk/lib/hotcocoa.rb 2010-01-08 21:32:21 UTC (rev 3214)
@@ -1,24 +0,0 @@
-framework 'Cocoa'
-
-module HotCocoa
-
- Views = {}
-
-end
-
-require 'hotcocoa/object_ext'
-require 'hotcocoa/kernel_ext'
-require 'hotcocoa/mappings'
-require 'hotcocoa/behaviors'
-require 'hotcocoa/mapping_methods'
-require 'hotcocoa/mapper'
-require 'hotcocoa/layout_view'
-require 'hotcocoa/delegate_builder'
-require 'hotcocoa/notification_listener'
-require 'hotcocoa/data_sources/table_data_source'
-require 'hotcocoa/data_sources/combo_box_data_source'
-require 'hotcocoa/plist'
-require 'hotcocoa/kvo_accessors'
-require 'hotcocoa/attributed_string'
-
-HotCocoa::Mappings.reload
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100108/e162c72c/attachment-0001.html>
More information about the macruby-changes
mailing list