jekyll-assets 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9f2003fb2e8cde02889613bc3abacfa0e0d80947
4
+ data.tar.gz: 96eb2b56cf5aa69236d5e09c4cb6df1f52355108
5
+ SHA512:
6
+ metadata.gz: 2eab6482a241e44ebb84d4791e00e3bdbf8f1449147acbc7f426cb48f3cedba75f94a0d3dd54b61e0cbfbfc6ff1a43b9601a8339f5e5b906ef061a9f99656265
7
+ data.tar.gz: 054766f50e413169041b8dcda51f8e58f83c15c60ef213505225048d17c4d99859883e784672ad3fb82f28de520d16493a6fc66cb28cba14695a86e5fdc9334c
data/README.md CHANGED
@@ -301,6 +301,18 @@ Now you can add `@import "compass"` in your SASS assets to get Compass goodies.
301
301
  you must require them BEFORE `jekyll-assets/compass`.
302
302
 
303
303
 
304
+ #### Bootstrap Support
305
+
306
+ Require `jekyll-assets/bootstrap` to enable, e.g.:
307
+
308
+ ``` ruby
309
+ require "jekyll-assets"
310
+ require "jekyll-assets/bootstrap"
311
+ ```
312
+
313
+ Now you can add `@import "bootstrap"` in your SASS assets to get Bootstrap goodies.
314
+
315
+
304
316
  #### Bourbon Support
305
317
 
306
318
  Require `jekyll-assets/bourbon` to enable, e.g.:
@@ -33,4 +33,5 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency "compass"
34
34
  spec.add_development_dependency "bourbon"
35
35
  spec.add_development_dependency "neat"
36
+ spec.add_development_dependency "bootstrap-sass"
36
37
  end
@@ -0,0 +1,7 @@
1
+ require "sprockets"
2
+
3
+
4
+ bootstrap = Gem::Specification.find_by_name("bootstrap-sass").gem_dir
5
+ %w(fonts javascripts stylesheets).each do |asset|
6
+ Sprockets.append_path File.join(bootstrap, 'vendor', 'assets', asset)
7
+ end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AssetsPlugin
3
- VERSION = "0.7.5"
3
+ VERSION = "0.7.6"
4
4
  end
5
5
  end
@@ -0,0 +1,10 @@
1
+ require "spec_helper"
2
+ require "jekyll-assets/bootstrap"
3
+
4
+ module Jekyll::AssetsPlugin
5
+ describe "Bootstrap integration" do
6
+ it "should globally append bootstrap paths into Sprockets environment" do
7
+ @site.assets["bootstrap.css"].to_s.should =~ /bootstrap\//
8
+ end
9
+ end
10
+ end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
5
- prerelease:
4
+ version: 0.7.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Aleksey V Zapparov
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-11 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: jekyll
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sprockets
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,102 +55,105 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rspec
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: guard-rspec
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: compass
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: bourbon
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - '>='
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - '>='
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: neat
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
- - - ! '>='
129
+ - - '>='
148
130
  - !ruby/object:Gem::Version
149
131
  version: '0'
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
- - - ! '>='
136
+ - - '>='
156
137
  - !ruby/object:Gem::Version
157
138
  version: '0'
158
- description: ! " Jekyll plugin, that allows you to write javascript/css assets in\n
159
- \ other languages such as CoffeeScript, Sass, Less and ERB, concatenate\n them,
160
- respecting dependencies, minify and many more.\n"
139
+ - !ruby/object:Gem::Dependency
140
+ name: bootstrap-sass
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description: |2
154
+ Jekyll plugin, that allows you to write javascript/css assets in
155
+ other languages such as CoffeeScript, Sass, Less and ERB, concatenate
156
+ them, respecting dependencies, minify and many more.
161
157
  email:
162
158
  - ixti@member.fsf.org
163
159
  executables: []
@@ -176,6 +172,7 @@ files:
176
172
  - Rakefile
177
173
  - jekyll-assets.gemspec
178
174
  - lib/jekyll-assets.rb
175
+ - lib/jekyll-assets/bootstrap.rb
179
176
  - lib/jekyll-assets/bourbon.rb
180
177
  - lib/jekyll-assets/compass.rb
181
178
  - lib/jekyll-assets/neat.rb
@@ -216,6 +213,7 @@ files:
216
213
  - spec/fixtures/_layouts/default.html
217
214
  - spec/fixtures/_posts/2012-10-19-hello-world.md
218
215
  - spec/fixtures/index.html
216
+ - spec/lib/jekyll-assets/bootstrap_spec.rb
219
217
  - spec/lib/jekyll-assets/bourbon_spec.rb
220
218
  - spec/lib/jekyll-assets/compass_spec.rb
221
219
  - spec/lib/jekyll-assets/neat_spec.rb
@@ -230,34 +228,27 @@ files:
230
228
  homepage: http://ixti.github.com/jekyll-assets
231
229
  licenses:
232
230
  - MIT
231
+ metadata: {}
233
232
  post_install_message:
234
233
  rdoc_options: []
235
234
  require_paths:
236
235
  - lib
237
236
  required_ruby_version: !ruby/object:Gem::Requirement
238
- none: false
239
237
  requirements:
240
- - - ! '>='
238
+ - - '>='
241
239
  - !ruby/object:Gem::Version
242
240
  version: '0'
243
- segments:
244
- - 0
245
- hash: -3186594766388563324
246
241
  required_rubygems_version: !ruby/object:Gem::Requirement
247
- none: false
248
242
  requirements:
249
- - - ! '>='
243
+ - - '>='
250
244
  - !ruby/object:Gem::Version
251
245
  version: '0'
252
- segments:
253
- - 0
254
- hash: -3186594766388563324
255
246
  requirements: []
256
247
  rubyforge_project:
257
- rubygems_version: 1.8.23
248
+ rubygems_version: 2.0.3
258
249
  signing_key:
259
- specification_version: 3
260
- summary: jekyll-assets-0.7.5
250
+ specification_version: 4
251
+ summary: jekyll-assets-0.7.6
261
252
  test_files:
262
253
  - spec/fixtures/.gitignore
263
254
  - spec/fixtures/_assets/app.css.erb
@@ -281,6 +272,7 @@ test_files:
281
272
  - spec/fixtures/_layouts/default.html
282
273
  - spec/fixtures/_posts/2012-10-19-hello-world.md
283
274
  - spec/fixtures/index.html
275
+ - spec/lib/jekyll-assets/bootstrap_spec.rb
284
276
  - spec/lib/jekyll-assets/bourbon_spec.rb
285
277
  - spec/lib/jekyll-assets/compass_spec.rb
286
278
  - spec/lib/jekyll-assets/neat_spec.rb