konacha 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 1.1.2
4
+
5
+ Fix asset deduplication on sprockets < 2.1
6
+
3
7
  # 1.1.1
4
8
 
5
9
  * 1.8.7 compatibility
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ RSpec::Core::RakeTask.new :spec => :assets
7
7
 
8
8
  desc 'Build and copy Mocha and Chai assets from submodules into vendor/assets'
9
9
  task :assets do
10
- sh 'git submodule update --init'
10
+ sh 'git submodule update --init' unless File.exist?('mocha/Makefile') || File.exist?('chai/Makefile')
11
11
  sh 'cd mocha && make -s'
12
12
  sh 'cd chai && make -s'
13
13
  mkdir_p 'vendor/assets/javascripts'
@@ -3,7 +3,7 @@ module Konacha
3
3
  def spec_include_tag(*specs)
4
4
  assets = specs.map do |spec|
5
5
  asset_paths.asset_for(spec.asset_name, "js").to_a
6
- end.flatten.uniq.map(&:logical_path)
6
+ end.flatten.map(&:logical_path).uniq
7
7
 
8
8
  javascript_include_tag *(assets << {:body => true, :debug => false})
9
9
  end
@@ -20,7 +20,7 @@ the asset pipeline and engines.}
20
20
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
21
  gem.name = "konacha"
22
22
  gem.require_paths = ["lib"]
23
- gem.version = "1.1.1"
23
+ gem.version = "1.1.2"
24
24
 
25
25
  gem.add_dependency "rails", "~> 3.1"
26
26
  gem.add_dependency "capybara"
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.1.1
4
+ version: 1.1.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-04-20 00:00:00.000000000 Z
12
+ date: 2012-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails