Permalink
Browse files

rails plugin new feedback_popup

  • Loading branch information...
1 parent 3638f58 commit 38cfad587306b81260b31fbdc86403d2ba0496e7 @bagilevi committed Apr 11, 2012
Showing with 597 additions and 9,391 deletions.
  1. +4 −3 .gitignore
  2. +13 −7 Gemfile
  3. +97 −0 Gemfile.lock
  4. +27 −14 Rakefile
  5. +21 −8 feedback_popup.gemspec
  6. +1 −1 lib/feedback_popup.rb
  7. +3 −0 lib/feedback_popup/version.rb
  8. +4 −0 lib/tasks/feedback_popup_tasks.rake
  9. +0 −14 spec/dummy/app/views/layouts/application.html.erb
  10. +0 −2 spec/dummy/public/javascripts/application.js
  11. +0 −965 spec/dummy/public/javascripts/controls.js
  12. +0 −974 spec/dummy/public/javascripts/dragdrop.js
  13. +0 −1,123 spec/dummy/public/javascripts/effects.js
  14. +0 −6,001 spec/dummy/public/javascripts/prototype.js
  15. +0 −191 spec/dummy/public/javascripts/rails.js
  16. +0 −7 spec/feedback_popup_spec.rb
  17. +0 −9 spec/integration/navigation_spec.rb
  18. +0 −33 spec/spec_helper.rb
  19. +261 −0 test/dummy/README.rdoc
  20. +1 −1 {spec → test}/dummy/Rakefile
  21. +15 −0 test/dummy/app/assets/javascripts/application.js
  22. +13 −0 test/dummy/app/assets/stylesheets/application.css
  23. 0 {spec → test}/dummy/app/controllers/application_controller.rb
  24. 0 {spec → test}/dummy/app/helpers/application_helper.rb
  25. 0 {spec/dummy/public/stylesheets → test/dummy/app/mailers}/.gitkeep
  26. 0 spec/dummy/public/favicon.ico → test/dummy/app/models/.gitkeep
  27. +14 −0 test/dummy/app/views/layouts/application.html.erb
  28. 0 {spec → test}/dummy/config.ru
  29. +19 −8 {spec → test}/dummy/config/application.rb
  30. 0 {spec → test}/dummy/config/boot.rb
  31. +3 −0 {spec → test}/dummy/config/database.yml
  32. 0 {spec → test}/dummy/config/environment.rb
  33. +15 −4 {spec → test}/dummy/config/environments/development.rb
  34. +31 −13 {spec → test}/dummy/config/environments/production.rb
  35. +9 −7 {spec → test}/dummy/config/environments/test.rb
  36. 0 {spec → test}/dummy/config/initializers/backtrace_silencers.rb
  37. +5 −0 {spec → test}/dummy/config/initializers/inflections.rb
  38. 0 {spec → test}/dummy/config/initializers/mime_types.rb
  39. +1 −1 {spec → test}/dummy/config/initializers/secret_token.rb
  40. +1 −1 {spec → test}/dummy/config/initializers/session_store.rb
  41. +14 −0 test/dummy/config/initializers/wrap_parameters.rb
  42. +1 −1 {spec → test}/dummy/config/locales/en.yml
  43. +2 −2 {spec → test}/dummy/config/routes.rb
  44. 0 test/dummy/lib/assets/.gitkeep
  45. 0 test/dummy/log/.gitkeep
  46. 0 {spec → test}/dummy/public/404.html
  47. 0 {spec → test}/dummy/public/422.html
  48. +0 −1 {spec → test}/dummy/public/500.html
  49. 0 test/dummy/public/favicon.ico
  50. 0 {spec → test}/dummy/script/rails
  51. +7 −0 test/feedback_popup_test.rb
  52. +15 −0 test/test_helper.rb
