dwc-archive 0.5.16 → 0.5.17

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use ruby-1.9.2-p290@dwca --create
data/Gemfile ADDED
@@ -0,0 +1,18 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+
9
+ gem "parsley-store"
10
+
11
+ group :development do
12
+ gem "rspec", "~> 2.3.0"
13
+ gem "nokogiri"
14
+ gem "cucumber", ">= 0"
15
+ gem "bundler", "~> 1.0.0"
16
+ gem "jeweler", "~> 1.6.4"
17
+ gem "ruby-debug19"
18
+ end
@@ -0,0 +1,67 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ archive-tar-minitar (0.5.2)
5
+ biodiversity (1.0.5)
6
+ json
7
+ treetop
8
+ builder (3.0.0)
9
+ columnize (0.3.4)
10
+ cucumber (1.1.0)
11
+ builder (>= 2.1.2)
12
+ diff-lcs (>= 1.1.2)
13
+ gherkin (~> 2.5.0)
14
+ json (>= 1.4.6)
15
+ term-ansicolor (>= 1.0.6)
16
+ diff-lcs (1.1.3)
17
+ gherkin (2.5.4)
18
+ json (>= 1.4.6)
19
+ git (1.2.5)
20
+ jeweler (1.6.4)
21
+ bundler (~> 1.0)
22
+ git (>= 1.2.5)
23
+ rake
24
+ json (1.6.1)
25
+ linecache19 (0.5.12)
26
+ ruby_core_source (>= 0.1.4)
27
+ nokogiri (1.5.0)
28
+ parsley-store (0.2.2)
29
+ biodiversity
30
+ redis
31
+ polyglot (0.3.2)
32
+ rake (0.9.2)
33
+ redis (2.2.2)
34
+ rspec (2.3.0)
35
+ rspec-core (~> 2.3.0)
36
+ rspec-expectations (~> 2.3.0)
37
+ rspec-mocks (~> 2.3.0)
38
+ rspec-core (2.3.1)
39
+ rspec-expectations (2.3.0)
40
+ diff-lcs (~> 1.1.2)
41
+ rspec-mocks (2.3.0)
42
+ ruby-debug-base19 (0.11.25)
43
+ columnize (>= 0.3.1)
44
+ linecache19 (>= 0.5.11)
45
+ ruby_core_source (>= 0.1.4)
46
+ ruby-debug19 (0.11.6)
47
+ columnize (>= 0.3.1)
48
+ linecache19 (>= 0.5.11)
49
+ ruby-debug-base19 (>= 0.11.19)
50
+ ruby_core_source (0.1.5)
51
+ archive-tar-minitar (>= 0.5.2)
52
+ term-ansicolor (1.0.7)
53
+ treetop (1.4.10)
54
+ polyglot
55
+ polyglot (>= 0.3.1)
56
+
57
+ PLATFORMS
58
+ ruby
59
+
60
+ DEPENDENCIES
61
+ bundler (~> 1.0.0)
62
+ cucumber
63
+ jeweler (~> 1.6.4)
64
+ nokogiri
65
+ parsley-store
66
+ rspec (~> 2.3.0)
67
+ ruby-debug19
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ RSpec::Core::RakeTask.new(:rcov) do |spec|
31
31
  spec.rcov = true
32
32
  end
33
33
 
34
- task :spec => :check_dependencies
34
+ # task :spec => :check_dependencies
35
35
 
36
36
  begin
37
37
  require 'cucumber/rake/task'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.16
1
+ 0.5.17
@@ -51,6 +51,11 @@ Feature: Reading of a Darwing Core Archive
51
51
  Then I can read its content into memory
52
52
  Then I can read extensions content into memory
53
53
 
54
+ Scenario: Importing data with quotes
55
+ Given path to a dwc file "data_with_quotes.tar.gz"
56
+ When I create a new DarwinCore instance
57
+ Then I can read its content into memory
58
+
54
59
  Scenario: Importing data using block
55
60
  Given path to a dwc file "data.tar.gz"
56
61
  When I create a new DarwinCore instance
