Permalink
Browse files

first commit

  • Loading branch information...
0 parents commit 691f7e35f7884c14a4a1e06ae11217905cee13c0 Nico committed Feb 16, 2012
Showing with 2,195 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +8 −0 .idea/.generators
  3. +1 −0 .idea/.name
  4. +7 −0 .idea/.rakeTasks
  5. +5 −0 .idea/encodings.xml
  6. +70 −0 .idea/html5_s3_uploader.iml
  7. +11 −0 .idea/inspectionProfiles/Project_Default.xml
  8. +7 −0 .idea/inspectionProfiles/profiles_settings.xml
  9. +8 −0 .idea/misc.xml
  10. +9 −0 .idea/modules.xml
  11. +5 −0 .idea/scopes/scope_settings.xml
  12. +7 −0 .idea/vcs.xml
  13. +838 −0 .idea/workspace.xml
  14. +48 −0 Gemfile
  15. +126 −0 Gemfile.lock
  16. +261 −0 README.rdoc
  17. +7 −0 Rakefile
  18. BIN app/assets/images/rails.png
  19. +15 −0 app/assets/javascripts/application.js
  20. +3 −0 app/assets/javascripts/uploads.js.coffee
  21. +13 −0 app/assets/stylesheets/application.css
  22. +29 −0 app/assets/stylesheets/uploads.css.scss
  23. +3 −0 app/controllers/application_controller.rb
  24. +27 −0 app/controllers/uploads_controller.rb
  25. +2 −0 app/helpers/application_helper.rb
  26. +40 −0 app/helpers/uploads_helper.rb
  27. 0 app/mailers/.gitkeep
  28. 0 app/models/.gitkeep
  29. +2 −0 app/models/upload.rb
  30. +10 −0 app/views/layouts/application.html.haml
  31. +117 −0 app/views/uploads/_uploader.html.haml
  32. +6 −0 app/views/uploads/index.html.haml
  33. +4 −0 config.ru
  34. +59 −0 config/application.rb
  35. +6 −0 config/boot.rb
  36. +25 −0 config/database.yml
  37. +5 −0 config/environment.rb
  38. +37 −0 config/environments/development.rb
  39. +67 −0 config/environments/production.rb
  40. +37 −0 config/environments/test.rb
  41. +7 −0 config/initializers/backtrace_silencers.rb
  42. +15 −0 config/initializers/inflections.rb
  43. +3 −0 config/initializers/load_config.rb
  44. +5 −0 config/initializers/mime_types.rb
  45. +7 −0 config/initializers/secret_token.rb
  46. +8 −0 config/initializers/session_store.rb
  47. +14 −0 config/initializers/wrap_parameters.rb
  48. +5 −0 config/locales/en.yml
  49. +5 −0 config/routes.rb
  50. +11 −0 db/migrate/20120216184202_create_uploads.rb
  51. +24 −0 db/schema.rb
  52. +7 −0 db/seeds.rb
  53. +2 −0 doc/README_FOR_APP
  54. 0 lib/assets/.gitkeep
  55. 0 lib/tasks/.gitkeep
  56. 0 log/.gitkeep
  57. +26 −0 public/404.html
  58. +26 −0 public/422.html
  59. +25 −0 public/500.html
  60. 0 public/favicon.ico
  61. +5 −0 public/robots.txt
  62. +6 −0 script/rails
  63. 0 test/fixtures/.gitkeep
  64. +11 −0 test/fixtures/uploads.yml
  65. 0 test/functional/.gitkeep
  66. +7 −0 test/functional/uploads_controller_test.rb
  67. 0 test/integration/.gitkeep
  68. +12 −0 test/performance/browsing_test.rb
  69. +13 −0 test/test_helper.rb
  70. 0 test/unit/.gitkeep
  71. +4 −0 test/unit/helpers/uploads_helper_test.rb
  72. +7 −0 test/unit/upload_test.rb
  73. 0 vendor/assets/javascripts/.gitkeep
  74. 0 vendor/assets/stylesheets/.gitkeep
  75. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,15 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Settings><!--This file was automatically generated by Ruby plugin.
