trecs 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 6b9b65056214045e29a8c560870c4e53b4bc04b7
4
- data.tar.gz: f8ed9275619e0d6afc1ab51f4580dbced02be455
3
+ metadata.gz: c933986cc89f765774db90b3d4c99dc73dd7bf13
4
+ data.tar.gz: ad6cbda0357ea48f2638bf55e52533372d894247
5
5
  SHA512:
6
- metadata.gz: 19da3e8a8954ded968fc30564efc5f6f0aebe8f331cca3cb75932a1cb45820d508432d026a090fa94d07dd15a027359e01b330db2a019c101b40bb3e68033b0b
7
- data.tar.gz: da0ef87b85613a53b6f0345a2f1e2e3438739fcc28e37c4a0df6ecbd30fb71f371a80d030387f2df349ec0b92df90ce4bf90e3ed7595d2e187ecbb54a1633704
6
+ metadata.gz: f7eaad12c56b862219aebd0e76113f16259e0c6cbad5027a1833aa0e9f0b9bf8e90b56a8fe0373a20b8085a88845d938346956f7fb9d8873d19b900c56e904c2
7
+ data.tar.gz: 6c7401e8926740b4740b46056a95a9dd379258dd0057e9be2ace281f5d1daaabb94e503e70b92250d13d417b1e90c9a42d411cbf25fd2cd7316835f8d189e9b3
data/Gemfile CHANGED
@@ -1,2 +1,3 @@
1
1
  source "https://rubygems.org"
2
- gemspec
2
+ gemspec
3
+
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trecs (0.0.4)
4
+ trecs (0.0.5)
5
5
  rubyzip (~> 1.1.4)
6
6
  trollop (~> 2.0)
7
7
 
@@ -1,3 +1,3 @@
1
1
  module TRecs
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
Binary file
@@ -4,8 +4,12 @@ require "recording_strategies/raw_file_strategy"
4
4
  module TRecs
5
5
  describe RawFileStrategy do
6
6
  context "initialization" do
7
- When(:strategy) { RawFileStrategy.new(file: "tmp/input_file.txt") }
8
- Then { Pathname(strategy.file).to_s == "tmp/input_file.txt" }
7
+ context "file" do
8
+ Given(:input_file) { "tmp/input_file.txt" }
9
+ Given { FileUtils.touch(input_file) }
10
+ When(:strategy) { RawFileStrategy.new(file: input_file) }
11
+ Then { Pathname(strategy.file).to_s == input_file }
12
+ end
9
13
 
10
14
  context "file keyword" do
11
15
  When(:strategy) { RawFileStrategy.new }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti
@@ -176,6 +176,7 @@ files:
176
176
  - pkg/trecs-0.0.2.alpha.gem
177
177
  - pkg/trecs-0.0.2.alpha2.gem
178
178
  - pkg/trecs-0.0.3.gem
179
+ - pkg/trecs-0.0.4.gem
179
180
  - sandbox/create_recording.rb
180
181
  - sandbox/lipsum_end
181
182
  - sandbox/lipsum_start