metadata CHANGED
@@ -1,80 +1,140 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dwc-archive
3
- version: !ruby/object:Gem::Version
4
- hash: 43
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.17
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 5
9
- - 16
10
- version: 0.5.16
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Dmitry Mozzherin
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-07-27 00:00:00 -04:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2011-10-20 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: parsley-store
16
+ requirement: &70101286807260 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70101286807260
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &70101286806780 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 2.3.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70101286806780
36
+ - !ruby/object:Gem::Dependency
37
+ name: nokogiri
38
+ requirement: &70101286806240 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70101286806240
47
+ - !ruby/object:Gem::Dependency
48
+ name: cucumber
49
+ requirement: &70101286805740 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70101286805740
58
+ - !ruby/object:Gem::Dependency
59
+ name: bundler
60
+ requirement: &70101286805220 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 1.0.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70101286805220
69
+ - !ruby/object:Gem::Dependency
70
+ name: jeweler
71
+ requirement: &70101286804700 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 1.6.4
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70101286804700
80
+ - !ruby/object:Gem::Dependency
81
+ name: ruby-debug19
82
+ requirement: &70101286804180 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
23
89
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
90
+ version_requirements: *70101286804180
91
+ - !ruby/object:Gem::Dependency
92
+ name: parsley-store
93
+ requirement: &70101286803580 !ruby/object:Gem::Requirement
25
94
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 23
30
- segments:
31
- - 0
32
- - 2
33
- - 0
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
34
98
  version: 0.2.0
35
99
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: rspec
39
100
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
101
+ version_requirements: *70101286803580
102
+ - !ruby/object:Gem::Dependency
103
+ name: rspec
104
+ requirement: &70101286803040 !ruby/object:Gem::Requirement
41
105
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 13
46
- segments:
47
- - 1
48
- - 2
49
- - 9
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
50
109
  version: 1.2.9
51
110
  type: :development
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: cucumber
55
111
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
112
+ version_requirements: *70101286803040
113
+ - !ruby/object:Gem::Dependency
114
+ name: cucumber
115
+ requirement: &70101286802440 !ruby/object:Gem::Requirement
57
116
  none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 0
64
- version: "0"
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
65
121
  type: :development
66
- version_requirements: *id003
67
- description: Darwin Core Archive is the current standard exchange format for GLobal Names Architecture modules. This gem makes it easy to incorporate files in Darwin Core Archive format into a ruby project.
122
+ prerelease: false
123
+ version_requirements: *70101286802440
124
+ description: Darwin Core Archive is the current standard exchange format for GLobal
125
+ Names Architecture modules. This gem makes it easy to incorporate files in Darwin
126
+ Core Archive format into a ruby project.
68
127
  email: dmozzherin at gmail dot com
69
128
  executables: []
70
-
71
129
  extensions: []
72
-
73
- extra_rdoc_files:
130
+ extra_rdoc_files:
74
131
  - LICENSE
75
132
  - README.rdoc
76
- files:
133
+ files:
77
134
  - .document
135
+ - .rvmrc
136
+ - Gemfile
137
+ - Gemfile.lock
78
138
  - LICENSE
79
139
  - README.rdoc
80
140
  - Rakefile
@@ -102,6 +162,7 @@ files:
102
162
  - spec/files/broken.tar.gz
103
163
  - spec/files/data.tar.gz
104
164
  - spec/files/data.zip
165
+ - spec/files/data_with_quotes.tar.gz
105
166
  - spec/files/eml.xml
106
167
  - spec/files/file with characters(3).gz
107
168
  - spec/files/flat_list.tar.gz
@@ -118,39 +179,28 @@ files:
118
179
  - spec/lib/xml_reader_soec.rb
119
180
  - spec/spec.opts
120
181
  - spec/spec_helper.rb
121
- has_rdoc: true
122
182
  homepage: http://github.com/GlobalNamesArchitecture/dwc-archive
123
183
  licenses: []
124
-
125
184
  post_install_message:
126
185
  rdoc_options: []
127
-
128
- require_paths:
186
+ require_paths:
129
187
  - lib
130
- required_ruby_version: !ruby/object:Gem::Requirement
188
+ required_ruby_version: !ruby/object:Gem::Requirement
131
189
  none: false
132
- requirements:
133
- - - ">="
134
- - !ruby/object:Gem::Version
135
- hash: 3
136
- segments:
137
- - 0
138
- version: "0"
139
- required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ! '>='
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
195
  none: false
141
- requirements:
142
- - - ">="
143
- - !ruby/object:Gem::Version
144
- hash: 3
145
- segments:
146
- - 0
147
- version: "0"
196
+ requirements:
197
+ - - ! '>='
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
148
200
  requirements: []
149
-
150
201
  rubyforge_project:
151
- rubygems_version: 1.5.2
202
+ rubygems_version: 1.8.6
152
203
  signing_key:
153
204
  specification_version: 3
154
205
  summary: Handler of Darwin Core Archive files
155
206
  test_files: []
156
-