ende 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/component.json +2 -2
  3. data/components/component/bind/{0.0.1 → 1.0.0}/component.json +1 -1
  4. data/components/component/bind/{0.0.1 → 1.0.0}/index.js +1 -2
  5. data/components/component/jquery/1.0.0/component.json +10 -0
  6. data/components/component/jquery/1.0.0/index.js +10308 -0
  7. data/components/component/matches-selector/{0.1.2 → 0.1.4}/component.json +1 -1
  8. data/components/component/matches-selector/{0.1.2 → 0.1.4}/index.js +0 -0
  9. data/components/indefinido/advisable/master/component.json +1 -1
  10. data/components/indefinido/indemma/master/component.json +4 -7
  11. data/components/indefinido/indemma/master/lib/record.js +7 -2
  12. data/components/indefinido/indemma/master/lib/record/dirtyable.js +15 -6
  13. data/components/indefinido/indemma/master/lib/record/scopable.js +1 -1
  14. data/components/indefinido/observable/es6-modules/component.json +1 -1
  15. data/components/indefinido/observable/es6-modules/lib/legacy/schedulerable.js +8 -3
  16. data/components/indefinido/observable/es6-modules/lib/observable.js +0 -1
  17. data/components/indefinido/observable/es6-modules/lib/observable/observation.js +2 -2
  18. data/components/paulmillr/es6-shim/{0.10.1 → 0.14.0}/component.json +1 -1
  19. data/components/paulmillr/es6-shim/{0.10.1 → 0.14.0}/es6-shim.js +151 -102
  20. data/components/pluma/assimilate/{0.3.0 → 0.4.0}/component.json +2 -2
  21. data/components/pluma/assimilate/{0.3.0 → 0.4.0}/dist/assimilate.js +1 -1
  22. data/lib/assets/javascripts/aura/extensions/rivets.js.coffee +12 -6
  23. data/lib/assets/javascripts/config/load_components.js.coffee +1 -1
  24. data/lib/assets/javascripts/ende.js.coffee +1 -1
  25. data/lib/ende/version.rb +1 -1
  26. data/vendor/assets/component/build.css +112 -0
  27. data/vendor/assets/components/ende_build.js +20357 -19584
  28. metadata +13 -84
  29. data/components/chaijs/assertion-error/1.0.0/component.json +0 -18
  30. data/components/chaijs/assertion-error/1.0.0/index.js +0 -110
  31. data/components/chaijs/chai/1.9.1/.gitignore +0 -22
  32. data/components/chaijs/chai/1.9.1/.mailmap +0 -1
  33. data/components/chaijs/chai/1.9.1/.npmignore +0 -14
  34. data/components/chaijs/chai/1.9.1/.travis.yml +0 -14
  35. data/components/chaijs/chai/1.9.1/CONTRIBUTING.md +0 -173
  36. data/components/chaijs/chai/1.9.1/History.md +0 -895
  37. data/components/chaijs/chai/1.9.1/Makefile +0 -93
  38. data/components/chaijs/chai/1.9.1/README.md +0 -99
  39. data/components/chaijs/chai/1.9.1/ReleaseNotes.md +0 -482
  40. data/components/chaijs/chai/1.9.1/bower.json +0 -27
  41. data/components/chaijs/chai/1.9.1/chai.js +0 -4782
  42. data/components/chaijs/chai/1.9.1/component.json +0 -50
  43. data/components/chaijs/chai/1.9.1/index.js +0 -1
  44. data/components/chaijs/chai/1.9.1/karma.conf.js +0 -28
  45. data/components/chaijs/chai/1.9.1/karma.sauce.js +0 -41
  46. data/components/chaijs/chai/1.9.1/lib/chai.js +0 -87
  47. data/components/chaijs/chai/1.9.1/lib/chai/assertion.js +0 -130
  48. data/components/chaijs/chai/1.9.1/lib/chai/config.js +0 -50
  49. data/components/chaijs/chai/1.9.1/lib/chai/core/assertions.js +0 -1314
  50. data/components/chaijs/chai/1.9.1/lib/chai/interface/assert.js +0 -1056
  51. data/components/chaijs/chai/1.9.1/lib/chai/interface/expect.js +0 -12
  52. data/components/chaijs/chai/1.9.1/lib/chai/interface/should.js +0 -78
  53. data/components/chaijs/chai/1.9.1/lib/chai/utils/addChainableMethod.js +0 -111
  54. data/components/chaijs/chai/1.9.1/lib/chai/utils/addMethod.js +0 -43
  55. data/components/chaijs/chai/1.9.1/lib/chai/utils/addProperty.js +0 -40
  56. data/components/chaijs/chai/1.9.1/lib/chai/utils/flag.js +0 -32
  57. data/components/chaijs/chai/1.9.1/lib/chai/utils/getActual.js +0 -18
  58. data/components/chaijs/chai/1.9.1/lib/chai/utils/getEnumerableProperties.js +0 -25
  59. data/components/chaijs/chai/1.9.1/lib/chai/utils/getMessage.js +0 -49
  60. data/components/chaijs/chai/1.9.1/lib/chai/utils/getName.js +0 -20
  61. data/components/chaijs/chai/1.9.1/lib/chai/utils/getPathValue.js +0 -102
  62. data/components/chaijs/chai/1.9.1/lib/chai/utils/getProperties.js +0 -35
  63. data/components/chaijs/chai/1.9.1/lib/chai/utils/index.js +0 -114
  64. data/components/chaijs/chai/1.9.1/lib/chai/utils/inspect.js +0 -320
  65. data/components/chaijs/chai/1.9.1/lib/chai/utils/objDisplay.js +0 -49
  66. data/components/chaijs/chai/1.9.1/lib/chai/utils/overwriteChainableMethod.js +0 -53
  67. data/components/chaijs/chai/1.9.1/lib/chai/utils/overwriteMethod.js +0 -51
  68. data/components/chaijs/chai/1.9.1/lib/chai/utils/overwriteProperty.js +0 -54
  69. data/components/chaijs/chai/1.9.1/lib/chai/utils/test.js +0 -26
  70. data/components/chaijs/chai/1.9.1/lib/chai/utils/transferFlags.js +0 -44
  71. data/components/chaijs/chai/1.9.1/lib/chai/utils/type.js +0 -45
  72. data/components/chaijs/chai/1.9.1/package.json +0 -42
  73. data/components/chaijs/chai/1.9.1/sauce.browsers.js +0 -128
  74. data/components/chaijs/chai/1.9.1/support/sauce/sauce_connect_block.sh +0 -7
  75. data/components/chaijs/chai/1.9.1/support/sauce/sauce_connect_setup.sh +0 -53
  76. data/components/chaijs/chai/1.9.1/test/assert.js +0 -638
  77. data/components/chaijs/chai/1.9.1/test/auth/.gitkeep +0 -0
  78. data/components/chaijs/chai/1.9.1/test/bootstrap/index.js +0 -22
  79. data/components/chaijs/chai/1.9.1/test/bootstrap/karma.js +0 -22
  80. data/components/chaijs/chai/1.9.1/test/configuration.js +0 -133
  81. data/components/chaijs/chai/1.9.1/test/display/errors.js +0 -14
  82. data/components/chaijs/chai/1.9.1/test/display/message.js +0 -47
  83. data/components/chaijs/chai/1.9.1/test/expect.js +0 -814
  84. data/components/chaijs/chai/1.9.1/test/globalShould.js +0 -15
  85. data/components/chaijs/chai/1.9.1/test/plugins.js +0 -24
  86. data/components/chaijs/chai/1.9.1/test/should.js +0 -744
  87. data/components/chaijs/chai/1.9.1/test/utilities.js +0 -309
  88. data/components/chaijs/deep-eql/0.1.3/component.json +0 -20
  89. data/components/chaijs/deep-eql/0.1.3/lib/eql.js +0 -257
  90. data/components/chaijs/type-detect/0.1.1/component.json +0 -18
  91. data/components/chaijs/type-detect/0.1.1/lib/type.js +0 -142
  92. data/components/component/classes/1.2.1/component.json +0 -19
  93. data/components/component/classes/1.2.1/index.js +0 -184
  94. data/components/component/domify/1.2.2/component.json +0 -22
  95. data/components/component/domify/1.2.2/index.js +0 -87
  96. data/components/component/event/0.1.3/component.json +0 -13
  97. data/components/component/event/0.1.3/index.js +0 -35
  98. data/components/component/jquery/1.9.1/component.json +0 -14
  99. data/components/component/jquery/1.9.1/index.js +0 -9601
  100. data/components/component/query/0.0.3/component.json +0 -23
  101. data/components/component/query/0.0.3/index.js +0 -21
  102. data/lib/tasks/.gitkeep +0 -0
