missing_rspec 0.1.1 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ce4c5ca1f6b58e346ec3a0dd352719c453de57856e01a8068cd278c2692bcf8
4
- data.tar.gz: '081b5367736f0080fbaaacd6d472c93c9b3da1d36700fcb7f3162f0de480d761'
3
+ metadata.gz: 5a81501c9edbaf83b1a43528786f33efef4a43243c30a0fb80547533979b398f
4
+ data.tar.gz: f53fca0205a3e9b1e57805021431b7cc7dc63fac76df1bad9a9f36800dd4115f
5
5
  SHA512:
6
- metadata.gz: e5be9272e204ca25fbe5410df7f15402316b1119e4b5295a5bdd05fc4fb30e8e5f46476dbf0d784add22af1565a472291d883c6fe7107afef9b3387db5e1352b
7
- data.tar.gz: 3b508b92ab1e1b1864bebca8ddc1cfce5a8f37a901a7a7673c99194d16bfa030456e27410144754ec4759dd4fbe2829392ca4158766a18379b11eb65ed30b15e
6
+ metadata.gz: c9ebf1773670d55b4ed3d37cb06b34e1edc42f8e48d1aa2f85cba11ed54e093ecf82d4ba5d0fc09b088c7f3309dfd9e45560d122843a63846a44fa91bc8c2bd2
7
+ data.tar.gz: 9c9f31d647d58ca007f87049e9bf64a5a60c88c8200fb239de2318be5aa3763f29d04b7d7a926b8868c2f17047f577f0ea86e62afc40107492b000517c290710
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- missing_rspec (0.1.1)
4
+ missing_rspec (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -42,8 +42,8 @@ module MissingRspec
42
42
  end
43
43
 
44
44
  def build_full_class_name(module_name, class_name)
45
- if module_name == "Concerns"
46
- "#{'"'}#{class_name}#{'"'}"
45
+ if module_name.start_with?("Concerns")
46
+ "'#{class_name}'"
47
47
  else
48
48
  "#{module_name}#{module_name.blank? ? '' : '::'}#{class_name}"
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module MissingRspec
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: missing_rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keiichi Kayama