twbs_less_rails 2.15.0 → 2.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +9 -3
- data/CHANGELOG.md +10 -0
- data/README.md +2 -2
- data/gemfiles/rails_3.2.gemfile +1 -1
- data/gemfiles/rails_4.0.gemfile +1 -1
- data/gemfiles/rails_4.1.gemfile +1 -1
- data/gemfiles/rails_4.2.gemfile +9 -0
- data/lib/twbs_less_rails/version.rb +1 -1
- data/test/dummy/config/environments/production.rb +5 -1
- data/test/dummy/config/environments/test.rb +8 -1
- data/twbs_less_rails.gemspec +9 -9
- metadata +38 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b43354ddc6f73f67f30fa5d9842ed0d91689c2b2
|
4
|
+
data.tar.gz: f9842d7d7d42f98a6a00de730317e4adf69ae8b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80339d3e903c42a7f30a47c115a8cb9ff08336fde3ef3979752b5e8075d7c8cfa679bd94f59ae885ff78c8b2e1b5a943ad511cf0b803ac06ce2d3bdb279daab2
|
7
|
+
data.tar.gz: 59adcc68aa4133ede47f7de2653f590fe87a4a34b0098ebe68e30dea5c62cc9fa28929c62f2b5f54d19fa17fa3dae7f8c0ff66fa93ae0f9a613a2f257f0fa837
|
data/Appraisals
CHANGED
@@ -1,17 +1,23 @@
|
|
1
1
|
appraise 'rails-3.2' do
|
2
|
-
gem 'rails', '3.2.
|
2
|
+
gem 'rails', '3.2.21'
|
3
3
|
gem 'uglifier'
|
4
4
|
gem 'minitest', '~> 4'
|
5
5
|
end
|
6
6
|
|
7
7
|
appraise 'rails-4.0' do
|
8
|
-
gem 'rails', '4.0.
|
8
|
+
gem 'rails', '4.0.12'
|
9
9
|
gem 'uglifier'
|
10
10
|
gem 'minitest', '~> 4'
|
11
11
|
end
|
12
12
|
|
13
13
|
appraise 'rails-4.1' do
|
14
|
-
gem 'rails', '4.1.
|
14
|
+
gem 'rails', '4.1.8'
|
15
|
+
gem 'uglifier'
|
16
|
+
gem 'minitest', '~> 5'
|
17
|
+
end
|
18
|
+
|
19
|
+
appraise 'rails-4.2' do
|
20
|
+
gem 'rails', '4.2.0'
|
15
21
|
gem 'uglifier'
|
16
22
|
gem 'minitest', '~> 5'
|
17
23
|
end
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/diowa/twbs_less_rails/badges/gpa.svg)](https://codeclimate.com/github/diowa/twbs_less_rails)
|
6
6
|
[![Coverage Status](https://img.shields.io/coveralls/diowa/twbs_less_rails.svg)](https://coveralls.io/r/diowa/twbs_less_rails?branch=master)
|
7
7
|
|
8
|
-
|
8
|
+
An opinionated gem which brings [Bootstrap](http://getbootstrap.com/) and [Font Awesome](http://fontawesome.io) assets into your Rails application.
|
9
9
|
|
10
10
|
|
11
11
|
|
@@ -92,7 +92,7 @@ Take a look at [the whole list of Javascript components](/vendor/assets/javascri
|
|
92
92
|
|
93
93
|
Twbs Less Rails uses [Appraisal](https://github.com/thoughtbot/appraisal) for testing against multiple gem dependency versions.
|
94
94
|
```bash
|
95
|
-
$ appraisal install
|
95
|
+
$ appraisal install; appraisal update # Make sure your appraisals are installed and up to date
|
96
96
|
$ appraisal rake
|
97
97
|
```
|
98
98
|
|
data/gemfiles/rails_3.2.gemfile
CHANGED
data/gemfiles/rails_4.0.gemfile
CHANGED
data/gemfiles/rails_4.1.gemfile
CHANGED
@@ -20,7 +20,11 @@ Dummy::Application.configure do
|
|
20
20
|
# config.action_dispatch.rack_cache = true
|
21
21
|
|
22
22
|
# Disable Rails's static asset server (Apache or nginx will already do this).
|
23
|
-
|
23
|
+
if Rails.version.start_with? '4.2'
|
24
|
+
config.serve_static_files = false
|
25
|
+
else
|
26
|
+
config.serve_static_assets = false
|
27
|
+
end
|
24
28
|
|
25
29
|
# Compress JavaScripts and CSS.
|
26
30
|
config.assets.js_compressor = :uglifier
|
@@ -13,7 +13,11 @@ Dummy::Application.configure do
|
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
-
|
16
|
+
if Rails.version.start_with? '4.2'
|
17
|
+
config.serve_static_files = true
|
18
|
+
else
|
19
|
+
config.serve_static_assets = true
|
20
|
+
end
|
17
21
|
config.static_cache_control = "public, max-age=3600"
|
18
22
|
|
19
23
|
# Show full error reports and disable caching.
|
@@ -31,6 +35,9 @@ Dummy::Application.configure do
|
|
31
35
|
# ActionMailer::Base.deliveries array.
|
32
36
|
config.action_mailer.delivery_method = :test
|
33
37
|
|
38
|
+
# Randomize the order test cases are executed
|
39
|
+
config.active_support.test_order = :random
|
40
|
+
|
34
41
|
# Print deprecation notices to the stderr.
|
35
42
|
config.active_support.deprecation = :stderr
|
36
43
|
end
|
data/twbs_less_rails.gemspec
CHANGED
@@ -19,14 +19,14 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ['lib']
|
21
21
|
|
22
|
-
s.add_runtime_dependency 'rails', '>= 3.2.
|
23
|
-
s.add_runtime_dependency 'therubyracer', '~> 0.12'
|
24
|
-
s.add_runtime_dependency 'less-rails', '~> 2'
|
22
|
+
s.add_runtime_dependency 'rails', '>= 3.2.21', '< 5.0.0'
|
23
|
+
s.add_runtime_dependency 'therubyracer', '~> 0.12.1'
|
24
|
+
s.add_runtime_dependency 'less-rails', '~> 2.6'
|
25
25
|
|
26
|
-
s.add_development_dependency 'appraisal'
|
27
|
-
s.add_development_dependency 'capybara'
|
28
|
-
s.add_development_dependency 'coveralls'
|
29
|
-
s.add_development_dependency 'minitest'
|
30
|
-
s.add_development_dependency 'rake'
|
31
|
-
s.add_development_dependency 'simplecov'
|
26
|
+
s.add_development_dependency 'appraisal', '~> 1.0'
|
27
|
+
s.add_development_dependency 'capybara', '~> 2.4'
|
28
|
+
s.add_development_dependency 'coveralls', '~> 0.7.1'
|
29
|
+
s.add_development_dependency 'minitest', '>= 4.7.5', '< 5.5.0'
|
30
|
+
s.add_development_dependency 'rake', '~> 10.4'
|
31
|
+
s.add_development_dependency 'simplecov', '~> 0.9.1'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twbs_less_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- diowa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.2.
|
19
|
+
version: 3.2.21
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 5.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.
|
29
|
+
version: 3.2.21
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 5.0.0
|
@@ -36,112 +36,118 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 0.12.1
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 0.12.1
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: less-rails
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '2'
|
53
|
+
version: '2.6'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '2'
|
60
|
+
version: '2.6'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: appraisal
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "
|
65
|
+
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0'
|
67
|
+
version: '1.0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0'
|
74
|
+
version: '1.0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: capybara
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '2.4'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- - "
|
86
|
+
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
88
|
+
version: '2.4'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: coveralls
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- - "
|
93
|
+
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
95
|
+
version: 0.7.1
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- - "
|
100
|
+
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
102
|
+
version: 0.7.1
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: minitest
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: 4.7.5
|
110
|
+
- - "<"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 5.5.0
|
110
113
|
type: :development
|
111
114
|
prerelease: false
|
112
115
|
version_requirements: !ruby/object:Gem::Requirement
|
113
116
|
requirements:
|
114
117
|
- - ">="
|
115
118
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
119
|
+
version: 4.7.5
|
120
|
+
- - "<"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 5.5.0
|
117
123
|
- !ruby/object:Gem::Dependency
|
118
124
|
name: rake
|
119
125
|
requirement: !ruby/object:Gem::Requirement
|
120
126
|
requirements:
|
121
|
-
- - "
|
127
|
+
- - "~>"
|
122
128
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
129
|
+
version: '10.4'
|
124
130
|
type: :development
|
125
131
|
prerelease: false
|
126
132
|
version_requirements: !ruby/object:Gem::Requirement
|
127
133
|
requirements:
|
128
|
-
- - "
|
134
|
+
- - "~>"
|
129
135
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
136
|
+
version: '10.4'
|
131
137
|
- !ruby/object:Gem::Dependency
|
132
138
|
name: simplecov
|
133
139
|
requirement: !ruby/object:Gem::Requirement
|
134
140
|
requirements:
|
135
|
-
- - "
|
141
|
+
- - "~>"
|
136
142
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
143
|
+
version: 0.9.1
|
138
144
|
type: :development
|
139
145
|
prerelease: false
|
140
146
|
version_requirements: !ruby/object:Gem::Requirement
|
141
147
|
requirements:
|
142
|
-
- - "
|
148
|
+
- - "~>"
|
143
149
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
150
|
+
version: 0.9.1
|
145
151
|
description: Provides assets for Bootstrap and FontAwesome in your Rails application.
|
146
152
|
email:
|
147
153
|
- dev@diowa.com
|
@@ -167,6 +173,7 @@ files:
|
|
167
173
|
- gemfiles/rails_3.2.gemfile
|
168
174
|
- gemfiles/rails_4.0.gemfile
|
169
175
|
- gemfiles/rails_4.1.gemfile
|
176
|
+
- gemfiles/rails_4.2.gemfile
|
170
177
|
- lib/generators/twbs_less_rails/install/install_generator.rb
|
171
178
|
- lib/generators/twbs_less_rails/install/templates/application.css
|
172
179
|
- lib/generators/twbs_less_rails/install/templates/application.js
|
@@ -344,7 +351,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
344
351
|
version: '0'
|
345
352
|
requirements: []
|
346
353
|
rubyforge_project:
|
347
|
-
rubygems_version: 2.4.
|
354
|
+
rubygems_version: 2.4.3
|
348
355
|
signing_key:
|
349
356
|
specification_version: 4
|
350
357
|
summary: Bootstrap and FontAwesome assets in Rails applications
|