@@ -1,93 +0,0 @@
1
-
2
- TESTS = test/*.js
3
- REPORTER = dot
4
-
5
- #
6
- # Browser Build
7
- #
8
-
9
- all: chai.js
10
-
11
- chai.js: node_modules lib/* components
12
- @printf "==> [Browser :: build]\n"
13
- @./node_modules/.bin/component-build -s chai -o .
14
- @mv build.js chai.js
15
-
16
- #
17
- # Node Module
18
- #
19
-
20
- node_modules: package.json
21
- @npm install
22
-
23
- #
24
- # Components
25
- #
26
-
27
- build: components lib/*
28
- @printf "==> [Component :: build]\n"
29
- @./node_modules/.bin/component-build --dev
30
-
31
- components: node_modules component.json
32
- @printf "==> [Component :: install]\n"
33
- @./node_modules/.bin/component-install --dev
34
-
35
- #
36
- # Tests
37
- #
38
-
39
- test: test-node test-phantom
40
-
41
- test-node: node_modules
42
- @printf "==> [Test :: Node.js]\n"
43
- @NODE_ENV=test ./node_modules/.bin/mocha \
44
- --require ./test/bootstrap \
45
- --reporter $(REPORTER) \
46
- $(TESTS)
47
-
48
- test-cov: node_modules
49
- @NODE_ENV=test ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- \
50
- --require ./test/bootstrap \
51
- $(TESTS) \
52
-
53
- test-phantom: build
54
- @printf "==> [Test :: Karma (PhantomJS)]\n"
55
- @./node_modules/karma/bin/karma start \
56
- --single-run --browsers PhantomJS
57
-
58
- test-sauce: build
59
- @printf "==> [Test :: Karma (Sauce)]\n"
60
- @CHAI_TEST_ENV=sauce ./node_modules/karma/bin/karma start \
61
- --single-run
62
-
63
- test-travisci:
64
- @echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
65
- @make test-cov
66
- @make test-sauce
67
-
68
- #
69
- # Clean up
70
- #
71
-
72
- clean: clean-node clean-browser clean-components clean-cov
73
-
74
- clean-node:
75
- @rm -rf node_modules
76
-
77
- clean-browser:
78
- @rm -f chai.js
79
-
80
- clean-components:
81
- @rm -rf build
82
- @rm -rf components
83
-
84
- clean-cov:
85
- @rm -rf coverage
86
-
87
- #
88
- # Instructions
89
- #
90
-
91
- .PHONY: all
92
- .PHONY: test test-all test-node test-phantom test-sauce test-cov
93
- .PHONY: clean clean-node clean-browser clean-components clean-cov
@@ -1,99 +0,0 @@
1
- [![Chai Documentation](http://chaijs.com/public/img/chai-logo.png)](http://chaijs.com)
2
-
3
- Chai is a BDD / TDD assertion library for [node](http://nodejs.org) and the browser that
4
- can be delightfully paired with any javascript testing framework.
5
-
6
- For more information or to download plugins, view the [documentation](http://chaijs.com).
7
-
8
- [![Build Status](https://travis-ci.org/chaijs/chai.png?branch=master)](https://travis-ci.org/chaijs/chai)
9
-
10
- [![Selenium Test Status](https://saucelabs.com/browser-matrix/chaijs.svg)](https://saucelabs.com/u/chaijs)
11
-
12
- ### Plugins
13
-
14
- Chai offers a robust Plugin architecture for extending Chai's assertions and interfaces.
15
-
16
- - Need a plugin? View the [official plugin list](http://chaijs.com/plugins).
17
- - Have a plugin and want it listed? Open a Pull Request at [chaijs/chai-docs:plugin.js](https://github.com/chaijs/chai-docs/blob/master/plugins.js#L1-L12).
18
- - Want to build a plugin? Read the [plugin api documentation](http://chaijs.com/guide/plugins/).
19
-
20
- ### Related Projects
21
-
22
- - [chaijs / assertion-error](https://github.com/chaijs/assertion-error): Custom `Error` constructor thrown upon an assertion failing.
23
- - [chaijs / deep-eql](https://github.com/chaijs/deep-eql): Improved deep equality testing for Node.js and the browser.
24
-
25
- ### Contributors
26
-
27
- project : chai
28
- repo age : 2 years, 3 months ago
29
- commits : 756
30
- active : 170 days
31
- files : 57
32
- authors :
33
- 540 Jake Luer 71.4%
34
- 79 Veselin Todorov 10.4%
35
- 43 Domenic Denicola 5.7%
36
- 6 Ruben Verborgh 0.8%
37
- 5 George Kats 0.7%
38
- 5 Jo Liss 0.7%
39
- 5 Juliusz Gonera 0.7%
40
- 5 Scott Nonnenberg 0.7%
41
- 5 leider 0.7%
42
- 4 John Firebaugh 0.5%
43
- 4 Max Edmands 0.5%
44
- 4 Nick Heiner 0.5%
45
- 4 josher19 0.5%
46
- 3 Andrei Neculau 0.4%
47
- 3 Duncan Beevers 0.4%
48
- 3 Jake Rosoman 0.4%
49
- 3 Jeff Barczewski 0.4%
50
- 3 Ryunosuke SATO 0.4%
51
- 3 Veselin 0.4%
52
- 2 Bartvds 0.3%
53
- 2 Edwin Shao 0.3%
54
- 2 Jakub Nešetřil 0.3%
55
- 2 Roman Masek 0.3%
56
- 2 Teddy Cross 0.3%
57
- 1 Anand Patil 0.1%
58
- 1 Benjamin Horsleben 0.1%
59
- 1 Brandon Payton 0.1%
60
- 1 Chris Connelly 0.1%
61
- 1 Chun-Yi 0.1%
62
- 1 DD 0.1%
63
- 1 Dido Arellano 0.1%
64
- 1 Jeff Welch 0.1%
65
- 1 Kilian Ciuffolo 0.1%
66
- 1 Luís Cardoso 0.1%
67
- 1 Niklas Närhinen 0.1%
68
- 1 Paul Miller 0.1%
69
- 1 Refael Ackermann 0.1%
70
- 1 Sasha Koss 0.1%
71
- 1 Victor Costan 0.1%
72
- 1 Vinay Pulim 0.1%
73
- 1 Virginie BARDALES 0.1%
74
- 1 laconbass 0.1%
75
- 1 piecioshka 0.1%
76
-
77
- ## License
78
-
79
- (The MIT License)
80
-
81
- Copyright (c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
82
-
83
- Permission is hereby granted, free of charge, to any person obtaining a copy
84
- of this software and associated documentation files (the "Software"), to deal
85
- in the Software without restriction, including without limitation the rights
86
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
87
- copies of the Software, and to permit persons to whom the Software is
88
- furnished to do so, subject to the following conditions:
89
-
90
- The above copyright notice and this permission notice shall be included in
91
- all copies or substantial portions of the Software.
92
-
93
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
95
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
96
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
97
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
98
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
99
- THE SOFTWARE.
@@ -1,482 +0,0 @@
1
- # Release Notes
2
-
3
- ## 1.9.1 / 2014-03-19
4
-
5
- The following changes are required if you are upgrading from the previous version:
6
-
7
- - **Users:**
8
- - Migrate configuration options to new interface. (see notes)
9
- - **Plugin Developers:**
10
- - No changes required
11
- - **Core Contributors:**
12
- - Refresh `node_modules` folder for updated dependencies.
13
-
14
- ### Configuration
15
-
16
- There have been requests for changes and additions to the configuration mechanisms
17
- and their impact in the Chai architecture. As such, we have decoupled the
18
- configuration from the `Assertion` constructor. This not only allows for centralized
19
- configuration, but will allow us to shift the responsibility from the `Assertion`
20
- constructor to the `assert` interface in future releases.
21
-
22
- These changes have been implemented in a non-breaking way, but a depretiation
23
- warning will be presented to users until they migrate. The old config method will
24
- be removed in either `v1.11.0` or `v2.0.0`, whichever comes first.
25
-
26
- #### Quick Migration
27
-
28
- ```js
29
- // change this:
30
- chai.Assertion.includeStack = true;
31
- chai.Assertion.showDiff = false;
32
-
33
- // ... to this:
34
- chai.config.includeStack = true;
35
- chai.config.showDiff = false;
36
- ```
37
-
38
- #### All Config Options
39
-
40
- ##### config.includeStack
41
-
42
- - **@param** _{Boolean}_
43
- - **@default** `false`
44
-
45
- User configurable property, influences whether stack trace is included in
46
- Assertion error message. Default of `false` suppresses stack trace in the error
47
- message.
48
-
49
- ##### config.showDiff
50
-
51
- - **@param** _{Boolean}_
52
- - **@default** `true`
53
-
54
- User configurable property, influences whether or not the `showDiff` flag
55
- should be included in the thrown AssertionErrors. `false` will always be `false`;
56
- `true` will be true when the assertion has requested a diff be shown.
57
-
58
- ##### config.truncateThreshold **(NEW)**
59
-
60
- - **@param** _{Number}_
61
- - **@default** `40`
62
-
63
- User configurable property, sets length threshold for actual and expected values
64
- in assertion errors. If this threshold is exceeded, the value is truncated.
65
-
66
- Set it to zero if you want to disable truncating altogether.
67
-
68
- ```js
69
- chai.config.truncateThreshold = 0; // disable truncating
70
- ```
71
-
72
- ### Community Contributions
73
-
74
- - [#228](https://github.com/chaijs/chai/pull/228) Deep equality check for memebers. [@duncanbeevers](https://github.com/duncanbeevers)
75
- - [#247](https://github.com/chaijs/chai/pull/247) Proofreading. [@didorellano](https://github.com/didoarellano)
76
- - [#244](https://github.com/chaijs/chai/pull/244) Fix `contain`/`include` 1.9.0 regression. [@leider](https://github.com/leider)
77
- - [#233](https://github.com/chaijs/chai/pull/233) Improvements to `ssfi` for `assert` interface. [@refack](https://github.com/refack)
78
- - [#251](https://github.com/chaijs/chai/pull/251) New config option: object display threshold. [@romario333](https://github.com/romario333)
79
-
80
- Thank you to all who took time to contribute!
81
-
82
- ### Other Bug Fixes
83
-
84
- - [#183](https://github.com/chaijs/chai/issues/183) Allow `undefined` for actual. (internal api)
85
- - Update Karam(+plugins)/Istanbul to most recent versions.
86
-
87
- ## 1.9.0 / 2014-01-29
88
-
89
- The following changes are required if you are upgrading from the previous version:
90
-
91
- - **Users:**
92
- - No changes required
93
- - **Plugin Developers:**
94
- - Review [#219](https://github.com/chaijs/chai/pull/219).
95
- - **Core Contributors:**
96
- - Refresh `node_modules` folder for updated dependencies.
97
-
98
- ### Community Contributions
99
-
100
- - [#202](https://github.com/chaijs/chai/pull/201) Improve error message for .throw(). [@andreineculau](https://github.com/andreineculau)
101
- - [#217](https://github.com/chaijs/chai/pull/217) Chai tests can be run with `--watch`. [@demands](https://github.com/demands)
102
- - [#219](https://github.com/chaijs/chai/pull/219) Add overwriteChainableMethod utility. [@demands](https://github.com/demands)
103
- - [#224](https://github.com/chaijs/chai/pull/224) Return error on throw method to chain on error properties. [@vbardales](https://github.com/vbardales)
104
- - [#226](https://github.com/chaijs/chai/pull/226) Add `has` to language chains. [@duncanbeevers](https://github.com/duncanbeevers)
105
- - [#230](https://github.com/chaijs/chai/pull/230) Support `{a:1,b:2}.should.include({a:1})` [@jkroso](https://github.com/jkroso)
106
- - [#231](https://github.com/chaijs/chai/pull/231) Update Copyright notices to 2014 [@duncanbeevers](https://github.com/duncanbeevers)
107
- - [#232](https://github.com/chaijs/chai/pull/232) Avoid error instantiation if possible on assert.throws. [@laconbass](https://github.com/laconbass)
108
-
109
- Thank you to all who took time to contribute!
110
-
111
- ### Other Bug Fixes
112
-
113
- - [#225](https://github.com/chaijs/chai/pull/225) Improved AMD wrapper provided by upstream `component(1)`.
114
- - [#185](https://github.com/chaijs/chai/issues/185) `assert.throws()` returns thrown error for further assertions.
115
- - [#237](https://github.com/chaijs/chai/pull/237) Remove coveralls/jscoverage, include istanbul coverage report in travis test.
116
- - Update Karma and Sauce runner versions for consistent CI results. No more karma@canary.
117
-
118
- ## 1.8.1 / 2013-10-10
119
-
120
- The following changes are required if you are upgrading from the previous version:
121
-
122
- - **Users:**
123
- - Refresh `node_modules` folder for updated dependencies.
124
- - **Plugin Developers:**
125
- - No changes required
126
- - **Core Contributors:**
127
- - Refresh `node_modules` folder for updated dependencies.
128
-
129
- ### Browserify
130
-
131
- This is a small patch that updates the dependency tree so browserify users can install
132
- chai. (Remove conditional requires)
133
-
134
- ## 1.8.0 / 2013-09-18
135
-
136
- The following changes are required if you are upgrading from the previous version:
137
-
138
- - **Users:**
139
- - See `deep.equal` notes.
140
- - **Plugin Developers:**
141
- - No changes required
142
- - **Core Contributors:**
143
- - Refresh `node_modules` folder for updated dependencies.
144
-
145
- ### Deep Equals
146
-
147
- This version of Chai focused on a overhaul to the deep equal utility. The code for this
148
- tool has been removed from the core lib and can now be found at:
149
- [chai / deep-eql](https://github.com/chaijs/deep-eql). As stated in previous releases,
150
- this is part of a larger initiative to provide transparency, independent testing, and coverage for
151
- some of the more complicated internal tools.
152
-
153
- For the most part `.deep.equal` will behave the same as it has. However, in order to provide a
154
- consistent ruleset across all types being tested, the following changes have been made and _might_
155
- require changes to your tests.
156
-
157
- **1.** Strict equality for non-traversable nodes according to [egal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).
158
-
159
- _Previously:_ Non-traversable equal via `===`.
160
-
161
- ```js
162
- expect(NaN).to.deep.equal(NaN);
163
- expect(-0).to.not.deep.equal(+0);
164
- ```
165
-
166
- **2.** Arguments are not Arrays (and all types must be equal):
167
-
168
- _Previously:_ Some crazy nonsense that led to empty arrays deep equaling empty objects deep equaling dates.
169
-
170
- ```js
171
- expect(arguments).to.not.deep.equal([]);
172
- expect(Array.prototype.slice.call(arguments)).to.deep.equal([]);
173
- ```
174
-
175
- - [#156](https://github.com/chaijs/chai/issues/156) Empty object is eql to empty array
176
- - [#192](https://github.com/chaijs/chai/issues/192) empty object is eql to a Date object
177
- - [#194](https://github.com/chaijs/chai/issues/194) refactor deep-equal utility
178
-
179
- ### CI and Browser Testing
180
-
181
- Chai now runs the browser CI suite using [Karma](http://karma-runner.github.io/) directed at
182
- [SauceLabs](https://saucelabs.com/). This means we get to know where our browser support stands...
183
- and we get a cool badge:
184
-
185
- [![Selenium Test Status](https://saucelabs.com/browser-matrix/logicalparadox.svg)](https://saucelabs.com/u/logicalparadox)
186
-
187
- Look for the list of browsers/versions to expand over the coming releases.
188
-
189
- - [#195](https://github.com/chaijs/chai/issues/195) karma test framework
190
-
191
- ## 1.7.2 / 2013-06-27
192
-
193
- The following changes are required if you are upgrading from the previous version:
194
-
195
- - **Users:**
196
- - No changes required.
197
- - **Plugin Developers:**
198
- - No changes required
199
- - **Core Contributors:**
200
- - Refresh `node_modules` folder for updated dependencies.
201
-
202
- ### Coverage Reporting
203
-
204
- Coverage reporting has always been available for core-developers but the data has never been published
205
- for our end users. In our ongoing effort to improve accountability this data will now be published via
206
- the [coveralls.io](https://coveralls.io/) service. A badge has been added to the README and the full report
207
- can be viewed online at the [chai coveralls project](https://coveralls.io/r/chaijs/chai). Furthermore, PRs
208
- will receive automated messages indicating how their PR impacts test coverage. This service is tied to TravisCI.
209
-
210
- ### Other Fixes
211
-
212
- - [#175](https://github.com/chaijs/chai/issues/175) Add `bower.json`. (Fix ignore all)
213
-
214
- ## 1.7.1 / 2013-06-24
215
-
216
- The following changes are required if you are upgrading from the previous version:
217
-
218
- - **Users:**
219
- - No changes required.
220
- - **Plugin Developers:**
221
- - No changes required
222
- - **Core Contributors:**
223
- - Refresh `node_modules` folder for updated dependencies.
224
-
225
- ### Official Bower Support
226
-
227
- Support has been added for the Bower Package Manager ([bower.io])(http://bower.io/). Though
228
- Chai could be installed via Bower in the past, this update adds official support via the `bower.json`
229
- specification file.
230
-
231
- - [#175](https://github.com/chaijs/chai/issues/175) Add `bower.json`.
232
-
233
- ## 1.7.0 / 2013-06-17
234
-
235
- The following changes are required if you are upgrading from the previous version:
236
-
237
- - **Users:**
238
- - No changes required.
239
- - **Plugin Developers:**
240
- - Review AssertionError update notice.
241
- - **Core Contributors:**
242
- - Refresh `node_modules` folder for updated dependencies.
243
-
244
- ### AssertionError Update Notice
245
-
246
- Chai now uses [chaijs/assertion-error](https://github.com/chaijs/assertion-error) instead an internal
247
- constructor. This will allow for further iteration/experimentation of the AssertionError constructor
248
- independant of Chai. Future plans include stack parsing for callsite support.
249
-
250
- This update constructor has a different constructor param signature that conforms more with the standard
251
- `Error` object. If your plugin throws and `AssertionError` directly you will need to update your plugin
252
- with the new signature.
253
-
254
- ```js
255
- var AssertionError = require('chai').AssertionError;
256
-
257
- /**
258
- * previous
259
- *
260
- * @param {Object} options
261
- */
262
-
263
- throw new AssertionError({
264
- message: 'An assertion error occurred'
265
- , actual: actual
266
- , expect: expect
267
- , startStackFunction: arguments.callee
268
- , showStack: true
269
- });
270
-
271
- /**
272
- * new
273
- *
274
- * @param {String} message
275
- * @param {Object} options
276
- * @param {Function} start stack function
277
- */
278
-
279
- throw new AssertionError('An assertion error occurred', {
280
- actual: actual
281
- , expect: expect
282
- , showStack: true
283
- }, arguments.callee);
284
-
285
- // other signatures
286
- throw new AssertionError('An assertion error occurred');
287
- throw new AssertionError('An assertion error occurred', null, arguments.callee);
288
- ```
289
-
290
- #### External Dependencies
291
-
292
- This is the first non-developement dependency for Chai. As Chai continues to evolve we will begin adding
293
- more; the next will likely be improved type detection and deep equality. With Chai's userbase continually growing
294
- there is an higher need for accountability and documentation. External dependencies will allow us to iterate and
295
- test on features independent from our interfaces.
296
-
297
- Note: The browser packaged version `chai.js` will ALWAYS contain all dependencies needed to run Chai.
298
-
299
- ### Community Contributions
300
-
301
- - [#169](https://github.com/chaijs/chai/pull/169) Fix deep equal comparison for Date/Regexp types. [@katsgeorgeek](https://github.com/katsgeorgeek)
302
- - [#171](https://github.com/chaijs/chai/pull/171) Add `assert.notOk()`. [@Bartvds](https://github.com/Bartvds)
303
- - [#173](https://github.com/chaijs/chai/pull/173) Fix `inspect` utility. [@domenic](https://github.com/domenic)
304
-
305
- Thank you to all who took the time to contribute!
306
-
307
- ## 1.6.1 / 2013-06-05
308
-
309
- The following changes are required if you are upgrading from the previous version:
310
-
311
- - **Users:**
312
- - No changes required.
313
- - **Plugin Developers:**
314
- - No changes required.
315
- - **Core Contributors:**
316
- - Refresh `node_modules` folder for updated developement dependencies.
317
-
318
- ### Deep Equality
319
-
320
- Regular Expressions are now tested as part of all deep equality assertions. In previous versions
321
- they silently passed for all scenarios. Thanks to [@katsgeorgeek](https://github.com/katsgeorgeek) for the contribution.
322
-
323
- ### Community Contributions
324
-
325
- - [#161](https://github.com/chaijs/chai/pull/161) Fix documented name for assert interface's isDefined method. [@brandonpayton](https://github.com/brandonpayton)
326
- - [#168](https://github.com/chaijs/chai/pull/168) Fix comparison equality of two regexps for when using deep equality. [@katsgeorgeek](https://github.com/katsgeorgeek)
327
-
328
- Thank you to all who took the time to contribute!
329
-
330
- ### Additional Notes
331
-
332
- - Mocha has been locked at version `1.8.x` to ensure `mocha-phantomjs` compatibility.
333
-
334
- ## 1.6.0 / 2013-04-29
335
-
336
- The following changes are required if you are upgrading from the previous version:
337
-
338
- - **Users:**
339
- - No changes required.
340
- - **Plugin Developers:**
341
- - No changes required.
342
- - **Core Contributors:**
343
- - Refresh `node_modules` folder for updated developement dependencies.
344
-
345
- ### New Assertions
346
-
347
- #### Array Members Inclusion
348
-
349
- Asserts that the target is a superset of `set`, or that the target and `set` have the same members.
350
- Order is not taken into account. Thanks to [@NickHeiner](https://github.com/NickHeiner) for the contribution.
351
-
352
- ```js
353
- // (expect/should) full set
354
- expect([4, 2]).to.have.members([2, 4]);
355
- expect([5, 2]).to.not.have.members([5, 2, 1]);
356
-
357
- // (expect/should) inclusion
358
- expect([1, 2, 3]).to.include.members([3, 2]);
359
- expect([1, 2, 3]).to.not.include.members([3, 2, 8]);
360
-
361
- // (assert) full set
362
- assert.sameMembers([ 1, 2, 3 ], [ 2, 1, 3 ], 'same members');
363
-
364
- // (assert) inclusion
365
- assert.includeMembers([ 1, 2, 3 ], [ 2, 1 ], 'include members');
366
-
367
- ```
368
-
369
- #### Non-inclusion for Assert Interface
370
-
371
- Most `assert` functions have a negative version, like `instanceOf()` has a corresponding `notInstaceOf()`.
372
- However `include()` did not have a corresponding `notInclude()`. This has been added.
373
-
374
- ```js
375
- assert.notInclude([ 1, 2, 3 ], 8);
376
- assert.notInclude('foobar', 'baz');
377
- ```
378
-
379
- ### Community Contributions
380
-
381
- - [#140](https://github.com/chaijs/chai/pull/140) Restore `call`/`apply` methods for plugin interface. [@RubenVerborgh](https://github.com/RubenVerborgh)
382
- - [#148](https://github.com/chaijs/chai/issues/148)/[#153](https://github.com/chaijs/chai/pull/153) Add `members` and `include.members` assertions. [#NickHeiner](https://github.com/NickHeiner)
383
-
384
- Thank you to all who took time to contribute!
385
-
386
- ### Other Bug Fixes
387
-
388
- - [#142](https://github.com/chaijs/chai/issues/142) `assert#include` will no longer silently pass on wrong-type haystack.
389
- - [#158](https://github.com/chaijs/chai/issues/158) `assert#notInclude` has been added.
390
- - Travis-CI now tests Node.js `v0.10.x`. Support for `v0.6.x` has been removed. `v0.8.x` is still tested as before.
391
-
392
- ## 1.5.0 / 2013-02-03
393
-
394
- ### Migration Requirements
395
-
396
- The following changes are required if you are upgrading from the previous version:
397
-
398
- - **Users:**
399
- - _Update [2013-02-04]:_ Some users may notice a small subset of deep equality assertions will no longer pass. This is the result of
400
- [#120](https://github.com/chaijs/chai/issues/120), an improvement to our deep equality algorithm. Users will need to revise their assertions
401
- to be more granular should this occur. Further information: [#139](https://github.com/chaijs/chai/issues/139).
402
- - **Plugin Developers:**
403
- - No changes required.
404
- - **Core Contributors:**
405
- - Refresh `node_modules` folder for updated developement dependencies.
406
-
407
- ### Community Contributions
408
-
409
- - [#126](https://github.com/chaijs/chai/pull/126): Add `eqls` alias for `eql`. [@RubenVerborgh](https://github.com/RubenVerborgh)
410
- - [#127](https://github.com/chaijs/chai/issues/127): Performance refactor for chainable methods. [@RubenVerborgh](https://github.com/RubenVerborgh)
411
- - [#133](https://github.com/chaijs/chai/pull/133): Assertion `.throw` support for primitives. [@RubenVerborgh](https://github.com/RubenVerborgh)
412
- - [#137](https://github.com/chaijs/chai/issues/137): Assertion `.throw` support for empty messages. [@timnew](https://github.com/timnew)
413
- - [#136](https://github.com/chaijs/chai/pull/136): Fix backward negation messages when using `.above()` and `.below()`. [@whatthejeff](https://github.com/whatthejeff)
414
-
415
- Thank you to all who took time to contribute!
416
-
417
- ### Other Bug Fixes
418
-
419
- - Improve type detection of `.a()`/`.an()` to work in cross-browser scenarios.
420
- - [#116](https://github.com/chaijs/chai/issues/116): `.throw()` has cleaner display of errors when WebKit browsers.
421
- - [#120](https://github.com/chaijs/chai/issues/120): `.eql()` now works to compare dom nodes in browsers.
422
-
423
-
424
- ### Usage Updates
425
-
426
- #### For Users
427
-
428
- **1. Component Support:** Chai now included the proper configuration to be installed as a
429
- [component](https://github.com/component/component). Component users are encouraged to consult
430
- [chaijs.com](http://chaijs.com) for the latest version number as using the master branch
431
- does not gaurantee stability.
432
-
433
- ```js
434
- // relevant component.json
435
- devDependencies: {
436
- "chaijs/chai": "1.5.0"
437
- }
438
- ```
439
-
440
- Alternatively, bleeding-edge is available:
441
-
442
- $ component install chaijs/chai
443
-
444
- **2. Configurable showDiff:** Some test runners (such as [mocha](http://visionmedia.github.com/mocha/))
445
- include support for showing the diff of strings and objects when an equality error occurs. Chai has
446
- already included support for this, however some users may not prefer this display behavior. To revert to
447
- no diff display, the following configuration is available:
448
-
449
- ```js
450
- chai.Assertion.showDiff = false; // diff output disabled
451
- chai.Assertion.showDiff = true; // default, diff output enabled
452
- ```
453
-
454
- #### For Plugin Developers
455
-
456
- **1. New Utility - type**: The new utility `.type()` is available as a better implementation of `typeof`
457
- that can be used cross-browser. It handles the inconsistencies of Array, `null`, and `undefined` detection.
458
-
459
- - **@param** _{Mixed}_ object to detect type of
460
- - **@return** _{String}_ object type
461
-
462
- ```js
463
- chai.use(function (c, utils) {
464
- // some examples
465
- utils.type({}); // 'object'
466
- utils.type(null); // `null'
467
- utils.type(undefined); // `undefined`
468
- utils.type([]); // `array`
469
- });
470
- ```
471
-
472
- #### For Core Contributors
473
-
474
- **1. Browser Testing**: Browser testing of the `./chai.js` file is now available in the command line
475
- via PhantomJS. `make test` and Travis-CI will now also rebuild and test `./chai.js`. Consequently, all
476
- pull requests will now be browser tested in this way.
477
-
478
- _Note: Contributors opening pull requests should still NOT include the browser build._
479
-
480
- **2. SauceLabs Testing**: Early SauceLab support has been enabled with the file `./support/mocha-cloud.js`.
481
- Those interested in trying it out should create a free [Open Sauce](https://saucelabs.com/signup/plan) account
482
- and include their credentials in `./test/auth/sauce.json`.