jekyll-assets 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,7 @@ Gem::Specification.new do |gem|
22
22
  gem.add_development_dependency "rspec"
23
23
  gem.add_development_dependency "guard-rspec"
24
24
  gem.add_development_dependency "rb-inotify"
25
+ gem.add_development_dependency "compass"
25
26
 
26
27
  gem.files = `git ls-files`.split($\)
27
28
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -0,0 +1,9 @@
1
+ require "compass"
2
+ require "sprockets"
3
+
4
+
5
+ Compass::Frameworks::ALL.each do |fw|
6
+ if (path = fw.stylesheets_directory)
7
+ Sprockets.append_path path
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AssetsPlugin
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -0,0 +1,4 @@
1
+ @import "compass/css3/box-shadow"
2
+
3
+ .photo
4
+ @include single-box-shadow(#eee, 0px, 0px, 5px)
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+ require 'jekyll-assets/compass'
3
+
4
+
5
+ module Jekyll::AssetsPlugin
6
+ describe 'Compass integration' do
7
+ it "should globally append compass paths into Sprockets environment" do
8
+ puts @site.assets['photos.css'].to_s
9
+ end
10
+ end
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-31 00:00:00.000000000 Z
12
+ date: 2013-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -107,6 +107,22 @@ dependencies:
107
107
  - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: compass
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
110
126
  description: ! " Jekyll plugin, that allows you to write javascript/css assets in\n
111
127
  \ other languages such as CoffeeScript, Sass, Less and ERB, concatenate\n them,
112
128
  respecting dependencies, minify and many more.\n"
@@ -126,6 +142,7 @@ files:
126
142
  - Rakefile
127
143
  - jekyll-assets.gemspec
128
144
  - lib/jekyll-assets.rb
145
+ - lib/jekyll-assets/compass.rb
129
146
  - lib/jekyll/assets_plugin.rb
130
147
  - lib/jekyll/assets_plugin/asset_file.rb
131
148
  - lib/jekyll/assets_plugin/configuration.rb
@@ -136,6 +153,7 @@ files:
136
153
  - spec/fixtures/_assets/app.css.erb
137
154
  - spec/fixtures/_assets/app.js
138
155
  - spec/fixtures/_assets/noise.png
156
+ - spec/fixtures/_assets/photos.css.sass
139
157
  - spec/fixtures/_assets/should_fail.css.erb
140
158
  - spec/fixtures/_assets/vapor.css
141
159
  - spec/fixtures/_assets/vapor.js
@@ -143,6 +161,7 @@ files:
143
161
  - spec/fixtures/_layouts/default.html
144
162
  - spec/fixtures/_posts/2012-10-19-hello-world.md
145
163
  - spec/fixtures/index.html
164
+ - spec/lib/jekyll-assets/compass_spec.rb
146
165
  - spec/lib/jekyll/assets_plugin/asset_file_spec.rb
147
166
  - spec/lib/jekyll/assets_plugin/configuration_spec.rb
148
167
  - spec/lib/jekyll/assets_plugin/site_patch_spec.rb
@@ -172,12 +191,13 @@ rubyforge_project:
172
191
  rubygems_version: 1.8.23
173
192
  signing_key:
174
193
  specification_version: 3
175
- summary: jekyll-assets-0.2.1
194
+ summary: jekyll-assets-0.2.2
176
195
  test_files:
177
196
  - spec/fixtures/.gitignore
178
197
  - spec/fixtures/_assets/app.css.erb
179
198
  - spec/fixtures/_assets/app.js
180
199
  - spec/fixtures/_assets/noise.png
200
+ - spec/fixtures/_assets/photos.css.sass
181
201
  - spec/fixtures/_assets/should_fail.css.erb
182
202
  - spec/fixtures/_assets/vapor.css
183
203
  - spec/fixtures/_assets/vapor.js
@@ -185,6 +205,7 @@ test_files:
185
205
  - spec/fixtures/_layouts/default.html
186
206
  - spec/fixtures/_posts/2012-10-19-hello-world.md
187
207
  - spec/fixtures/index.html
208
+ - spec/lib/jekyll-assets/compass_spec.rb
188
209
  - spec/lib/jekyll/assets_plugin/asset_file_spec.rb
189
210
  - spec/lib/jekyll/assets_plugin/configuration_spec.rb
190
211
  - spec/lib/jekyll/assets_plugin/site_patch_spec.rb