vanilli-ruby 0.0.1 → 1.1.0
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.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/vanilli/client.rb +11 -0
- data/vanilli-ruby.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b140a9f3a7f5fae44f912c444f6eac5013f77394
|
4
|
+
data.tar.gz: 2ec907dfdbdc33ce2f4c92a8eb251eb497805db8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d5ca859de424ad96551b715ddb88fbf397ded39a68915355efdc8421833e1cd7774d67d0a4e34e377c83d62af1101beca0f7f17134719ce804db25816c341e1
|
7
|
+
data.tar.gz: 86ff0b4e09d5af44ff54e57308037a0348509d7e1dc6e8c8b8320820c5bb213e9bf49d2473731c2a959987635646abc3a820d12aa8e464538dc6685578aefe5f
|
data/README.md
CHANGED
@@ -61,3 +61,11 @@ vanilli_server = VanilliServer.new(port: 9000,
|
|
61
61
|
static_include: ['**/*.html', '**/*.js', '**/*.css*', '/robots.txt'])
|
62
62
|
.start
|
63
63
|
```
|
64
|
+
|
65
|
+
## Contributing
|
66
|
+
To try out the gem before releasing, build and then install the gem:
|
67
|
+
|
68
|
+
```sh
|
69
|
+
gem build vanilly-ruby.gemspec
|
70
|
+
gem install vanilli-ruby-VERSION.gem
|
71
|
+
```
|
data/lib/vanilli/client.rb
CHANGED
@@ -177,4 +177,15 @@ class VanilliClient
|
|
177
177
|
def get_capture(capture_id)
|
178
178
|
get_captures(capture_id).last
|
179
179
|
end
|
180
|
+
|
181
|
+
|
182
|
+
# Verifies that all vanilli expectations have been met. If
|
183
|
+
# not, an error is thrown.
|
184
|
+
def dump
|
185
|
+
begin
|
186
|
+
puts RestClient.get('http://localhost:9000/_vanilli/dump')
|
187
|
+
rescue => e
|
188
|
+
raise e.response
|
189
|
+
end
|
190
|
+
end
|
180
191
|
end
|
data/vanilli-ruby.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanilli-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alistair Dutton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.4.
|
109
|
+
rubygems_version: 2.4.5
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Ruby bindings for vanilli
|