solvebio 1.6.1 → 1.7.0

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.
Files changed (119) hide show
  1. data/.bumpversion.cfg +6 -0
  2. data/.gitignore +5 -4
  3. data/.travis.yml +1 -1
  4. data/Gemfile +3 -0
  5. data/README.md +34 -34
  6. data/Rakefile +1 -18
  7. data/bin/solvebio.rb +14 -16
  8. data/installer +64 -0
  9. data/lib/solvebio.rb +50 -11
  10. data/lib/solvebio/acccount.rb +4 -0
  11. data/lib/solvebio/annotation.rb +11 -0
  12. data/lib/solvebio/api_operations.rb +147 -0
  13. data/lib/solvebio/api_resource.rb +32 -0
  14. data/lib/solvebio/cli.rb +75 -0
  15. data/lib/solvebio/cli/auth.rb +106 -0
  16. data/lib/solvebio/cli/credentials.rb +54 -0
  17. data/lib/{cli → solvebio/cli}/irb.rb +0 -23
  18. data/lib/solvebio/cli/irbrc.rb +48 -0
  19. data/lib/solvebio/cli/tutorial.rb +12 -0
  20. data/lib/solvebio/client.rb +149 -0
  21. data/lib/solvebio/dataset.rb +60 -0
  22. data/lib/solvebio/dataset_field.rb +12 -0
  23. data/lib/solvebio/depository.rb +38 -0
  24. data/lib/solvebio/depository_version.rb +40 -0
  25. data/lib/solvebio/errors.rb +64 -0
  26. data/lib/solvebio/filter.rb +315 -0
  27. data/lib/solvebio/list_object.rb +73 -0
  28. data/lib/solvebio/locale.rb +43 -0
  29. data/lib/solvebio/query.rb +341 -0
  30. data/lib/solvebio/sample.rb +54 -0
  31. data/lib/solvebio/singleton_api_resource.rb +25 -0
  32. data/lib/solvebio/solve_object.rb +164 -0
  33. data/lib/solvebio/tabulate.rb +589 -0
  34. data/lib/solvebio/user.rb +4 -0
  35. data/lib/solvebio/util.rb +59 -0
  36. data/lib/solvebio/version.rb +3 -0
  37. data/solvebio.gemspec +10 -18
  38. data/test/helper.rb +6 -2
  39. data/test/solvebio/data/.gitignore +1 -0
  40. data/test/solvebio/data/.netrc +6 -0
  41. data/test/{data → solvebio/data}/netrc-save +0 -0
  42. data/test/solvebio/data/sample.vcf.gz +0 -0
  43. data/test/solvebio/data/test_creds +3 -0
  44. data/test/solvebio/test_annotation.rb +45 -0
  45. data/test/solvebio/test_client.rb +29 -0
  46. data/test/solvebio/test_conversion.rb +14 -0
  47. data/test/solvebio/test_credentials.rb +67 -0
  48. data/test/solvebio/test_dataset.rb +52 -0
  49. data/test/solvebio/test_depository.rb +24 -0
  50. data/test/solvebio/test_depositoryversion.rb +22 -0
  51. data/test/solvebio/test_error.rb +31 -0
  52. data/test/solvebio/test_filter.rb +86 -0
  53. data/test/solvebio/test_query.rb +282 -0
  54. data/test/solvebio/test_query_batch.rb +38 -0
  55. data/test/solvebio/test_query_init.rb +30 -0
  56. data/test/solvebio/test_query_tabulate.rb +73 -0
  57. data/test/solvebio/test_ratelimit.rb +31 -0
  58. data/test/solvebio/test_resource.rb +29 -0
  59. data/test/solvebio/test_sample_access.rb +60 -0
  60. data/test/solvebio/test_sample_download.rb +20 -0
  61. data/test/solvebio/test_tabulate.rb +129 -0
  62. data/test/solvebio/test_util.rb +39 -0
  63. metadata +100 -85
  64. data/Makefile +0 -17
  65. data/demo/README.md +0 -14
  66. data/demo/cheatsheet.rb +0 -31
  67. data/demo/dataset/facets.rb +0 -13
  68. data/demo/dataset/field.rb +0 -13
  69. data/demo/depository/README.md +0 -24
  70. data/demo/depository/all.rb +0 -13
  71. data/demo/depository/retrieve.rb +0 -13
  72. data/demo/depository/versions-all.rb +0 -13
  73. data/demo/query/query-filter.rb +0 -30
  74. data/demo/query/query.rb +0 -13
  75. data/demo/query/range-filter.rb +0 -18
  76. data/demo/test-api.rb +0 -98
  77. data/lib/cli/auth.rb +0 -122
  78. data/lib/cli/help.rb +0 -13
  79. data/lib/cli/irbrc.rb +0 -54
  80. data/lib/cli/options.rb +0 -75
  81. data/lib/client.rb +0 -154
  82. data/lib/credentials.rb +0 -67
  83. data/lib/errors.rb +0 -81
  84. data/lib/filter.rb +0 -312
  85. data/lib/locale.rb +0 -47
  86. data/lib/main.rb +0 -46
  87. data/lib/query.rb +0 -414
  88. data/lib/resource/annotation.rb +0 -23
  89. data/lib/resource/apiresource.rb +0 -241
  90. data/lib/resource/dataset.rb +0 -91
  91. data/lib/resource/datasetfield.rb +0 -37
  92. data/lib/resource/depository.rb +0 -50
  93. data/lib/resource/depositoryversion.rb +0 -69
  94. data/lib/resource/main.rb +0 -123
  95. data/lib/resource/sample.rb +0 -75
  96. data/lib/resource/solveobject.rb +0 -122
  97. data/lib/resource/user.rb +0 -5
  98. data/lib/tabulate.rb +0 -706
  99. data/lib/util.rb +0 -29
  100. data/test/Makefile +0 -9
  101. data/test/data/sample.vcf.gz +0 -0
  102. data/test/test-annotation.rb +0 -46
  103. data/test/test-auth.rb +0 -58
  104. data/test/test-client.rb +0 -27
  105. data/test/test-conversion.rb +0 -13
  106. data/test/test-dataset.rb +0 -42
  107. data/test/test-depository.rb +0 -35
  108. data/test/test-error.rb +0 -36
  109. data/test/test-filter.rb +0 -70
  110. data/test/test-netrc.rb +0 -52
  111. data/test/test-query-batch.rb +0 -40
  112. data/test/test-query-init.rb +0 -29
  113. data/test/test-query-paging.rb +0 -102
  114. data/test/test-query.rb +0 -71
  115. data/test/test-resource.rb +0 -40
  116. data/test/test-sample-access.rb +0 -59
  117. data/test/test-sample-download.rb +0 -20
  118. data/test/test-tabulate.rb +0 -131
  119. data/test/test-util.rb +0 -42
