active_reload 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -1
- data/README.md +1 -1
- data/lib/active_reload/version.rb +1 -1
- data/test/{dummy309 → dummy3010}/Gemfile +1 -1
- data/test/{dummy309 → dummy3010}/README +0 -0
- data/test/{dummy309 → dummy3010}/Rakefile +0 -0
- data/test/{dummy309 → dummy3010}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy309 → dummy3010}/app/controllers/empty_controller.rb +0 -0
- data/test/{dummy309 → dummy3010}/app/views/layouts/application.html.erb +0 -0
- data/test/{dummy309 → dummy3010}/config.ru +1 -1
- data/test/{dummy309 → dummy3010}/config/application.rb +1 -1
- data/test/{dummy309 → dummy3010}/config/boot.rb +0 -0
- data/test/{dummy309 → dummy3010}/config/database.yml +0 -0
- data/test/{dummy309 → dummy3010}/config/environment.rb +1 -1
- data/test/{dummy309 → dummy3010}/config/environments/development.rb +1 -1
- data/test/{dummy309 → dummy3010}/config/environments/production.rb +1 -1
- data/test/{dummy309 → dummy3010}/config/environments/test.rb +1 -1
- data/test/{dummy309 → dummy3010}/config/initializers/backtrace_silencers.rb +0 -0
- data/test/{dummy309 → dummy3010}/config/initializers/inflections.rb +0 -0
- data/test/{dummy309 → dummy3010}/config/initializers/mime_types.rb +0 -0
- data/test/{dummy309 → dummy3010}/config/initializers/secret_token.rb +1 -1
- data/test/{dummy309 → dummy3010}/config/initializers/session_store.rb +2 -2
- data/test/{dummy309 → dummy3010}/config/locales/en.yml +0 -0
- data/test/{dummy309 → dummy3010}/config/routes.rb +1 -1
- data/test/{dummy309 → dummy3010}/db/seeds.rb +0 -0
- data/test/{dummy309 → dummy3010}/doc/README_FOR_APP +0 -0
- data/test/{dummy309 → dummy3010}/lib/tasks/.gitkeep +0 -0
- data/test/{dummy309 → dummy3010}/public/404.html +0 -0
- data/test/{dummy309 → dummy3010}/public/422.html +0 -0
- data/test/{dummy309 → dummy3010}/public/500.html +0 -0
- data/test/{dummy309 → dummy3010}/public/favicon.ico +0 -0
- data/test/{dummy309 → dummy3010}/public/images/rails.png +0 -0
- data/test/{dummy309 → dummy3010}/public/index.html +0 -0
- data/test/{dummy309 → dummy3010}/public/javascripts/application.js +0 -0
- data/test/{dummy309 → dummy3010}/public/javascripts/controls.js +0 -0
- data/test/{dummy309 → dummy3010}/public/javascripts/dragdrop.js +0 -0
- data/test/{dummy309 → dummy3010}/public/javascripts/effects.js +0 -0
- data/test/{dummy309 → dummy3010}/public/javascripts/prototype.js +0 -0
- data/test/{dummy309 → dummy3010}/public/javascripts/rails.js +0 -0
- data/test/{dummy309 → dummy3010}/public/robots.txt +0 -0
- data/test/{dummy309 → dummy3010}/public/stylesheets/.gitkeep +0 -0
- data/test/{dummy309 → dummy3010}/script/rails +0 -0
- data/test/{dummy309 → dummy3010}/test/performance/browsing_test.rb +0 -0
- data/test/{dummy309 → dummy3010}/test/test_helper.rb +0 -0
- data/test/{dummy309 → dummy3010}/vendor/plugins/.gitkeep +0 -0
- data/test/unit/reload_test.rb +1 -1
- metadata +50 -50
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -48,7 +48,7 @@ Simply add Active Reload to your Gemfile and bundle it up:
|
|
48
48
|
## Compatibility
|
49
49
|
|
50
50
|
Tested with Ruby `1.9.2` and `1.8.7`.
|
51
|
-
Tested with Rails `3.0.
|
51
|
+
Tested with Rails `3.0.10` and `3.1.0.rc5` (older versions of this gem could have been tested with older rails versions, check it by reading README.md in older tag versions)
|
52
52
|
|
53
53
|
## Notifications
|
54
54
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -6,7 +6,7 @@ require 'rails/all'
|
|
6
6
|
# you've limited to :test, :development, or :production.
|
7
7
|
Bundler.require(:default, Rails.env) if defined?(Bundler)
|
8
8
|
|
9
|
-
module
|
9
|
+
module Dummy3010
|
10
10
|
class Application < Rails::Application
|
11
11
|
# Settings in config/environments/* take precedence over those specified here.
|
12
12
|
# Application configuration should go into files in config/initializers
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require File.expand_path( File.join(File.dirname(__FILE__), '..', '..', '..', 'support', "defined_middleware") )
|
2
2
|
|
3
|
-
|
3
|
+
Dummy3010::Application.configure do
|
4
4
|
# Settings specified here will take precedence over those in config/application.rb
|
5
5
|
|
6
6
|
# In the development environment your application's code is reloaded on
|
File without changes
|
File without changes
|
File without changes
|
@@ -4,4 +4,4 @@
|
|
4
4
|
# If you change this key, all old signed cookies will become invalid!
|
5
5
|
# Make sure the secret is at least 30 characters and all random,
|
6
6
|
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
|
7
|
+
Dummy3010::Application.config.secret_token = '902766a1d9f631bce4d27ad72bf0b4e79704271e4929b30401371307cb76f5b1c402aa1ba2e0a0a8ae89b25d9d87c86443f60daa653ce0dd1fa9357e81a0bb38'
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
|
3
|
+
Dummy3010::Application.config.session_store :cookie_store, :key => '_dummy309_session'
|
4
4
|
|
5
5
|
# Use the database for sessions instead of the cookie-based default,
|
6
6
|
# which shouldn't be used to store highly confidential information
|
7
7
|
# (create the session table with "rails generate session_migration")
|
8
|
-
#
|
8
|
+
# Dummy3010::Application.config.session_store :active_record_store
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/unit/reload_test.rb
CHANGED
@@ -33,7 +33,7 @@ end
|
|
33
33
|
class ReloadTest < Bbq::TestCase
|
34
34
|
include FileCommandHelper
|
35
35
|
|
36
|
-
%w(
|
36
|
+
%w(3010 310rc5).each_with_index do |version, index|
|
37
37
|
define_method(:"test_rails#{version}") do
|
38
38
|
app_port = 8898 + index
|
39
39
|
app_root = File.expand_path( File.join(File.dirname(__FILE__), '..', "dummy#{version}") )
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_reload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ default_executable:
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
17
|
-
requirement: &
|
17
|
+
requirement: &78621020 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *78621020
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: bbq
|
28
|
-
requirement: &
|
28
|
+
requirement: &78620800 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *78620800
|
37
37
|
description: Reload Rails code in development mode only when change is deteced
|
38
38
|
email:
|
39
39
|
- robert.pankowecki@gmail.com
|
@@ -48,49 +48,49 @@ files:
|
|
48
48
|
- active_reload.gemspec
|
49
49
|
- lib/active_reload.rb
|
50
50
|
- lib/active_reload/version.rb
|
51
|
-
- test/
|
52
|
-
- test/
|
53
|
-
- test/
|
54
|
-
- test/
|
55
|
-
- test/
|
56
|
-
- test/
|
57
|
-
- test/
|
58
|
-
- test/
|
59
|
-
- test/
|
60
|
-
- test/
|
61
|
-
- test/
|
62
|
-
- test/
|
63
|
-
- test/
|
64
|
-
- test/
|
65
|
-
- test/
|
66
|
-
- test/
|
67
|
-
- test/
|
68
|
-
- test/
|
69
|
-
- test/
|
70
|
-
- test/
|
71
|
-
- test/
|
72
|
-
- test/
|
73
|
-
- test/
|
74
|
-
- test/
|
75
|
-
- test/
|
76
|
-
- test/
|
77
|
-
- test/
|
78
|
-
- test/
|
79
|
-
- test/
|
80
|
-
- test/
|
81
|
-
- test/
|
82
|
-
- test/
|
83
|
-
- test/
|
84
|
-
- test/
|
85
|
-
- test/
|
86
|
-
- test/
|
87
|
-
- test/
|
88
|
-
- test/
|
89
|
-
- test/
|
90
|
-
- test/
|
91
|
-
- test/
|
92
|
-
- test/
|
93
|
-
- test/
|
51
|
+
- test/dummy3010/Gemfile
|
52
|
+
- test/dummy3010/Gemfile.lock
|
53
|
+
- test/dummy3010/README
|
54
|
+
- test/dummy3010/Rakefile
|
55
|
+
- test/dummy3010/app/controllers/application_controller.rb
|
56
|
+
- test/dummy3010/app/controllers/empty_controller.rb
|
57
|
+
- test/dummy3010/app/views/layouts/application.html.erb
|
58
|
+
- test/dummy3010/config.ru
|
59
|
+
- test/dummy3010/config/application.rb
|
60
|
+
- test/dummy3010/config/boot.rb
|
61
|
+
- test/dummy3010/config/database.yml
|
62
|
+
- test/dummy3010/config/environment.rb
|
63
|
+
- test/dummy3010/config/environments/development.rb
|
64
|
+
- test/dummy3010/config/environments/production.rb
|
65
|
+
- test/dummy3010/config/environments/test.rb
|
66
|
+
- test/dummy3010/config/initializers/backtrace_silencers.rb
|
67
|
+
- test/dummy3010/config/initializers/inflections.rb
|
68
|
+
- test/dummy3010/config/initializers/mime_types.rb
|
69
|
+
- test/dummy3010/config/initializers/secret_token.rb
|
70
|
+
- test/dummy3010/config/initializers/session_store.rb
|
71
|
+
- test/dummy3010/config/locales/en.yml
|
72
|
+
- test/dummy3010/config/routes.rb
|
73
|
+
- test/dummy3010/db/seeds.rb
|
74
|
+
- test/dummy3010/doc/README_FOR_APP
|
75
|
+
- test/dummy3010/lib/tasks/.gitkeep
|
76
|
+
- test/dummy3010/public/404.html
|
77
|
+
- test/dummy3010/public/422.html
|
78
|
+
- test/dummy3010/public/500.html
|
79
|
+
- test/dummy3010/public/favicon.ico
|
80
|
+
- test/dummy3010/public/images/rails.png
|
81
|
+
- test/dummy3010/public/index.html
|
82
|
+
- test/dummy3010/public/javascripts/application.js
|
83
|
+
- test/dummy3010/public/javascripts/controls.js
|
84
|
+
- test/dummy3010/public/javascripts/dragdrop.js
|
85
|
+
- test/dummy3010/public/javascripts/effects.js
|
86
|
+
- test/dummy3010/public/javascripts/prototype.js
|
87
|
+
- test/dummy3010/public/javascripts/rails.js
|
88
|
+
- test/dummy3010/public/robots.txt
|
89
|
+
- test/dummy3010/public/stylesheets/.gitkeep
|
90
|
+
- test/dummy3010/script/rails
|
91
|
+
- test/dummy3010/test/performance/browsing_test.rb
|
92
|
+
- test/dummy3010/test/test_helper.rb
|
93
|
+
- test/dummy3010/vendor/plugins/.gitkeep
|
94
94
|
- test/dummy310rc5/.gitignore
|
95
95
|
- test/dummy310rc5/Gemfile
|
96
96
|
- test/dummy310rc5/Gemfile.lock
|
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
segments:
|
159
159
|
- 0
|
160
|
-
hash: -
|
160
|
+
hash: -538336973
|
161
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
162
|
none: false
|
163
163
|
requirements:
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
version: '0'
|
167
167
|
segments:
|
168
168
|
- 0
|
169
|
-
hash: -
|
169
|
+
hash: -538336973
|
170
170
|
requirements: []
|
171
171
|
rubyforge_project: active_reload
|
172
172
|
rubygems_version: 1.6.2
|