fudge 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGFlMjgwNDllODA1YjQ4ODYzMjQxYzM2NDgzYmY0YThjNzMzYWFiNw==
4
+ ZDlmNjU0MTU0NGYwMWRjYTZiNWM1MDUxNTg3YzYxNDI1MjEwMzdlMw==
5
5
  data.tar.gz: !binary |-
6
- NmI2NjllN2QyZjhlYmE3YTg2MzQ4NzBkODgxNjJhM2Q1ZDRkMDAwZg==
6
+ ZGM0NWEzYWEzZThkYThhODQ1NDBjNDY0MTRiY2Q5ZTBmYWM1MzkyNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OWYwYmRmZjNjNDBiZDdmY2I2NTc4MjRlZjJiZTk2MDdhNzkwOTM5YWNhODdj
10
- NTE1OGU3NWFjOGRlN2Y4YzliYWE1NjAwMzRmMGM0NTdiY2JkZWFkMTdjMGUx
11
- MzA4ZWUyYWZjM2MwYjk0NWMzNjNhNDQ2MGZiNWM2NWE5ODE4Mjc=
9
+ MGI2NjMwNjc4Mzk2OTEwZjkzZmRhNmU2NjhmYzQwZjZhMmVlNTMyMmQwNTNm
10
+ YTg0N2NlYmViODE4MmZhNGFlY2I4MjNlYmE5YzRmNTQxZDdiOGFmZjQyOTEx
11
+ YTc1MWUyYWE4OWI2M2I2NGQ2MzBlZWM4MzFmYTM3ZmM2YTIyYWI=
12
12
  data.tar.gz: !binary |-
13
- NzY2Mzc4Y2Q5ZDU3ZTgxYzJhMDcxNzBjOWEwMmQyZTUzYWYwNGQyYWU1YTFm
14
- MzQ2ZWExN2NhNzMwMjJjZTAwYTRlYzAxZDY4ZDUxOWI0YzZiZmZlMDFlMGFh
15
- ZmNlMzYzMzBjN2NlMDY2MDE2MTg2ZmRjNGE0YjQ5MWQ5ZjRmYzM=
13
+ ZTg0Njk5ODRiNTU5NmNkNjM0MGVjNzQ1MWIwNzljMmQ0YmJkZjNhODY2OWEx
14
+ ZTMyYmM0ODgxNDUyNzQ0ZTk1ZWUxMjVjNzMzNWIzM2FiYzQ4ODBiNTVmNDc0
15
+ NDEzYmRjMTcwMmQxNGZiOTMyOGJkMDk4N2YzMjU1MjhlN2ZhZjg=
@@ -28,7 +28,7 @@ module Fudge
28
28
 
29
29
  def exclude_filter
30
30
  if (pattern = options[:exclude])
31
- "grep -v -e '#{pattern}'"
31
+ "grep -v -E '#{pattern}'"
32
32
  end
33
33
  end
34
34
  end
@@ -1,4 +1,4 @@
1
1
  module Fudge
2
2
  # Define gem version
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
@@ -26,8 +26,9 @@ EOF
26
26
  context 'with :exclude => pattern' do
27
27
  subject {described_class.new :exclude => 'spec/'}
28
28
 
29
+ # Test doesn't check result :(
29
30
  it "filters out the pattern" do
30
- cmd = "flay --diff `find . | grep -e '\\.rb$' | grep -v -e 'spec/'`"
31
+ cmd = "flay --diff `find . | grep -e '\\.rb$' | grep -v -E 'spec/'`"
31
32
  subject.should run_command cmd
32
33
  end
33
34
  end
@@ -53,8 +53,9 @@ EOF
53
53
  context 'with :exclude => pattern' do
54
54
  subject {described_class.new :exclude => 'spec/'}
55
55
 
56
+ # Test doesn't check result :(
56
57
  it "filters out the pattern" do
57
- with_pattern = "flog `find . | grep -e '\\.rb$' | grep -v -e 'spec/'`"
58
+ with_pattern = "flog `find . | grep -e '\\.rb$' | grep -v -E 'spec/'`"
58
59
  subject.should run_command with_pattern
59
60
  end
60
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fudge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sage One team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-21 00:00:00.000000000 Z
11
+ date: 2013-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor