konacha 3.2.2 → 3.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36311ae558453159340bea0897754fd2049c32d6
4
- data.tar.gz: 91fdaad2ace9858ba1e4b74c6bb0e7baaafd6d86
3
+ metadata.gz: f1afb8df0992f3b70332b4d70dec0e010aeeb419
4
+ data.tar.gz: 1274256f717c45d44da37716998f82777260ae0c
5
5
  SHA512:
6
- metadata.gz: 9695c5516a0050ce9b3ca0373d0907dbb1285f4e92b1b1b5998929dd5e9cfdc16e32e6c314537b543a78be6eb7da24a9ec303c6851f4f62476e33a05f54b5d22
7
- data.tar.gz: 9730de6297ae4d0677cff670e35fea4c3fabb96cb587341a94425ffdd329838a4a36f381a67c8fd05f77fcd77a37c9d616fc6b5637378cb988d8354644c3f912
6
+ metadata.gz: f391e5374c6106275cc3f13effd9572a9916dd01193e106f6f4a5f7a7a411dd1244831f85975c7ae96b7c9f8ec94d4fda26f7b9a317d2b3be5479303ad18442b
7
+ data.tar.gz: 2ec43e22ce158e9cbbc4ebffb48b1902d85643c24e78e991eef111c850bed72b033d13b4e25ba38934dca4f0ed26858f35cb83edfead36b55c878cdf75d8c361
@@ -5,6 +5,7 @@ rvm:
5
5
  gemfile:
6
6
  - Gemfile
7
7
  - Gemfile-rails3
8
+ - Gemfile-rails40
8
9
  before_script:
9
10
  - sh -e /etc/init.d/xvfb start
10
11
  - export DISPLAY=:99.0
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
+ gem "railties", "~> 4.1.0"
4
5
  gem "sprockets-rails"
5
6
  gem "activemodel" # https://github.com/rspec/rspec-rails/pull/798
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
3
+
4
+ gem "railties", "~> 4.0.0"
5
+ gem "sprockets-rails"
6
+ gem "activemodel" # https://github.com/rspec/rspec-rails/pull/798
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 3.2.3
4
+
5
+ * Rails 4.1 compatibility (#178)
6
+
3
7
  # 3.2.2
4
8
 
5
9
  * Override mocha links to utilize the konacha path parameter (#168)
@@ -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 = "3.2.2"
20
+ gem.version = "3.2.3"
21
21
  gem.license = "MIT"
22
22
 
23
23
  gem.add_dependency "railties", ">= 3.1", "< 5"
@@ -45,6 +45,7 @@ module Konacha
45
45
  options.formatters ||= self.class.formatters
46
46
 
47
47
  app.config.assets.paths << app.root.join(options.spec_dir).to_s
48
+ app.config.assets.precompile << lambda{|path| path =~ %r{\.(js|coffee)$} }
48
49
  end
49
50
  end
50
51
  end
@@ -24,4 +24,9 @@ Dummy::Application.configure do
24
24
 
25
25
  # Expands the lines which load the assets
26
26
  config.assets.debug = true
27
+
28
+ # Adds additional error checking when serving assets at runtime.
29
+ # Checks for improperly declared sprockets dependencies.
30
+ # Raises helpful error messages.
31
+ config.assets.raise_runtime_errors = true
27
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konacha
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Firebaugh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-04 00:00:00.000000000 Z
11
+ date: 2014-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -223,6 +223,7 @@ files:
223
223
  - .travis.yml
224
224
  - Gemfile
225
225
  - Gemfile-rails3
226
+ - Gemfile-rails40
226
227
  - History.md
227
228
  - LICENSE
228
229
  - README.md