Permalink
Browse files

Bye bye .svn

  • Loading branch information...
toretore committed Apr 17, 2008
1 parent efaa1df commit 8ca5e624430649a8edb61f8d12426d7d5a03dbad
Showing with 0 additions and 1,003 deletions.
  1. +0 −35 .svn/all-wcprops
  2. +0 −88 .svn/entries
  3. +0 −1 .svn/format
  4. +0 −4 .svn/text-base/README.svn-base
  5. +0 −22 .svn/text-base/Rakefile.svn-base
  6. +0 −3 .svn/text-base/init.rb.svn-base
  7. +0 −1 .svn/text-base/install.rb.svn-base
  8. +0 −1 .svn/text-base/uninstall.rb.svn-base
  9. +0 −5 generators/.svn/all-wcprops
  10. +0 −19 generators/.svn/entries
  11. +0 −1 generators/.svn/format
  12. +0 −17 generators/acts_as_file/.svn/all-wcprops
  13. +0 −43 generators/acts_as_file/.svn/entries
  14. +0 −1 generators/acts_as_file/.svn/format
  15. +0 −8 generators/acts_as_file/.svn/text-base/USAGE.svn-base
  16. +0 −44 generators/acts_as_file/.svn/text-base/acts_as_file_generator.rb.svn-base
  17. +0 −17 generators/acts_as_file/templates/.svn/all-wcprops
  18. +0 −40 generators/acts_as_file/templates/.svn/entries
  19. +0 −1 generators/acts_as_file/templates/.svn/format
  20. +0 −19 generators/acts_as_file/templates/.svn/text-base/migration.rb.svn-base
  21. +0 −11 generators/acts_as_file/templates/.svn/text-base/model.rb.svn-base
  22. +0 −11 lib/.svn/all-wcprops
  23. +0 −28 lib/.svn/entries
  24. +0 −1 lib/.svn/format
  25. +0 −246 lib/.svn/text-base/acts_as_file_active_record_extensions.rb.svn-base
  26. +0 −11 tasks/.svn/all-wcprops
  27. +0 −28 tasks/.svn/entries
  28. +0 −1 tasks/.svn/format
  29. +0 −4 tasks/.svn/text-base/acts_as_file_tasks.rake.svn-base
  30. +0 −29 test/.svn/all-wcprops
  31. +0 −69 test/.svn/entries
  32. +0 −1 test/.svn/format
  33. +0 −5 test/.svn/prop-base/ishtar.png.svn-base
  34. +0 −5 test/.svn/prop-base/tpb.jpg.svn-base
  35. +0 −133 test/.svn/text-base/acts_as_file_test.rb.svn-base
  36. BIN test/.svn/text-base/ishtar.png.svn-base
  37. +0 −28 test/.svn/text-base/mock_model.rb.svn-base
  38. BIN test/.svn/text-base/tpb.jpg.svn-base
  39. +0 −5 test/uploads/.svn/all-wcprops
  40. +0 −16 test/uploads/.svn/entries
  41. +0 −1 test/uploads/.svn/format
