rspec-parts 0.2.0 → 0.2.1

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: 96236589d944fca2df962f896febe1c3b19cfefa
4
- data.tar.gz: d4c9072dfb218c598998200ba5286842fd304c59
3
+ metadata.gz: fd399207cec88cde9a2c80234976e1d29c97cb1c
4
+ data.tar.gz: 7b40d81cfb42efae8559d5cc73a2a424d131395c
5
5
  SHA512:
6
- metadata.gz: 2ab8c00246b20dc67332d92c3dcd231a56da0f31a1e6267fdc989e2470ec5cf56598b0e536e53a90fcb547d1d11bac57d5e797cb696168e770ebd9fb14154e2b
7
- data.tar.gz: 016b1fd9bbaaa6558842e462ee007a4bba7eabc6fed55b0a9ad369f927174a10bbb05e58850878080b33643ababe98a3b29444e9b083d04d794f572d4ddb6be2
6
+ metadata.gz: 9de1e24ec95e8b0a34f1094d44be0df38a3be37b4929012f7bab0785e70368093422c4f79bfcf3e1b539fb81e242b6efe9d309702a7b6b3f126ac6b8decab165
7
+ data.tar.gz: a9c4a92f96610481b5e0d573620d78d866eced4b7d378ffec2dddf5e2b15cf075b70459a67aa9da35c4798539ac5c7ea3d1bf8df521b0e606139ecb16e39725f
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.1.4
4
+ - 2.3.1
4
5
  before_install: gem install bundler -v 1.10.6
@@ -33,13 +33,13 @@ end
33
33
  module Rspec
34
34
  module Parts
35
35
  class FileList
36
- def self.from(glob: glob, groups: groups, part: part)
36
+ def self.from(dir_glob: glob, num_of_groups: groups, which_part: part)
37
37
  total_file_list = Rake::FileList.new
38
38
 
39
- Dir.glob(glob).each do |spec_directory|
39
+ Dir.glob(dir_glob).each do |spec_directory|
40
40
  directory_file_list = Rake::FileList.new
41
41
  directory_file_list.add("#{spec_directory}/**/*_spec.rb")
42
- subset_of_directory_file_list = directory_file_list.to_a.in_groups(groups, false).at(part)
42
+ subset_of_directory_file_list = directory_file_list.to_a.in_groups(num_of_groups, false).at(which_part)
43
43
  total_file_list.add(subset_of_directory_file_list)
44
44
  end
45
45
 
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module Parts
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-parts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Hart
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-09 00:00:00.000000000 Z
11
+ date: 2017-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler