castle-log 0.0.3 → 0.0.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.
data/spec/file_spec.rb CHANGED
@@ -10,6 +10,8 @@ describe Castle::Log::File do
10
10
 
11
11
  it { should have(1).sessions }
12
12
 
13
+ its(:duration) { should be_within(0.1).of(569.2) }
14
+
13
15
  end
14
16
 
15
17
  context 'data file multi-line-notes.csv' do
@@ -30,6 +32,8 @@ describe Castle::Log::File do
30
32
 
31
33
  it { should have(5).sessions }
32
34
 
35
+ its(:duration) { should be_within(0.1).of(945.0) }
36
+
33
37
  its(:notes) { should eql('Agri-duck 14 sep 12') }
34
38
 
35
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: castle-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Veys
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-06 00:00:00.000000000 Z
11
+ date: 2013-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -130,6 +130,7 @@ extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
132
  - .gitignore
133
+ - .rspec
133
134
  - .travis.yml
134
135
  - Gemfile
135
136
  - LICENSE.txt