@@ -0,0 +1,31 @@
1
+ require File.expand_path('../../helper', __FILE__)
2
+
3
+ module SolveBio
4
+ class ClientRateLimit < Test::Unit::TestCase
5
+ def setup
6
+ WebMock.enable!
7
+ end
8
+
9
+ def teardown
10
+ WebMock.disable!
11
+ end
12
+
13
+ def test_rate_limit
14
+
15
+ responses = [
16
+ {:body => '{"id": 5}', :status => 429,
17
+ :headers => {:retry_after => 1}},
18
+ {:body => '{"id": 5}', :status => 200},
19
+ ]
20
+ depo = SolveBio::Depository.new('HGNC')
21
+ stub_request(:get, SolveBio.api_host + depo.url).
22
+ to_return(responses).then.to_raise(Exception)
23
+ start_time = Time.now()
24
+ SolveBio::Depository.retrieve('HGNC')
25
+ elapsed_time = Time.now() - start_time
26
+ assert(elapsed_time > 1.0,
27
+ "Should have delayed for over a second; " +
28
+ "(was %s)" % elapsed_time)
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,29 @@
1
+ require File.expand_path('../../helper', __FILE__)
2
+
3
+ module SolveBio
4
+ class TestResource < Test::Unit::TestCase
5
+ def test_SolveObject_inspect
6
+ str = SolveBio::SolveObject.new.inspect
7
+ assert(str =~ /^#<SolveBio::SolveObject:0x[[:xdigit:]]+>/,
8
+ 'empty SolveObject inspect')
9
+ str = SolveBio::SolveObject.new(62).inspect
10
+ assert(str =~ /^#<SolveBio::SolveObject:0x[[:xdigit:]]+ id=62>/,
11
+ "SolveObject inspect with id #{str}")
12
+
13
+ end
14
+
15
+ def test_Dataset_from_response
16
+ resp = {
17
+ :class_name => 'Dataset',
18
+ :depository => 'HGNC',
19
+ :depository_version => 'HGNC/1.0.0-1',
20
+ :full_name => 'HGNC/1.0.0-1/HGNC',
21
+ :name => 'HGNC',
22
+ :title => 'HGNC'
23
+ }
24
+ so = Util.to_solve_object(resp)
25
+ assert_equal SolveBio::Dataset, so.class, 'Hash -> SolveObject'
26
+ resp.keys.each {|k| assert_equal resp[k], so[k]}
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,60 @@
1
+ require File.expand_path('../../helper', __FILE__)
2
+
3
+ module SolveBio
4
+ class TestSampleAccess < Test::Unit::TestCase
5
+ def check_response(response, expect, msg)
6
+ expect.each do |key, val|
7
+ assert_equal(val, response[key], msg)
8
+ end
9
+ end
10
+
11
+ def test_insert_delete
12
+ if SolveBio.api_host == 'https://api.solvebio.com'
13
+ skip "Testing only on local/dev environments"
14
+ end
15
+
16
+ all = SolveBio::Sample.all
17
+ total = all.total
18
+ vcf_url = 'http://downloads.solvebio.com/vcf/small_sample.vcf.gz'
19
+ expect = {
20
+ 'class_name' => 'Sample',
21
+ 'annotations_count' => 0,
22
+ 'description' => '',
23
+ 'genome_build' => 'GRCh37',
24
+ 'vcf_md5' => 'a03e39e96671a01208cffd234812556d',
25
+ 'vcf_size' => 12124
26
+ }
27
+
28
+ response = SolveBio::Sample.create('GRCh37', :vcf_url => vcf_url)
29
+ check_response(response, expect,
30
+ 'create sample.vcf.gz from url')
31
+ all = SolveBio::Sample.all
32
+ assert_equal(all.total, total + 1, "After uploading an url")
33
+ total = total + 1
34
+
35
+ vcf_file = File.join(File.dirname(__FILE__), 'data/sample.vcf.gz')
36
+ response = SolveBio::Sample.create('GRCh37', {:vcf_file => vcf_file})
37
+ expect = {
38
+ 'class_name' => 'Sample',
39
+ 'annotations_count' => 0,
40
+ 'description' => '',
41
+ 'genome_build' => 'GRCh37',
42
+ 'vcf_md5' => '8d6791b0fcd3458105d3f19467ac8686',
43
+ 'vcf_size' => 593
44
+ }
45
+
46
+ check_response(response, expect,
47
+ 'create sample.vcf.gz from a file')
48
+
49
+ assert_equal(all.total, total, "After uploading a file")
50
+
51
+ sample = SolveBio::Sample.retrieve(response.id)
52
+ delete_response = sample.delete
53
+ assert_equal(delete_response.deleted, true,
54
+ 'response.deleted should be true')
55
+
56
+ all = SolveBio::Sample.all
57
+ assert_equal(all.total, total, "After deleting a file")
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,20 @@
1
+ require File.expand_path('../../helper', __FILE__)
2
+
3
+ module SolveBio
4
+ class TestSampleDownload < Test::Unit::TestCase
5
+ def test_sample_download
6
+ if SolveBio.api_host == 'https://api.solvebio.com'
7
+ skip "Testing only on local/dev environments"
8
+ end
9
+
10
+ vcf_file = File.join(File.dirname(__FILE__), 'data/sample.vcf.gz')
11
+ sample = SolveBio::Sample.create('GRCh37', {:vcf_file => vcf_file})
12
+ response = sample.download()
13
+ assert_equal(response['code'], 200,
14
+ "Download sample file status ok")
15
+ assert(File.exist?(response['filename']),
16
+ "Download sample file on filesystem")
17
+ FileUtils.rm response['filename']
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,129 @@
1
+ # -*- coding: utf-8 -*-
2
+ require File.expand_path('../../helper', __FILE__)
3
+
4
+ module SolveBio
5
+ class TestTabulate < Test::Unit::TestCase
6
+ include SolveBio::Tabulate
7
+
8
+ def test_classify
9
+ assert_equal true, '123.45'.number?
10
+ assert_equal true, '123'.number?
11
+ assert_equal false, 'spam'.number?
12
+ assert_equal true, '123'.int?
13
+ assert_equal false, '123.45'.int?
14
+
15
+ assert_equal NilClass, _type(nil)
16
+ assert_equal String, _type('foo')
17
+ assert_equal Fixnum, _type('1')
18
+ assert_equal Fixnum, _type(1)
19
+ assert_equal Fixnum, _type('\x1b[31m42\x1b[0m')
20
+ end
21
+
22
+ def test_align
23
+ assert_equal( 2, '123.45'.afterpoint)
24
+ assert_equal(-1, '1001'.afterpoint)
25
+ assert_equal(-1, 'eggs'.afterpoint)
26
+ assert_equal( 2, '123e45'.afterpoint)
27
+
28
+ assert_equal(" \u044f\u0439\u0446\u0430",
29
+ "\u044f\u0439\u0446\u0430".padleft(6))
30
+ assert_equal("\u044f\u0439\u0446\u0430 ",
31
+ "\u044f\u0439\u0446\u0430".padright(6))
32
+
33
+ assert_equal(" \u044f\u0439\u0446\u0430 ",
34
+ "\u044f\u0439\u0446\u0430".padboth(6))
35
+
36
+ assert_equal(" \u044f\u0439\u0446\u0430 ",
37
+ "\u044f\u0439\u0446\u0430".padboth(7))
38
+
39
+ assert_equal('abc', 'abc'.padright(2))
40
+ assert_equal('abc', 'abc'.padleft(2))
41
+ assert_equal('abc', 'abc'.padboth(2))
42
+
43
+
44
+ assert_equal([' 12.345 ', '-1234.5 ', ' 1.23 ',
45
+ ' 1234.5 ', ' 1e+234 ', ' 1.0e234'],
46
+ align_column(
47
+ ["12.345", "-1234.5", "1.23", "1234.5",
48
+ "1e+234", "1.0e234"], "decimal"))
49
+ end
50
+
51
+ def test_column_type
52
+ assert_equal(Fixnum, column_type(["1", "2"]))
53
+ assert_equal(Float, column_type(["1", "2.3"]))
54
+ assert_equal(String, column_type(["1", "2.3", "four"]))
55
+ assert_equal(String,
56
+ column_type(["four", '\u043f\u044f\u0442\u044c']))
57
+ assert_equal(String, column_type([nil, "brux"]))
58
+ assert_equal(Fixnum, column_type([1, 2, nil]))
59
+ end
60
+
61
+ def test_tabulate
62
+ old_verbose = $VERBOSE
63
+ $VERBOSE=nil
64
+ SolveBio::Tabulate.const_set(:TTY_COLS, 80)
65
+ $VERBOSE=old_verbose
66
+ tsv = simple_separated_format("\t")
67
+ expected = <<-EOS
68
+ foo 1
69
+ spam 23
70
+ EOS
71
+ assert_equal(expected.chomp, tabulate([["foo", 1], ["spam", 23]], [], [],
72
+ false, tsv),
73
+ 'simple separated format table')
74
+ ####################################################################
75
+ expected = <<-EOS
76
+ | буква | цифра |
77
+ |---------+---------|
78
+ | аз | 2 |
79
+ | буки | 4 |
80
+ EOS
81
+ hrow = ["\u0431\u0443\u043a\u0432\u0430", "\u0446\u0438\u0444\u0440\u0430"]
82
+ tbl = [["\u0430\u0437", 2], ["\u0431\u0443\u043a\u0438", 4]]
83
+ assert_equal(expected.chomp, SolveBio::Tabulate.tabulate(tbl, hrow),
84
+ 'org mode with header and unicode')
85
+
86
+ ###################################################################
87
+ expected = <<-EOS
88
+ | Fields | Data |
89
+ |-----------------------+---------------------------------|
90
+ | alternate_alleles | ["T"] |
91
+ | clinical_origin | ["somatic"] |
92
+ | clinical_significance | other |
93
+ | gene_symbols | ["CPB1"] |
94
+ | hg18_chromosome | 3 |
95
+ | hg19_chromosome | 3 |
96
+ | hg19_start | 148562304 |
97
+ | hg38_start | 148844517 |
98
+ | hgvs | ["NC_000003.12:g.148844517C>T"] |
99
+ | rcvaccession | RCV000060731 |
100
+ | rcvaccession_version | 2 |
101
+ | reference_allele | C |
102
+ | rsid | rs150241322 |
103
+ | type | SNV |
104
+ EOS
105
+
106
+ hash = {
107
+ "alternate_alleles" => ["T"],
108
+ "clinical_origin" => ["somatic"],
109
+ "clinical_significance"=> "other",
110
+ "gene_symbols" => ["CPB1"],
111
+ "hg18_chromosome" => "3",
112
+ "hg19_chromosome" => "3",
113
+ "hg19_start" => 148562304,
114
+ "hg38_start" => 148844517,
115
+ "hgvs" => ["NC_000003.12:g.148844517C>T"],
116
+ "rcvaccession" => "RCV000060731",
117
+ "rcvaccession_version" => 2,
118
+ "reference_allele" => "C",
119
+ "rsid" => "rs150241322",
120
+ "type" => "SNV"
121
+ }
122
+ assert_equal(expected.chomp, tabulate(hash.to_a,
123
+ ['Fields', 'Data'],
124
+ ['right', 'left']),
125
+ 'mixed data with arrays; close to actual query output')
126
+ end
127
+
128
+ end
129
+ end
@@ -0,0 +1,39 @@
1
+ require File.expand_path('../../helper', __FILE__)
2
+
3
+ module SolveBio
4
+ class TestSolveObject < Test::Unit::TestCase
5
+ # Does our kind of camelCasing works?
6
+ def test_camelcase
7
+
8
+ data =
9
+ [
10
+ ['abc', 'abc', 'no camelcase'],
11
+ ['aBcDef', 'a_bc_def', 'letters only'],
12
+ ['abc01Def', 'abc01_def', 'letters and numbers'],
13
+ ['aBcDef', 'a_bc_def', 'multiple letter match'],
14
+ ['a1B2C3', 'a1_b2_c3', 'multi letters and numbers'],
15
+ ['?Foo', '?_foo', 'weird symbols, part 1'],
16
+ ['Dataset', 'dataset', 'no camelcase with caps'],
17
+ ]
18
+ data.each do |triple|
19
+ assert_equal(triple[1],
20
+ Util.camelcase_to_underscore(triple[0]),
21
+ triple[2])
22
+ end
23
+ end
24
+
25
+ def test_pluralize
26
+ data =
27
+ [
28
+ ['depository', 'depositories', "ends in 'y'"],
29
+ ['dataset', 'datasets', "simply adds an 's'"]
30
+ ]
31
+ data.each do |triple|
32
+ assert_equal(triple[1],
33
+ Util.pluralize(triple[0]),
34
+ triple[2])
35
+ end
36
+
37
+ end
38
+ end
39
+ end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solvebio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.7.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - solvebio.com
8
+ - SolveBio
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-05 00:00:00.000000000 Z
12
+ date: 2014-12-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: netrc
@@ -91,6 +91,22 @@ dependencies:
91
91
  - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: webmock
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
94
110
  description: ! 'SolveBio is a platform for biomedical datasets. With SolveBio you
