remotipart 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +35 -0
  3. data/Appraisals +25 -0
  4. data/Gemfile +13 -0
  5. data/History.rdoc +5 -0
  6. data/README.rdoc +2 -0
  7. data/Rakefile +5 -7
  8. data/gemfiles/rails_3.2.gemfile +26 -0
  9. data/gemfiles/rails_4.2.gemfile +24 -0
  10. data/gemfiles/rails_5.2.gemfile +24 -0
  11. data/gemfiles/rails_6.0.gemfile +24 -0
  12. data/lib/remotipart/rails/version.rb +2 -2
  13. data/lib/remotipart/render_overrides.rb +2 -2
  14. data/lib/remotipart/view_helper.rb +0 -9
  15. data/remotipart.gemspec +76 -4
  16. data/spec/dummy_app/.gitignore +17 -0
  17. data/spec/dummy_app/Rakefile +7 -0
  18. data/spec/dummy_app/app/assets/images/rails.png +0 -0
  19. data/spec/dummy_app/app/assets/javascripts/application.js.erb +8 -0
  20. data/spec/dummy_app/app/assets/javascripts/comments.js +28 -0
  21. data/spec/dummy_app/app/assets/stylesheets/application.css +6 -0
  22. data/spec/dummy_app/app/assets/stylesheets/scaffold.css +65 -0
  23. data/spec/dummy_app/app/controllers/application_controller.rb +3 -0
  24. data/spec/dummy_app/app/controllers/comments_controller.rb +72 -0
  25. data/spec/dummy_app/app/helpers/application_helper.rb +2 -0
  26. data/spec/dummy_app/app/helpers/comments_helper.rb +2 -0
  27. data/spec/dummy_app/app/models/comment.rb +7 -0
  28. data/spec/dummy_app/app/views/comments/_comment.html.erb +9 -0
  29. data/spec/dummy_app/app/views/comments/_form.html.erb +40 -0
  30. data/spec/dummy_app/app/views/comments/_new_comment_links.html.erb +5 -0
  31. data/spec/dummy_app/app/views/comments/create.html.erb +7 -0
  32. data/spec/dummy_app/app/views/comments/create.js.erb +20 -0
  33. data/spec/dummy_app/app/views/comments/destroy.js.erb +1 -0
  34. data/spec/dummy_app/app/views/comments/edit.html.erb +6 -0
  35. data/spec/dummy_app/app/views/comments/escape_test.html.erb +1 -0
  36. data/spec/dummy_app/app/views/comments/index.html.erb +19 -0
  37. data/spec/dummy_app/app/views/comments/new.html.erb +7 -0
  38. data/spec/dummy_app/app/views/comments/show.html.erb +15 -0
  39. data/spec/dummy_app/app/views/layouts/application.html.erb +14 -0
  40. data/spec/dummy_app/bin/bundle +3 -0
  41. data/spec/dummy_app/bin/rails +4 -0
  42. data/spec/dummy_app/bin/rake +4 -0
  43. data/spec/dummy_app/bin/setup +34 -0
  44. data/spec/dummy_app/bin/update +29 -0
  45. data/spec/dummy_app/config.ru +4 -0
  46. data/spec/dummy_app/config/application.rb +18 -0
  47. data/spec/dummy_app/config/boot.rb +3 -0
  48. data/spec/dummy_app/config/database.yml +7 -0
  49. data/spec/dummy_app/config/environment.rb +5 -0
  50. data/spec/dummy_app/config/environments/development.rb +54 -0
  51. data/spec/dummy_app/config/environments/test.rb +53 -0
  52. data/spec/dummy_app/config/initializers/secret_token.rb +3 -0
  53. data/spec/dummy_app/config/routes.rb +6 -0
  54. data/spec/dummy_app/config/secrets.yml +5 -0
  55. data/spec/dummy_app/db/migrate/20110209210252_create_comments.rb +14 -0
  56. data/spec/dummy_app/db/migrate/20110209210315_add_attachment_to_comment.rb +15 -0
  57. data/spec/dummy_app/db/migrate/20110714205346_add_other_attachment_to_comment.rb +8 -0
  58. data/spec/dummy_app/db/schema.rb +31 -0
  59. data/spec/dummy_app/db/seeds.rb +7 -0
  60. data/spec/features/comments_spec.rb +414 -0
  61. data/spec/fixtures/hi.txt +1 -0
  62. data/spec/fixtures/qr.jpg +0 -0
  63. data/spec/spec_helper.rb +40 -0
  64. data/spec/support/arel_helper.rb +15 -0
  65. data/spec/support/connection_helper.rb +12 -0
  66. data/spec/support/integration_helper.rb +28 -0
  67. data/vendor/assets/javascripts/jquery.iframe-transport.js +3 -1
  68. metadata +130 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 64a58022f26cafc03a5df9677d924414f310a24b
4
- data.tar.gz: c55e884eae5f737d86881c4b083a61de00346639
2
+ SHA256:
3
+ metadata.gz: 7f907807b9aca70acccb9e475dce3f63b1f1df778aa02739a6eb88a2d6548c8b
4
+ data.tar.gz: a1322a4b8c3e797872849c5e00918125781a1d9966adc6e50a66b145736c3061
5
5
  SHA512:
6
- metadata.gz: af8c8de8a633bebb06ef2e1ca5361465fab8be54a754d956a48078f753ccb4288df27fb01c4e51911783774f01d73489c013646e45c6ec325e386a46c2595e9a
7
- data.tar.gz: 27ba12dac43255f00ac5e3c00dd7a4a9fe488496619907a4890eaa7f1a678a6ecd73632390b51d75b48d9a45b9a0419323fc625c4a917a33175fec9ebd5c3638
6
+ metadata.gz: 8286b71b28af65126061abbe5250809b37a395dad7dfcc98ac974c47966c67cf61095555799e682eceddcf605317d6dfcf9cd08662c494c8c3c6ec9312bdfe78
7
+ data.tar.gz: f8abfd59c500552d3caeb9fc7095a6e90b8b80a5cd41908e4729b8ec5601055fa2642c36b3903dc4697510016b550377fd5fe289d289bfdb8105154245cd9651
@@ -0,0 +1,35 @@
1
+ language: ruby
2
+
3
+ before_install:
4
+ # https://github.com/danmayer/coverband/issues/162#issuecomment-452173268
5
+ - rm /home/travis/.rvm/gems/*/specifications/bundler-2.*.gemspec || true
6
+ - gem install bundler -v '<2'
7
+
8
+ bundler_args: --without development --jobs=3 --retry=3 --path=../vendor/bundle
9
+
10
+ cache: bundler
11
+
12
+ env:
13
+ matrix:
14
+ - JQUERY_VERSION=
15
+
16
+ rvm:
17
+ - 2.5.5
18
+
19
+ gemfile:
20
+ - gemfiles/rails_3.2.gemfile
21
+ - gemfiles/rails_4.2.gemfile
22
+ - gemfiles/rails_5.2.gemfile
23
+ - gemfiles/rails_6.0.gemfile
24
+
25
+ dist: trusty
26
+
27
+ sudo: false
28
+
29
+ matrix:
30
+ include:
31
+ - env: JQUERY_VERSION=2
32
+ gemfile: gemfiles/rails_6.0.gemfile
33
+ - env: JQUERY_VERSION=3
34
+ gemfile: gemfiles/rails_6.0.gemfile
35
+ fast_finish: true
@@ -0,0 +1,25 @@
1
+ appraise "rails-3.2" do
2
+ gem 'rails', '~> 3.2.0'
3
+ gem 'test-unit', '~> 3.0'
4
+ gem "strong_parameters"
5
+
6
+ group :development, :test do
7
+ gem 'sqlite3', '~> 1.3.5'
8
+ end
9
+ end
10
+
11
+ appraise "rails-4.2" do
12
+ gem 'rails', '~> 4.2.0'
13
+
14
+ group :development, :test do
15
+ gem 'sqlite3', '~> 1.3.6'
16
+ end
17
+ end
18
+
19
+ appraise "rails-5.2" do
20
+ gem 'rails', '~> 5.2.0'
21
+ end
22
+
23
+ appraise "rails-6.0" do
24
+ gem 'rails', '~> 6.0.0.rc1'
25
+ end
data/Gemfile CHANGED
@@ -8,3 +8,16 @@ group :development do
8
8
  #gemspec
9
9
  end
10
10
 
11
+ group :development, :test do
12
+ gem 'appraisal'
13
+ gem 'jquery-rails'
14
+ gem 'sqlite3'
15
+ gem 'paperclip'
16
+ gem 'remotipart', path: '.'
17
+ end
18
+
19
+ group :test do
20
+ gem 'database_cleaner'
21
+ gem 'poltergeist'
22
+ gem 'rspec-rails'
23
+ end
@@ -1,5 +1,10 @@
1
1
  = History
2
2
 
3
+ === 1.4.3 / 2019-05-23
4
+
5
+ * Fixed xhr.responseText not being populated.
6
+ * Security: fixed cross-site scripting vulnerability when server renders user input.
7
+
3
8
  === 1.4.2 / 2018-04-25
4
9
 
5
10
  * Fixed ActionView::Template::Error in web-console.
@@ -1,5 +1,7 @@
1
1
  = Remotipart: Rails jQuery File Uploads
2
2
 
3
+ {<img src="https://badge.fury.io/rb/remotipart.svg" alt="Gem Version" />}[https://badge.fury.io/rb/remotipart]
4
+ {<img src="https://travis-ci.com/JangoSteve/remotipart.svg?branch=master" alt="Build Status" />}[https://travis-ci.com/JangoSteve/remotipart]
3
5
  {<img src="https://codeclimate.com/github/JangoSteve/remotipart/badges/gpa.svg" />}[https://codeclimate.com/github/JangoSteve/remotipart]
4
6
 
5
7
  Remotipart is a Ruby on Rails gem enabling AJAX file uploads with jQuery in Rails 3 and Rails 4 remote forms.
data/Rakefile CHANGED
@@ -21,13 +21,6 @@ rescue LoadError
21
21
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
22
22
  end
23
23
 
24
- require 'rake/testtask'
25
- Rake::TestTask.new(:test) do |test|
26
- test.libs << 'lib' << 'test'
27
- test.pattern = 'test/**/test_*.rb'
28
- test.verbose = true
29
- end
30
-
31
24
  begin
