konacha 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,7 @@ language: ruby
2
2
  rvm:
3
3
  - 1.8.7
4
4
  - 1.9.3
5
+ - 2.0.0
5
6
  gemfile:
6
7
  - Gemfile
7
8
  - Gemfile-rails4
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # 2.5.1
4
+
5
+ * Fix several Rails 4 beta compatibility issues.
6
+
3
7
  # 2.5.0
4
8
 
5
9
  * Made port of the runner configurable
data/README.md CHANGED
@@ -3,22 +3,20 @@
3
3
  [![Build Status](https://secure.travis-ci.org/jfirebaugh/konacha.png?branch=master)](http://travis-ci.org/jfirebaugh/konacha)
4
4
  [![Dependency Status](https://gemnasium.com/jfirebaugh/konacha.png)](https://gemnasium.com/jfirebaugh/konacha)
5
5
 
6
- Konacha is a Rails engine that allows you to test your JavaScript with the
6
+ Konacha ([koh-NAH-cha], a type of green tea) is a Rails engine that allows you to test your JavaScript with the
7
7
  [Mocha](http://visionmedia.github.com/mocha/) test framework and [chai](http://chaijs.com/)
8
8
  assertion library.
9
9
 
10
- [![Konacha][2]][1]
10
+ [![Konacha in action][2]][1]
11
11
 
12
- [1]: http://en.wikipedia.org/wiki/Konacha
13
- [2]: https://github.com/jfirebaugh/konacha/raw/master/vendor/images/konacha.jpg
12
+ [1]: http://www.youtube.com/watch?v=heK78M6Ql9Q
13
+ [2]: https://github.com/jfirebaugh/konacha/raw/master/images/youtube.png
14
14
 
15
15
  It is similar to [Jasmine](https://github.com/pivotal/jasmine-gem) and
16
16
  [Evergreen](https://github.com/jnicklas/evergreen), but does not attempt to be framework
17
17
  agnostic. By sticking with Rails, Konacha can take full advantage of features such as
18
18
  the asset pipeline and engines.
19
19
 
20
- Photo credit: [FCartegnie](http://commons.wikimedia.org/wiki/File:Konacha.jpg), CC-BY-SA.
21
-
22
20
  ## Installation
23
21
 
24
22
  Add konacha to the `:test` and `:development` groups in the Gemfile and `bundle install`:
@@ -132,7 +130,7 @@ To automatically trigger reruns when files change, try [guard-konacha](https://g
132
130
  ## Spec Helper
133
131
 
134
132
  Since Konacha integrates with the asset pipeline, using setup helpers in your specs is
135
- easy. Just create a `spec_helper.js` or `spec_helper.js.coffee` file in `specs/javascripts`
133
+ easy. Just create a `spec_helper.js` or `spec_helper.js.coffee` file in `spec/javascripts`
136
134
  and require it in your tests:
137
135
 
138
136
  ```javascript
@@ -1,5 +1,5 @@
1
1
  Konacha::Engine.routes.draw do
2
2
  get '/iframe/*name' => 'specs#iframe', :format => false, :as => :iframe
3
- get '/' => 'specs#parent'
4
- get '*path' => 'specs#parent'
3
+ root :to => 'specs#parent'
4
+ get '*path' => 'specs#parent', :format => false
5
5
  end
Binary file
@@ -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 = "2.5.0"
20
+ gem.version = "2.5.1"
21
21
  gem.license = "MIT"
22
22
 
23
23
  gem.add_dependency "railties", ">= 3.1", "< 5"
@@ -32,5 +32,5 @@ the asset pipeline and engines.}
32
32
  gem.add_development_dependency "coffee-script"
33
33
  gem.add_development_dependency "ejs"
34
34
  gem.add_development_dependency "tzinfo"
35
- gem.add_development_dependency "poltergeist"
35
+ gem.add_development_dependency "poltergeist", "~> 1.0.2"
36
36
  end
@@ -21,10 +21,6 @@ module Konacha
21
21
  end
22
22
 
23
23
  initializer "konacha.environment" do |app|
24
- unless app.config.assets.enabled
25
- raise RuntimeError, "konacha requires the asset pipeline to be enabled"
26
- end
27
-
28
24
  options = app.config.konacha
29
25
 
30
26
  options.spec_dir ||= "spec/javascripts"
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: 2.5.0
4
+ version: 2.5.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: 2013-02-13 00:00:00.000000000 Z
12
+ date: 2013-03-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -204,17 +204,17 @@ dependencies:
204
204
  requirement: !ruby/object:Gem::Requirement
205
205
  none: false
206
206
  requirements:
207
- - - ! '>='
207
+ - - ~>
208
208
  - !ruby/object:Gem::Version
209
- version: '0'
209
+ version: 1.0.2
210
210
  type: :development
211
211
  prerelease: false
212
212
  version_requirements: !ruby/object:Gem::Requirement
213
213
  none: false
214
214
  requirements:
215
- - - ! '>='
215
+ - - ~>
216
216
  - !ruby/object:Gem::Version
217
- version: '0'
217
+ version: 1.0.2
218
218
  description: ! 'Konacha is a Rails engine that allows you to test your JavaScript
219
219
  with the
220
220
 
@@ -254,6 +254,7 @@ files:
254
254
  - config.ru
255
255
  - config/routes.rb
256
256
  - images/frame-select.png
257
+ - images/youtube.png
257
258
  - konacha.gemspec
258
259
  - lib/konacha.rb
259
260
  - lib/konacha/engine.rb
@@ -312,7 +313,6 @@ files:
312
313
  - vendor/assets/javascripts/chai.js
313
314
  - vendor/assets/javascripts/mocha.js
314
315
  - vendor/assets/stylesheets/mocha.css
315
- - vendor/images/konacha.jpg
316
316
  homepage: http://github.com/jfirebaugh/konacha
317
317
  licenses:
318
318
  - MIT
@@ -328,7 +328,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
328
328
  version: '0'
329
329
  segments:
330
330
  - 0
331
- hash: 2309042468152930805
331
+ hash: -79528298761712315
332
332
  required_rubygems_version: !ruby/object:Gem::Requirement
333
333
  none: false
334
334
  requirements:
@@ -337,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
337
  version: '0'
338
338
  segments:
339
339
  - 0
340
- hash: 2309042468152930805
340
+ hash: -79528298761712315
341
341
  requirements: []
342
342
  rubyforge_project:
343
343
  rubygems_version: 1.8.24
Binary file