rspec-sharder 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/rspec-sharder/version.rb +1 -1
- data/lib/rspec-sharder.rb +2 -4
- data/scripts/release.sh +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: defc38fdaa55ddfeb271282a3ca2a992b0391fed1eb4be8d552fcd41caafc551
|
4
|
+
data.tar.gz: 22fa847d430e3bc20069803710a0e3429eede4a58b4cd56d28eb3f9492c95f2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 507e697bece492b62a5310f761c923e3956e328c014e6aa610fd2106c57c55662a84c23c1e91fca3ee8b3a2028d96832d1a7e790716f21c786d93bdf408c6342
|
7
|
+
data.tar.gz: 443c1586f14b36142790ea916f3864e797481d8729e16b418e1fb123361d9f7263115cbe9ba7f710c2052d13547b9e1150799c9e80a2198613cb178d0fe1893c
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rspec-sharder-*.gem
|
data/lib/rspec-sharder.rb
CHANGED
@@ -243,10 +243,8 @@ module RSpec
|
|
243
243
|
def self.persist_durations(durations)
|
244
244
|
File.open(".spec_durations", "w+") do |file|
|
245
245
|
file.puts <<~EOF
|
246
|
-
#
|
247
|
-
|
248
|
-
#
|
249
|
-
# bundle exec rspec-sharder --help
|
246
|
+
# Generated by rspec-sharder on #{Time.now.to_s}.")
|
247
|
+
|
250
248
|
EOF
|
251
249
|
durations.sort_by { |file_path, duration| file_path }.each do |file_path, duration|
|
252
250
|
file.puts "#{file_path},#{duration}"
|
data/scripts/release.sh
CHANGED
@@ -23,4 +23,5 @@ gem build
|
|
23
23
|
gem push rspec-sharder-$NEW_VERSION.gem
|
24
24
|
bundle install
|
25
25
|
git commit -a -m "v$NEW_VERSION Release"
|
26
|
+
git push
|
26
27
|
open "https://github.com/nicholasdower/rspec-sharder/releases/new?title=v$NEW_VERSION%20Release&tag=v$NEW_VERSION&target=$(git rev-parse HEAD)"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-sharder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Dower
|
@@ -32,6 +32,7 @@ executables:
|
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
+
- ".gitignore"
|
35
36
|
- Gemfile
|
36
37
|
- Gemfile.lock
|
37
38
|
- LICENSE
|