cant_wait 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +16 -0
- data/CHANGELOG.md +13 -0
- data/README.md +33 -13
- data/cant_wait.gemspec +15 -19
- data/lib/cant_wait/cant_wait_railtie.rb +17 -13
- data/lib/cant_wait/version.rb +1 -1
- data/tasks/publishing.rake +4 -4
- data/tasks/testing.rake +32 -10
- data/test/README.md +49 -20
- data/test/cant_wait_test.rb +2 -2
- data/test/test_apps/Test_3_0_03/.gitignore +12 -0
- data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/Gemfile +0 -26
- data/test/test_apps/Test_3_0_20/.gitignore +8 -0
- data/test/test_apps/Test_3_0_20/Gemfile +0 -26
- data/test/test_apps/Test_3_1_12/.gitignore +3 -6
- data/test/test_apps/Test_3_1_12/Gemfile +14 -33
- data/test/test_apps/Test_3_2_13/.gitignore +3 -6
- data/test/test_apps/Test_3_2_13/Gemfile +9 -31
- data/test/test_apps/Test_4_0_0_rc2/.gitignore +13 -0
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/Gemfile +23 -38
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/Rakefile +1 -1
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/app/assets/javascripts/application.js +2 -2
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/app/views/layouts/application.html.erb +1 -1
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/application.rb +1 -1
- data/test/test_apps/Test_4_0_0_rc2/config/environment.rb +5 -0
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/environments/development.rb +1 -1
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/environments/production.rb +1 -1
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/environments/test.rb +1 -1
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/initializers/secret_token.rb +1 -1
- data/test/test_apps/Test_4_0_0_rc2/config/initializers/session_store.rb +3 -0
- data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/routes.rb +8 -1
- data/test/test_apps/Test_4_0_0_rc2/vendor/assets/stylesheets/.keep +0 -0
- data.tar.gz.sig +0 -0
- metadata +194 -198
- metadata.gz.sig +0 -0
- data/test/test_apps/Test_3_0_3/.gitignore +0 -4
- data/test/test_apps/Test_3_0_3/config/database.yml +0 -6
- data/test/test_apps/Test_4_0_0_rc1/.gitignore +0 -16
- data/test/test_apps/Test_4_0_0_rc1/config/database.yml +0 -7
- data/test/test_apps/Test_4_0_0_rc1/config/environment.rb +0 -5
- data/test/test_apps/Test_4_0_0_rc1/config/initializers/session_store.rb +0 -3
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/README +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/Rakefile +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/app/controllers/application_controller.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/app/helpers/application_helper.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/app/views/layouts/application.html.erb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/application.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/boot.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/environment.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/environments/development.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/environments/production.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/environments/test.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/initializers/backtrace_silencers.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/initializers/inflections.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/initializers/mime_types.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/initializers/secret_token.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/initializers/session_store.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/locales/en.yml +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config/routes.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/config.ru +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/db/seeds.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/lib/tasks/.gitkeep +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/404.html +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/422.html +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/500.html +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/favicon.ico +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/images/rails.png +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/index.html +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/javascripts/application.js +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/javascripts/controls.js +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/javascripts/dragdrop.js +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/javascripts/effects.js +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/javascripts/prototype.js +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/javascripts/rails.js +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/robots.txt +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/public/stylesheets/.gitkeep +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/script/rails +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/test/performance/browsing_test.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/test/test_helper.rb +0 -0
- /data/test/test_apps/{Test_3_0_3 → Test_3_0_03}/vendor/plugins/.gitkeep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/README.rdoc +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/app/controllers/concerns → Test_4_0_0_rc2/app/assets/images}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/app/assets/stylesheets/application.css +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/app/controllers/application_controller.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/app/mailers → Test_4_0_0_rc2/app/controllers/concerns}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/app/helpers/application_helper.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/app/models → Test_4_0_0_rc2/app/mailers}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/app/models/concerns → Test_4_0_0_rc2/app/models}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/lib/assets → Test_4_0_0_rc2/app/models/concerns}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/bin/bundle +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/bin/rails +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/bin/rake +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/boot.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/initializers/backtrace_silencers.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/initializers/filter_parameter_logging.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/initializers/inflections.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/initializers/mime_types.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/initializers/wrap_parameters.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config/locales/en.yml +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/config.ru +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/db/seeds.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/lib/tasks → Test_4_0_0_rc2/lib/assets}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/log → Test_4_0_0_rc2/lib/tasks}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/test/controllers → Test_4_0_0_rc2/log}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/public/404.html +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/public/422.html +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/public/500.html +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/public/favicon.ico +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/public/robots.txt +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/test/fixtures → Test_4_0_0_rc2/test/controllers}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/test/helpers → Test_4_0_0_rc2/test/fixtures}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/test/integration → Test_4_0_0_rc2/test/helpers}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/test/mailers → Test_4_0_0_rc2/test/integration}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/test/models → Test_4_0_0_rc2/test/mailers}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/vendor/assets/javascripts → Test_4_0_0_rc2/test/models}/.keep +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/test/test_helper.rb +0 -0
- /data/test/test_apps/{Test_4_0_0_rc1/vendor/assets/stylesheets → Test_4_0_0_rc2/vendor/assets/javascripts}/.keep +0 -0
@@ -1,12 +1,9 @@
|
|
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
1
|
# Ignore bundler config
|
8
2
|
/.bundle
|
9
3
|
|
4
|
+
# Ignore database.yml
|
5
|
+
config/database.yml
|
6
|
+
|
10
7
|
# Ignore the default SQLite database.
|
11
8
|
/db/*.sqlite3
|
12
9
|
|
@@ -2,8 +2,15 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gem 'rails', '3.2.13'
|
4
4
|
|
5
|
-
#
|
6
|
-
#
|
5
|
+
# Gems used only for assets and not required
|
6
|
+
# in production environments by default.
|
7
|
+
group :assets do
|
8
|
+
gem 'sass-rails', '~> 3.2.3'
|
9
|
+
gem 'coffee-rails', '~> 3.2.1'
|
10
|
+
gem 'uglifier', '>= 1.0.3'
|
11
|
+
end
|
12
|
+
|
13
|
+
gem 'jquery-rails'
|
7
14
|
|
8
15
|
#-- Special additions-----------------
|
9
16
|
# PostgreSQL as the database for ActiveRecord
|
@@ -27,32 +34,3 @@ end
|
|
27
34
|
# Gem cant_wait from sources, relative path:
|
28
35
|
gem 'cant_wait', path: File.expand_path('../../../..', __FILE__)
|
29
36
|
#-------------------------
|
30
|
-
|
31
|
-
# Gems used only for assets and not required
|
32
|
-
# in production environments by default.
|
33
|
-
group :assets do
|
34
|
-
gem 'sass-rails', '~> 3.2.3'
|
35
|
-
gem 'coffee-rails', '~> 3.2.1'
|
36
|
-
|
37
|
-
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
38
|
-
# gem 'therubyracer', :platforms => :ruby
|
39
|
-
|
40
|
-
gem 'uglifier', '>= 1.0.3'
|
41
|
-
end
|
42
|
-
|
43
|
-
gem 'jquery-rails'
|
44
|
-
|
45
|
-
# To use ActiveModel has_secure_password
|
46
|
-
# gem 'bcrypt-ruby', '~> 3.0.0'
|
47
|
-
|
48
|
-
# To use Jbuilder templates for JSON
|
49
|
-
# gem 'jbuilder'
|
50
|
-
|
51
|
-
# Use unicorn as the app server
|
52
|
-
# gem 'unicorn'
|
53
|
-
|
54
|
-
# Deploy with Capistrano
|
55
|
-
# gem 'capistrano'
|
56
|
-
|
57
|
-
# To use debugger
|
58
|
-
# gem 'debugger'
|
@@ -1,33 +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.
|
5
|
-
|
6
|
-
#-- Special additions-----------------
|
7
|
-
# PostgreSQL as the database for ActiveRecord
|
8
|
-
if RUBY_ENGINE == 'jruby' && RUBY_PLATFORM == 'java'
|
9
|
-
gem 'activerecord-jdbc-adapter', '~> 1.2'
|
10
|
-
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.2'
|
11
|
-
gem 'jdbc-postgres', '~> 9'
|
12
|
-
else
|
13
|
-
gem 'pg', '~> 0'
|
14
|
-
end
|
15
|
-
|
16
|
-
# Minitest and Growl:
|
17
|
-
if RUBY_PLATFORM =~ /darwin/i
|
18
|
-
gem 'minitest-growl', '~> 0.0.3'
|
19
|
-
# minitest-growl has a small issue with minitest 5:
|
20
|
-
gem 'minitest', '~> 4.7.4'
|
21
|
-
else
|
22
|
-
gem('minitest', '~> 5') if RUBY_VERSION < '1.9.3'
|
23
|
-
end
|
24
|
-
|
25
|
-
# Gem cant_wait from sources, relative path:
|
26
|
-
gem 'cant_wait', path: File.expand_path('../../../..', __FILE__)
|
27
|
-
#-------------------------
|
4
|
+
gem 'rails', '4.0.0.rc2'
|
28
5
|
|
29
6
|
# Use SCSS for stylesheets
|
30
|
-
gem 'sass-rails', '~> 4.0.0.
|
7
|
+
gem 'sass-rails', '~> 4.0.0.rc2'
|
31
8
|
|
32
9
|
# Use Uglifier as compressor for JavaScript assets
|
33
10
|
gem 'uglifier', '>= 1.3.0'
|
@@ -35,9 +12,6 @@ gem 'uglifier', '>= 1.3.0'
|
|
35
12
|
# Use CoffeeScript for .js.coffee assets and views
|
36
13
|
gem 'coffee-rails', '~> 4.0.0'
|
37
14
|
|
38
|
-
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
39
|
-
# gem 'therubyracer', platforms: :ruby
|
40
|
-
|
41
15
|
# Use jquery as the JavaScript library
|
42
16
|
gem 'jquery-rails'
|
43
17
|
|
@@ -45,21 +19,32 @@ gem 'jquery-rails'
|
|
45
19
|
gem 'turbolinks'
|
46
20
|
|
47
21
|
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
48
|
-
gem 'jbuilder', '~> 1.
|
22
|
+
gem 'jbuilder', '~> 1.2'
|
49
23
|
|
50
24
|
group :doc do
|
51
25
|
# bundle exec rake doc:rails generates the API under doc/api.
|
52
26
|
gem 'sdoc', require: false
|
53
27
|
end
|
54
28
|
|
55
|
-
|
56
|
-
#
|
57
|
-
|
58
|
-
|
59
|
-
|
29
|
+
#-- Special additions-----------------
|
30
|
+
# PostgreSQL as the database for ActiveRecord
|
31
|
+
if RUBY_ENGINE == 'jruby' && RUBY_PLATFORM == 'java'
|
32
|
+
gem 'activerecord-jdbc-adapter', '~> 1.2'
|
33
|
+
gem 'activerecord-jdbcpostgresql-adapter', '~> 1.2'
|
34
|
+
gem 'jdbc-postgres', '~> 9'
|
35
|
+
else
|
36
|
+
gem 'pg', '~> 0'
|
37
|
+
end
|
60
38
|
|
61
|
-
#
|
62
|
-
|
39
|
+
# Minitest and Growl:
|
40
|
+
if RUBY_PLATFORM =~ /darwin/i
|
41
|
+
gem 'minitest-growl', '~> 0.0.3'
|
42
|
+
# minitest-growl has a small issue with minitest 5:
|
43
|
+
gem 'minitest', '~> 4.7.4'
|
44
|
+
else
|
45
|
+
gem('minitest', '~> 5') if RUBY_VERSION < '1.9.3'
|
46
|
+
end
|
63
47
|
|
64
|
-
#
|
65
|
-
|
48
|
+
# Gem cant_wait from sources, relative path:
|
49
|
+
gem 'cant_wait', path: File.expand_path('../../../..', __FILE__)
|
50
|
+
#-------------------------
|
@@ -7,8 +7,8 @@
|
|
7
7
|
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
8
|
// compiled file.
|
9
9
|
//
|
10
|
-
//
|
11
|
-
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
12
|
//
|
13
13
|
//= require jquery
|
14
14
|
//= require jquery_ujs
|
data/test/test_apps/{Test_4_0_0_rc1 → Test_4_0_0_rc2}/app/views/layouts/application.html.erb
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title>
|
4
|
+
<title>Test400Rc2</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 Test400Rc2
|
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
|
+
Test400Rc2::Application.config.secret_key_base = 'e8c346e79c6ed18ca1b7fa38512a52a4101bab3ffa8de317cebd939ae2b8a9249e0324763d615f2c0e9a9d6a4876cb1d339e4bf652794cb14b14bc7925df88cf'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Test400Rc2::Application.routes.draw do
|
2
2
|
# The priority is based upon order of creation: first created -> highest priority.
|
3
3
|
# See how all your routes lay out with "rake routes".
|
4
4
|
|
@@ -39,6 +39,13 @@ Test400Rc1::Application.routes.draw do
|
|
39
39
|
# get 'recent', on: :collection
|
40
40
|
# end
|
41
41
|
# end
|
42
|
+
|
43
|
+
# Example resource route with concerns:
|
44
|
+
# concern :toggleable do
|
45
|
+
# post 'toggle'
|
46
|
+
# end
|
47
|
+
# resources :posts, concerns: :toggleable
|
48
|
+
# resources :photos, concerns: :toggleable
|
42
49
|
|
43
50
|
# Example resource route within a namespace:
|
44
51
|
# namespace :admin do
|
File without changes
|
data.tar.gz.sig
CHANGED
Binary file
|