ruby-watchr 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ module Watchr
15
15
  # @param {Array} Array of file paths.
16
16
  #
17
17
  def initialize(files)
18
- super({})
18
+ super(:continue => true)
19
19
 
20
20
  flog(files)
21
21
  process_result
@@ -1,3 +1,3 @@
1
1
  module Watchr
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
@@ -8,7 +8,13 @@ describe Watchr::Analyse do
8
8
  subject { analyse.files }
9
9
 
10
10
  its(:count) { should == 2 }
11
- its(:first) { subject.class.should == Watchr::FileAnalyse }
11
+
12
+ describe 'first' do
13
+ subject { analyse.files.first }
14
+
15
+ its(:class) { should == Watchr::FileAnalyse }
16
+ its(:path) { should == 'spec/fixtures/class.rb' }
17
+ end
12
18
  end
13
19
 
14
20
  describe '#path' do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 5
9
- version: 0.3.5
8
+ - 6
9
+ version: 0.3.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Petr Janda
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-08-15 00:00:00 +02:00
17
+ date: 2012-11-05 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency