speckle 0.1.19 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +12 -7
- data/Rakefile +3 -3
- data/lib/speckle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzY1MmY1YTBiM2ViMWY3NWMwNjU5ZjBhNTJiYjA1ZTExMDFiZDA2MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWY0NTFiNTMyYzc1NjY0NjIyZDZkNGE4MzNmZjk0MjY4ZmJkOTVjYg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2MyMDYxMTg2MjE5NjgwYzJjNjQyMzJmYjhmMDM0ZDViMjc0NGQzMzQwZTNl
|
10
|
+
YTEzZTc2MTFiZWRlNjFlYmQ0NjgyMDM5ZGNhNTIzZThjZmZhNzllZGQwMDBj
|
11
|
+
NGVmMGU1MWI0ZTUwMWJjYmJmN2IxZjhmYjE1NGEyMTdjNWI4OWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODgwYzljMzFmZWM0ZmI0MWU5OGQwZWJiOTc1Y2VhODZjYWE3NzhhNGUxZmM0
|
14
|
+
NGY4MGQzMzI5Y2ZlMTE4MmU4NTAwYmJhOTZhNjQxOTVjNTM1OGNjMDBmNDE1
|
15
|
+
NDQ2M2RhMjQwNzdlZTMxYTY3ZTBmYmQxOTc2NTIxYWU4ZjIzMjA=
|
data/README.md
CHANGED
@@ -1,20 +1,17 @@
|
|
1
|
-
## Speckle
|
1
|
+
## Speckle [![Build Status][1]][2] [![Code Climate][3]][4] [![Dependency Status][6]][7]
|
2
2
|
|
3
|
-
Behaviour driven development framework for testing Vim plugins written in [Riml][
|
4
|
-
|
5
|
-
[![Build Status](https://travis-ci.org/dsawardekar/speckle.png)](https://travis-ci.org/dsawardekar/speckle)
|
3
|
+
Behaviour driven development framework for testing Vim plugins written in [Riml][5].
|
6
4
|
|
7
5
|
### About Riml
|
8
|
-
For people unfamiliar with `Riml`. [Riml][
|
6
|
+
For people unfamiliar with `Riml`. [Riml][5] is a programming language that compiles to Vimscript. It's constructs are very similar to languages like `Ruby` and `Coffeescript`. It also provides a layer of abstraction to write OOP code that is converted to Vimscript's Funcref prototype chains.
|
9
7
|
|
10
8
|
### How Speckle works
|
11
9
|
Speckle uses `Riml`s object-oriented constructs to provide
|
12
10
|
a BDD testing framework for Riml. You can use it for both unit testing and functional testing. Using Riml and Speckle you can write Vim plugins using common OOP software idioms and have the same familar tools available in your development workflow.
|
13
11
|
|
14
|
-
Speckle is both a test compiler and test execution engine. It does compilation of the `_spec.riml` specs with [Riml][
|
12
|
+
Speckle is both a test compiler and test execution engine. It does compilation of the `_spec.riml` specs with [Riml][5] and runs them in a Vim instance, capturing assertions, stacktraces and errors and reports them back after
|
15
13
|
closing the launched vim instance.
|
16
14
|
|
17
|
-
[1]:https://github.com/luke-gru/riml
|
18
15
|
|
19
16
|
## Installation
|
20
17
|
|
@@ -304,3 +301,11 @@ Options:
|
|
304
301
|
## License
|
305
302
|
|
306
303
|
MIT License. Copyright (c) 2013 Darshan Sawardekar.
|
304
|
+
|
305
|
+
[1]: https://travis-ci.org/dsawardekar/speckle.png
|
306
|
+
[2]: https://travis-ci.org/dsawardekar/speckle
|
307
|
+
[3]: https://codeclimate.com/github/dsawardekar/speckle.png
|
308
|
+
[4]: https://codeclimate.com/github/dsawardekar/speckle
|
309
|
+
[5]: https://github.com/luke-gru/riml
|
310
|
+
[6]: https://gemnasium.com/dsawardekar/speckle.png
|
311
|
+
[7]: https://gemnasium.com/dsawardekar/speckle
|
data/Rakefile
CHANGED
@@ -171,7 +171,7 @@ namespace :speckle do
|
|
171
171
|
Rake::Task['speckle:test'].invoke
|
172
172
|
end
|
173
173
|
end
|
174
|
-
|
174
|
+
|
175
175
|
desc 'Shows vim --version'
|
176
176
|
task :vim_version do
|
177
177
|
if CI
|
@@ -198,14 +198,14 @@ namespace :speckle do
|
|
198
198
|
end
|
199
199
|
|
200
200
|
desc "Watch files for changes and run tests"
|
201
|
-
task :watch do
|
201
|
+
task :watch do
|
202
202
|
puts '--- TODO ---'
|
203
203
|
end
|
204
204
|
|
205
205
|
def get_vim_options
|
206
206
|
cmd = ''
|
207
207
|
if SKIP_VIMRC
|
208
|
-
cmd += "-u NONE -i NONE"
|
208
|
+
cmd += "-u NONE -i NONE --cmd ':set nocp'"
|
209
209
|
end
|
210
210
|
|
211
211
|
cmd += " --cmd 'let g:speckle_mode = 1'"
|
data/lib/speckle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speckle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darshan Sawardekar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: riml
|