View
@@ -1,35 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 40
-/plugins/!svn/ver/124/trunk/acts_as_file
-END
-Rakefile
-K 25
-svn:wc:ra_dav:version-url
-V 49
-/plugins/!svn/ver/124/trunk/acts_as_file/Rakefile
-END
-init.rb
-K 25
-svn:wc:ra_dav:version-url
-V 48
-/plugins/!svn/ver/124/trunk/acts_as_file/init.rb
-END
-install.rb
-K 25
-svn:wc:ra_dav:version-url
-V 51
-/plugins/!svn/ver/124/trunk/acts_as_file/install.rb
-END
-uninstall.rb
-K 25
-svn:wc:ra_dav:version-url
-V 53
-/plugins/!svn/ver/124/trunk/acts_as_file/uninstall.rb
-END
-README
-K 25
-svn:wc:ra_dav:version-url
-V 47
-/plugins/!svn/ver/124/trunk/acts_as_file/README
-END
View
@@ -1,88 +0,0 @@
-8
-
-dir
-124
-http://nimrod.interinter.net/plugins/trunk/acts_as_file
-http://nimrod.interinter.net/plugins
-
-
-
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-
-svn:special svn:externals svn:needs-lock
-
-test
-dir
-
-Rakefile
-file
-
-
-
-
-2007-06-17T14:19:34.000000Z
-48f8d7f3a143d9e22cc366e914d2e775
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-init.rb
-file
-
-
-
-
-2007-06-17T17:46:53.000000Z
-9d8fe0e9853dafd3b7e39fa1c461ff4c
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-tasks
-dir
-
-lib
-dir
-
-install.rb
-file
-
-
-
-
-2007-06-17T14:19:34.000000Z
-cbe738c10eba4ae2da8c6859c9723e44
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-generators
-dir
-
-uninstall.rb
-file
-
-
-
-
-2007-06-17T14:19:34.000000Z
-2a5fc883fe7f8dfe22ced24643d59ad4
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-README
-file
-
-
-
-
-2007-06-17T14:19:34.000000Z
-7addb990d2d84a3df52592897c64ee7d
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
View
@@ -1 +0,0 @@
-8
@@ -1,4 +0,0 @@
-ActsAsFile
-==========
-
-Description goes here
@@ -1,22 +0,0 @@
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-
-desc 'Default: run unit tests.'
-task :default => :test
-
-desc 'Test the acts_as_file plugin.'
-Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = true
-end
-
-desc 'Generate documentation for the acts_as_file plugin.'
-Rake::RDocTask.new(:rdoc) do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'ActsAsFile'
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
@@ -1,3 +0,0 @@
-require 'fileutils'
-require 'acts_as_file_active_record_extensions'
-ActiveRecord::Base.send(:include, FleskPlugins::ActsAsFile::ActiveRecordExtensions)
@@ -1 +0,0 @@
-# Install hook code here
@@ -1 +0,0 @@
-# Uninstall hook code here
@@ -1,5 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 51
-/plugins/!svn/ver/124/trunk/acts_as_file/generators
-END
View
@@ -1,19 +0,0 @@
-8
-
-dir
-124
-http://nimrod.interinter.net/plugins/trunk/acts_as_file/generators
-http://nimrod.interinter.net/plugins
-
-
-
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-
-svn:special svn:externals svn:needs-lock
-
-acts_as_file
-dir
-
View
@@ -1 +0,0 @@
-8
@@ -1,17 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 64
-/plugins/!svn/ver/124/trunk/acts_as_file/generators/acts_as_file
-END
-USAGE
-K 25
-svn:wc:ra_dav:version-url
-V 70
-/plugins/!svn/ver/124/trunk/acts_as_file/generators/acts_as_file/USAGE
-END
-acts_as_file_generator.rb
-K 25
-svn:wc:ra_dav:version-url
-V 90
-/plugins/!svn/ver/124/trunk/acts_as_file/generators/acts_as_file/acts_as_file_generator.rb
-END
@@ -1,43 +0,0 @@
-8
-
-dir
-124
-http://nimrod.interinter.net/plugins/trunk/acts_as_file/generators/acts_as_file
-http://nimrod.interinter.net/plugins
-
-
-
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-
-svn:special svn:externals svn:needs-lock
-
-USAGE
-file
-
-
-
-
-2007-06-17T15:53:58.000000Z
-7bd3905e2df9ceeb96d26767024cd2fb
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-acts_as_file_generator.rb
-file
-
-
-
-
-2007-06-17T15:53:13.000000Z
-4caa08b78eae9ae41f576c31060b1190
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-templates
-dir
-
@@ -1 +0,0 @@
-8
@@ -1,8 +0,0 @@
-<action> must be one of the following:
-
- model ModelName Create a file model named ModelName or
- Upload (File is a reserved word) if
- ModelName is missing. Will also create
- a migration by default.
-
- migration table_name Create the migration for the files table.
@@ -1,44 +0,0 @@
-class ActsAsFileGenerator < Rails::Generator::NamedBase
-
-
- def manifest
- camel_name, under_name, plural_name = args[0] ? inflect_names(args[0]) : ['Upload', 'upload', 'uploads']
-
- record do |m|
- case file_name
-
- when 'model'
- m.template 'model.rb', File.join('app', 'models', "#{under_name}.rb"),
- {:assigns => {:name => camel_name}}
- unless options[:skip_migration]
- m.migration_template 'migration.rb', File.join('db', 'migrate'),
- {:migration_file_name => "create_#{plural_name}",
- :assigns => {:class_name => plural_name.camelize, :table_name => plural_name}}
- end
-
- when 'migration'
- m.migration_template 'migration.rb', File.join('db', 'migrate'),
- {:migration_file_name => "create_#{plural_name}",
- :assigns => {:class_name => plural_name.camelize, :table_name => plural_name}}
-
- else
- puts "Could not recognise action \"#{file_name}\"."
-
- end
- end
- end
-
-
- def banner
- "Usage: #{$0} #{spec.name} <action>"
- end
-
-
- protected
-
- def add_options!(opt)
- opt.on('--skip-migration', "Don't create migration when creating model."){|v| options[:skip_migration] = true }
- end
-
-
-end
@@ -1,17 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 74
-/plugins/!svn/ver/124/trunk/acts_as_file/generators/acts_as_file/templates
-END
-model.rb
-K 25
-svn:wc:ra_dav:version-url
-V 83
-/plugins/!svn/ver/124/trunk/acts_as_file/generators/acts_as_file/templates/model.rb
-END
-migration.rb
-K 25
-svn:wc:ra_dav:version-url
-V 87
-/plugins/!svn/ver/124/trunk/acts_as_file/generators/acts_as_file/templates/migration.rb
-END
@@ -1,40 +0,0 @@
-8
-
-dir
-124
-http://nimrod.interinter.net/plugins/trunk/acts_as_file/generators/acts_as_file/templates
-http://nimrod.interinter.net/plugins
-
-
-
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-
-svn:special svn:externals svn:needs-lock
-
-model.rb
-file
-
-
-
-
-2007-06-17T15:22:59.000000Z
-f5ebaee679b2c1d2bb1b64e154628348
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
-migration.rb
-file
-
-
-
-
-2007-06-17T16:13:02.000000Z
-13d0125e26dca7996549fc201f5feba4
-2007-06-18T08:42:26.186113Z
-124
-horetore
-
@@ -1 +0,0 @@
-8
@@ -1,19 +0,0 @@
-class Create<%= class_name %> < ActiveRecord::Migration
- def self.up
- create_table '<%= table_name %>' do |t|
- t.column :title, :string
- t.column :body, :text
- t.column :filename, :string
- t.column :original_filename, :string
- t.column :content_type, :string
- t.column :size, :integer
-
- t.column :created_at, :timestamp
- t.column :updated_at, :timestamp
- end
- end
-
- def self.down
- drop_table '<%= table_name %>'
- end
-end
Oops, something went wrong.

0 comments on commit 8ca5e62

Please sign in to comment.