fluff 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c68a2896c0383d4c52519e1532b334b5f5d4e01f
4
- data.tar.gz: 749d47d55c3ad7c0a8dd970db00044cdd1069a08
3
+ metadata.gz: 5758a6d229f08d757135bb9db3078c5e85b17d57
4
+ data.tar.gz: 5550b8367a547fe8e9655e1a6606b48af0978284
5
5
  SHA512:
6
- metadata.gz: 48c6826e8a9049a9ba571308dec7bfa9a2f230bc7f8b5f3de4a6d6bbfc3d5c692f69d48f261040ea48c04452b6b3203ab472e96fab9e83de39d6ed61f234f39d
7
- data.tar.gz: dc5723c1d64a0f30fb5cdb2d3752b283d548cb260478a6dfec3713363278e731b38883b141e3d32c40ac2ef530fbf6ddd20955899663b0a9838cefadc2d0234f
6
+ metadata.gz: 0ef93d4b2fe647b495e0675647504280c089aabd3da55cd811212810946841279fa19e2b53251d31b71de18790c84bafc72e1d501721ba473d22577a889864a2
7
+ data.tar.gz: d5b6eab3d4ee731e0718f4239554ee1763ef21e7af780b204f569dbbcde8e7a96af18df527910e5f7e5bcf4bb8aae3b1bb364542c4b0351c04cb6019e0556fe0
data/exe/fluff CHANGED
@@ -29,6 +29,8 @@ else
29
29
  end
30
30
  run_uuid = SecureRandom.uuid
31
31
 
32
+ print_output = redis.blank?
33
+
32
34
  paths = ARGV.reject { |a| a.start_with?('-') }
33
35
  paths = ['spec'] if paths.empty?
34
36
 
@@ -59,6 +61,10 @@ else
59
61
  require 'open3'
60
62
  Open3.popen3(cmd) do |stdin, stdout, stderr, thread|
61
63
  puts "One thread finished with exit status #{thread.value.exitstatus}"
64
+ if print_output
65
+ stdout.each_line { |line| STDOUT.puts line }
66
+ stderr.each_line { |line| STDERR.puts line }
67
+ end
62
68
  thread.value.exitstatus
63
69
  end
64
70
  end
data/fluff.gemspec CHANGED
@@ -21,6 +21,8 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
+ spec.add_dependency "activesupport"
25
+ spec.add_dependency "redis"
24
26
  spec.add_development_dependency "bundler", "~> 1.13"
25
27
  spec.add_development_dependency "rake", "~> 10.0"
26
28
  spec.add_development_dependency "rspec", "~> 3.0"
@@ -1,6 +1,7 @@
1
1
  RSpec::Support.require_rspec_core "formatters/base_formatter"
2
2
  require 'json'
3
3
  require 'redis'
4
+ require 'securerandom'
4
5
 
5
6
  module Fluff
6
7
  module Rspec
data/lib/fluff/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fluff
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Levente Bagi
@@ -10,6 +10,34 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2017-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: redis
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: bundler
15
43
  requirement: !ruby/object:Gem::Requirement