oulu-rails 0.6.14 → 0.6.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/lib/oulu-rails/version.rb +1 -1
  3. metadata +2 -80
  4. data/vendor/assets/stylesheets/bootcamp/CHANGELOG.md +0 -70
  5. data/vendor/assets/stylesheets/bootcamp/CONTRIBUTING.md +0 -72
  6. data/vendor/assets/stylesheets/bootcamp/Gruntfile.coffee +0 -34
  7. data/vendor/assets/stylesheets/bootcamp/LICENSE.md +0 -7
  8. data/vendor/assets/stylesheets/bootcamp/README.md +0 -52
  9. data/vendor/assets/stylesheets/bootcamp/bower.json +0 -15
  10. data/vendor/assets/stylesheets/bootcamp/dist/_bootcamp.scss +0 -46
  11. data/vendor/assets/stylesheets/bootcamp/dist/bootcamp.coffee +0 -101
  12. data/vendor/assets/stylesheets/bootcamp/dist/core/functions/_actual.scss +0 -3
  13. data/vendor/assets/stylesheets/bootcamp/dist/core/functions/_error.scss +0 -29
  14. data/vendor/assets/stylesheets/bootcamp/dist/core/functions/_expect.scss +0 -6
  15. data/vendor/assets/stylesheets/bootcamp/dist/core/functions/_not-to.scss +0 -5
  16. data/vendor/assets/stylesheets/bootcamp/dist/core/functions/_should.scss +0 -6
  17. data/vendor/assets/stylesheets/bootcamp/dist/core/functions/_to.scss +0 -5
  18. data/vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss +0 -31
  19. data/vendor/assets/stylesheets/bootcamp/dist/core/mixins/_it.scss +0 -31
  20. data/vendor/assets/stylesheets/bootcamp/dist/core/mixins/_runner.scss +0 -28
  21. data/vendor/assets/stylesheets/bootcamp/dist/core/mixins/_should.scss +0 -46
  22. data/vendor/assets/stylesheets/bootcamp/dist/core/mixins/_xdescribe.scss +0 -9
  23. data/vendor/assets/stylesheets/bootcamp/dist/core/mixins/_xit.scss +0 -9
  24. data/vendor/assets/stylesheets/bootcamp/dist/core/variables/_helpers.scss +0 -5
  25. data/vendor/assets/stylesheets/bootcamp/dist/core/variables/_settings.scss +0 -2
  26. data/vendor/assets/stylesheets/bootcamp/dist/core/variables/_should.scss +0 -6
  27. data/vendor/assets/stylesheets/bootcamp/dist/core/variables/_trackers.scss +0 -6
  28. data/vendor/assets/stylesheets/bootcamp/dist/lib/_sassyjson.scss +0 -1075
  29. data/vendor/assets/stylesheets/bootcamp/dist/matchers/_be.scss +0 -3
  30. data/vendor/assets/stylesheets/bootcamp/dist/matchers/_equal.scss +0 -3
  31. data/vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_be-empty.scss +0 -3
  32. data/vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_be-longer-than.scss +0 -3
  33. data/vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_be-shorter-than.scss +0 -3
  34. data/vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_contain.scss +0 -3
  35. data/vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_deep-contain.scss +0 -3
  36. data/vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_deep-equal.scss +0 -47
  37. data/vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_have-length-of.scss +0 -3
  38. data/vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-close-to.scss +0 -12
  39. data/vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-greater-than.scss +0 -12
  40. data/vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss +0 -12
  41. data/vendor/assets/stylesheets/bootcamp/dist/matchers/types/_be-falsy.scss +0 -3
  42. data/vendor/assets/stylesheets/bootcamp/dist/matchers/types/_be-null.scss +0 -3
  43. data/vendor/assets/stylesheets/bootcamp/dist/matchers/types/_be-truthy.scss +0 -3
  44. data/vendor/assets/stylesheets/bootcamp/dist/matchers/types/_have-type-of.scss +0 -3
  45. data/vendor/assets/stylesheets/bootcamp/dist/utils/_contain.scss +0 -15
  46. data/vendor/assets/stylesheets/bootcamp/dist/utils/_equal.scss +0 -23
  47. data/vendor/assets/stylesheets/bootcamp/dist/utils/_list-join.scss +0 -35
  48. data/vendor/assets/stylesheets/bootcamp/dist/utils/_power.scss +0 -15
  49. data/vendor/assets/stylesheets/bootcamp/package.json +0 -63
  50. data/vendor/assets/stylesheets/bootcamp/tasks/bootcamp.coffee +0 -83
  51. data/vendor/assets/stylesheets/bootcamp/test/core/functions/_actual.scss +0 -10
  52. data/vendor/assets/stylesheets/bootcamp/test/core/functions/_expect.scss +0 -6
  53. data/vendor/assets/stylesheets/bootcamp/test/core/functions/_not-to.scss +0 -5
  54. data/vendor/assets/stylesheets/bootcamp/test/core/functions/_should.scss +0 -10
  55. data/vendor/assets/stylesheets/bootcamp/test/core/functions/_to.scss +0 -5
  56. data/vendor/assets/stylesheets/bootcamp/test/core/mixins/_describe.scss +0 -11
  57. data/vendor/assets/stylesheets/bootcamp/test/core/mixins/_it.scss +0 -5
  58. data/vendor/assets/stylesheets/bootcamp/test/core/mixins/_should.scss +0 -5
  59. data/vendor/assets/stylesheets/bootcamp/test/core/mixins/_xdescribe.scss +0 -28
  60. data/vendor/assets/stylesheets/bootcamp/test/core/mixins/_xit.scss +0 -12
  61. data/vendor/assets/stylesheets/bootcamp/test/matchers/_be.scss +0 -90
  62. data/vendor/assets/stylesheets/bootcamp/test/matchers/_equal.scss +0 -33
  63. data/vendor/assets/stylesheets/bootcamp/test/matchers/lists/_be-empty.scss +0 -12
  64. data/vendor/assets/stylesheets/bootcamp/test/matchers/lists/_be-longer-than.scss +0 -29
  65. data/vendor/assets/stylesheets/bootcamp/test/matchers/lists/_be-shorter-than.scss +0 -29
  66. data/vendor/assets/stylesheets/bootcamp/test/matchers/lists/_contain.scss +0 -39
  67. data/vendor/assets/stylesheets/bootcamp/test/matchers/lists/_deep-contain.scss +0 -51
  68. data/vendor/assets/stylesheets/bootcamp/test/matchers/lists/_deep-equal.scss +0 -151
  69. data/vendor/assets/stylesheets/bootcamp/test/matchers/lists/_have-length-of.scss +0 -31
  70. data/vendor/assets/stylesheets/bootcamp/test/matchers/numbers/_be-close-to.scss +0 -24
  71. data/vendor/assets/stylesheets/bootcamp/test/matchers/numbers/_be-greater-than.scss +0 -16
  72. data/vendor/assets/stylesheets/bootcamp/test/matchers/numbers/_be-less-than.scss +0 -16
  73. data/vendor/assets/stylesheets/bootcamp/test/matchers/types/_be-falsy.scss +0 -14
  74. data/vendor/assets/stylesheets/bootcamp/test/matchers/types/_be-null.scss +0 -13
  75. data/vendor/assets/stylesheets/bootcamp/test/matchers/types/_be-truthy.scss +0 -13
  76. data/vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss +0 -17
  77. data/vendor/assets/stylesheets/bootcamp/test/specs.scss +0 -45
  78. data/vendor/assets/stylesheets/bootcamp/test/utils/_contain.scss +0 -41
  79. data/vendor/assets/stylesheets/bootcamp/test/utils/_equal.scss +0 -79
  80. data/vendor/assets/stylesheets/bootcamp/test/utils/_list-join.scss +0 -39
  81. data/vendor/assets/stylesheets/bootcamp/test/utils/_power.scss +0 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20d0080368dfe58781e0b14ecf746affd5f7b903
