jasmine-sinon-rails 1.3.2.1 → 1.3.4
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.
data/README.md
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
jasmine-sinon-rails
|
2
2
|
===================
|
3
3
|
|
4
|
-
jasmine-sinon matchers
|
4
|
+
Includes jasmine-sinon matchers from https://github.com/froots/jasmine-sinon for the Rails 3.1+ asset pipeline.
|
5
5
|
|
6
|
-
|
6
|
+
Installation
|
7
|
+
============
|
7
8
|
|
8
|
-
|
9
|
+
1. Add ```gem 'jasmine-sinon-rails'``` to your gemfile
|
10
|
+
2. Run bundle install
|
11
|
+
3. Add ```#= require jasmine-sinon``` to your spec manifest
|
9
12
|
|
10
|
-
|
13
|
+
Usage
|
14
|
+
=====
|
11
15
|
|
12
|
-
|
13
|
-
|
14
|
-
in you spec manifest.
|
16
|
+
For documentation on jasmine-sinon visit https://github.com/froots/jasmine-sinon .
|
Binary file
|
data/jasmine-sinon-rails.gemspec
CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
require File.expand_path('../lib/jasmine-sinon-rails/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["Mihai Tarnovan"]
|
5
|
+
gem.authors = ["Mihai Tarnovan", "Peter Hamilton"]
|
6
6
|
gem.email = ["mihai.tarnovan@cubus.ro"]
|
7
7
|
gem.summary = %q{jasmine-sinon.js matchers via Rails 3.1+ asset pipeline}
|
8
8
|
gem.homepage = "https://github.com/mtarnovan/jasmine-sinon-rails"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
(function(global) {
|
2
2
|
|
3
|
-
var spyMatchers = "called calledOnce calledTwice calledThrice calledBefore calledAfter calledOn alwaysCalledOn calledWith alwaysCalledWith calledWithExactly alwaysCalledWithExactly".split(" "),
|
3
|
+
var spyMatchers = "called calledOnce calledTwice calledThrice calledBefore calledAfter calledOn alwaysCalledOn calledWith alwaysCalledWith calledWithExactly alwaysCalledWithExactly calledWithMatch alwaysCalledWithMatch".split(" "),
|
4
4
|
i = spyMatchers.length,
|
5
5
|
spyMatcherHash = {},
|
6
6
|
unusualMatchers = {
|
@@ -40,4 +40,4 @@ beforeEach(function() {
|
|
40
40
|
|
41
41
|
this.addMatchers(sinonJasmine.getMatchers());
|
42
42
|
|
43
|
-
});
|
43
|
+
});
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jasmine-sinon-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mihai Tarnovan
|
9
|
+
- Peter Hamilton
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2012-
|
13
|
+
date: 2012-10-31 00:00:00.000000000 Z
|
13
14
|
dependencies: []
|
14
15
|
description:
|
15
16
|
email:
|