css-bootstrap-rails 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -2
- data/lib/css-bootstrap-rails/version.rb +2 -2
- data/vendor/assets/javascripts/bootstrap/alerts.js +24 -59
- data/vendor/assets/javascripts/bootstrap/button.js +98 -0
- data/vendor/assets/javascripts/bootstrap/carousel.js +59 -0
- data/vendor/assets/javascripts/bootstrap/collapse.js +135 -0
- data/vendor/assets/javascripts/bootstrap/dropdown.js +39 -19
- data/vendor/assets/javascripts/bootstrap/modal.js +51 -107
- data/vendor/assets/javascripts/bootstrap/popover.js +16 -6
- data/vendor/assets/javascripts/bootstrap/scrollspy.js +50 -43
- data/vendor/assets/javascripts/bootstrap/tabs.js +56 -32
- data/vendor/assets/javascripts/bootstrap/transition.js +45 -0
- data/vendor/assets/javascripts/bootstrap/twipsy.js +44 -60
- data/vendor/assets/stylesheets/bootstrap.css +1323 -1092
- data/vendor/assets/stylesheets/bootstrap.min.css +379 -356
- metadata +58 -85
- data/vendor/assets/javascripts/bootstrap/buttons.js +0 -62
metadata
CHANGED
@@ -1,93 +1,67 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: css-bootstrap-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 6
|
10
|
-
version: 0.0.6
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Arun Agrawal
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
12
|
+
date: 2011-12-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: railties
|
16
|
+
requirement: &70143283843120 !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
18
|
+
requirements:
|
25
19
|
- - ~>
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
segments:
|
29
|
-
- 3
|
30
|
-
- 1
|
31
|
-
version: "3.1"
|
32
|
-
version_requirements: *id001
|
33
|
-
name: railties
|
34
|
-
prerelease: false
|
35
|
-
- !ruby/object:Gem::Dependency
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.1'
|
36
22
|
type: :runtime
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70143283843120
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: thor
|
27
|
+
requirement: &70143283842600 !ruby/object:Gem::Requirement
|
38
28
|
none: false
|
39
|
-
requirements:
|
29
|
+
requirements:
|
40
30
|
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
|
44
|
-
- 0
|
45
|
-
- 14
|
46
|
-
version: "0.14"
|
47
|
-
version_requirements: *id002
|
48
|
-
name: thor
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.14'
|
33
|
+
type: :runtime
|
49
34
|
prerelease: false
|
50
|
-
|
51
|
-
|
52
|
-
|
35
|
+
version_requirements: *70143283842600
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: bundler
|
38
|
+
requirement: &70143283842120 !ruby/object:Gem::Requirement
|
53
39
|
none: false
|
54
|
-
requirements:
|
40
|
+
requirements:
|
55
41
|
- - ~>
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 23
|
58
|
-
segments:
|
59
|
-
- 1
|
60
|
-
- 0
|
61
|
-
- 0
|
42
|
+
- !ruby/object:Gem::Version
|
62
43
|
version: 1.0.0
|
63
|
-
version_requirements: *id003
|
64
|
-
name: bundler
|
65
|
-
prerelease: false
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
44
|
type: :development
|
68
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70143283842120
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rails
|
49
|
+
requirement: &70143283841380 !ruby/object:Gem::Requirement
|
69
50
|
none: false
|
70
|
-
requirements:
|
51
|
+
requirements:
|
71
52
|
- - ~>
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
|
75
|
-
- 3
|
76
|
-
- 1
|
77
|
-
version: "3.1"
|
78
|
-
version_requirements: *id004
|
79
|
-
name: rails
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.1'
|
55
|
+
type: :development
|
80
56
|
prerelease: false
|
57
|
+
version_requirements: *70143283841380
|
81
58
|
description: Twitter Bootstrap CSS toolkit for Rails 3 projects
|
82
|
-
email:
|
59
|
+
email:
|
83
60
|
- arunagw@gmail.com
|
84
61
|
executables: []
|
85
|
-
|
86
62
|
extensions: []
|
87
|
-
|
88
63
|
extra_rdoc_files: []
|
89
|
-
|
90
|
-
files:
|
64
|
+
files:
|
91
65
|
- .gitignore
|
92
66
|
- Gemfile
|
93
67
|
- README.md
|
@@ -98,47 +72,46 @@ files:
|
|
98
72
|
- lib/css-bootstrap-rails/railtie.rb
|
99
73
|
- lib/css-bootstrap-rails/version.rb
|
100
74
|
- vendor/assets/javascripts/bootstrap/alerts.js
|
101
|
-
- vendor/assets/javascripts/bootstrap/
|
75
|
+
- vendor/assets/javascripts/bootstrap/button.js
|
76
|
+
- vendor/assets/javascripts/bootstrap/carousel.js
|
77
|
+
- vendor/assets/javascripts/bootstrap/collapse.js
|
102
78
|
- vendor/assets/javascripts/bootstrap/dropdown.js
|
103
79
|
- vendor/assets/javascripts/bootstrap/modal.js
|
104
80
|
- vendor/assets/javascripts/bootstrap/popover.js
|
105
81
|
- vendor/assets/javascripts/bootstrap/scrollspy.js
|
106
82
|
- vendor/assets/javascripts/bootstrap/tabs.js
|
83
|
+
- vendor/assets/javascripts/bootstrap/transition.js
|
107
84
|
- vendor/assets/javascripts/bootstrap/twipsy.js
|
108
85
|
- vendor/assets/stylesheets/bootstrap.css
|
109
86
|
- vendor/assets/stylesheets/bootstrap.min.css
|
110
87
|
homepage: https://github.com/arunagw/css-bootstrap-rails
|
111
88
|
licenses: []
|
112
|
-
|
113
89
|
post_install_message:
|
114
90
|
rdoc_options: []
|
115
|
-
|
116
|
-
require_paths:
|
91
|
+
require_paths:
|
117
92
|
- lib
|
118
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
119
94
|
none: false
|
120
|
-
requirements:
|
121
|
-
- -
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
|
124
|
-
segments:
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
segments:
|
125
100
|
- 0
|
126
|
-
|
127
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
hash: -3524382357859437237
|
102
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
103
|
none: false
|
129
|
-
requirements:
|
130
|
-
- -
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
|
133
|
-
segments:
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
segments:
|
134
109
|
- 0
|
135
|
-
|
110
|
+
hash: -3524382357859437237
|
136
111
|
requirements: []
|
137
|
-
|
138
112
|
rubyforge_project: css-bootstrap-rails
|
139
113
|
rubygems_version: 1.8.10
|
140
114
|
signing_key:
|
141
115
|
specification_version: 3
|
142
116
|
summary: Twitter Bootstrap CSS toolkit for Rails 3 projects
|
143
117
|
test_files: []
|
144
|
-
|
@@ -1,62 +0,0 @@
|
|
1
|
-
/* ============================================================
|
2
|
-
* bootstrap-dropdown.js v1.4.0
|
3
|
-
* http://twitter.github.com/bootstrap/javascript.html#dropdown
|
4
|
-
* ============================================================
|
5
|
-
* Copyright 2011 Twitter, Inc.
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
* ============================================================ */
|
19
|
-
|
20
|
-
!function( $ ){
|
21
|
-
|
22
|
-
"use strict"
|
23
|
-
|
24
|
-
function setState(el, state) {
|
25
|
-
var d = 'disabled'
|
26
|
-
, $el = $(el)
|
27
|
-
, data = $el.data()
|
28
|
-
|
29
|
-
state = state + 'Text'
|
30
|
-
data.resetText || $el.data('resetText', $el.html())
|
31
|
-
|
32
|
-
$el.html( data[state] || $.fn.button.defaults[state] )
|
33
|
-
|
34
|
-
state == 'loadingText' ?
|
35
|
-
$el.addClass(d).attr(d, d) :
|
36
|
-
$el.removeClass(d).removeAttr(d)
|
37
|
-
}
|
38
|
-
|
39
|
-
function toggle(el) {
|
40
|
-
$(el).toggleClass('active')
|
41
|
-
}
|
42
|
-
|
43
|
-
$.fn.button = function(options) {
|
44
|
-
return this.each(function () {
|
45
|
-
if (options == 'toggle') {
|
46
|
-
return toggle(this)
|
47
|
-
}
|
48
|
-
options && setState(this, options)
|
49
|
-
})
|
50
|
-
}
|
51
|
-
|
52
|
-
$.fn.button.defaults = {
|
53
|
-
loadingText: 'loading...'
|
54
|
-
}
|
55
|
-
|
56
|
-
$(function () {
|
57
|
-
$('body').delegate('.btn[data-toggle]', 'click', function () {
|
58
|
-
$(this).button('toggle')
|
59
|
-
})
|
60
|
-
})
|
61
|
-
|
62
|
-
}( window.jQuery || window.ender );
|