stimpack 0.4.0 → 0.5.0
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/lib/stimpack/integrations/rspec.rb +7 -0
- data/lib/stimpack/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ca6d661bee358381b9fc2fc2b40b9208c52ebc279cada30b1f8cd8d416b257e
|
|
4
|
+
data.tar.gz: 03f9fa4999c375228668a02d25712c11bc904a9e41f77f3ef4298127f9c814b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6744c141fc73982fda1713198e1b6ad78971167eb7546b4be64702210b0289aa15a037fbdfa5f547e9ca732ed830d5c376710e7d365276640139af31cdb05321
|
|
7
|
+
data.tar.gz: 1fac57fcffcaefcf08b54c20750db09732ba565f41d76ce6fc81ce5eb1b1a696364389ebf7377820bdc437527ee20d5b093a096bcae53b0d8af9e85af9d56e13
|
|
@@ -3,6 +3,13 @@ module Stimpack
|
|
|
3
3
|
class RSpec
|
|
4
4
|
def self.install(app)
|
|
5
5
|
return unless defined?(::RSpec)
|
|
6
|
+
# Sometimes, the `rspec-rails` gem is installed in the development
|
|
7
|
+
# group. This means the ::RSpec module will be defined. However, this
|
|
8
|
+
# doesn't mean that we've loaded rspec-core, or even about to run tests.
|
|
9
|
+
# Let's make sure we are actually loading the test environment before
|
|
10
|
+
# installing our integration. An easy of doing this is seeing of the
|
|
11
|
+
# configuration method exists on RSpec.
|
|
12
|
+
return unless ::RSpec.respond_to?(:configuration)
|
|
6
13
|
|
|
7
14
|
Packs.each do |pack|
|
|
8
15
|
::RSpec.configuration.pattern.concat(",#{pack.relative_path.join("spec/**/*_spec.rb")}")
|
data/lib/stimpack/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stimpack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ngan Pham
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -52,7 +52,8 @@ dependencies:
|
|
|
52
52
|
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
-
description:
|
|
55
|
+
description: stimpack establishes and implements a set of conventions for splitting
|
|
56
|
+
up large monoliths.
|
|
56
57
|
email:
|
|
57
58
|
- gusto-opensource-buildkite@gusto.com
|
|
58
59
|
executables: []
|