4
- data.tar.gz: 3ebe6418bf0b8bd8cc55a18a1a4ee7abcaf42259
3
+ metadata.gz: a3c889ffb5a33b8ec2ac3914515a9300a4986ef8
4
+ data.tar.gz: 65662a4b4f13e4b92e6ea87b1008817e6b64f58d
5
5
  SHA512:
6
- metadata.gz: 8717423ae925429d9cdc92fe3cc7098fcf130d3841249e6ddd6c2f177d8845b3f8c0f016cb766fa2097f9f8542084ee5828398677d48047b8a36c899cd3af7b1
7
- data.tar.gz: 16cc96c5307354f8a3145473a58f3d59da80a93fbed14e0bd65d9f5e22f8a1bd0c02d7138fcab1dbd9bd3f48ef838a4d560997a3b763f9ed5ec31583f98c1c72
6
+ metadata.gz: 396de6e746bec064d65407f620d56cf702612d43efce1ed309229b002bc90f162537984f3193e48929a1beec2435f7572f7491334127def7c99eb9d4e2e296e6
7
+ data.tar.gz: b8e0d86c61138d4236eb5a89063093038d154444769ff72510a53e75e7931341150bd60292d0fea258dda382fb035296807e89c9cf04686e2bac0cc1aa53b112
@@ -1,3 +1,3 @@
1
1
  module OuluRails
2
- VERSION = "0.6.14"
2
+ VERSION = "0.6.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oulu-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.14
4
+ version: 0.6.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - machida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-11 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass-rails
@@ -88,84 +88,6 @@ files:
88
88
  - vendor/assets/javascripts/oulu/plugins/waves.js
89
89
  - vendor/assets/stylesheets/_oulu-base.sass
90
90
  - vendor/assets/stylesheets/_oulu.sass
91
- - vendor/assets/stylesheets/bootcamp/CHANGELOG.md
92
- - vendor/assets/stylesheets/bootcamp/CONTRIBUTING.md
93
- - vendor/assets/stylesheets/bootcamp/Gruntfile.coffee
94
- - vendor/assets/stylesheets/bootcamp/LICENSE.md
95
- - vendor/assets/stylesheets/bootcamp/README.md
96
- - vendor/assets/stylesheets/bootcamp/bower.json
97
- - vendor/assets/stylesheets/bootcamp/dist/_bootcamp.scss
98
- - vendor/assets/stylesheets/bootcamp/dist/bootcamp.coffee
99
- - vendor/assets/stylesheets/bootcamp/dist/core/functions/_actual.scss
100
- - vendor/assets/stylesheets/bootcamp/dist/core/functions/_error.scss
101
- - vendor/assets/stylesheets/bootcamp/dist/core/functions/_expect.scss
102
- - vendor/assets/stylesheets/bootcamp/dist/core/functions/_not-to.scss
103
- - vendor/assets/stylesheets/bootcamp/dist/core/functions/_should.scss
104
- - vendor/assets/stylesheets/bootcamp/dist/core/functions/_to.scss
105
- - vendor/assets/stylesheets/bootcamp/dist/core/mixins/_describe.scss
106
- - vendor/assets/stylesheets/bootcamp/dist/core/mixins/_it.scss
107
- - vendor/assets/stylesheets/bootcamp/dist/core/mixins/_runner.scss
108
- - vendor/assets/stylesheets/bootcamp/dist/core/mixins/_should.scss
109
- - vendor/assets/stylesheets/bootcamp/dist/core/mixins/_xdescribe.scss
110
- - vendor/assets/stylesheets/bootcamp/dist/core/mixins/_xit.scss
111
- - vendor/assets/stylesheets/bootcamp/dist/core/variables/_helpers.scss
112
- - vendor/assets/stylesheets/bootcamp/dist/core/variables/_settings.scss
113
- - vendor/assets/stylesheets/bootcamp/dist/core/variables/_should.scss
114
- - vendor/assets/stylesheets/bootcamp/dist/core/variables/_trackers.scss
115
- - vendor/assets/stylesheets/bootcamp/dist/lib/_sassyjson.scss
116
- - vendor/assets/stylesheets/bootcamp/dist/matchers/_be.scss
117
- - vendor/assets/stylesheets/bootcamp/dist/matchers/_equal.scss
118
- - vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_be-empty.scss
119
- - vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_be-longer-than.scss
120
- - vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_be-shorter-than.scss
121
- - vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_contain.scss
122
- - vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_deep-contain.scss
123
- - vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_deep-equal.scss
124
- - vendor/assets/stylesheets/bootcamp/dist/matchers/lists/_have-length-of.scss
125
- - vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-close-to.scss
126
- - vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-greater-than.scss
127
- - vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
128
- - vendor/assets/stylesheets/bootcamp/dist/matchers/types/_be-falsy.scss
129
- - vendor/assets/stylesheets/bootcamp/dist/matchers/types/_be-null.scss
130
- - vendor/assets/stylesheets/bootcamp/dist/matchers/types/_be-truthy.scss
131
- - vendor/assets/stylesheets/bootcamp/dist/matchers/types/_have-type-of.scss
132
- - vendor/assets/stylesheets/bootcamp/dist/utils/_contain.scss
133
- - vendor/assets/stylesheets/bootcamp/dist/utils/_equal.scss
134
- - vendor/assets/stylesheets/bootcamp/dist/utils/_list-join.scss
135
- - vendor/assets/stylesheets/bootcamp/dist/utils/_power.scss
136
- - vendor/assets/stylesheets/bootcamp/package.json
137
- - vendor/assets/stylesheets/bootcamp/tasks/bootcamp.coffee
138
- - vendor/assets/stylesheets/bootcamp/test/core/functions/_actual.scss
139
- - vendor/assets/stylesheets/bootcamp/test/core/functions/_expect.scss
140
- - vendor/assets/stylesheets/bootcamp/test/core/functions/_not-to.scss
141
- - vendor/assets/stylesheets/bootcamp/test/core/functions/_should.scss
142
- - vendor/assets/stylesheets/bootcamp/test/core/functions/_to.scss
143
- - vendor/assets/stylesheets/bootcamp/test/core/mixins/_describe.scss
144
- - vendor/assets/stylesheets/bootcamp/test/core/mixins/_it.scss
145
- - vendor/assets/stylesheets/bootcamp/test/core/mixins/_should.scss
146
- - vendor/assets/stylesheets/bootcamp/test/core/mixins/_xdescribe.scss
147
- - vendor/assets/stylesheets/bootcamp/test/core/mixins/_xit.scss
148
- - vendor/assets/stylesheets/bootcamp/test/matchers/_be.scss
149
- - vendor/assets/stylesheets/bootcamp/test/matchers/_equal.scss
150
- - vendor/assets/stylesheets/bootcamp/test/matchers/lists/_be-empty.scss
151
- - vendor/assets/stylesheets/bootcamp/test/matchers/lists/_be-longer-than.scss
152
- - vendor/assets/stylesheets/bootcamp/test/matchers/lists/_be-shorter-than.scss
153
- - vendor/assets/stylesheets/bootcamp/test/matchers/lists/_contain.scss
154
- - vendor/assets/stylesheets/bootcamp/test/matchers/lists/_deep-contain.scss
155
- - vendor/assets/stylesheets/bootcamp/test/matchers/lists/_deep-equal.scss
156
- - vendor/assets/stylesheets/bootcamp/test/matchers/lists/_have-length-of.scss
157
- - vendor/assets/stylesheets/bootcamp/test/matchers/numbers/_be-close-to.scss
158
- - vendor/assets/stylesheets/bootcamp/test/matchers/numbers/_be-greater-than.scss
159
- - vendor/assets/stylesheets/bootcamp/test/matchers/numbers/_be-less-than.scss
160
- - vendor/assets/stylesheets/bootcamp/test/matchers/types/_be-falsy.scss
161
- - vendor/assets/stylesheets/bootcamp/test/matchers/types/_be-null.scss
162
- - vendor/assets/stylesheets/bootcamp/test/matchers/types/_be-truthy.scss
163
- - vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
164
- - vendor/assets/stylesheets/bootcamp/test/specs.scss
165
- - vendor/assets/stylesheets/bootcamp/test/utils/_contain.scss
166
- - vendor/assets/stylesheets/bootcamp/test/utils/_equal.scss
167
- - vendor/assets/stylesheets/bootcamp/test/utils/_list-join.scss
168
- - vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
169
91
  - vendor/assets/stylesheets/helpers/_block.sass
170
92
  - vendor/assets/stylesheets/helpers/_border.sass
171
93
  - vendor/assets/stylesheets/helpers/_font-awsome.sass
@@ -1,70 +0,0 @@
1
- # Changelog
2
-
3
- #### 1.1.7 - 2014-8-31
4
-
5
- - Updated npm dependencies
6
-
7
- #### 1.1.6 - 2014-6-27
8
-
9
- - Switch to SassyJson
10
-
11
- #### 1.1.5 - 2014-3-21
12
-
13
- - Grunt: Fail instead of warn
14
-
15
- #### 1.1.4 - 2014-2-24
16
-
17
- - Updated npm dependencies
18
-
19
- #### 1.1.2 - 2014-1-12
20
-
21
- - Fix nested describe naming
22
- - Add bc-util-list-join utility
23
- - Fix newline regex on windows
24
- - Update grunt-contrib-sass
25
-
26
- #### 1.1.0 - 2013-11-19
27
-
28
- - Sass 3.3 (breaking change)
29
-
30
- #### 1.0.0 - 2013-11-16
31
-
32
- - Add Matcher have-type-of
33
- - Adds Warnings/Errors
34
- - Adds leading underscores to scss files
35
- - Remove be-undefined()
36
- - Remove be-defined()
37
- - Add Stringify Util
38
- - Improve Statement output with stringify util
39
- - Add Contain Util
40
- - Add Equal Util
41
- - Switch meaning of be() and equal()
42
- - Clean up contain() and deep-contain() with contain util
43
- - Renames internal variables to make more sense
44
- - Refactor Grunt Task
45
-
46
- #### 0.0.5 - 2013-10-20
47
-
48
- - Better Test Output
49
-
50
- #### 0.0.4 - 2013-10-19
51
-
52
- - Restructuring
53
- - Improved Matchers
54
- - New List Matchers
55
-
56
- #### 0.0.3 - 2013-10-13
57
-
58
- - Restructuring
59
- - Custom Matchers
60
- - Grunt Plugin
61
- - NPM
62
-
63
- #### 0.0.2 - 2013-10-12
64
-
65
- - Add Bower
66
- - Cleanup
67
-
68
- #### 0.0.1 - 2013-10-09
69
-
70
- - Initial Release
@@ -1,72 +0,0 @@
1
- # Contribute to Bootcamp
2
-
3
- > This document is a work in progress, if you see something weird or just plain stupid. First know that I copied most of it from other projects. Then submit an issue.
4
-
5
- Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
6
-
7
- Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
8
-
9
- ## Github Issues
10
-
11
- Github issues for this repository is the preferred medium for bug reports and feature requests.
12
-
13
- ## Bugs
14
-
15
- A bug is demonstrable problem caused by the code in this repository, so please take the time to make sure that it is not a bug in your own code. Good bug reports are extremely helpful and are formed by the following guidelines:
16
-
17
- 1. **Search through existing Github Issues** to make sure that your issue has not already been reported. If an issue already exists then that is the appropriate place for you to contribute.
18
- 2. **Make sure the bug has not already been fixed** by attempting to reproduce the issue with the latest version of this repository.
19
- 3. **Isolate the bug** as much as possible, the more code the more difficult it is to fix. Ideally you should create a [reduced test case](http://css-tricks.com/reduced-test-cases/).
20
- 4. **Submit bug with as much detail as possible**. Just attaching a block of code is not enough, try your best to solve the issue and detail everything you tried.
21
-
22
- **Example Bug Report:**
23
-
24
- > ## A Short but Descriptive Title
25
- >
26
- > A summary of the bug and the environment in which it occurs (Browser/OS).
27
- >
28
- > Please include steps to reproduce the bug.
29
- > 1. Step One
30
- > 2. Step Two
31
- > 3. Step Three
32
- >
33
- > A link to a reduced test case `http://url.com/example`
34
- >
35
- > Any other information you want to share that you think is applicable to the bug. Please include some code which you believe is causing the problem, or any errors that are occurring in the console.
36
- >
37
- > If you think you have a solution please include it here.
38
-
39
- ## Features
40
-
41
- Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aim of this project. It's up to you to make a strong case for any idea you have. Please provide as much detail and context as possible.
42
-
43
- ## Making Changes
44
-
45
- First, ensure that you have the latest version of everything installed. (Node.js, npm, grunt-cli)
46
-
47
- 1. Fork and clone the repo.
48
- 2. Check out the master or latest version branch
49
- 3. Run `npm install` to install all Bootcamp dependencies
50
- 4. Run `grunt` to prepare everything
51
-
52
- Assuming that you don't see any red, you're ready to go. Just be sure to run `grunt` after making any change, to ensure that nothing has broken.
53
-
54
- ## Pull Request
55
-
56
- 1. Create a new branch, never work on the master branch directly. Use a short but descriptive branch name (eg. `add_new_feature`, `fix_certain_bug`, `update_weird_typo`).
57
- 2. Add failing tests for the change you want to make. Run `grunt` to see the tests fail.
58
- 3. Make the change.
59
- 4. Run `grunt` to see if the tests pass. Repeat steps 2-4 until done.
60
- 5. Update the documentation to reflect any changes.
61
- 6. Push to your fork and submit a pull request.
62
-
63
- ## Syntax
64
-
65
- - Two space indents. Don't use tabs anywhere. Use `\t` if you need a tab character in a string.
66
- - No trailing whitespace.
67
- - Don't go overboard with the whitespace.
68
- - Delimit string with single-quotes `'`, except in any Sass code, use double-quotes `"`.
69
- - Prefer `if` and `else` to ["clever"](http://programmers.stackexchange.com/questions/25276/why-is-cleverness-considered-harmful-in-programming-by-some-people/25281#25281) uses of `? :` conditional or `||`, `&&` logical operators.
70
- - Use verbose names (`or`, `and`, `not`, `unless`, etc.) in languages that support them.
71
- - Comments are great. Just put them _before_ the line of code, _not_ at the _end_ of the line.
72
- - **When in doubt, follow the conventions you see used in the source already.**
@@ -1,34 +0,0 @@
1
- # global module: false
2
- module.exports = (grunt) ->
3
-
4
- # Modules
5
- grunt.loadNpmTasks 'grunt-init'
6
- grunt.loadNpmTasks 'grunt-contrib-sass'
7
- grunt.loadNpmTasks 'grunt-contrib-watch'
8
-
9
- # Grunt Tasks
10
- grunt.initConfig
11
- pkg: grunt.file.readJSON 'package.json'
12
- meta: version: '<%= pkg.version %>'
13
-
14
- # Sass
15
- sass: test:
16
- options:
17
- style: 'expanded'
18
- loadPath: './dist'
19
- files: './test/results.css' : './test/specs.scss'
20
-
21
- # Bootcamp
22
- bootcamp: dist:
23
- files: src: ['./test/results.css']
24
-
25
- # Watch
26
- watch: dist:
27
- files: ['./dist/**/*.scss', './test/**/*.scss']
28
- tasks: ['sass', 'bootcamp']
29
-
30
- grunt.loadTasks 'tasks'
31
-
32
- # Tasks
33
- grunt.registerTask 'default', ['sass', 'bootcamp', 'watch']
34
- grunt.registerTask 'test', ['sass', 'bootcamp']
@@ -1,7 +0,0 @@
1
- Copyright (C) 2013 James Kyle
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,52 +0,0 @@
1
- Bootcamp [![NPM version](https://badge.fury.io/js/bootcamp.png)](http://badge.fury.io/js/bootcamp) [![Build Status](https://travis-ci.org/thejameskyle/bootcamp.png?branch=master)](https://travis-ci.org/thejameskyle/bootcamp) [![Dependency Status](https://david-dm.org/thejameskyle/bootcamp.png)](https://david-dm.org/thejameskyle/bootcamp) [![devDependency Status](https://david-dm.org/thejameskyle/bootcamp/dev-status.png)](https://david-dm.org/thejameskyle/bootcamp#info=devDependencies)
2
- ========
3
-
4
- Jasmine-style BDD testing written in Sass for Sass.
5
-
6
- #### [Read Introduction >](https://github.com/thejameskyle/bootcamp/wiki/Introduction)
7
-
8
- #### [Read Setup >](https://github.com/thejameskyle/bootcamp/wiki/Setup)
9
-
10
- #### [See Example Test Suite >](https://github.com/thejameskyle/bootcamp/wiki/Example-Test-Suite)
11
-
12
- #### [Authoring Matchers >](https://github.com/thejameskyle/bootcamp/wiki/Authoring-Matchers)
13
-
14
- ## Install
15
-
16
- In the future, Bootcamp will hopefully be available in more ways, for now you can either clone the repo yourself, install via [bower](http://bower.io/), or install via [npm](https://npmjs.org/) as a grunt plugin. If you would like, please help create a [yeoman generator](http://yeoman.io/), a [ruby gem](http://rubygems.org/), or any other package manager you'd like out there.
17
-
18
- #### Git
19
-
20
- ```
21
- git clone git@github.com:thejameskyle/bootcamp.git && cd bootcamp
22
- ```
23
-
24
- #### Bower
25
-
26
- ```
27
- bower install bootcamp --save-dev
28
- ```
29
-
30
- #### npm
31
-
32
- ```
33
- npm install bootcamp --save-dev
34
- ```
35
-
36
- ## Support
37
-
38
- Have a question or need help? Tweet [@thejameskyle](https://twitter.com/thejameskyle).
39
-
40
- ## Contributing
41
-
42
- As an open-source project, contributions are more than welcome, they're extremely helpful and actively encouraged. If you see any room for improvement, open an [issue](https://github.com/thejameskyle/bootcamp/issues) or submit a [pull request](https://github.com/thejameskyle/bootcamp/pulls). Also make sure to take a look at the [contributing doc](CONTRIBUTING.md).
43
-
44
- ## License
45
-
46
- This project is provided under the terms of the [MIT License](LICENSE.md).
47
-
48
- ---
49
-
50
- Authored by **James Kyle** · [Github](https://github.com/thejameskyle) · [Twitter](https://twitter.com/thejameskyle) · [CodePen](https://codepen.com/thejameskyle)
51
-
52
- [Built Equal >](http://www.hrc.org/donate) · [Made in Boston >](http://bostonbuilt.org/)
@@ -1,15 +0,0 @@
1
- {
2
- "name": "bootcamp",
3
- "version": "1.1.7",
4
- "homepage": "http://github.com/thejameskyle/bootcamp",
5
- "main": "dist/bootcamp.scss",
6
- "ignore": [
7
- "test",
8
- ".editorconfig",
9
- ".gitattributes",
10
- ".gitignore",
11
- ".jshintrc",
12
- ".travis.yml",
13
- "Gruntfile.coffee"
14
- ]
15
- }
@@ -1,46 +0,0 @@
1
- @import "lib/sassyjson";
2
-
3
- @import "core/variables/settings";
4
-
5
- @import "core/variables/helpers";
6
- @import "core/variables/should";
7
- @import "core/variables/trackers";
8
-
9
- @import "core/mixins/describe";
10
- @import "core/mixins/it";
11
- @import "core/mixins/runner";
12
- @import "core/mixins/should";
13
- @import "core/mixins/xdescribe";
14
- @import "core/mixins/xit";
15
-
16
- @import "core/functions/actual";
17
- @import "core/functions/error";
18
- @import "core/functions/expect";
19
- @import "core/functions/not-to";
20
- @import "core/functions/should";
21
- @import "core/functions/to";
22
-
23
- @import "utils/contain";
24
- @import "utils/equal";
25
- @import "utils/list-join";
26
- @import "utils/power";
27
-
28
- @import "matchers/be";
29
- @import "matchers/equal";
30
-
31
- @import "matchers/lists/be-empty";
32
- @import "matchers/lists/be-longer-than";
33
- @import "matchers/lists/be-shorter-than";
34
- @import "matchers/lists/contain";
35
- @import "matchers/lists/deep-contain";
36
- @import "matchers/lists/deep-equal";
37
- @import "matchers/lists/have-length-of";
38
-
39
- @import "matchers/numbers/be-close-to";
40
- @import "matchers/numbers/be-greater-than";
41
- @import "matchers/numbers/be-less-than";
42
-
43
- @import "matchers/types/be-falsy";
44
- @import "matchers/types/be-null";
45
- @import "matchers/types/be-truthy";
46
- @import "matchers/types/have-type-of";
@@ -1,101 +0,0 @@
1
- 'use strict'
2
-
3
- fs = require 'fs'
4
-
5
- module.exports =
6
- test: (filepath) ->
7
- error = null
8
-
9
- file = fs.readFileSync filepath, 'utf8'
10
-
11
- ###
12
- # Get Camp
13
- ###
14
-
15
- camp = file.match /\/\* >> Bootcamp >> \*\/((.|\n|\r)*)\/\* << Bootcamp << \*\//
16
-
17
- unless camp?
18
- return incomplete: true, error: 'No Test Suite Found'
19
- else
20
- camp = camp[1]
21
-
22
- ###
23
- # Get Results
24
- ###
25
-
26
- results = camp.match /Test Results \{((.|\n|\r)*)\}/
27
-
28
- unless results?
29
- return incomplete: true, error: 'No Test Results Found'
30
- else
31
- results = results[1]
32
-
33
- ###
34
- # Get Specs
35
- ###
36
-
37
- specs = camp.replace( results, '' ).replace( /Test Results \{\}|\{|\}|;|:/g, '' )
38
-
39
- ###
40
- # method: getProperty
41
- ###
42
-
43
- getProperty = (property, force) ->
44
- values = results.match new RegExp property + ': ((.|\n|\r)*?);', 'g'
45
- property = []
46
-
47
- if force and !values? then return property
48
-
49
- unless values?
50
- error = incomplete: true, error: "No #{property} Found"
51
- return false
52
- else
53
- for value in values
54
- value = value.replace(/;/, '')
55
- value = value.replace(/(.*:)/, '')
56
- value = value.trim()
57
- value = parseInt value unless isNaN value
58
- property.push value
59
-
60
- return property
61
-
62
- ###
63
- # Get Properties
64
- ###
65
-
66
- success = getProperty('Success').indexOf('true') > -1
67
- stats = getProperty 'Stats'
68
- tests = getProperty 'Tests'
69
- asserts = getProperty 'Asserts'
70
- passed = getProperty 'Passed'
71
- failed = getProperty 'Failed'
72
- skipped = getProperty 'Skipped'
73
- errors = getProperty 'Error', true
74
-
75
- ###
76
- # Return Any Errors
77
- ###
78
-
79
- return error if error
80
-
81
- ###
82
- # Return Final Values
83
- ###
84
-
85
- return {
86
- camp: camp
87
- results: results
88
- specs: specs
89
-
90
- success: success
91
- stats: stats
92
- details: "#{tests} Tests, #{asserts} assertions, #{failed} failures, #{skipped} skipped"
93
-
94
- tests: tests
95
- asserts: asserts
96
- passed: passed
97
- failed: failed
98
- skipped: skipped
99
-
100
- errors: errors
101
- }
@@ -1,3 +0,0 @@
1
- @function actual() {
2
- @return $bc-actual;
3
- }
@@ -1,29 +0,0 @@
1
- @function error($type, $message) {
2
- $title: null;
3
-
4
- @if $type == "type" {
5
- $title: "TYPE ERROR";
6
- }
7
-
8
- @else if $type == "warn" {
9
- $title: "WARNING"
10
- }
11
-
12
- @else if $type == "dep" {
13
- $title: "DEPRECATED"
14
- }
15
-
16
- @else if $type == "fatal" {
17
- $bc-error: true !global;
18
- $title: "FATAL ERROR";
19
- }
20
-
21
- @else {
22
- $bc-error: true !global;
23
- $title: "ERROR";
24
- }
25
-
26
- $bc-error-text: "!#{$title}! #{$message}." !global;
27
-
28
- @return false;
29
- }
@@ -1,6 +0,0 @@
1
- @function expect($this) {
2
- $bc-actual: $this !global;
3
- $bc-actual-text: "Expected" !global;
4
-
5
- @return null;
6
- }
@@ -1,5 +0,0 @@
1
- @function not-to($this) {
2
- $bc-expect-text: "not to " + $bc-expect-text !global;
3
-
4
- @return not $this;
5
- }
@@ -1,6 +0,0 @@
1
- @function should($be, $something, $when) {
2
- $bc-expect: $something !global;
3
- $bc-expect-text: $be !global;
4
-
5
- @return $when;
6
- }
@@ -1,5 +0,0 @@
1
- @function to($this) {
2
- $bc-expect-text: "to " + $bc-expect-text !global;
3
-
4
- @return $this;
5
- }
@@ -1,31 +0,0 @@
1
- @mixin describe($bc-describe-new) {
2
- @if not $bc-skipping {
3
- $bc-describe-old: $bc-describe !global !default;
4
- $bc-describe-old: append($bc-describe-old, $bc-describe-new) !global;
5
-
6
- @if $bc-describe-depth > 0 {
7
- $bc-describe: bc-util-list-join($bc-describe-old, " ", 2) !global;
8
- } @else {
9
- $bc-describe: "#{$bc-describe-new}" !global;
10
- }
11
-
12
- $bc-describe-depth: $bc-describe-depth + 1 !global;
13
-
14
- @content;
15
-
16
- $bc-describe: "" !global;
17
-
18
- $_tmp: ();
19
-
20
- @for $i from 1 through $bc-describe-depth {
21
- $_tmp: append($_tmp, nth($bc-describe-old, $i));
22
- }
23
-
24
- $bc-describe-old: $_tmp !global;
25
- $bc-describe: nth($bc-describe-old, 1) !global;
26
- $bc-describe-depth: $bc-describe-depth - 1 !global;
27
-
28
- } @else {
29
- @content;
30
- }
31
- }
@@ -1,31 +0,0 @@
1
- @mixin it($statement) {
2
- $bc-total: $bc-total + 1 !global;
3
-
4
- @if not $bc-skipping {
5
- $bc-passing: true !global;
6
-
7
- #{$bc-describe} #{$statement} {
8
- @content;
9
-
10
- @if $bc-passing {
11
- @if $bc-setting-verbose {
12
- Test: Passed;
13
- }
14
-
15
- $bc-stats: "#{$bc-stats} ✔" !global;
16
- $bc-passed: $bc-passed + 1 !global;
17
- }
18
-
19
- @else {
20
- Test: Failed;
21
-
22
- $bc-stats: "#{$bc-stats} ✗" !global;
23
- $bc-failed: $bc-failed + 1 !global;
24
- }
25
- }
26
-
27
- $bc-passing: null !global;
28
- } @else {
29
- $bc-skipped: $bc-skipped + 1 !global;
30
- }
31
- }