konacha 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/History.md +4 -0
  2. data/konacha.gemspec +1 -1
  3. data/lib/konacha.rb +1 -2
  4. metadata +3 -9
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 1.4.1
4
+
5
+ * Fix performance regression in projects which have many assets
6
+
3
7
  # 1.4.0
4
8
 
5
9
  * Update mocha (1.3.0)
@@ -17,7 +17,7 @@ the asset pipeline and engines.}
17
17
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  gem.name = "konacha"
19
19
  gem.require_paths = ["lib"]
20
- gem.version = "1.4.0"
20
+ gem.version = "1.4.1"
21
21
 
22
22
  gem.add_dependency "railties", "~> 3.1"
23
23
  gem.add_dependency "actionpack", "~> 3.1"
@@ -34,8 +34,7 @@ module Konacha
34
34
  end
35
35
 
36
36
  def spec_paths
37
- Rails.application.assets.each_file.find_all { |pathname|
38
- pathname.to_s.start_with?(spec_root) &&
37
+ Rails.application.assets.each_entry(spec_root).find_all { |pathname|
39
38
  pathname.basename.to_s =~ /_spec\.|_test\./ &&
40
39
  (pathname.extname == '.js' || Tilt[pathname]) &&
41
40
  Rails.application.assets.content_type_of(pathname) == 'application/javascript'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konacha
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
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-07-06 00:00:00.000000000 Z
12
+ date: 2012-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -259,21 +259,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
259
259
  - - ! '>='
260
260
  - !ruby/object:Gem::Version
261
261
  version: '0'
262
- segments:
263
- - 0
264
- hash: 3335057078696497361
265
262
  required_rubygems_version: !ruby/object:Gem::Requirement
266
263
  none: false
267
264
  requirements:
268
265
  - - ! '>='
269
266
  - !ruby/object:Gem::Version
270
267
  version: '0'
271
- segments:
272
- - 0
273
- hash: 3335057078696497361
274
268
  requirements: []
275
269
  rubyforge_project:
276
- rubygems_version: 1.8.24
270
+ rubygems_version: 1.8.23
277
271
  signing_key:
278
272
  specification_version: 3
279
273
  summary: Unit-test your Rails JavaScript with the mocha test framework and chai assertion