dandy 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: f4cb37da294ec33ad6decfb043f63b542a12510a51df75ead5638c032b65a6d1
4
- data.tar.gz: 07a54c2cd08d9ad03c0ef7dd7aab5381cbef0b2e393c9be1ded7ace34ea7da04
3
+ metadata.gz: 103cc73b82591f784a5687c1ae5f053bdef98c16dfcfb32ec8268d707d15dc5f
4
+ data.tar.gz: 010d1a7e2696ceee0341da1527be2bd2e77d1e624f14b99d3664f5306edc478d
5
5
  SHA512:
6
- metadata.gz: 393ea464f6049946efa5ba1e2eef32675a964d648defc34e56feffd5d22b0b21edc56167370c72ae801ef5b5fa2adf2fdc287eb4673ba3d2e8280697cef4a0c8
7
- data.tar.gz: 2c6dc7c37a44bfa9e03fdbd9ee75e30f8c7570ce8853c2c46812214ac032210374796b2bb3184959ccc59bf9e5ea865d9baa99739f1dce71a45be238eb10807b
6
+ metadata.gz: 890ab2081048b8b02b3163a7ce8cfc02f1623429c08b1d17893e58c6d1f582c3ccdf27e9fedb97c0d76496ed5c56f529c19e79d936d649c097233c2f3ffef479
7
+ data.tar.gz: c48c9ae247eee0def447eca946c048437e69feda5e28b3982723fd9db269b200529c8a1f5cca57ebae59605e1280387faebb2dade1a939dbad5b57307cce9e11
@@ -9,8 +9,8 @@ module Dandy
9
9
  @directories.each do |directory|
10
10
  dir = File.join(directory, '**/*')
11
11
  files = Dir.glob(dir).reject {|file_path| File.directory?(file_path)}
12
-
13
- files.each do |file|
12
+ test_patterns = %w(_spec.rb .spec.rb _test.rb .test.rb)
13
+ files.select {|f| !f.end_with?(*test_patterns)}.each do |file|
14
14
  path = File.join(Dir.pwd, file)
15
15
  require path
16
16
  file_name = File.basename(file).gsub(File.extname(file), '')
@@ -1,3 +1,3 @@
1
1
  module Dandy
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dandy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Kalinkin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-04 00:00:00.000000000 Z
11
+ date: 2020-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hypo