95
111
  can
96
112
 
@@ -101,7 +117,7 @@ description: ! 'SolveBio is a platform for biomedical datasets. With SolveBio yo
101
117
  datasets and automate just about any bioinformatics workflow.
102
118
 
103
119
 
104
- See https://www.solvebio.com/docs/api/ for more information.
120
+ See https://www.solvebio.com/ for more information.
105
121
 
106
122
  '
107
123
  email: contact@solvebio.com
@@ -111,77 +127,73 @@ extensions: []
111
127
  extra_rdoc_files:
112
128
  - LICENSE
113
129
  files:
130
+ - .bumpversion.cfg
114
131
  - .gitignore
115
132
  - .travis.yml
116
133
  - Gemfile
117
134
  - Gemspec
118
135
  - LICENSE
119
- - Makefile
120
136
  - README.md
121
137
  - Rakefile
122
138
  - bin/solvebio.rb
123
- - demo/README.md
124
- - demo/cheatsheet.rb
125
- - demo/dataset/facets.rb
126
- - demo/dataset/field.rb
127
- - demo/depository/README.md
128
- - demo/depository/all.rb
129
- - demo/depository/retrieve.rb
130
- - demo/depository/versions-all.rb
131
- - demo/query/query-filter.rb
132
- - demo/query/query.rb
133
- - demo/query/range-filter.rb
134
- - demo/test-api.rb
135
- - lib/cli/auth.rb
136
- - lib/cli/help.rb
137
- - lib/cli/irb.rb
138
- - lib/cli/irbrc.rb
139
- - lib/cli/options.rb
140
- - lib/client.rb
141
- - lib/credentials.rb
142
- - lib/errors.rb
143
- - lib/filter.rb
144
- - lib/locale.rb
145
- - lib/main.rb
146
- - lib/query.rb
147
- - lib/resource/annotation.rb
148
- - lib/resource/apiresource.rb
149
- - lib/resource/dataset.rb
150
- - lib/resource/datasetfield.rb
151
- - lib/resource/depository.rb
152
- - lib/resource/depositoryversion.rb
153
- - lib/resource/main.rb
154
- - lib/resource/sample.rb
155
- - lib/resource/solveobject.rb
156
- - lib/resource/user.rb
139
+ - installer
157
140
  - lib/solvebio.rb
158
- - lib/tabulate.rb
159
- - lib/util.rb
141
+ - lib/solvebio/acccount.rb
142
+ - lib/solvebio/annotation.rb
143
+ - lib/solvebio/api_operations.rb
144
+ - lib/solvebio/api_resource.rb
145
+ - lib/solvebio/cli.rb
146
+ - lib/solvebio/cli/auth.rb
147
+ - lib/solvebio/cli/credentials.rb
148
+ - lib/solvebio/cli/irb.rb
149
+ - lib/solvebio/cli/irbrc.rb
150
+ - lib/solvebio/cli/tutorial.rb
151
+ - lib/solvebio/client.rb
152
+ - lib/solvebio/dataset.rb
153
+ - lib/solvebio/dataset_field.rb
154
+ - lib/solvebio/depository.rb
155
+ - lib/solvebio/depository_version.rb
156
+ - lib/solvebio/errors.rb
157
+ - lib/solvebio/filter.rb
158
+ - lib/solvebio/list_object.rb
159
+ - lib/solvebio/locale.rb
160
+ - lib/solvebio/query.rb
161
+ - lib/solvebio/sample.rb
162
+ - lib/solvebio/singleton_api_resource.rb
163
+ - lib/solvebio/solve_object.rb
164
+ - lib/solvebio/tabulate.rb
165
+ - lib/solvebio/user.rb
166
+ - lib/solvebio/util.rb
167
+ - lib/solvebio/version.rb
160
168
  - solvebio.gemspec
161
- - test/Makefile
162
- - test/data/netrc-save
163
- - test/data/sample.vcf.gz
164
169
  - test/helper.rb
165
- - test/test-annotation.rb
166
- - test/test-auth.rb
167
- - test/test-client.rb
168
- - test/test-conversion.rb
169
- - test/test-dataset.rb
170
- - test/test-depository.rb
171
- - test/test-error.rb
172
- - test/test-filter.rb
173
- - test/test-netrc.rb
174
- - test/test-query-batch.rb
175
- - test/test-query-init.rb
176
- - test/test-query-paging.rb
177
- - test/test-query.rb
178
- - test/test-resource.rb
179
- - test/test-sample-access.rb
180
- - test/test-sample-download.rb
181
- - test/test-tabulate.rb
182
- - test/test-util.rb
170
+ - test/solvebio/data/.gitignore
171
+ - test/solvebio/data/.netrc
172
+ - test/solvebio/data/netrc-save
173
+ - test/solvebio/data/sample.vcf.gz
174
+ - test/solvebio/data/test_creds
175
+ - test/solvebio/test_annotation.rb
176
+ - test/solvebio/test_client.rb
177
+ - test/solvebio/test_conversion.rb
178
+ - test/solvebio/test_credentials.rb
179
+ - test/solvebio/test_dataset.rb
180
+ - test/solvebio/test_depository.rb
181
+ - test/solvebio/test_depositoryversion.rb
182
+ - test/solvebio/test_error.rb
183
+ - test/solvebio/test_filter.rb
184
+ - test/solvebio/test_query.rb
185
+ - test/solvebio/test_query_batch.rb
186
+ - test/solvebio/test_query_init.rb
187
+ - test/solvebio/test_query_tabulate.rb
188
+ - test/solvebio/test_ratelimit.rb
189
+ - test/solvebio/test_resource.rb
190
+ - test/solvebio/test_sample_access.rb
191
+ - test/solvebio/test_sample_download.rb
192
+ - test/solvebio/test_tabulate.rb
193
+ - test/solvebio/test_util.rb
183
194
  homepage: https://www.solvebio.com
