sinon-chai-rails 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dc01345afbf5bf8f6c2a2eb4f2933566e22bf976
4
+ data.tar.gz: 35124d33a1714b5f6c0e496b0c77adbcf1e34e16
5
+ SHA512:
6
+ metadata.gz: 5884525c814f0051c87962d770e5817ef9f8bb1f0b86b42636863a0cbc44a59fcb2ea1d45390c27dff7227de07028906b57d50378a6d887b9c340a927ec78b65
7
+ data.tar.gz: 470d672a91c4371a93293e0b37ae954fd4008790d9fb04b6a061b7cf2777ba017027dca8db443c66b01c37b78f5fe2d55c946b93f5df69177d447d075a4fb008
@@ -1,7 +1,7 @@
1
1
  module Sinon
2
2
  module Chai
3
3
  module Rails
4
- VERSION = "1.1.0"
4
+ VERSION = "1.2.0"
5
5
  end
6
6
  end
7
7
  end
@@ -3,6 +3,7 @@
3
3
 
4
4
  // Module systems magic dance.
5
5
 
6
+ /* istanbul ignore else */
6
7
  if (typeof require === "function" && typeof exports === "object" && typeof module === "object") {
7
8
  // NodeJS
8
9
  module.exports = sinonChai;
@@ -55,8 +56,12 @@
55
56
  }
56
57
 
57
58
  return {
58
- affirmative: printfArray(["expected %n to " + verbPhrase + action + nonNegatedSuffix].concat(args)),
59
- negative: printfArray(["expected %n to not " + verbPhrase + action].concat(args))
59
+ affirmative: function () {
60
+ return printfArray(["expected %n to " + verbPhrase + action + nonNegatedSuffix].concat(args));
61
+ },
62
+ negative: function () {
63
+ return printfArray(["expected %n to not " + verbPhrase + action].concat(args));
64
+ }
60
65
  };
61
66
  }
62
67
 
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinon-chai-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Cymen Vig
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-01-26 00:00:00.000000000 Z
11
+ date: 2014-10-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.1'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.1'
30
27
  description:
@@ -34,7 +31,7 @@ executables: []
34
31
  extensions: []
35
32
  extra_rdoc_files: []
36
33
  files:
37
- - .gitignore
34
+ - ".gitignore"
38
35
  - Gemfile
39
36
  - LICENSE.txt
40
37
  - README.md
@@ -46,26 +43,25 @@ files:
46
43
  - vendor/assets/javascripts/sinon-chai.js
47
44
  homepage: http://github.com/cymen/sinon-chai-rails
48
45
  licenses: []
46
+ metadata: {}
49
47
  post_install_message:
50
48
  rdoc_options: []
51
49
  require_paths:
52
50
  - lib
53
51
  required_ruby_version: !ruby/object:Gem::Requirement
54
- none: false
55
52
  requirements:
56
- - - ! '>='
53
+ - - ">="
57
54
  - !ruby/object:Gem::Version
58
55
  version: '0'
59
56
  required_rubygems_version: !ruby/object:Gem::Requirement
60
- none: false
61
57
  requirements:
62
- - - ! '>='
58
+ - - ">="
63
59
  - !ruby/object:Gem::Version
64
60
  version: '0'
65
61
  requirements: []
66
62
  rubyforge_project:
67
- rubygems_version: 1.8.25
63
+ rubygems_version: 2.2.2
68
64
  signing_key:
69
- specification_version: 3
65
+ specification_version: 4
70
66
  summary: sinon-chai.js via asset pipeline
71
67
  test_files: []