jekyll-assets 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
- ### 0.4.3 (2014-12-21)
1
+ ### 0.5.0 (2013-05-10)
2
2
 
3
- * Fix configuration reader. See #119.
3
+ * Fix mocks to pass tests on jekyll 1.x
4
+ * Update jekyll dependency `~> 1.0`
4
5
 
5
6
 
6
7
  ### 0.4.2 (2013-05-08)
@@ -37,7 +38,7 @@
37
38
 
38
39
  ### 0.3.5 (2013-03-03)
39
40
 
40
- * Add buil-tim neat support as `require "jekyll-assets/neat"`. See #18.
41
+ * Add built-in neat support as `require "jekyll-assets/neat"`. See #18.
41
42
  (Thanks @awmichel)
42
43
  * Automagically produce GZipped assets. See #17. (Thanks @beanieboi)
43
44
 
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  them, respecting dependencies, minify and many more.
17
17
  DESC
18
18
 
19
- gem.add_dependency "jekyll", "< 1.0.0"
19
+ gem.add_dependency "jekyll", "~> 1.0"
20
20
  gem.add_dependency "sprockets", "~> 2.9"
21
21
 
22
22
  gem.add_development_dependency "rake"
@@ -60,7 +60,7 @@ module Jekyll
60
60
 
61
61
 
62
62
  def none? val
63
- val.to_s.empty? || "none" == val.to_s.downcase
63
+ val.nil? || val.empty? || "none" == val.to_s.downcase
64
64
  end
65
65
 
66
66
 
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AssetsPlugin
3
- VERSION = "0.4.3"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
@@ -5,26 +5,13 @@ module Jekyll::AssetsPlugin
5
5
  module Patches
6
6
  describe SitePatch do
7
7
  let(:site) do
8
- Class.new(Jekyll::Site) do
9
- include SitePatch
10
-
11
- def initialize
12
- self.reset
13
- end
14
-
15
- def config
16
- @config ||= {
17
- "dirname" => "foobar",
18
- "assets" => {
19
- "sources" => [ "foobar", "_assets" ]
20
- }
21
- }
22
- end
23
-
24
- def source
25
- @source ||= RSpecHelpers.fixtures_path.to_s
26
- end
27
- end.new
8
+ Jekyll::Site.new Jekyll.configuration({
9
+ "source" => RSpecHelpers.fixtures_path.to_s,
10
+ "dirname" => "foobar",
11
+ "assets" => {
12
+ "sources" => [ "foobar", "_assets" ]
13
+ }
14
+ })
28
15
  end
29
16
 
30
17
  context "#assets" do
metadata CHANGED
@@ -1,155 +1,173 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.5.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Aleksey V Zapparov
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-12-21 00:00:00.000000000 Z
12
+ date: 2013-05-10 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: jekyll
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "<"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
- version: 1.0.0
21
+ version: '1.0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "<"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
- version: 1.0.0
29
+ version: '1.0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: sprockets
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: '2.9'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: '2.9'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: rake
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rspec
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - ">="
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - ">="
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: guard-rspec
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - ">="
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - ">="
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: rb-inotify
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - ">="
99
+ - - ! '>='
88
100
  - !ruby/object:Gem::Version
89
101
  version: '0'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - ">="
107
+ - - ! '>='
95
108
  - !ruby/object:Gem::Version
96
109
  version: '0'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: compass
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - ">="
115
+ - - ! '>='
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - ">="
123
+ - - ! '>='
109
124
  - !ruby/object:Gem::Version
110
125
  version: '0'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: bourbon
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - ">="
131
+ - - ! '>='
116
132
  - !ruby/object:Gem::Version
117
133
  version: '0'
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - ">="
139
+ - - ! '>='
123
140
  - !ruby/object:Gem::Version
124
141
  version: '0'
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: neat
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - ">="
147
+ - - ! '>='
130
148
  - !ruby/object:Gem::Version
131
149
  version: '0'
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - ">="
155
+ - - ! '>='
137
156
  - !ruby/object:Gem::Version
138
157
  version: '0'
139
- description: |2
140
- Jekyll plugin, that allows you to write javascript/css assets in
141
- other languages such as CoffeeScript, Sass, Less and ERB, concatenate
142
- them, respecting dependencies, minify and many more.
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"
143
161
  email:
144
162
  - ixti@member.fsf.org
145
163
  executables: []
146
164
  extensions: []
147
165
  extra_rdoc_files: []
148
166
  files:
149
- - ".gitignore"
150
- - ".rspec"
151
- - ".travis.yml"
152
- - ".yardopts"
167
+ - .gitignore
168
+ - .rspec
169
+ - .travis.yml
170
+ - .yardopts
153
171
  - Gemfile
154
172
  - Guardfile
155
173
  - HISTORY.md
@@ -203,27 +221,28 @@ files:
203
221
  homepage: http://ixti.github.com/jekyll-assets
204
222
  licenses:
205
223
  - MIT
206
- metadata: {}
207
224
  post_install_message:
208
225
  rdoc_options: []
209
226
  require_paths:
210
227
  - lib
211
228
  required_ruby_version: !ruby/object:Gem::Requirement
229
+ none: false
212
230
  requirements:
213
- - - ">="
231
+ - - ! '>='
214
232
  - !ruby/object:Gem::Version
215
233
  version: '0'
216
234
  required_rubygems_version: !ruby/object:Gem::Requirement
235
+ none: false
217
236
  requirements:
218
- - - ">="
237
+ - - ! '>='
219
238
  - !ruby/object:Gem::Version
220
239
  version: '0'
221
240
  requirements: []
222
241
  rubyforge_project:
223
- rubygems_version: 2.4.1
242
+ rubygems_version: 1.8.23
224
243
  signing_key:
225
- specification_version: 4
226
- summary: jekyll-assets-0.4.3
244
+ specification_version: 3
245
+ summary: jekyll-assets-0.5.0
227
246
  test_files:
228
247
  - spec/fixtures/.gitignore
229
248
  - spec/fixtures/_assets/app.css.erb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 7d5e693a5009dd2571a1e1d96b0589cd44cf769d
4
- data.tar.gz: b1088f1fa22af9993188cc6632f474233bc9dbab
5
- SHA512:
6
- metadata.gz: 7e12b99eeb6c3a7fcf82a232e438543056ade934ecbf1693c78ad41bdecdb3672a87581f77fdc6fd921e78378ce2a0cf2c032fff2779007d1a68357770e63e31
7
- data.tar.gz: bc797a080b04ab0680410833b839a2c014ff56c276a466e18a68ec9cbe37cde350af484a220dc79fe7d27679730bd038a49c5deff835c1a0c20445c0622b022e