bootstrap-datepicker-rails 1.1.1.4 → 1.1.1.5
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.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/bootstrap-datepicker-rails.gemspec +1 -1
- data/lib/bootstrap-datepicker-rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-datepicker/core.js +56 -32
- metadata +2 -57
- data/testapp/.gitignore +0 -16
- data/testapp/Gemfile +0 -18
- data/testapp/README.rdoc +0 -261
- data/testapp/Rakefile +0 -7
- data/testapp/app/assets/images/rails.png +0 -0
- data/testapp/app/assets/javascripts/application.js +0 -17
- data/testapp/app/assets/javascripts/home.js.coffee +0 -3
- data/testapp/app/assets/stylesheets/application.css +0 -14
- data/testapp/app/assets/stylesheets/boots.scss +0 -1
- data/testapp/app/controllers/application_controller.rb +0 -3
- data/testapp/app/controllers/home_controller.rb +0 -4
- data/testapp/app/helpers/application_helper.rb +0 -2
- data/testapp/app/helpers/home_helper.rb +0 -2
- data/testapp/app/mailers/.gitkeep +0 -0
- data/testapp/app/models/.gitkeep +0 -0
- data/testapp/app/views/home/index.html.erb +0 -27
- data/testapp/app/views/layouts/application.html.erb +0 -14
- data/testapp/config.ru +0 -4
- data/testapp/config/application.rb +0 -59
- data/testapp/config/boot.rb +0 -6
- data/testapp/config/database.yml +0 -25
- data/testapp/config/environment.rb +0 -5
- data/testapp/config/environments/development.rb +0 -37
- data/testapp/config/environments/production.rb +0 -69
- data/testapp/config/environments/test.rb +0 -37
- data/testapp/config/initializers/backtrace_silencers.rb +0 -7
- data/testapp/config/initializers/inflections.rb +0 -15
- data/testapp/config/initializers/mime_types.rb +0 -5
- data/testapp/config/initializers/secret_token.rb +0 -7
- data/testapp/config/initializers/session_store.rb +0 -8
- data/testapp/config/initializers/wrap_parameters.rb +0 -14
- data/testapp/config/locales/en.yml +0 -5
- data/testapp/config/routes.rb +0 -62
- data/testapp/db/seeds.rb +0 -7
- data/testapp/doc/README_FOR_APP +0 -2
- data/testapp/lib/assets/.gitkeep +0 -0
- data/testapp/lib/tasks/.gitkeep +0 -0
- data/testapp/log/.gitkeep +0 -0
- data/testapp/public/404.html +0 -26
- data/testapp/public/422.html +0 -26
- data/testapp/public/500.html +0 -25
- data/testapp/public/favicon.ico +0 -0
- data/testapp/public/robots.txt +0 -5
- data/testapp/script/rails +0 -6
- data/testapp/test/fixtures/.gitkeep +0 -0
- data/testapp/test/functional/.gitkeep +0 -0
- data/testapp/test/functional/home_controller_test.rb +0 -9
- data/testapp/test/integration/.gitkeep +0 -0
- data/testapp/test/performance/browsing_test.rb +0 -12
- data/testapp/test/test_helper.rb +0 -13
- data/testapp/test/unit/.gitkeep +0 -0
- data/testapp/test/unit/helpers/home_helper_test.rb +0 -4
- data/testapp/vendor/assets/javascripts/.gitkeep +0 -0
- data/testapp/vendor/assets/stylesheets/.gitkeep +0 -0
- data/testapp/vendor/plugins/.gitkeep +0 -0
data/testapp/config/routes.rb
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
Testapp::Application.routes.draw do
|
2
|
-
get "home/index"
|
3
|
-
|
4
|
-
root :to => 'home#index'
|
5
|
-
|
6
|
-
# The priority is based upon order of creation:
|
7
|
-
# first created -> highest priority.
|
8
|
-
|
9
|
-
# Sample of regular route:
|
10
|
-
# match 'products/:id' => 'catalog#view'
|
11
|
-
# Keep in mind you can assign values other than :controller and :action
|
12
|
-
|
13
|
-
# Sample of named route:
|
14
|
-
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
15
|
-
# This route can be invoked with purchase_url(:id => product.id)
|
16
|
-
|
17
|
-
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
18
|
-
# resources :products
|
19
|
-
|
20
|
-
# Sample resource route with options:
|
21
|
-
# resources :products do
|
22
|
-
# member do
|
23
|
-
# get 'short'
|
24
|
-
# post 'toggle'
|
25
|
-
# end
|
26
|
-
#
|
27
|
-
# collection do
|
28
|
-
# get 'sold'
|
29
|
-
# end
|
30
|
-
# end
|
31
|
-
|
32
|
-
# Sample resource route with sub-resources:
|
33
|
-
# resources :products do
|
34
|
-
# resources :comments, :sales
|
35
|
-
# resource :seller
|
36
|
-
# end
|
37
|
-
|
38
|
-
# Sample resource route with more complex sub-resources
|
39
|
-
# resources :products do
|
40
|
-
# resources :comments
|
41
|
-
# resources :sales do
|
42
|
-
# get 'recent', :on => :collection
|
43
|
-
# end
|
44
|
-
# end
|
45
|
-
|
46
|
-
# Sample resource route within a namespace:
|
47
|
-
# namespace :admin do
|
48
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
49
|
-
# # (app/controllers/admin/products_controller.rb)
|
50
|
-
# resources :products
|
51
|
-
# end
|
52
|
-
|
53
|
-
# You can have the root of your site routed with "root"
|
54
|
-
# just remember to delete public/index.html.
|
55
|
-
# root :to => 'welcome#index'
|
56
|
-
|
57
|
-
# See how all your routes lay out with "rake routes"
|
58
|
-
|
59
|
-
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
60
|
-
# Note: This route will make all actions in every controller accessible via GET requests.
|
61
|
-
# match ':controller(/:action(/:id))(.:format)'
|
62
|
-
end
|
data/testapp/db/seeds.rb
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
-
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
-
#
|
4
|
-
# Examples:
|
5
|
-
#
|
6
|
-
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
7
|
-
# Mayor.create(name: 'Emanuel', city: cities.first)
|
data/testapp/doc/README_FOR_APP
DELETED
data/testapp/lib/assets/.gitkeep
DELETED
File without changes
|
data/testapp/lib/tasks/.gitkeep
DELETED
File without changes
|
data/testapp/log/.gitkeep
DELETED
File without changes
|
data/testapp/public/404.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/404.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
-
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
data/testapp/public/422.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The change you wanted was rejected (422)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/422.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>The change you wanted was rejected.</h1>
|
23
|
-
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
data/testapp/public/500.html
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/500.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>We're sorry, but something went wrong.</h1>
|
23
|
-
</div>
|
24
|
-
</body>
|
25
|
-
</html>
|
data/testapp/public/favicon.ico
DELETED
File without changes
|
data/testapp/public/robots.txt
DELETED
data/testapp/script/rails
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,12 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
require 'rails/performance_test_help'
|
3
|
-
|
4
|
-
class BrowsingTest < ActionDispatch::PerformanceTest
|
5
|
-
# Refer to the documentation for all available options
|
6
|
-
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
|
7
|
-
# :output => 'tmp/performance', :formats => [:flat] }
|
8
|
-
|
9
|
-
def test_homepage
|
10
|
-
get '/'
|
11
|
-
end
|
12
|
-
end
|
data/testapp/test/test_helper.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] = "test"
|
2
|
-
require File.expand_path('../../config/environment', __FILE__)
|
3
|
-
require 'rails/test_help'
|
4
|
-
|
5
|
-
class ActiveSupport::TestCase
|
6
|
-
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
-
#
|
8
|
-
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
-
# -- they do not yet inherit this setting
|
10
|
-
fixtures :all
|
11
|
-
|
12
|
-
# Add more helper methods to be used by all tests here...
|
13
|
-
end
|
data/testapp/test/unit/.gitkeep
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|