less-rails-bootstrap 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +9 -9
- data/CONTRIBUTING.md +4 -0
- data/ISSUES.md +29 -0
- data/lib/less/rails/bootstrap/version.rb +1 -1
- data/scripts/update_bootstrap.sh +5 -0
- data/test/cases/generators/custom_bootstrap_generator_test.rb +1 -1
- data/test/cases/usage_css_spec.rb +2 -1
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjhmYWY2ZjRlNjkyN2FkMDA4NjhhZjY0ZmY4Y2MzODQ0MTI4MTNmNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
7
|
-
|
6
|
+
NDdlYWFiNTFmN2RjYTM5MzA4OWRjODQzYzliODFhNjVjYWU4OTY5OA==
|
7
|
+
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTYxM2Y0OThhZmE1ODI4OTIzN2FiMWIxMjE0ZTQwNTYwMDJjMjE5ZDNjNTY4
|
10
|
+
ZTA0ZWYyMDRkMmZiNjg5ZTc5YjZjZDUwMjA0ODE3YTNmMzQxYzUzYzliNzFm
|
11
|
+
YzhhY2VmZDNhZjJhMTExYjUwNWI5MmJjZmRiY2ZmMmExMzBiNDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGVmZTE0ZmNiNjZmZjJkMzE4OGQ1ZTJjM2MyNDU2NWIyMjk0YTZhNzBhNjAw
|
14
|
+
N2VhZTE1NThhMjZjZDVmODNkZmE4MDI0MTM3OGY5ZjcyZTljZTQ4NTkwNjE5
|
15
|
+
OGMxYzdhYTU1MTZlNzAwYmE3NDcyNDY4OTYwNThkMTk3MzM5NGM=
|
data/CONTRIBUTING.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# Creating Issues
|
2
|
+
|
3
|
+
If you are having a problem, please see our [ISSUES](https://github.com/metaskills/less-rails-bootstrap/blob/master/ISSUES.md) page for troubleshooting steps and a guide for submitting a ticket that will help us solve the problem you are having as quickly as possible.
|
4
|
+
|
1
5
|
## Contributing
|
2
6
|
|
3
7
|
Here are the steps to update the version of twitter bootstrap used.
|
data/ISSUES.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# less-rails-bootstrap Issues
|
2
|
+
|
3
|
+
## Troubleshooting
|
4
|
+
|
5
|
+
Please try to update to latest version with `bundle update less-rails-bootstrap` before creating an issue.
|
6
|
+
|
7
|
+
Do not forget to lock major version in `Gemfile`.
|
8
|
+
|
9
|
+
**For Twitter Bootstrap 2.3 use:**
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'less-rails-bootstrap', '~> 2.3.3'
|
13
|
+
```
|
14
|
+
|
15
|
+
**For Twitter Bootstrap 3 use:**
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
gem 'less-rails-bootstrap', '~> 3.0.0'
|
19
|
+
```
|
20
|
+
|
21
|
+
## Reporting problems
|
22
|
+
|
23
|
+
Please include:
|
24
|
+
|
25
|
+
- Your rails version (you can find in `Gemfile.lock`)
|
26
|
+
- Your less-rails-bootstrap version (you can find in `Gemfile.lock`)
|
27
|
+
- What version of Ruby you are using (run `ruby -v`)
|
28
|
+
|
29
|
+
Thanks for reporting an issue and helping make less-rails-bootstrap better!
|
data/scripts/update_bootstrap.sh
CHANGED
@@ -38,6 +38,11 @@ fi
|
|
38
38
|
if [ ! -d $bs_dir ]; then
|
39
39
|
info "Bootstrap not found. Cloning to twitter/bootstrap..."
|
40
40
|
git clone --quiet git://github.com/twbs/bootstrap.git twitter/bootstrap
|
41
|
+
else
|
42
|
+
info "Bootstrap found. Fetching to twitter/bootstrap..."
|
43
|
+
cd $bs_dir
|
44
|
+
git fetch
|
45
|
+
cd - > /dev/null
|
41
46
|
fi
|
42
47
|
|
43
48
|
cd twitter/bootstrap
|
@@ -14,7 +14,7 @@ class CustomBootstrapGeneratorTest < Rails::Generators::TestCase
|
|
14
14
|
|
15
15
|
test "content of custom_bootstrap.less was changed" do
|
16
16
|
md5 = Digest::MD5.file(destination_root.join("app/assets/stylesheets/custom_bootstrap/custom_bootstrap.less")).hexdigest
|
17
|
-
assert_equal '
|
17
|
+
assert_equal '4e87e1db9ef280b02cee47634f975ca1', md5,
|
18
18
|
'Looks like content of custom_bootstrap.less was changed. Please, investigate the reason of this and fix test if these changes is appropriate.'
|
19
19
|
end
|
20
20
|
|
@@ -7,7 +7,8 @@ class UsageCssSpec < Less::Rails::Bootstrap::Spec
|
|
7
7
|
let(:app_css) { dummy_asset('application.css') }
|
8
8
|
|
9
9
|
it 'will render main bootstrap.less file and all included modules' do
|
10
|
-
app_css.must_include '
|
10
|
+
app_css.must_include '.text-center' # From type.less
|
11
|
+
app_css.must_include '.panel-default' # From panels.less
|
11
12
|
end
|
12
13
|
|
13
14
|
it 'must include basic css afterward' do
|
metadata
CHANGED
@@ -1,58 +1,59 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
name: less-rails
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
17
|
- - ~>
|
17
18
|
- !ruby/object:Gem::Version
|
18
19
|
version: 2.4.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
19
22
|
version_requirements: !ruby/object:Gem::Requirement
|
20
23
|
requirements:
|
21
24
|
- - ~>
|
22
25
|
- !ruby/object:Gem::Version
|
23
26
|
version: 2.4.2
|
24
|
-
type: :runtime
|
25
|
-
prerelease: false
|
26
|
-
name: less-rails
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - ~>
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '4.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
33
36
|
version_requirements: !ruby/object:Gem::Requirement
|
34
37
|
requirements:
|
35
38
|
- - ~>
|
36
39
|
- !ruby/object:Gem::Version
|
37
40
|
version: '4.0'
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
name: minitest
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
name: guard-minitest
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
43
44
|
requirements:
|
44
45
|
- - ! '>='
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
47
50
|
version_requirements: !ruby/object:Gem::Requirement
|
48
51
|
requirements:
|
49
52
|
- - ! '>='
|
50
53
|
- !ruby/object:Gem::Version
|
51
54
|
version: '0'
|
52
|
-
type: :development
|
53
|
-
prerelease: false
|
54
|
-
name: guard-minitest
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails
|
56
57
|
requirement: !ruby/object:Gem::Requirement
|
57
58
|
requirements:
|
58
59
|
- - ! '>='
|
@@ -61,6 +62,8 @@ dependencies:
|
|
61
62
|
- - <
|
62
63
|
- !ruby/object:Gem::Version
|
63
64
|
version: '4.1'
|
65
|
+
type: :development
|
66
|
+
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
66
69
|
- - ! '>='
|
@@ -69,9 +72,6 @@ dependencies:
|
|
69
72
|
- - <
|
70
73
|
- !ruby/object:Gem::Version
|
71
74
|
version: '4.1'
|
72
|
-
type: :development
|
73
|
-
prerelease: false
|
74
|
-
name: rails
|
75
75
|
description: CSS toolkit from Twitter For Rails 3.1 Asset Pipeline. Best one of all!
|
76
76
|
email:
|
77
77
|
- ken@metaskills.net
|
@@ -86,6 +86,7 @@ files:
|
|
86
86
|
- CONTRIBUTING.md
|
87
87
|
- Gemfile
|
88
88
|
- Guardfile
|
89
|
+
- ISSUES.md
|
89
90
|
- README.md
|
90
91
|
- Rakefile
|
91
92
|
- app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot
|
@@ -185,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
186
|
version: '0'
|
186
187
|
requirements: []
|
187
188
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.
|
189
|
+
rubygems_version: 2.1.8
|
189
190
|
signing_key:
|
190
191
|
specification_version: 4
|
191
192
|
summary: CSS toolkit from Twitter For Rails 3.1 Asset Pipeline
|