twitter-bootstrap 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +39 -0
- data/app/assets/javascripts/bootstrap-alerts.js +111 -0
- data/app/assets/javascripts/bootstrap-dropdown.js +53 -0
- data/app/assets/javascripts/bootstrap-modal.js +244 -0
- data/app/assets/javascripts/bootstrap-popover.js +77 -0
- data/app/assets/javascripts/bootstrap-scrollspy.js +105 -0
- data/app/assets/javascripts/bootstrap-tabs.js +77 -0
- data/app/assets/javascripts/bootstrap-twipsy.js +303 -0
- data/app/assets/javascripts/twitter_bootstrap/application.js +9 -0
- data/app/assets/stylesheets/bootsrap-defaults.css.less +26 -0
- data/app/assets/stylesheets/bootsrap-forms.css.less +464 -0
- data/app/assets/stylesheets/bootsrap-mixins.css.less +217 -0
- data/app/assets/stylesheets/bootsrap-patterns.css.less +1006 -0
- data/app/assets/stylesheets/bootsrap-reset.css.less +141 -0
- data/app/assets/stylesheets/bootsrap-scaffolding.css.less +135 -0
- data/app/assets/stylesheets/bootsrap-tables.css.less +170 -0
- data/app/assets/stylesheets/bootsrap-type.css.less +187 -0
- data/app/assets/stylesheets/bootsrap-variables.css.less +60 -0
- data/app/controllers/twitter_bootstrap/application_controller.rb +4 -0
- data/app/helpers/twitter_bootstrap/application_helper.rb +4 -0
- data/app/views/layouts/twitter_bootstrap/application.html.erb +14 -0
- data/config/routes.rb +2 -0
- data/lib/tasks/twitter_bootstrap_tasks.rake +4 -0
- data/lib/twitter_bootstrap.rb +4 -0
- data/lib/twitter_bootstrap/engine.rb +5 -0
- data/lib/twitter_bootstrap/version.rb +3 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +9 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +10 -0
- data/test/twitter_bootstrap_test.rb +7 -0
- metadata +168 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,26 @@
|
|
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>
|
@@ -0,0 +1,26 @@
|
|
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>
|
@@ -0,0 +1,26 @@
|
|
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
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
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'
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
metadata
ADDED
@@ -0,0 +1,168 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: twitter-bootstrap
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Quinn Shanahan
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2011-10-07 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rails
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.1.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: less-rails
|
28
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *id002
|
37
|
+
description: Twitter bootstrap framework as rails plugin, pulls in javascript and less. no fancy helpers yet.
|
38
|
+
email:
|
39
|
+
- q.shanahan@gmail.com
|
40
|
+
executables: []
|
41
|
+
|
42
|
+
extensions: []
|
43
|
+
|
44
|
+
extra_rdoc_files: []
|
45
|
+
|
46
|
+
files:
|
47
|
+
- app/assets/javascripts/bootstrap-alerts.js
|
48
|
+
- app/assets/javascripts/bootstrap-dropdown.js
|
49
|
+
- app/assets/javascripts/bootstrap-modal.js
|
50
|
+
- app/assets/javascripts/bootstrap-popover.js
|
51
|
+
- app/assets/javascripts/bootstrap-scrollspy.js
|
52
|
+
- app/assets/javascripts/bootstrap-tabs.js
|
53
|
+
- app/assets/javascripts/bootstrap-twipsy.js
|
54
|
+
- app/assets/javascripts/twitter_bootstrap/application.js
|
55
|
+
- app/assets/stylesheets/bootsrap-defaults.css.less
|
56
|
+
- app/assets/stylesheets/bootsrap-forms.css.less
|
57
|
+
- app/assets/stylesheets/bootsrap-mixins.css.less
|
58
|
+
- app/assets/stylesheets/bootsrap-patterns.css.less
|
59
|
+
- app/assets/stylesheets/bootsrap-reset.css.less
|
60
|
+
- app/assets/stylesheets/bootsrap-scaffolding.css.less
|
61
|
+
- app/assets/stylesheets/bootsrap-tables.css.less
|
62
|
+
- app/assets/stylesheets/bootsrap-type.css.less
|
63
|
+
- app/assets/stylesheets/bootsrap-variables.css.less
|
64
|
+
- app/controllers/twitter_bootstrap/application_controller.rb
|
65
|
+
- app/helpers/twitter_bootstrap/application_helper.rb
|
66
|
+
- app/views/layouts/twitter_bootstrap/application.html.erb
|
67
|
+
- config/routes.rb
|
68
|
+
- lib/tasks/twitter_bootstrap_tasks.rake
|
69
|
+
- lib/twitter_bootstrap/engine.rb
|
70
|
+
- lib/twitter_bootstrap/version.rb
|
71
|
+
- lib/twitter_bootstrap.rb
|
72
|
+
- MIT-LICENSE
|
73
|
+
- Rakefile
|
74
|
+
- README.rdoc
|
75
|
+
- test/dummy/app/assets/javascripts/application.js
|
76
|
+
- test/dummy/app/assets/stylesheets/application.css
|
77
|
+
- test/dummy/app/controllers/application_controller.rb
|
78
|
+
- test/dummy/app/helpers/application_helper.rb
|
79
|
+
- test/dummy/app/views/layouts/application.html.erb
|
80
|
+
- test/dummy/config/application.rb
|
81
|
+
- test/dummy/config/boot.rb
|
82
|
+
- test/dummy/config/database.yml
|
83
|
+
- test/dummy/config/environment.rb
|
84
|
+
- test/dummy/config/environments/development.rb
|
85
|
+
- test/dummy/config/environments/production.rb
|
86
|
+
- test/dummy/config/environments/test.rb
|
87
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
88
|
+
- test/dummy/config/initializers/inflections.rb
|
89
|
+
- test/dummy/config/initializers/mime_types.rb
|
90
|
+
- test/dummy/config/initializers/secret_token.rb
|
91
|
+
- test/dummy/config/initializers/session_store.rb
|
92
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
93
|
+
- test/dummy/config/locales/en.yml
|
94
|
+
- test/dummy/config/routes.rb
|
95
|
+
- test/dummy/config.ru
|
96
|
+
- test/dummy/public/404.html
|
97
|
+
- test/dummy/public/422.html
|
98
|
+
- test/dummy/public/500.html
|
99
|
+
- test/dummy/public/favicon.ico
|
100
|
+
- test/dummy/Rakefile
|
101
|
+
- test/dummy/script/rails
|
102
|
+
- test/integration/navigation_test.rb
|
103
|
+
- test/test_helper.rb
|
104
|
+
- test/twitter_bootstrap_test.rb
|
105
|
+
homepage: https://github.com/quinn/twitter-bootstrap
|
106
|
+
licenses: []
|
107
|
+
|
108
|
+
post_install_message:
|
109
|
+
rdoc_options: []
|
110
|
+
|
111
|
+
require_paths:
|
112
|
+
- lib
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
hash: 427826816700658719
|
119
|
+
segments:
|
120
|
+
- 0
|
121
|
+
version: "0"
|
122
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
hash: 427826816700658719
|
128
|
+
segments:
|
129
|
+
- 0
|
130
|
+
version: "0"
|
131
|
+
requirements: []
|
132
|
+
|
133
|
+
rubyforge_project:
|
134
|
+
rubygems_version: 1.8.8
|
135
|
+
signing_key:
|
136
|
+
specification_version: 3
|
137
|
+
summary: Twitter bootstrap framework as rails plugin
|
138
|
+
test_files:
|
139
|
+
- test/dummy/app/assets/javascripts/application.js
|
140
|
+
- test/dummy/app/assets/stylesheets/application.css
|
141
|
+
- test/dummy/app/controllers/application_controller.rb
|
142
|
+
- test/dummy/app/helpers/application_helper.rb
|
143
|
+
- test/dummy/app/views/layouts/application.html.erb
|
144
|
+
- test/dummy/config/application.rb
|
145
|
+
- test/dummy/config/boot.rb
|
146
|
+
- test/dummy/config/database.yml
|
147
|
+
- test/dummy/config/environment.rb
|
148
|
+
- test/dummy/config/environments/development.rb
|
149
|
+
- test/dummy/config/environments/production.rb
|
150
|
+
- test/dummy/config/environments/test.rb
|
151
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
152
|
+
- test/dummy/config/initializers/inflections.rb
|
153
|
+
- test/dummy/config/initializers/mime_types.rb
|
154
|
+
- test/dummy/config/initializers/secret_token.rb
|
155
|
+
- test/dummy/config/initializers/session_store.rb
|
156
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
157
|
+
- test/dummy/config/locales/en.yml
|
158
|
+
- test/dummy/config/routes.rb
|
159
|
+
- test/dummy/config.ru
|
160
|
+
- test/dummy/public/404.html
|
161
|
+
- test/dummy/public/422.html
|
162
|
+
- test/dummy/public/500.html
|
163
|
+
- test/dummy/public/favicon.ico
|
164
|
+
- test/dummy/Rakefile
|
165
|
+
- test/dummy/script/rails
|
166
|
+
- test/integration/navigation_test.rb
|
167
|
+
- test/test_helper.rb
|
168
|
+
- test/twitter_bootstrap_test.rb
|