View
@@ -1,6 +1,7 @@
.bundle/
log/*.log
pkg/
-spec/dummy/db/*.sqlite3
-spec/dummy/log/*.log
-spec/dummy/tmp/
+test/dummy/db/*.sqlite3
+test/dummy/log/*.log
+test/dummy/tmp/
+test/dummy/.sass-cache
View
@@ -1,11 +1,17 @@
source "http://rubygems.org"
-gem "rails", "3.0.7"
-gem "capybara", ">= 0.4.0"
-gem "sqlite3"
+# Declare your gem's dependencies in feedback_popup.gemspec.
+# Bundler will treat runtime dependencies like base dependencies, and
+# development dependencies will be added by default to the :development group.
+gemspec
-gem "rspec-rails", ">= 2.0.0.beta"
+# jquery-rails is used by the dummy application
+gem "jquery-rails"
-# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
-# gem 'ruby-debug'
-# gem 'ruby-debug19'
+# Declare any dependencies that are still in development here instead of in
+# your gemspec. These might include edge Rails or gems from your path or
+# Git. Remember to move these dependencies to your gemspec before releasing
+# your gem to rubygems.org.
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
View
@@ -0,0 +1,97 @@
+PATH
+ remote: .
+ specs:
+ feedback_popup (0.0.1)
+ rails (~> 3.2.3)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ actionmailer (3.2.3)
+ actionpack (= 3.2.3)
+ mail (~> 2.4.4)
+ actionpack (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.1)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.2)
+ activemodel (3.2.3)
+ activesupport (= 3.2.3)
+ builder (~> 3.0.0)
+ activerecord (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
+ activesupport (3.2.3)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.2)
+ builder (3.0.0)
+ erubis (2.7.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ journey (1.0.3)
+ jquery-rails (2.0.2)
+ railties (>= 3.2.0, < 5.0)
+ thor (~> 0.14)
+ json (1.6.6)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.18)
+ multi_json (1.2.0)
+ polyglot (0.3.3)
+ rack (1.4.1)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.2.3)
+ actionmailer (= 3.2.3)
+ actionpack (= 3.2.3)
+ activerecord (= 3.2.3)
+ activeresource (= 3.2.3)
+ activesupport (= 3.2.3)
+ bundler (~> 1.0)
+ railties (= 3.2.3)
+ railties (3.2.3)
+ actionpack (= 3.2.3)
+ activesupport (= 3.2.3)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ sprockets (2.1.2)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.5)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.33)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ feedback_popup!
+ jquery-rails
+ sqlite3
View
@@ -1,25 +1,38 @@
-# encoding: UTF-8
-require 'rubygems'
+#!/usr/bin/env rake
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
+begin
+ require 'rdoc/task'
+rescue LoadError
+ require 'rdoc/rdoc'
+ require 'rake/rdoctask'
+ RDoc::Task = Rake::RDocTask
+end
-require 'rake'
-require 'rake/rdoctask'
-
-require 'rspec/core'
-require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:spec)
-
-task :default => :spec
-
-Rake::RDocTask.new(:rdoc) do |rdoc|
+RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'FeedbackPopup'
- rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.options << '--line-numbers'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
+
+
+
+Bundler::GemHelper.install_tasks
+
+require 'rake/testtask'
+
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.libs << 'test'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = false
+end
+
+
+task :default => :test
@@ -1,9 +1,22 @@
-# Provide a simple gemspec so you can easily use your enginex
-# project in your rails apps through git.
+$:.push File.expand_path("../lib", __FILE__)
+
+# Maintain your gem's version:
+require "feedback_popup/version"
+
+# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
- s.name = "feedback_popup"
- s.summary = "Insert FeedbackPopup summary."
- s.description = "Insert FeedbackPopup description."
- s.files = Dir["{app,lib,config}/**/*"] + ["MIT-LICENSE", "Rakefile", "Gemfile", "README.rdoc"]
- s.version = "0.0.1"
-end
+ s.name = "feedback_popup"
+ s.version = FeedbackPopup::VERSION
+ s.authors = ["TODO: Your name"]
+ s.email = ["TODO: Your email"]
+ s.homepage = "TODO"
+ s.summary = "TODO: Summary of FeedbackPopup."
+ s.description = "TODO: Description of FeedbackPopup."
+
+ s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
+ s.test_files = Dir["test/**/*"]
+
+ s.add_dependency "rails", "~> 3.2.3"
+
+ s.add_development_dependency "sqlite3"
+end
@@ -1,2 +1,2 @@
module FeedbackPopup
-end
+end
@@ -0,0 +1,3 @@
+module FeedbackPopup
+ VERSION = "0.0.1"
+end
@@ -0,0 +1,4 @@
+# desc "Explaining what the task does"
+# task :feedback_popup do
+# # Task goes here
+# end
@@ -1,14 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Dummy</title>
- <%= stylesheet_link_tag :all %>
- <%= javascript_include_tag :defaults %>
- <%= csrf_meta_tag %>
-</head>
-<body>
-
-<%= yield %>
-
-</body>
-</html>
@@ -1,2 +0,0 @@
-// Place your application-specific JavaScript functions and classes here
-// This file is automatically included by javascript_include_tag :defaults
Oops, something went wrong.

0 comments on commit 38cfad5

Please sign in to comment.