missing_rspec 0.1.1 → 0.1.2
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/Gemfile.lock +1 -1
- data/lib/missing_rspec/core.rb +2 -2
- data/lib/missing_rspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c77461cf31c770b16004fd024396d8d96cacf2f2ded526e2f9cf32d8958290ed
|
4
|
+
data.tar.gz: b01d1871f9aecc8ba9ca299864b2a639a0c5376948fb5d3401225ccfcb4756b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d761bdccc8e153a66a60af9a4a8b4c6e8c57bbae849d57fff7a244e2a0ba05aa59e660e8eda27252a99916bd0720498e7276e76ee4b5c31959b1711b8bb1957
|
7
|
+
data.tar.gz: 2f0c8d94b311a05ff805004fec31c8880c55d1abfcd77e59b02cb73dd189c80b0008fab36cd15a87438de06bde1e0106a4c889bf784e730deb0e9a7ed8088065
|
data/Gemfile.lock
CHANGED
data/lib/missing_rspec/core.rb
CHANGED
@@ -9,11 +9,11 @@ module MissingRspec
|
|
9
9
|
raise "Set the rails app path to the rake argument or the environment variable RAILS_APP_PATH." unless app_path
|
10
10
|
|
11
11
|
folder_type ||= 'all'
|
12
|
-
folder_types = MissingRspec::FolderTypesFinder.new(app_path).fetch_folder_types
|
13
|
-
puts "The following folders are targeted: #{folder_types}"
|
12
|
+
folder_types = MissingRspec::FolderTypesFinder.new(app_path).fetch_folder_types
|
14
13
|
if folder_type != 'all'
|
15
14
|
folder_types &&= folder_type.split(';').map!(&:strip)
|
16
15
|
end
|
16
|
+
puts "The following folders are targeted: #{folder_types}"
|
17
17
|
|
18
18
|
case mode
|
19
19
|
when :viewer
|