32
25
  require 'rcov/rcovtask'
33
26
  Rcov::RcovTask.new do |test|
@@ -51,3 +44,8 @@ Rake::RDocTask.new do |rdoc|
51
44
  rdoc.rdoc_files.include('README*')
52
45
  rdoc.rdoc_files.include('lib/**/*.rb')
53
46
  end
47
+
48
+ require 'rspec/core/rake_task'
49
+ RSpec::Core::RakeTask.new(:spec)
50
+
51
+ task default: :spec
@@ -0,0 +1,26 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 3.2.0"
6
+ gem "test-unit", "~> 3.0"
7
+ gem "strong_parameters"
8
+
9
+ group :development do
10
+ gem "rake"
11
+ gem "jeweler"
12
+ end
13
+
14
+ group :development, :test do
15
+ gem "appraisal"
16
+ gem "jquery-rails"
17
+ gem "sqlite3", "~> 1.3.5"
18
+ gem "paperclip"
19
+ gem "remotipart", path: "../"
20
+ end
21
+
22
+ group :test do
23
+ gem "database_cleaner"
24
+ gem "poltergeist"
25
+ gem "rspec-rails"
26
+ end
@@ -0,0 +1,24 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 4.2.0"
6
+
7
+ group :development do
8
+ gem "rake"
9
+ gem "jeweler"
10
+ end
11
+
12
+ group :development, :test do
13
+ gem "appraisal"
14
+ gem "jquery-rails"
15
+ gem "sqlite3", "~> 1.3.6"
16
+ gem "paperclip"
17
+ gem "remotipart", path: "../"
18
+ end
19
+
20
+ group :test do
21
+ gem "database_cleaner"
22
+ gem "poltergeist"
23
+ gem "rspec-rails"
24
+ end
@@ -0,0 +1,24 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.2.0"
6
+
7
+ group :development do
8
+ gem "rake"
9
+ gem "jeweler"
10
+ end
11
+
12
+ group :development, :test do
13
+ gem "appraisal"
14
+ gem "jquery-rails"
15
+ gem "sqlite3"
16
+ gem "paperclip"
17
+ gem "remotipart", path: "../"
18
+ end
19
+
20
+ group :test do
21
+ gem "database_cleaner"
22
+ gem "poltergeist"
23
+ gem "rspec-rails"
24
+ end
@@ -0,0 +1,24 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 6.0.0.rc1"
6
+
7
+ group :development do
8
+ gem "rake"
9
+ gem "jeweler"
10
+ end
11
+
12
+ group :development, :test do
13
+ gem "appraisal"
14
+ gem "jquery-rails"
15
+ gem "sqlite3"
16
+ gem "paperclip"
17
+ gem "remotipart", path: "../"
18
+ end
19
+
20
+ group :test do
21
+ gem "database_cleaner"
22
+ gem "poltergeist"
23
+ gem "rspec-rails"
24
+ end
@@ -1,6 +1,6 @@
1
1
  module Remotipart
