flok 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/flok.gemspec +1 -0
- data/lib/flok/version.rb +1 -1
- data/spec/drivers/net_spec.rb +5 -2
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55f43fa0dd112961da23de4264a4459233b24c5c
|
4
|
+
data.tar.gz: ff2d6d9924e400f363e85ca6716d5e7f3b236e02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 176c976ea9db6a54c4b954f86c66015b2f6537a7d659355be6c985a5cca631781f756aab84dce9ea488c4bfc9ab33e2a27704ddcfa9cd358f252e4e7fde882e4
|
7
|
+
data.tar.gz: 494e2dc8241ce86425f651e375bb5442449565f05ce7f5ad59b4eefc6729a450e0308dea422cb447fe7559a9bcd75f0becff8fe6c616d52b68ab702194bf4640
|
data/flok.gemspec
CHANGED
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_development_dependency "closure-compiler", "~> 1.1"
|
27
27
|
spec.add_development_dependency "phantomjs", "~> 1.9"
|
28
28
|
spec.add_development_dependency "rspec-wait", "~> 0.0"
|
29
|
+
spec.add_development_dependency "os", "0.9.6"
|
29
30
|
spec.add_runtime_dependency "thor", "~> 0.19"
|
30
31
|
spec.executables << 'flok'
|
31
32
|
end
|
data/lib/flok/version.rb
CHANGED
data/spec/drivers/net_spec.rb
CHANGED
@@ -3,6 +3,7 @@ require 'rspec/wait'
|
|
3
3
|
require 'webrick'
|
4
4
|
require "./spec/helpers"
|
5
5
|
require 'json'
|
6
|
+
require 'os'
|
6
7
|
|
7
8
|
RSpec.describe "Drivers::Net" do
|
8
9
|
before(:all) do
|
@@ -15,8 +16,10 @@ RSpec.describe "Drivers::Net" do
|
|
15
16
|
@killable.each {|p| p.kill}
|
16
17
|
|
17
18
|
#Stopgap to kill everything
|
18
|
-
|
19
|
-
|
19
|
+
if OS.mac?
|
20
|
+
`ps -ax | grep net_spec | awk '{print $1}' | grep -v #{Process.pid} | xargs kill -9`
|
21
|
+
`ps -ax | grep phantomjs| awk '{print $1}' | xargs kill -9`
|
22
|
+
end
|
20
23
|
end
|
21
24
|
|
22
25
|
it "can make a get request" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flok
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- seo
|
@@ -122,6 +122,20 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: os
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.9.6
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.9.6
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: thor
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|