+You are allowed to:
+1. Reorder generators
+2. Remove generators
+3. Add installed generators
+To add new installed generators automatically delete this file and reload the project.
+--><GeneratorsGroup><Generator name="active_record:migration" /><Generator name="active_record:model" /><Generator name="active_record:observer" /><Generator name="active_record:session_migration" /><Generator name="controller" /><Generator name="erb:controller" /><Generator name="erb:mailer" /><Generator name="erb:scaffold" /><Generator name="generator" /><Generator name="helper" /><Generator name="integration_test" /><Generator name="mailer" /><Generator name="metal" /><Generator name="migration" /><Generator name="model" /><Generator name="model_subclass" /><Generator name="observer" /><Generator name="performance_test" /><Generator name="plugin" /><Generator name="resource" /><Generator name="scaffold" /><Generator name="scaffold_controller" /><Generator name="session_migration" /><Generator name="stylesheets" /><Generator name="test_unit:controller" /><Generator name="test_unit:helper" /><Generator name="test_unit:integration" /><Generator name="test_unit:mailer" /><Generator name="test_unit:model" /><Generator name="test_unit:observer" /><Generator name="test_unit:performance" /><Generator name="test_unit:plugin" /><Generator name="test_unit:scaffold" /></GeneratorsGroup></Settings>
@@ -0,0 +1 @@
+html5_s3_uploader
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Settings><!--This file was automatically generated by Ruby plugin.
+You are allowed to:
+1. Remove rake task
+2. Add existing rake tasks
+To add existing rake tasks automatically delete this file and reload the project.
+--><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
+</project>
+
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="RUBY_MODULE" version="4">
+ <component name="FacetManager">
+ <facet type="RailsFacetType" name="Ruby on Rails">
+ <configuration>
+ <RAILS_FACET_CONFIG_ID NAME="RAILS_FACET_SUPPORT_REMOVED" VALUE="false" />
+ <RAILS_FACET_CONFIG_ID NAME="RAILS_TESTS_SOURCES_PATCHED" VALUE="true" />
+ <RAILS_FACET_CONFIG_ID NAME="RAILS_FACET_APPLICATION_ROOT" VALUE="$MODULE_DIR$" />
+ </configuration>
+ </facet>
+ </component>
+ <component name="NewModuleRootManager">
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" scope="PROVIDED" name="actionmailer (v3.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="actionpack (v3.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="activemodel (v3.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="activerecord (v3.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="activeresource (v3.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="activesupport (v3.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="arel (v3.0.0, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="aws-s3 (v0.6.2, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="builder (v3.0.0, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.21, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="coffee-rails (v3.2.2, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="coffee-script (v2.2.0, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="coffee-script-source (v1.2.0, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="erubis (v2.7.0, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="execjs (v1.3.0, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="haml (v3.1.4, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="haml-rails (v0.3.4, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="hike (v1.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="i18n (v0.6.0, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="journey (v1.0.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="jquery-rails (v2.0.0, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="json (v1.6.5, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="mail (v2.4.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="mime-types (v1.17.2, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="multi_json (v1.0.4, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="pg (v0.12.2, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="polyglot (v0.3.3, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rack (v1.4.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rack-cache (v1.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rack-ssl (v1.3.2, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rails (v3.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="railties (v3.2.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rake (v0.9.2.2, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="rdoc (v3.12, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="sass (v3.1.15, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="sass-rails (v3.2.4, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="sprockets (v2.1.2, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="sqlite3 (v1.3.5, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="thor (v0.14.6, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="tilt (v1.3.3, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="treetop (v1.4.10, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="tzinfo (v0.3.31, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="uglifier (v1.2.3, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ <orderEntry type="library" scope="PROVIDED" name="xml-simple (v1.1.1, RVM: ruby-1.9.2-p290-railsexpress) [gem]" level="application" />
+ </component>
+ <component name="RModuleSettingsStorage">
+ <LOAD_PATH number="0" />
+ <I18N_FOLDERS number="1" string0="$MODULE_DIR$/config/locales" />
+ </component>
+</module>
+
@@ -0,0 +1,11 @@
+<component name="InspectionProjectProfileManager">
+ <profile version="1.0" is_locked="false">
+ <option name="myName" value="Project Default" />
+ <option name="myLocal" value="false" />
+ <inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
+ <option name="processCode" value="true" />
+ <option name="processLiterals" value="true" />
+ <option name="processComments" value="true" />
+ </inspection_tool>
+ </profile>
+</component>
@@ -0,0 +1,7 @@
+<component name="InspectionProjectProfileManager">
+ <settings>
+ <option name="PROJECT_PROFILE" value="Project Default" />
+ <option name="USE_PROJECT_PROFILE" value="true" />
+ <version value="1.0" />
+ </settings>
+</component>
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectResources">
+ <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
+ </component>
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.2-p290-railsexpress" project-jdk-type="RUBY_SDK" />
+</project>
+
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/html5_s3_uploader.iml" filepath="$PROJECT_DIR$/.idea/html5_s3_uploader.iml" />
+ </modules>
+ </component>
+</project>
+
@@ -0,0 +1,5 @@
+<component name="DependencyValidationManager">
+ <state>
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
+ </state>
+</component>
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="" vcs="" />
+ </component>
+</project>
+
Oops, something went wrong.

0 comments on commit 691f7e3

Please sign in to comment.