cant_wait 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- checksums.yaml.gz.sig +0 -0
- data/.travis.yml +5 -6
- data/CHANGELOG.md +13 -1
- data/README.md +29 -19
- data/lib/cant_wait/version.rb +1 -1
- data/tasks/testing.rake +6 -5
- data/test/README.md +8 -15
- data/test/cant_wait_test.rb +5 -5
- data/test/test_apps/Test_4_0_0/.gitignore +16 -0
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/Gemfile +2 -2
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/Rakefile +1 -1
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/views/layouts/application.html.erb +1 -1
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/application.rb +1 -1
- data/test/test_apps/Test_4_0_0/config/database.yml +6 -0
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/environment.rb +1 -1
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/environments/development.rb +1 -1
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/environments/production.rb +1 -1
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/environments/test.rb +1 -1
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/initializers/secret_token.rb +1 -1
- data/test/test_apps/Test_4_0_0/config/initializers/session_store.rb +3 -0
- data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/routes.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +109 -121
- metadata.gz.sig +0 -0
- data/test/test_apps/Test_4_0_0_rc2/.gitignore +0 -13
- data/test/test_apps/Test_4_0_0_rc2/config/initializers/session_store.rb +0 -3
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/README.rdoc +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/assets/images/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/assets/javascripts/application.js +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/assets/stylesheets/application.css +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/controllers/application_controller.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/controllers/concerns/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/helpers/application_helper.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/mailers/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/models/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/models/concerns/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/bin/bundle +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/bin/rails +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/bin/rake +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/boot.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/initializers/backtrace_silencers.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/initializers/filter_parameter_logging.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/initializers/inflections.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/initializers/mime_types.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/initializers/wrap_parameters.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/locales/en.yml +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config.ru +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/db/seeds.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/lib/assets/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/lib/tasks/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/log/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/public/404.html +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/public/422.html +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/public/500.html +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/public/favicon.ico +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/public/robots.txt +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/test/controllers/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/test/fixtures/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/test/helpers/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/test/integration/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/test/mailers/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/test/models/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/test/test_helper.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/vendor/assets/javascripts/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/vendor/assets/stylesheets/.keep +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OTVmY2I3NmViN2ZiZDJhNjZlNzExNzNlNmIxYTdkYmI2MTQ5NmY5MA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ODE0OWFkYmFiMTg3ZGYzMmEzZTIwY2JiNDRhMjk4NjY0Yzc2MWE1NA==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZDM5NTE4N2ZkODQ3OWJlOTVhM2E4YTNmZjk1YTU4Njk5NjMzZTg3YjhmOGJl
|
10
|
+
MGQ0ZWQ1MzhkMjZkZTAzZWQ1MDVhMzg4ZGY5YzUzZjY2OGFhMzE5YjdiNzVm
|
11
|
+
NmRhOTVlYmNmYWQ0NDg5MDljYTg2YjJkNWM4ZmY1NzI2MDg3Y2M=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YzkxZmExZTk1ZjJhNjJlNjkzMzVlZGEyODhhMGM0ODI2ZTBlM2E0YTg5YjRj
|
14
|
+
NzQzYjEzZTMwNTc1ODU3Njg2MTVlNjEzNWE4YTUzNjRkZGEzYWMwYzA4YWQ4
|
15
|
+
ZDlhNTlhOTYxZDVlNDlhNzgzNmNlN2JlYmNjYTVhOGU2NDU1MGE=
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/.travis.yml
CHANGED
@@ -1,8 +1,3 @@
|
|
1
|
-
# branches:
|
2
|
-
# only:
|
3
|
-
# - development
|
4
|
-
# except:
|
5
|
-
# - master
|
6
1
|
language: ruby
|
7
2
|
rvm:
|
8
3
|
- 1.9.2
|
@@ -11,6 +6,10 @@ rvm:
|
|
11
6
|
- jruby-19mode # JRuby in 1.9 mode (last was 1.7.3)
|
12
7
|
- rbx-19mode # Rubinius in 1.9 mode (last was 2.0.0, weekly build)
|
13
8
|
before_script:
|
9
|
+
# Before, Travis does a bundle install (cant_wait's Gemfile), installing the last version of Rails
|
14
10
|
- psql -c "CREATE ROLE tester WITH LOGIN PASSWORD 'secret';" -U postgres
|
15
11
|
- psql -c 'CREATE DATABASE test WITH OWNER=tester;' -U postgres
|
16
|
-
|
12
|
+
# And here we remove Rails to allow its coexistence with others
|
13
|
+
- gem uninstall rails # It used to be a singleton...
|
14
|
+
- rake test:bundle
|
15
|
+
script: rake test:run
|
data/CHANGELOG.md
CHANGED
@@ -10,4 +10,16 @@ Development:
|
|
10
10
|
- Integration with travis-ci.org
|
11
11
|
- Added tests for Rails 4.0.0.rc2
|
12
12
|
- Minor code refactoring (no changes in functionality)
|
13
|
-
- Added a new rake task to run test:bundle and test:run in one pass
|
13
|
+
- Added a new rake task to run <tt>test:bundle</tt> and <tt>test:run</tt> in one pass
|
14
|
+
|
15
|
+
0.0.3 (June 26, 2013)
|
16
|
+
=====================
|
17
|
+
|
18
|
+
Documentation:
|
19
|
+
|
20
|
+
- Some minor changes in the documentation
|
21
|
+
|
22
|
+
Development:
|
23
|
+
|
24
|
+
- Travis scripts stability fixes
|
25
|
+
- Tests for Rails 4.0.0
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# cant_wait
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/cant_wait.png)](https://badge.fury.io/rb/cant_wait)
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://travis-ci.org/CarlosCD/cant_wait.png?branch=master)](https://travis-ci.org/CarlosCD/cant_wait)
|
4
4
|
|
5
5
|
|
6
6
|
This Ruby gem allows to add a statement timeout for PostgreSQL databases within a Ruby on Rails application.
|
@@ -9,17 +9,19 @@ From the PostgreSQL documentation:
|
|
9
9
|
|
10
10
|
> statement_timeout (integer)
|
11
11
|
>
|
12
|
-
> Abort any statement that takes more than the specified number of milliseconds, starting
|
12
|
+
> Abort any statement that takes more than the specified number of milliseconds, starting
|
13
|
+
> from the time the command arrives at the server from the client. If log_min_error_statement
|
14
|
+
> is set to ERROR or lower, the statement that timed out will also be logged. A value of zero
|
15
|
+
> (the default) turns this off.
|
13
16
|
>
|
14
|
-
> Setting statement_timeout in postgresql.conf is not recommended because it would affect all
|
17
|
+
> Setting statement_timeout in postgresql.conf is not recommended because it would affect all
|
18
|
+
> sessions.
|
15
19
|
>
|
16
20
|
> (© 1996-2013 The PostgreSQL Global Development Group)
|
17
21
|
|
18
22
|
(Visit <http://www.postgresql.org/docs/devel/static/runtime-config-client.html> for more information)
|
19
23
|
|
20
24
|
|
21
|
-
The gem has been tested with Rails 3.0.3 and above. Tested also with PostgreSQL 8 and 9, but it may work also in other versions supported by Active Record (see PostgreSQL documentation). See also test/README.md for more details.
|
22
|
-
|
23
25
|
If any SQL statement takes more time than the timeout value (measured in milliseconds), its execution will be cancelled, and Active Record would raise a PGError exception.
|
24
26
|
|
25
27
|
ActiveRecord::StatementInvalid: PGError: ERROR: canceling statement due to statement timeout
|
@@ -27,18 +29,36 @@ If any SQL statement takes more time than the timeout value (measured in millise
|
|
27
29
|
If you find any problems, please feel free to open an issue in the gem repository ([GitHub](https://github.com/CarlosCD/cant_wait)).
|
28
30
|
|
29
31
|
|
32
|
+
## Usage
|
33
|
+
|
34
|
+
In the file <tt>config/database.yml</tt> of the Rails application, indicate a timeout in milliseconds for each environment:
|
35
|
+
|
36
|
+
production:
|
37
|
+
adapter: postgresql
|
38
|
+
timeout: 180_000 # 3 minutes
|
39
|
+
...
|
40
|
+
|
41
|
+
Then restart the application to establish the new database settings.
|
42
|
+
|
43
|
+
|
30
44
|
## Installation
|
31
45
|
|
32
46
|
Add this line to your application's Gemfile:
|
33
47
|
|
34
|
-
gem 'cant_wait', '~> 0.0.
|
48
|
+
gem 'cant_wait', '~> 0.0.3'
|
35
49
|
|
36
50
|
And then execute:
|
37
51
|
|
38
52
|
$ bundle
|
39
53
|
|
40
54
|
|
41
|
-
##
|
55
|
+
## Dependencies
|
56
|
+
|
57
|
+
Previous versions of Rails are not compatible with the last version of bundler, so the minimum requirement is Rails 3.0.3.
|
58
|
+
|
59
|
+
The gem has been tested with Rails 3.0.3 and above (including version 4.0.0). It has also been tested with PostgreSQL versions 8 and 9, but it may work also in other versions supported by Active Record (see PostgreSQL documentation).
|
60
|
+
|
61
|
+
### Supported Rubies
|
42
62
|
|
43
63
|
**cant_wait** has been tested with the following versions of Ruby:
|
44
64
|
|
@@ -48,19 +68,9 @@ And then execute:
|
|
48
68
|
- jruby
|
49
69
|
- Rubinius
|
50
70
|
|
51
|
-
The gem may work just fine with a Ruby flavors/
|
52
|
-
|
53
|
-
|
54
|
-
## Usage
|
55
|
-
|
56
|
-
In the file <tt>config/database.yml<tt /> of the Rails application, indicate a timeout in milliseconds for each environment:
|
71
|
+
The gem may work just fine with a Ruby flavors/versions not listed above.
|
57
72
|
|
58
|
-
|
59
|
-
adapter: postgresql
|
60
|
-
timeout: 180_000 # 3 minutes
|
61
|
-
...
|
62
|
-
|
63
|
-
Then restart the application to establish the new database settings.
|
73
|
+
See the development documentation for more details.
|
64
74
|
|
65
75
|
|
66
76
|
## Development / Contributing
|
data/lib/cant_wait/version.rb
CHANGED
data/tasks/testing.rake
CHANGED
@@ -6,11 +6,12 @@
|
|
6
6
|
|
7
7
|
namespace :test do
|
8
8
|
|
9
|
-
TEST_RAILS_APP = [{ version: '3.0.3',
|
10
|
-
{ version: '3.0.20',
|
11
|
-
{ version: '3.1.12',
|
12
|
-
{ version: '3.2.13',
|
13
|
-
{ version: '4.0.0
|
9
|
+
TEST_RAILS_APP = [{ version: '3.0.3', rails_root: 'test/test_apps/Test_3_0_03'},
|
10
|
+
{ version: '3.0.20', rails_root: 'test/test_apps/Test_3_0_20'},
|
11
|
+
{ version: '3.1.12', rails_root: 'test/test_apps/Test_3_1_12'},
|
12
|
+
{ version: '3.2.13', rails_root: 'test/test_apps/Test_3_2_13'},
|
13
|
+
{ version: '4.0.0', rails_root: 'test/test_apps/Test_4_0_0' }]
|
14
|
+
|
14
15
|
|
15
16
|
# Argument (env.):
|
16
17
|
# REBUILD=f It doesn't remove the Gemfile.lock for the test apps, not forcing a clean bundle install
|
data/test/README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# cant_wait ~ development and test
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/cant_wait.png)](https://badge.fury.io/rb/cant_wait)
|
3
|
-
[![Build Status](https://api.travis-ci.org/CarlosCD/cant_wait.png)](https://travis-ci.org/CarlosCD/cant_wait)
|
4
3
|
|
5
4
|
|
6
5
|
## Test setup and choices
|
@@ -16,11 +15,11 @@
|
|
16
15
|
|
17
16
|
The approach of using minimal Rails components (ActiveRecord, Railties) is problematic due to the amount of code that Rails loads and of how it changes in the default Ruby behavior. I opted here to test the same way an end user would use the gem.
|
18
17
|
|
19
|
-
To test in different Rails versions requires running several Rails
|
18
|
+
To test in different Rails versions requires running several Rails Apps either simultaneously or sequentially. Even if it is done in different threads, being a Rails App a singleton, it will result in:
|
20
19
|
|
21
20
|
RuntimeError: You cannot have more than one Rails::Application
|
22
21
|
|
23
|
-
This
|
22
|
+
This path also would make the test cases too distant to the real conditions you may encounter in isolated Rails applications, and even if the singleton restriction is removed, it will still apply to old versions of Rails.
|
24
23
|
|
25
24
|
### A solution
|
26
25
|
|
@@ -47,19 +46,19 @@ Then I modified their Gemfile by adding gems for PostgreSQL, Minitest and Growl:
|
|
47
46
|
|
48
47
|
gem 'cant_wait', path: File.expand_path('../../../..', __FILE__)
|
49
48
|
|
50
|
-
The rails apps require bundle install, specially when changing the version of Ruby to be used. To make it easier, I added a rake task (<tt>rake test:bundle
|
49
|
+
The rails apps require bundle install, specially when changing the version of Ruby to be used. To make it easier, I added a rake task (<tt>rake test:bundle</tt>).
|
51
50
|
|
52
|
-
The test is run through the <tt>rake test:run command
|
51
|
+
The test is run through the <tt>rake test:run command</tt>. The test goes over each rails app in sequence and:
|
53
52
|
|
54
53
|
1. It sets Bundle to use the test app's Gemfile
|
55
|
-
2. It creates the app's <tt>config/database.yml
|
54
|
+
2. It creates the app's <tt>config/database.yml</tt> with a random timeout
|
56
55
|
3. It starts Rails
|
57
56
|
4. It checks the version of Rails and ActiveRecord running.
|
58
57
|
5. It checks that the PostgreSQL connection's statement_timeout is the expected.
|
59
58
|
|
60
59
|
Due to the complex setup needed, I choose not to use the rake default to run the test, just to signal the tester to stop to consider these choices.
|
61
60
|
|
62
|
-
And additional <tt>rake test:all
|
61
|
+
And additional <tt>rake test:all</tt> will do both the bundle install and run the tests. This is the way travis-ci is set to run.
|
63
62
|
|
64
63
|
|
65
64
|
## The Testing process in detail
|
@@ -77,7 +76,7 @@ After cloning the gem, you can start testing it by following these steps:
|
|
77
76
|
|
78
77
|
bundle
|
79
78
|
|
80
|
-
4. Set up your PostgreSQL test database and edit accordingly the file <tt>test/database.yml
|
79
|
+
4. Set up your PostgreSQL test database and edit accordingly the file <tt>test/database.yml</tt>
|
81
80
|
|
82
81
|
5. Get the Rails gems used by the test rails apps included:
|
83
82
|
|
@@ -115,13 +114,7 @@ Check the .travis.yml file for details.
|
|
115
114
|
Rails 3.0.20 Last patchlevel of Rails 3.0 (at this moment)
|
116
115
|
Rails 3.1.12 Last patchlevel of Rails 3.1
|
117
116
|
Rails 3.2.13 Last patchlevel of Rails 3.2 (many security fixes, last stable version)
|
118
|
-
Rails 4.0.0
|
119
|
-
|
120
|
-
**Note:** in the case of versions of Rails not final yet, <tt>rake test:bundle<tt /> may complain. In those cases you may need to manually install the gems before running the tests. For example:
|
121
|
-
|
122
|
-
$ gem install rails --version 4.0.0.rc2 --no-ri --no-rdoc
|
123
|
-
$ gem install sass-rails -v 4.0.0.rc2
|
124
|
-
...
|
117
|
+
Rails 4.0.0 Last Release of Rails 4.0
|
125
118
|
|
126
119
|
* PostgreSQL versions 8.3.6 and 9.2.4.
|
127
120
|
|
data/test/cant_wait_test.rb
CHANGED
@@ -6,11 +6,11 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) # We require the rails environment f
|
|
6
6
|
|
7
7
|
class CantWait1Test < MiniTest::Unit::TestCase
|
8
8
|
|
9
|
-
TEST_RAILS_APP = [{ version: '3.0.3',
|
10
|
-
{ version: '3.0.20',
|
11
|
-
{ version: '3.1.12',
|
12
|
-
{ version: '3.2.13',
|
13
|
-
{ version: '4.0.0
|
9
|
+
TEST_RAILS_APP = [{ version: '3.0.3', rails_root: 'test_apps/Test_3_0_03'},
|
10
|
+
{ version: '3.0.20', rails_root: 'test_apps/Test_3_0_20'},
|
11
|
+
{ version: '3.1.12', rails_root: 'test_apps/Test_3_1_12'},
|
12
|
+
{ version: '3.2.13', rails_root: 'test_apps/Test_3_2_13'},
|
13
|
+
{ version: '4.0.0', rails_root: 'test_apps/Test_4_0_0' }]
|
14
14
|
|
15
15
|
# Set a random timeout and rails app to be tested
|
16
16
|
def setup
|
@@ -0,0 +1,16 @@
|
|
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
|
+
/db/*.sqlite3-journal
|
13
|
+
|
14
|
+
# Ignore all logfiles and tempfiles.
|
15
|
+
/log/*.log
|
16
|
+
/tmp
|
@@ -1,10 +1,10 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
3
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
4
|
-
gem 'rails', '4.0.0
|
4
|
+
gem 'rails', '4.0.0'
|
5
5
|
|
6
6
|
# Use SCSS for stylesheets
|
7
|
-
gem 'sass-rails', '~> 4.0.0
|
7
|
+
gem 'sass-rails', '~> 4.0.0'
|
8
8
|
|
9
9
|
# Use Uglifier as compressor for JavaScript assets
|
10
10
|
gem 'uglifier', '>= 1.3.0'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title>
|
4
|
+
<title>Test400</title>
|
5
5
|
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
6
6
|
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
7
7
|
<%= csrf_meta_tags %>
|
@@ -6,7 +6,7 @@ require 'rails/all'
|
|
6
6
|
# you've limited to :test, :development, or :production.
|
7
7
|
Bundler.require(:default, Rails.env)
|
8
8
|
|
9
|
-
module
|
9
|
+
module Test400
|
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
|
@@ -9,4 +9,4 @@
|
|
9
9
|
|
10
10
|
# Make sure your secret_key_base is kept private
|
11
11
|
# if you're sharing your code publicly.
|
12
|
-
|
12
|
+
Test400::Application.config.secret_key_base = '9843a7a0a0b54a6186bf4ba12b405064292c1fe0adef99f496b2940fd5a3ca88b50b93395b14ce2da9fd4683e9d673cd30a77615b99d94a388bfa5ebeeb702fe'
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cant_wait
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Carlos A. Carro Duplá
|
@@ -42,12 +41,11 @@ cert_chain:
|
|
42
41
|
cHg0UWV0bkZUeGkwaEVqQnV4b1UyUQpFcVJVaGpGYkpGSm9TTW9ycXV4N0w1
|
43
42
|
Uk5ML3JGYzBrTHY5S2lCYk02UEF6QjhhcUQKLS0tLS1FTkQgQ0VSVElGSUNB
|
44
43
|
VEUtLS0tLQo=
|
45
|
-
date: 2013-06-
|
44
|
+
date: 2013-06-26 00:00:00.000000000 Z
|
46
45
|
dependencies:
|
47
46
|
- !ruby/object:Gem::Dependency
|
48
47
|
name: rails
|
49
48
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
49
|
requirements:
|
52
50
|
- - ! '>='
|
53
51
|
- !ruby/object:Gem::Version
|
@@ -55,7 +53,6 @@ dependencies:
|
|
55
53
|
type: :runtime
|
56
54
|
prerelease: false
|
57
55
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
56
|
requirements:
|
60
57
|
- - ! '>='
|
61
58
|
- !ruby/object:Gem::Version
|
@@ -63,7 +60,6 @@ dependencies:
|
|
63
60
|
- !ruby/object:Gem::Dependency
|
64
61
|
name: bundler
|
65
62
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
63
|
requirements:
|
68
64
|
- - ~>
|
69
65
|
- !ruby/object:Gem::Version
|
@@ -71,7 +67,6 @@ dependencies:
|
|
71
67
|
type: :development
|
72
68
|
prerelease: false
|
73
69
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
70
|
requirements:
|
76
71
|
- - ~>
|
77
72
|
- !ruby/object:Gem::Version
|
@@ -79,7 +74,6 @@ dependencies:
|
|
79
74
|
- !ruby/object:Gem::Dependency
|
80
75
|
name: rake
|
81
76
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
77
|
requirements:
|
84
78
|
- - ~>
|
85
79
|
- !ruby/object:Gem::Version
|
@@ -87,7 +81,6 @@ dependencies:
|
|
87
81
|
type: :development
|
88
82
|
prerelease: false
|
89
83
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
84
|
requirements:
|
92
85
|
- - ~>
|
93
86
|
- !ruby/object:Gem::Version
|
@@ -95,7 +88,6 @@ dependencies:
|
|
95
88
|
- !ruby/object:Gem::Dependency
|
96
89
|
name: pg
|
97
90
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
91
|
requirements:
|
100
92
|
- - ~>
|
101
93
|
- !ruby/object:Gem::Version
|
@@ -103,7 +95,6 @@ dependencies:
|
|
103
95
|
type: :development
|
104
96
|
prerelease: false
|
105
97
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
98
|
requirements:
|
108
99
|
- - ~>
|
109
100
|
- !ruby/object:Gem::Version
|
@@ -111,7 +102,6 @@ dependencies:
|
|
111
102
|
- !ruby/object:Gem::Dependency
|
112
103
|
name: minitest-growl
|
113
104
|
requirement: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
105
|
requirements:
|
116
106
|
- - ~>
|
117
107
|
- !ruby/object:Gem::Version
|
@@ -119,7 +109,6 @@ dependencies:
|
|
119
109
|
type: :development
|
120
110
|
prerelease: false
|
121
111
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
112
|
requirements:
|
124
113
|
- - ~>
|
125
114
|
- !ruby/object:Gem::Version
|
@@ -127,7 +116,6 @@ dependencies:
|
|
127
116
|
- !ruby/object:Gem::Dependency
|
128
117
|
name: minitest
|
129
118
|
requirement: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
119
|
requirements:
|
132
120
|
- - ~>
|
133
121
|
- !ruby/object:Gem::Version
|
@@ -135,7 +123,6 @@ dependencies:
|
|
135
123
|
type: :development
|
136
124
|
prerelease: false
|
137
125
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
126
|
requirements:
|
140
127
|
- - ~>
|
141
128
|
- !ruby/object:Gem::Version
|
@@ -343,81 +330,81 @@ files:
|
|
343
330
|
- test/test_apps/Test_3_2_13/vendor/assets/javascripts/.gitkeep
|
344
331
|
- test/test_apps/Test_3_2_13/vendor/assets/stylesheets/.gitkeep
|
345
332
|
- test/test_apps/Test_3_2_13/vendor/plugins/.gitkeep
|
346
|
-
- test/test_apps/
|
347
|
-
- test/test_apps/
|
348
|
-
- test/test_apps/
|
349
|
-
- test/test_apps/
|
350
|
-
- test/test_apps/
|
351
|
-
- test/test_apps/
|
352
|
-
- test/test_apps/
|
353
|
-
- test/test_apps/
|
354
|
-
- test/test_apps/
|
355
|
-
- test/test_apps/
|
356
|
-
- test/test_apps/
|
357
|
-
- test/test_apps/
|
358
|
-
- test/test_apps/
|
359
|
-
- test/test_apps/
|
360
|
-
- test/test_apps/
|
361
|
-
- test/test_apps/
|
362
|
-
- test/test_apps/
|
363
|
-
- test/test_apps/
|
364
|
-
- test/test_apps/
|
365
|
-
- test/test_apps/
|
366
|
-
- test/test_apps/
|
367
|
-
- test/test_apps/
|
368
|
-
- test/test_apps/
|
369
|
-
- test/test_apps/
|
370
|
-
- test/test_apps/
|
371
|
-
- test/test_apps/
|
372
|
-
- test/test_apps/
|
373
|
-
- test/test_apps/
|
374
|
-
- test/test_apps/
|
375
|
-
- test/test_apps/
|
376
|
-
- test/test_apps/
|
377
|
-
- test/test_apps/
|
378
|
-
- test/test_apps/
|
379
|
-
- test/test_apps/
|
380
|
-
- test/test_apps/
|
381
|
-
- test/test_apps/
|
382
|
-
- test/test_apps/
|
383
|
-
- test/test_apps/
|
384
|
-
- test/test_apps/
|
385
|
-
- test/test_apps/
|
386
|
-
- test/test_apps/
|
387
|
-
- test/test_apps/
|
388
|
-
- test/test_apps/
|
389
|
-
- test/test_apps/
|
390
|
-
- test/test_apps/
|
391
|
-
- test/test_apps/
|
392
|
-
- test/test_apps/
|
393
|
-
- test/test_apps/
|
394
|
-
- test/test_apps/
|
395
|
-
- test/test_apps/
|
396
|
-
- test/test_apps/
|
333
|
+
- test/test_apps/Test_4_0_0/.gitignore
|
334
|
+
- test/test_apps/Test_4_0_0/Gemfile
|
335
|
+
- test/test_apps/Test_4_0_0/README.rdoc
|
336
|
+
- test/test_apps/Test_4_0_0/Rakefile
|
337
|
+
- test/test_apps/Test_4_0_0/app/assets/images/.keep
|
338
|
+
- test/test_apps/Test_4_0_0/app/assets/javascripts/application.js
|
339
|
+
- test/test_apps/Test_4_0_0/app/assets/stylesheets/application.css
|
340
|
+
- test/test_apps/Test_4_0_0/app/controllers/application_controller.rb
|
341
|
+
- test/test_apps/Test_4_0_0/app/controllers/concerns/.keep
|
342
|
+
- test/test_apps/Test_4_0_0/app/helpers/application_helper.rb
|
343
|
+
- test/test_apps/Test_4_0_0/app/mailers/.keep
|
344
|
+
- test/test_apps/Test_4_0_0/app/models/.keep
|
345
|
+
- test/test_apps/Test_4_0_0/app/models/concerns/.keep
|
346
|
+
- test/test_apps/Test_4_0_0/app/views/layouts/application.html.erb
|
347
|
+
- test/test_apps/Test_4_0_0/bin/bundle
|
348
|
+
- test/test_apps/Test_4_0_0/bin/rails
|
349
|
+
- test/test_apps/Test_4_0_0/bin/rake
|
350
|
+
- test/test_apps/Test_4_0_0/config.ru
|
351
|
+
- test/test_apps/Test_4_0_0/config/application.rb
|
352
|
+
- test/test_apps/Test_4_0_0/config/boot.rb
|
353
|
+
- test/test_apps/Test_4_0_0/config/database.yml
|
354
|
+
- test/test_apps/Test_4_0_0/config/environment.rb
|
355
|
+
- test/test_apps/Test_4_0_0/config/environments/development.rb
|
356
|
+
- test/test_apps/Test_4_0_0/config/environments/production.rb
|
357
|
+
- test/test_apps/Test_4_0_0/config/environments/test.rb
|
358
|
+
- test/test_apps/Test_4_0_0/config/initializers/backtrace_silencers.rb
|
359
|
+
- test/test_apps/Test_4_0_0/config/initializers/filter_parameter_logging.rb
|
360
|
+
- test/test_apps/Test_4_0_0/config/initializers/inflections.rb
|
361
|
+
- test/test_apps/Test_4_0_0/config/initializers/mime_types.rb
|
362
|
+
- test/test_apps/Test_4_0_0/config/initializers/secret_token.rb
|
363
|
+
- test/test_apps/Test_4_0_0/config/initializers/session_store.rb
|
364
|
+
- test/test_apps/Test_4_0_0/config/initializers/wrap_parameters.rb
|
365
|
+
- test/test_apps/Test_4_0_0/config/locales/en.yml
|
366
|
+
- test/test_apps/Test_4_0_0/config/routes.rb
|
367
|
+
- test/test_apps/Test_4_0_0/db/seeds.rb
|
368
|
+
- test/test_apps/Test_4_0_0/lib/assets/.keep
|
369
|
+
- test/test_apps/Test_4_0_0/lib/tasks/.keep
|
370
|
+
- test/test_apps/Test_4_0_0/log/.keep
|
371
|
+
- test/test_apps/Test_4_0_0/public/404.html
|
372
|
+
- test/test_apps/Test_4_0_0/public/422.html
|
373
|
+
- test/test_apps/Test_4_0_0/public/500.html
|
374
|
+
- test/test_apps/Test_4_0_0/public/favicon.ico
|
375
|
+
- test/test_apps/Test_4_0_0/public/robots.txt
|
376
|
+
- test/test_apps/Test_4_0_0/test/controllers/.keep
|
377
|
+
- test/test_apps/Test_4_0_0/test/fixtures/.keep
|
378
|
+
- test/test_apps/Test_4_0_0/test/helpers/.keep
|
379
|
+
- test/test_apps/Test_4_0_0/test/integration/.keep
|
380
|
+
- test/test_apps/Test_4_0_0/test/mailers/.keep
|
381
|
+
- test/test_apps/Test_4_0_0/test/models/.keep
|
382
|
+
- test/test_apps/Test_4_0_0/test/test_helper.rb
|
383
|
+
- test/test_apps/Test_4_0_0/vendor/assets/javascripts/.keep
|
384
|
+
- test/test_apps/Test_4_0_0/vendor/assets/stylesheets/.keep
|
397
385
|
homepage: https://github.com/CarlosCD/cant_wait
|
398
386
|
licenses:
|
399
387
|
- MIT
|
388
|
+
metadata: {}
|
400
389
|
post_install_message:
|
401
390
|
rdoc_options: []
|
402
391
|
require_paths:
|
403
392
|
- lib
|
404
393
|
required_ruby_version: !ruby/object:Gem::Requirement
|
405
|
-
none: false
|
406
394
|
requirements:
|
407
395
|
- - ! '>='
|
408
396
|
- !ruby/object:Gem::Version
|
409
397
|
version: '0'
|
410
398
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
411
|
-
none: false
|
412
399
|
requirements:
|
413
400
|
- - ! '>='
|
414
401
|
- !ruby/object:Gem::Version
|
415
402
|
version: '0'
|
416
403
|
requirements: []
|
417
404
|
rubyforge_project:
|
418
|
-
rubygems_version:
|
405
|
+
rubygems_version: 2.0.3
|
419
406
|
signing_key:
|
420
|
-
specification_version:
|
407
|
+
specification_version: 4
|
421
408
|
summary: Complements the Ruby on Rails web application framework by providing statement
|
422
409
|
timeouts for PostgreSQL databases.
|
423
410
|
test_files:
|
@@ -602,54 +589,55 @@ test_files:
|
|
602
589
|
- test/test_apps/Test_3_2_13/vendor/assets/javascripts/.gitkeep
|
603
590
|
- test/test_apps/Test_3_2_13/vendor/assets/stylesheets/.gitkeep
|
604
591
|
- test/test_apps/Test_3_2_13/vendor/plugins/.gitkeep
|
605
|
-
- test/test_apps/
|
606
|
-
- test/test_apps/
|
607
|
-
- test/test_apps/
|
608
|
-
- test/test_apps/
|
609
|
-
- test/test_apps/
|
610
|
-
- test/test_apps/
|
611
|
-
- test/test_apps/
|
612
|
-
- test/test_apps/
|
613
|
-
- test/test_apps/
|
614
|
-
- test/test_apps/
|
615
|
-
- test/test_apps/
|
616
|
-
- test/test_apps/
|
617
|
-
- test/test_apps/
|
618
|
-
- test/test_apps/
|
619
|
-
- test/test_apps/
|
620
|
-
- test/test_apps/
|
621
|
-
- test/test_apps/
|
622
|
-
- test/test_apps/
|
623
|
-
- test/test_apps/
|
624
|
-
- test/test_apps/
|
625
|
-
- test/test_apps/
|
626
|
-
- test/test_apps/
|
627
|
-
- test/test_apps/
|
628
|
-
- test/test_apps/
|
629
|
-
- test/test_apps/
|
630
|
-
- test/test_apps/
|
631
|
-
- test/test_apps/
|
632
|
-
- test/test_apps/
|
633
|
-
- test/test_apps/
|
634
|
-
- test/test_apps/
|
635
|
-
- test/test_apps/
|
636
|
-
- test/test_apps/
|
637
|
-
- test/test_apps/
|
638
|
-
- test/test_apps/
|
639
|
-
- test/test_apps/
|
640
|
-
- test/test_apps/
|
641
|
-
- test/test_apps/
|
642
|
-
- test/test_apps/
|
643
|
-
- test/test_apps/
|
644
|
-
- test/test_apps/
|
645
|
-
- test/test_apps/
|
646
|
-
- test/test_apps/
|
647
|
-
- test/test_apps/
|
648
|
-
- test/test_apps/
|
649
|
-
- test/test_apps/
|
650
|
-
- test/test_apps/
|
651
|
-
- test/test_apps/
|
652
|
-
- test/test_apps/
|
653
|
-
- test/test_apps/
|
654
|
-
- test/test_apps/
|
655
|
-
- test/test_apps/
|
592
|
+
- test/test_apps/Test_4_0_0/.gitignore
|
593
|
+
- test/test_apps/Test_4_0_0/Gemfile
|
594
|
+
- test/test_apps/Test_4_0_0/README.rdoc
|
595
|
+
- test/test_apps/Test_4_0_0/Rakefile
|
596
|
+
- test/test_apps/Test_4_0_0/app/assets/images/.keep
|
597
|
+
- test/test_apps/Test_4_0_0/app/assets/javascripts/application.js
|
598
|
+
- test/test_apps/Test_4_0_0/app/assets/stylesheets/application.css
|
599
|
+
- test/test_apps/Test_4_0_0/app/controllers/application_controller.rb
|
600
|
+
- test/test_apps/Test_4_0_0/app/controllers/concerns/.keep
|
601
|
+
- test/test_apps/Test_4_0_0/app/helpers/application_helper.rb
|
602
|
+
- test/test_apps/Test_4_0_0/app/mailers/.keep
|
603
|
+
- test/test_apps/Test_4_0_0/app/models/.keep
|
604
|
+
- test/test_apps/Test_4_0_0/app/models/concerns/.keep
|
605
|
+
- test/test_apps/Test_4_0_0/app/views/layouts/application.html.erb
|
606
|
+
- test/test_apps/Test_4_0_0/bin/bundle
|
607
|
+
- test/test_apps/Test_4_0_0/bin/rails
|
608
|
+
- test/test_apps/Test_4_0_0/bin/rake
|
609
|
+
- test/test_apps/Test_4_0_0/config.ru
|
610
|
+
- test/test_apps/Test_4_0_0/config/application.rb
|
611
|
+
- test/test_apps/Test_4_0_0/config/boot.rb
|
612
|
+
- test/test_apps/Test_4_0_0/config/database.yml
|
613
|
+
- test/test_apps/Test_4_0_0/config/environment.rb
|
614
|
+
- test/test_apps/Test_4_0_0/config/environments/development.rb
|
615
|
+
- test/test_apps/Test_4_0_0/config/environments/production.rb
|
616
|
+
- test/test_apps/Test_4_0_0/config/environments/test.rb
|
617
|
+
- test/test_apps/Test_4_0_0/config/initializers/backtrace_silencers.rb
|
618
|
+
- test/test_apps/Test_4_0_0/config/initializers/filter_parameter_logging.rb
|
619
|
+
- test/test_apps/Test_4_0_0/config/initializers/inflections.rb
|
620
|
+
- test/test_apps/Test_4_0_0/config/initializers/mime_types.rb
|
621
|
+
- test/test_apps/Test_4_0_0/config/initializers/secret_token.rb
|
622
|
+
- test/test_apps/Test_4_0_0/config/initializers/session_store.rb
|
623
|
+
- test/test_apps/Test_4_0_0/config/initializers/wrap_parameters.rb
|
624
|
+
- test/test_apps/Test_4_0_0/config/locales/en.yml
|
625
|
+
- test/test_apps/Test_4_0_0/config/routes.rb
|
626
|
+
- test/test_apps/Test_4_0_0/db/seeds.rb
|
627
|
+
- test/test_apps/Test_4_0_0/lib/assets/.keep
|
628
|
+
- test/test_apps/Test_4_0_0/lib/tasks/.keep
|
629
|
+
- test/test_apps/Test_4_0_0/log/.keep
|
630
|
+
- test/test_apps/Test_4_0_0/public/404.html
|
631
|
+
- test/test_apps/Test_4_0_0/public/422.html
|
632
|
+
- test/test_apps/Test_4_0_0/public/500.html
|
633
|
+
- test/test_apps/Test_4_0_0/public/favicon.ico
|
634
|
+
- test/test_apps/Test_4_0_0/public/robots.txt
|
635
|
+
- test/test_apps/Test_4_0_0/test/controllers/.keep
|
636
|
+
- test/test_apps/Test_4_0_0/test/fixtures/.keep
|
637
|
+
- test/test_apps/Test_4_0_0/test/helpers/.keep
|
638
|
+
- test/test_apps/Test_4_0_0/test/integration/.keep
|
639
|
+
- test/test_apps/Test_4_0_0/test/mailers/.keep
|
640
|
+
- test/test_apps/Test_4_0_0/test/models/.keep
|
641
|
+
- test/test_apps/Test_4_0_0/test/test_helper.rb
|
642
|
+
- test/test_apps/Test_4_0_0/vendor/assets/javascripts/.keep
|
643
|
+
- test/test_apps/Test_4_0_0/vendor/assets/stylesheets/.keep
|
metadata.gz.sig
CHANGED
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/app/controllers/application_controller.rb
RENAMED
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/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/initializers/backtrace_silencers.rb
RENAMED
File without changes
|
/data/test/test_apps/{Test_4_0_0_rc2 → Test_4_0_0}/config/initializers/filter_parameter_logging.rb
RENAMED
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
|
File without changes
|
File without changes
|