184
- licenses: []
195
+ licenses:
196
+ - MIT
185
197
  post_install_message:
186
198
  rdoc_options:
187
199
  - --charset=UTF-8
@@ -204,27 +216,30 @@ rubyforge_project:
204
216
  rubygems_version: 1.8.23
205
217
  signing_key:
206
218
  specification_version: 2
207
- summary: SolveBio Ruby bindings.
219
+ summary: Ruby bindings for the SolveBio API
208
220
  test_files:
209
- - test/Makefile
210
- - test/data/netrc-save
211
- - test/data/sample.vcf.gz
212
221
  - test/helper.rb
213
- - test/test-annotation.rb
214
- - test/test-auth.rb
215
- - test/test-client.rb
216
- - test/test-conversion.rb
217
- - test/test-dataset.rb
218
- - test/test-depository.rb
219
- - test/test-error.rb
220
- - test/test-filter.rb
221
- - test/test-netrc.rb
222
- - test/test-query-batch.rb
223
- - test/test-query-init.rb
224
- - test/test-query-paging.rb
225
- - test/test-query.rb
226
- - test/test-resource.rb
227
- - test/test-sample-access.rb
228
- - test/test-sample-download.rb
229
- - test/test-tabulate.rb
230
- - test/test-util.rb
222
+ - test/solvebio/data/.gitignore
223
+ - test/solvebio/data/.netrc
224
+ - test/solvebio/data/netrc-save
225
+ - test/solvebio/data/sample.vcf.gz
226
+ - test/solvebio/data/test_creds
227
+ - test/solvebio/test_annotation.rb
228
+ - test/solvebio/test_client.rb
229
+ - test/solvebio/test_conversion.rb
230
+ - test/solvebio/test_credentials.rb
231
+ - test/solvebio/test_dataset.rb
232
+ - test/solvebio/test_depository.rb
233
+ - test/solvebio/test_depositoryversion.rb
234
+ - test/solvebio/test_error.rb
235
+ - test/solvebio/test_filter.rb
236
+ - test/solvebio/test_query.rb
237
+ - test/solvebio/test_query_batch.rb
238
+ - test/solvebio/test_query_init.rb
239
+ - test/solvebio/test_query_tabulate.rb
240
+ - test/solvebio/test_ratelimit.rb
241
+ - test/solvebio/test_resource.rb
242
+ - test/solvebio/test_sample_access.rb
243
+ - test/solvebio/test_sample_download.rb
244
+ - test/solvebio/test_tabulate.rb
245
+ - test/solvebio/test_util.rb