2
2
  module Rails
3
- VERSION = "1.4.2"
4
- IFRAMETRANSPORT_VERSION = "02.06.2013"
3
+ VERSION = "1.4.3"
4
+ IFRAMETRANSPORT_VERSION = "1.0.1.remotipart"
5
5
  end
6
6
  end
@@ -3,6 +3,7 @@ module Remotipart
3
3
  # as expected by iframe-transport.
4
4
  module RenderOverrides
5
5
  include ERB::Util
6
+ include ActionView::Helpers::JavaScriptHelper
6
7
 
7
8
  def self.included(base)
8
9
  base.class_eval do
@@ -15,8 +16,7 @@ module Remotipart
15
16
  def render_with_remotipart(*args, &block)
16
17
  render_return_value = render_without_remotipart(*args, &block)
17
18
  if remotipart_submitted?
18
- textarea_body = response.content_type == 'text/html' ? html_escape(response.body) : response.body
19
- response.body = %{<script type=\"text/javascript\">try{window.parent.document;}catch(err){document.domain=document.domain;}</script> <textarea data-type=\"#{response.content_type}\" data-status=\"#{response.response_code}\" data-statusText=\"#{response.message}\">#{textarea_body}</textarea>}
19
+ response.body = %{<script type="text/javascript">try{window.parent.document;}catch(err){document.domain=document.domain;}</script><textarea data-type="#{response.content_type}" data-status="#{response.response_code}" data-statusText="#{response.message}"></textarea><script type="text/javascript">document.querySelector("textarea").value="#{escape_javascript(response.body)}";</script>}
20
20
  response.content_type = ::Rails.version >= '5' ? Mime[:html] : Mime::HTML
21
21
  response_body
22
22
  else
@@ -1,15 +1,6 @@
1
1
  module Remotipart
2
2
  module ViewHelper
3
3
 
4
- def escape_javascript(javascript)
5
- if remotipart_submitted?
6
- super("#{javascript}")
7
- else
8
- super
9
- end
10
- end
11
- alias_method :j, :escape_javascript
12
-
13
4
  #No longer used
14
5
  #Retrained to prevent issues while updating
15
6
  def remotipart_response(options = {}, &block)
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: remotipart 1.4.2 ruby lib
5
+ # stub: remotipart 1.4.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "remotipart".freeze
9
- s.version = "1.4.2"
9
+ s.version = "1.4.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Greg Leppert".freeze, "Steve Schwartz".freeze]
14
- s.date = "2018-04-25"
14
+ s.date = "2019-05-23"
15
15
  s.description = "Remotipart is a Ruby on Rails gem enabling remote multipart forms (AJAX style file uploads) with jquery-rails.\n This gem augments the native Rails 3 jQuery-UJS remote form function enabling asynchronous file uploads with little to no modification to your application.\n ".freeze
