peak_flow_utils 0.0.0 → 0.0.1
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/VERSION +1 -1
- data/bin/peak_flow_rspec_files +10 -3
- data/lib/peak_flow_utils/rspec_helper.rb +2 -1
- data/peak_flow_utils.gemspec +2 -2
- data/spec/spec_helper.rb +0 -16
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2717441d565b367b1449347e1d910ef7b970e5e1
|
4
|
+
data.tar.gz: 77e3e9b897ff94d066d2fbe8ac9add5575936d28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89c6b42adc519119dbc83b9d2c5d766b9e768e30ad553ff0cdd882ff37f039911fdf0017be8a1e4993d99462fcf3fe3d57fada0e1792ed7365569f7411a05082
|
7
|
+
data.tar.gz: f71a689bd0372ee257cdd4f6ba6d6004ea5214469c3b544127458872a9cfa52bc034bffea37143705b8ce8511ee6f476fe74a2217098b17e3185e0540a79754d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/bin/peak_flow_rspec_files
CHANGED
@@ -2,11 +2,18 @@
|
|
2
2
|
|
3
3
|
# This task detects and prints out the RSpec files for the current build group
|
4
4
|
|
5
|
-
require "peak_flow_utils"
|
5
|
+
require "#{File.dirname(__FILE__)}/../lib/peak_flow_utils"
|
6
|
+
|
7
|
+
args = {}
|
8
|
+
ARGV.each do |arg|
|
9
|
+
if (match = arg.match(/\A--(.+?)=(.+)\Z/))
|
10
|
+
args[match[1]] = match[2]
|
11
|
+
end
|
12
|
+
end
|
6
13
|
|
7
14
|
rspec_helper = PeakFlowUtils::RspecHelper.new(
|
8
|
-
groups: args
|
9
|
-
group_number: args
|
15
|
+
groups: args.fetch("groups").to_i,
|
16
|
+
group_number: args.fetch("group-number").to_i
|
10
17
|
)
|
11
18
|
|
12
19
|
print rspec_helper.group_files.join(" ")
|
data/peak_flow_utils.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: peak_flow_utils 0.0.
|
5
|
+
# stub: peak_flow_utils 0.0.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "peak_flow_utils"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/spec/spec_helper.rb
CHANGED
@@ -1,19 +1,3 @@
|
|
1
|
-
require "simplecov"
|
2
|
-
|
3
|
-
module SimpleCov::Configuration
|
4
|
-
def clean_filters
|
5
|
-
@filters = []
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
SimpleCov.configure do
|
10
|
-
clean_filters
|
11
|
-
load_adapter "test_frameworks"
|
12
|
-
end
|
13
|
-
|
14
|
-
ENV["COVERAGE"] && SimpleCov.start do
|
15
|
-
add_filter "/.rvm/"
|
16
|
-
end
|
17
1
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
|
18
2
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
19
3
|
|