solvebio 1.7.8 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 1.7.8
2
+ current_version = 1.8.0
3
3
  files = lib/solvebio/version.rb
4
4
  commit = True
5
5
  tag = True
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- [![Build Status](https://travis-ci.org/solvebio/solvebio-ruby.svg)](https://travis-ci.org/solvebio/solvebio-ruby)
1
+ [ ![Codeship Status for
2
+ solvebio/solvebio-ruby](https://codeship.com/projects/29665650-c42f-0132-1c4e-2229894e097b/status?branch=master)](https://codeship.com/projects/74058)
2
3
 
3
4
  SolveBio Ruby Client
4
5
  ====================
@@ -25,6 +25,7 @@ module SolveBio
25
25
  # Parameters:
26
26
  # - `dataset_id`: Unique ID of dataset to query.
27
27
  # - `genome_build`: The genome build to use for the query.
28
+ # - `query` (optional): Query string.
28
29
  # - `fields` (optional): List of specific fields to retrieve.
29
30
  # - `filters` (optional): List of filter objects.
30
31
  # - `limit` (optional): Maximum number of query results to return.
@@ -39,6 +40,7 @@ module SolveBio
39
40
  @genome_build = params[:genome_build]
40
41
  @fields = params[:fields]
41
42
  @filters = params[:filters].kind_of?(SolveBio::Filter) ? params[:filters].filters : (params[:filters] || [])
43
+ @query = params[:query]
42
44
 
43
45
  @response = nil
44
46
  # limit defines the total number of results that will be returned
@@ -74,6 +76,7 @@ module SolveBio
74
76
  q = Query.new(@dataset_id, {
75
77
  :data_url => @data_url,
76
78
  :genome_build => @genome_build,
79
+ :query => @query,
77
80
  :fields => @fields,
78
81
  :limit => @limit,
79
82
  :page_size => @page_size
@@ -280,6 +283,7 @@ module SolveBio
280
283
 
281
284
  q[:fields] = @fields if @fields
282
285
  q[:genome_build] = @genome_build if @genome_build
286
+ q[:query] = @query if @query
283
287
 
284
288
  return q
285
289
  end
@@ -1,3 +1,3 @@
1
1
  module SolveBio
2
- VERSION = '1.7.8'
2
+ VERSION = '1.8.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solvebio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.8
4
+ version: 1.8.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-26 00:00:00.000000000 Z
12
+ date: 2015-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: netrc
@@ -141,7 +141,6 @@ extra_rdoc_files:
141
141
  files:
142
142
  - .bumpversion.cfg
143
143
  - .gitignore
144
- - .travis.yml
145
144
  - Gemfile
146
145
  - LICENSE
147
146
  - README.md
@@ -1,19 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- before_script:
4
- - gem install netrc --version=0.7.7
5
- - gem install rest-client addressable webmock
6
- - touch ~/.netrc
7
- - chmod 0600 ~/.netrc
8
- env:
9
- global:
10
- - COLUMNS=80
11
- script: rake
12
- rvm:
13
- - 1.9.3
14
- - 2.0.0
15
- - 2.1.1
16
- - 2.1.2
17
- notifications:
18
- slack:
19
- secure: aIpZOAZwIk/3ZToZqAPEdM4yKyD6UuDmR+KyH2eL+24mTxU+Jp8hum02LlRsdeOXweup9Ov/h7SuDQXfEt506oLmkhfDwk+v2j2RkHmFco4l4M+rI1QAtJw1xhzrscwgnJqkW8n81U5Se84KzU+x7N6EvDcki8G1KlbuU2A9f74=