16
16
  s.email = ["greg@formasfunction.com".freeze, "steve@alfajango.com".freeze]
17
17
  s.extra_rdoc_files = [
@@ -20,6 +20,8 @@ Gem::Specification.new do |s|
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
23
+ ".travis.yml",
24
+ "Appraisals",
23
25
  "CONTRIBUTING.md",
24
26
  "Gemfile",
25
27
  "History.rdoc",
@@ -27,6 +29,10 @@ Gem::Specification.new do |s|
27
29
  "README.rdoc",
28
30
  "Rakefile",
29
31
  "VERSION_COMPATIBILITY.rdoc",
32
+ "gemfiles/rails_3.2.gemfile",
33
+ "gemfiles/rails_4.2.gemfile",
34
+ "gemfiles/rails_5.2.gemfile",
35
+ "gemfiles/rails_6.0.gemfile",
30
36
  "lib/generators/remotipart/install/install_generator.rb",
31
37
  "lib/remotipart.rb",
32
38
  "lib/remotipart/middleware.rb",
@@ -38,11 +44,62 @@ Gem::Specification.new do |s|
38
44
  "lib/remotipart/request_helper.rb",
39
45
  "lib/remotipart/view_helper.rb",
40
46
  "remotipart.gemspec",
47
+ "spec/dummy_app/.gitignore",
48
+ "spec/dummy_app/Rakefile",
49
+ "spec/dummy_app/app/assets/images/rails.png",
50
+ "spec/dummy_app/app/assets/javascripts/application.js.erb",
51
+ "spec/dummy_app/app/assets/javascripts/comments.js",
52
+ "spec/dummy_app/app/assets/stylesheets/application.css",
53
+ "spec/dummy_app/app/assets/stylesheets/scaffold.css",
54
+ "spec/dummy_app/app/controllers/application_controller.rb",
55
+ "spec/dummy_app/app/controllers/comments_controller.rb",
56
+ "spec/dummy_app/app/helpers/application_helper.rb",
57
+ "spec/dummy_app/app/helpers/comments_helper.rb",
58
+ "spec/dummy_app/app/models/comment.rb",
59
+ "spec/dummy_app/app/views/comments/_comment.html.erb",
60
+ "spec/dummy_app/app/views/comments/_form.html.erb",
61
+ "spec/dummy_app/app/views/comments/_new_comment_links.html.erb",
62
+ "spec/dummy_app/app/views/comments/create.html.erb",
63
+ "spec/dummy_app/app/views/comments/create.js.erb",
64
+ "spec/dummy_app/app/views/comments/destroy.js.erb",
65
+ "spec/dummy_app/app/views/comments/edit.html.erb",
66
+ "spec/dummy_app/app/views/comments/escape_test.html.erb",
67
+ "spec/dummy_app/app/views/comments/index.html.erb",
68
+ "spec/dummy_app/app/views/comments/new.html.erb",
69
+ "spec/dummy_app/app/views/comments/show.html.erb",
70
+ "spec/dummy_app/app/views/layouts/application.html.erb",
71
+ "spec/dummy_app/bin/bundle",
72
+ "spec/dummy_app/bin/rails",
73
+ "spec/dummy_app/bin/rake",
74
+ "spec/dummy_app/bin/setup",
75
+ "spec/dummy_app/bin/update",
76
+ "spec/dummy_app/config.ru",
77
+ "spec/dummy_app/config/application.rb",
78
+ "spec/dummy_app/config/boot.rb",
79
+ "spec/dummy_app/config/database.yml",
80
+ "spec/dummy_app/config/environment.rb",
81
+ "spec/dummy_app/config/environments/development.rb",
82
+ "spec/dummy_app/config/environments/test.rb",
83
+ "spec/dummy_app/config/initializers/secret_token.rb",
84
+ "spec/dummy_app/config/routes.rb",
85
+ "spec/dummy_app/config/secrets.yml",
86
+ "spec/dummy_app/db/migrate/20110209210252_create_comments.rb",
87
+ "spec/dummy_app/db/migrate/20110209210315_add_attachment_to_comment.rb",
88
+ "spec/dummy_app/db/migrate/20110714205346_add_other_attachment_to_comment.rb",
89
+ "spec/dummy_app/db/schema.rb",
90
+ "spec/dummy_app/db/seeds.rb",
91
+ "spec/features/comments_spec.rb",
92
+ "spec/fixtures/hi.txt",
93
+ "spec/fixtures/qr.jpg",
94
+ "spec/spec_helper.rb",
95
+ "spec/support/arel_helper.rb",
96
+ "spec/support/connection_helper.rb",
97
+ "spec/support/integration_helper.rb",
41
98
  "vendor/assets/javascripts/jquery.iframe-transport.js",
42
99
  "vendor/assets/javascripts/jquery.remotipart.js"
43
100
  ]
44
101
  s.homepage = "http://opensource.alfajango.com/remotipart/".freeze
45
- s.rubygems_version = "2.5.2".freeze
102
+ s.rubygems_version = "2.7.8".freeze
46
103
  s.summary = "Remotipart is a Ruby on Rails gem enabling remote multipart forms (AJAX style file uploads) with jquery-rails.".freeze
47
104
 
48
105
  if s.respond_to? :specification_version then
@@ -51,13 +108,28 @@ Gem::Specification.new do |s|
51
108
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
109
  s.add_development_dependency(%q<rake>.freeze, [">= 0"])
53
110
  s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
111
+ s.add_development_dependency(%q<appraisal>.freeze, [">= 0"])
112
+ s.add_development_dependency(%q<jquery-rails>.freeze, [">= 0"])
113
+ s.add_development_dependency(%q<sqlite3>.freeze, [">= 0"])
114
+ s.add_development_dependency(%q<paperclip>.freeze, [">= 0"])
115
+ s.add_development_dependency(%q<remotipart>.freeze, [">= 0"])
54
116
  else
55
117
  s.add_dependency(%q<rake>.freeze, [">= 0"])
56
118
  s.add_dependency(%q<jeweler>.freeze, [">= 0"])
119
+ s.add_dependency(%q<appraisal>.freeze, [">= 0"])
120
+ s.add_dependency(%q<jquery-rails>.freeze, [">= 0"])
121
+ s.add_dependency(%q<sqlite3>.freeze, [">= 0"])
122
+ s.add_dependency(%q<paperclip>.freeze, [">= 0"])
123
+ s.add_dependency(%q<remotipart>.freeze, [">= 0"])
57
124
  end
58
125
  else
59
126
  s.add_dependency(%q<rake>.freeze, [">= 0"])
60
127
  s.add_dependency(%q<jeweler>.freeze, [">= 0"])
128
+ s.add_dependency(%q<appraisal>.freeze, [">= 0"])
129
+ s.add_dependency(%q<jquery-rails>.freeze, [">= 0"])
130
+ s.add_dependency(%q<sqlite3>.freeze, [">= 0"])
131
+ s.add_dependency(%q<paperclip>.freeze, [">= 0"])
132
+ s.add_dependency(%q<remotipart>.freeze, [">= 0"])
61
133
  end
62
134
  end
63
135
 
@@ -0,0 +1,17 @@
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile ~/.gitignore_global
6
+
7
+ # Ignore bundler config
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+
13
+ # Ignore all logfiles and tempfiles.
14
+ /log/*.log
15
+ /tmp
16
+
17
+ /public/system
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env rake
2
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
3
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
+
5
+ require File.expand_path('../config/application', __FILE__)
6
+
7
+ DummyApp::Application.load_tasks