mexico 0.0.9 → 0.0.10

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODIxZjRkYWE2NmMzYmNjYWIwMTQxZTVkNmFlNGI1NjRiMWRiYmZiYg==
4
+ YjlkOGE4MmM3ZjZiNDEwOTJhODIxZTFkOGYyOGJiNmRjMGUzZGY5Nw==
5
5
  data.tar.gz: !binary |-
6
- NDc3MmNjNjEwZGVkYzMyNmM0Yjg1YzZiNmU2NDdlYjk0MjJhMzZjOQ==
6
+ NDA4NjY1ZGJjNWY0NWFjN2VlMTM2YTE2Y2ZiZDA4ZTMyOGVkZGQ5MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWY3MzdmMTRkOWI2YzMyZmIyN2RkMWQ0YmNkNzU1Y2M4YjYxNTdhZTgzMDdm
10
- MmUxMzA5MjNhZjgyODdkNzc4NGJiMWU1ZGI0NzZhYTJkMzIzMjUzMTAxMzlm
11
- ZDNlM2ZmOWEyM2RhNTRlMzAyMmZjOTBmOGNhM2QyYjRiNjk2ZWY=
9
+ MDc4OGI0NGRkN2U1OTAwMTgzOWUwNDU4OGQzYTE4NDgxYWJmYmI2ZmRiNjhi
10
+ ZDY5ZDQ1M2U1NmZhOWRmOTg0MTA0OTkzY2M4MzI5OTJhMTgwYWRkZTBlODNi
11
+ ZWVhNDA1MzNmMDgyMWY3N2Y4ZDI4ZWNiZjNhNDMwOGJmOWNiNWU=
12
12
  data.tar.gz: !binary |-
13
- NWM4ZGFkMmU4YWY1YWExNDYwZDRiNGExYzFkZWMzMTE4ZmI5YzNjNGZiYTJl
14
- YjQxOGM0Y2IwZTZiOWM5ZjI3OWE2OWMxMzk3YzEwN2EzODFlODQ3MGMyNmFi
15
- N2VmOTAwMGIzMDhjNTU4YmE0MTY0NTM5ZGJlNTczYjIzYmEzZjc=
13
+ ODEzOGE0NDFhYTY5NzgwMjUyZWM0MDQ0NWQ0YTU3ZjM1Zjk2ZTk3NWFiZWQz
14
+ YWEzYjBiN2YyMGZmNTcxMmU2ZjQyMTY4MjA4ZmQxZDcyM2ZmYzgwM2NhNDgz
15
+ NmVkOGNjNDA5Y2U5MmQ4Mjc4NTI5YmQwNDE5N2IyMDQ3MGYzMzU=
data/README.md CHANGED
@@ -10,6 +10,14 @@ Its central organising unit is the **Corpus** class which allows researchers to
10
10
 
11
11
  ## Last Changes
12
12
 
13
+ ## 0.0.10
14
+
15
+ Completed on February 26 2014.
16
+
17
+ + [**#214**](http://intranet.sfb673.org/issues/214): FiESTA documents now have a first version of the head structure.
18
+ + [**#236**](http://intranet.sfb673.org/issues/236): Some useless or outdated requirements in the Gemfile were removed.
19
+ + [**#245**](http://intranet.sfb673.org/issues/245): IO objects in import methods now rewind before reading.
20
+
13
21
  ## 0.0.9
14
22
 
15
23
  Completed on February 11 2014.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.10
@@ -0,0 +1,5 @@
1
+ ## Release notes for version 0.0.10 – interface fixes
2
+
3
+ + [**#214**](http://intranet.sfb673.org/issues/214): FiESTA documents now have a first version of the head structure.
4
+ + [**#236**](http://intranet.sfb673.org/issues/236): Some useless or outdated requirements in the Gemfile were removed.
5
+ + [**#245**](http://intranet.sfb673.org/issues/245): IO objects in import methods now rewind before reading.
@@ -31,6 +31,9 @@ class Mexico::Fiesta::Interfaces::B6ChatGameInterface
31
31
  # @param io [IO] The IO object to read from.
32
32
  # @return [FiestaDocument] on success, the corresponding FiESTA document.
33
33
  def import(io=$stdin)
34
+
35
+ io.rewind
36
+
34
37
  fiesta_document = FiestaDocument.new
35
38
  f = fiesta_document
36
39
 
@@ -37,6 +37,9 @@ class Mexico::Fiesta::Interfaces::ElanInterface
37
37
 
38
38
  def import(io=$stdin, params = {})
39
39
  puts 'instance method import'
40
+
41
+ io.rewind
42
+
40
43
  encoding = params.has_key?(:encoding) ? params[:encoding] : 'UTF-8'
41
44
  xmldoc = ::Nokogiri::XML(io)
42
45
 
@@ -34,6 +34,9 @@ class Mexico::Fiesta::Interfaces::ShortTextGridInterface
34
34
 
35
35
  def import(io=$stdin, params = {})
36
36
  puts 'instance method import'
37
+
38
+ io.rewind
39
+
37
40
  encoding = params.has_key?(:encoding) ? params[:encoding] : 'UTF-16'
38
41
 
39
42
  fdoc = FiestaDocument.new
@@ -34,6 +34,8 @@ class Mexico::Fiesta::Interfaces::TextGridInterface
34
34
 
35
35
  def import(io=$stdin, params = {})
36
36
 
37
+ io.rewind
38
+
37
39
  fdoc = FiestaDocument.new
38
40
  timeline = fdoc.add_standard_timeline('s')
39
41
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mexico
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Menke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-25 00:00:00.000000000 Z
11
+ date: 2014-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -246,6 +246,7 @@ files:
246
246
  - features/step_definitions/mexico_steps.rb
247
247
  - features/support/env.rb
248
248
  - info/releasenotes/0.0.1.md
249
+ - info/releasenotes/0.0.10.md
249
250
  - info/releasenotes/0.0.2.md
250
251
  - info/releasenotes/0.0.3.md
251
252
  - info/releasenotes/0.0.4.md