solvebio 1.8.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +86 -0
- data/lib/solvebio/cli/auth.rb +6 -4
- data/lib/solvebio/version.rb +1 -1
- metadata +28 -47
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9e77fb61141f98adebf894dd5fff6beceb0f2043
|
4
|
+
data.tar.gz: 9cf27acc8eb8d24068c95b3cbc0e9eb38e58f77a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9c985bed0c79f60db1efcb1389ac4b88b3c470f6862f398c4ea4fa77263609b145435ca8663237b273e936cbbac873abb2ee1f46541e2fb7a486861b9f96c031
|
7
|
+
data.tar.gz: ff81d99d5096e76ec5917340cd490b2b5688df944ba8e051f7cad1796242d617a9d677c9ce7d9ee39355944d6c4c13bf93623e17b2dcc79ec349db248f03cb6b
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## [v1.9.0](https://github.com/solvebio/solvebio-ruby/tree/v1.9.0) (2016-03-28)
|
4
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/v1.8.1...v1.9.0)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- Add support for domains to login cli [\#22](https://github.com/solvebio/solvebio-ruby/issues/22)
|
9
|
+
|
10
|
+
**Merged pull requests:**
|
11
|
+
|
12
|
+
- add support for login domains \(fixes \#22\) [\#23](https://github.com/solvebio/solvebio-ruby/pull/23) ([davecap](https://github.com/davecap))
|
13
|
+
|
14
|
+
## [v1.8.1](https://github.com/solvebio/solvebio-ruby/tree/v1.8.1) (2015-07-24)
|
15
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/v1.8.0...v1.8.1)
|
16
|
+
|
17
|
+
## [v1.8.0](https://github.com/solvebio/solvebio-ruby/tree/v1.8.0) (2015-07-23)
|
18
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/v1.7.8...v1.8.0)
|
19
|
+
|
20
|
+
## [v1.7.8](https://github.com/solvebio/solvebio-ruby/tree/v1.7.8) (2015-03-26)
|
21
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/v1.7.7...v1.7.8)
|
22
|
+
|
23
|
+
**Merged pull requests:**
|
24
|
+
|
25
|
+
- add beacon and changelog endpoints [\#19](https://github.com/solvebio/solvebio-ruby/pull/19) ([jsh2134](https://github.com/jsh2134))
|
26
|
+
|
27
|
+
## [v1.7.7](https://github.com/solvebio/solvebio-ruby/tree/v1.7.7) (2015-02-23)
|
28
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/1.7.6...v1.7.7)
|
29
|
+
|
30
|
+
## [1.7.6](https://github.com/solvebio/solvebio-ruby/tree/1.7.6) (2015-02-18)
|
31
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/1.7.3...1.7.6)
|
32
|
+
|
33
|
+
## [1.7.3](https://github.com/solvebio/solvebio-ruby/tree/1.7.3) (2014-12-18)
|
34
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/1.7.2...1.7.3)
|
35
|
+
|
36
|
+
## [1.7.2](https://github.com/solvebio/solvebio-ruby/tree/1.7.2) (2014-12-15)
|
37
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/1.7.1...1.7.2)
|
38
|
+
|
39
|
+
## [1.7.1](https://github.com/solvebio/solvebio-ruby/tree/1.7.1) (2014-12-14)
|
40
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/1.7.0...1.7.1)
|
41
|
+
|
42
|
+
## [1.7.0](https://github.com/solvebio/solvebio-ruby/tree/1.7.0) (2014-12-14)
|
43
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/1.6.1...1.7.0)
|
44
|
+
|
45
|
+
**Merged pull requests:**
|
46
|
+
|
47
|
+
- Refactor Ruby codebase [\#16](https://github.com/solvebio/solvebio-ruby/pull/16) ([davecap](https://github.com/davecap))
|
48
|
+
- GenomicFilter for range and position filters on genomic datasets. [\#14](https://github.com/solvebio/solvebio-ruby/pull/14) ([rocky](https://github.com/rocky))
|
49
|
+
- Rework API-key/login interaction. Add request rate-limiting. [\#13](https://github.com/solvebio/solvebio-ruby/pull/13) ([rocky](https://github.com/rocky))
|
50
|
+
- Redo how len\(\) works. len\(\) is number of things one can iterate over. .count\(\) is the total number of items. The old "paging" mode is no more, although one can still set a "page\_size". [\#12](https://github.com/solvebio/solvebio-ruby/pull/12) ([rocky](https://github.com/rocky))
|
51
|
+
|
52
|
+
## [1.6.1](https://github.com/solvebio/solvebio-ruby/tree/1.6.1) (2014-11-05)
|
53
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/1.5.2...1.6.1)
|
54
|
+
|
55
|
+
**Implemented enhancements:**
|
56
|
+
|
57
|
+
- add test coverage for SolveBio::RangeFilter [\#4](https://github.com/solvebio/solvebio-ruby/issues/4)
|
58
|
+
|
59
|
+
**Fixed bugs:**
|
60
|
+
|
61
|
+
- SolveBio::RangeFilter errors [\#3](https://github.com/solvebio/solvebio-ruby/issues/3)
|
62
|
+
|
63
|
+
**Merged pull requests:**
|
64
|
+
|
65
|
+
- Remove unused variable in assignment statement. [\#11](https://github.com/solvebio/solvebio-ruby/pull/11) ([rocky](https://github.com/rocky))
|
66
|
+
- Sorts tabulate's fields [\#10](https://github.com/solvebio/solvebio-ruby/pull/10) ([rocky](https://github.com/rocky))
|
67
|
+
- Bring in line with Python 1.6.0 - add sample and annotation resources. [\#9](https://github.com/solvebio/solvebio-ruby/pull/9) ([rocky](https://github.com/rocky))
|
68
|
+
|
69
|
+
## [1.5.2](https://github.com/solvebio/solvebio-ruby/tree/1.5.2) (2014-10-01)
|
70
|
+
[Full Changelog](https://github.com/solvebio/solvebio-ruby/compare/1.5.0...1.5.2)
|
71
|
+
|
72
|
+
**Merged pull requests:**
|
73
|
+
|
74
|
+
- Release 1.5.2 - this time, for sure [\#7](https://github.com/solvebio/solvebio-ruby/pull/7) ([rocky](https://github.com/rocky))
|
75
|
+
- Dev changes - Add tabulate code [\#6](https://github.com/solvebio/solvebio-ruby/pull/6) ([rocky](https://github.com/rocky))
|
76
|
+
- Tabulate [\#5](https://github.com/solvebio/solvebio-ruby/pull/5) ([rocky](https://github.com/rocky))
|
77
|
+
|
78
|
+
## [1.5.0](https://github.com/solvebio/solvebio-ruby/tree/1.5.0) (2014-09-23)
|
79
|
+
**Merged pull requests:**
|
80
|
+
|
81
|
+
- weekly update [\#2](https://github.com/solvebio/solvebio-ruby/pull/2) ([rocky](https://github.com/rocky))
|
82
|
+
- \(There will be more, if you want to wait until everything is finished.\) [\#1](https://github.com/solvebio/solvebio-ruby/pull/1) ([rocky](https://github.com/rocky))
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/lib/solvebio/cli/auth.rb
CHANGED
@@ -13,11 +13,12 @@ module SolveBio
|
|
13
13
|
|
14
14
|
def ask_for_credentials()
|
15
15
|
print_message('Enter your SolveBio credentials')
|
16
|
+
domain = Readline.readline('Domain (e.g. <domain>.solvebio.com): ', true)
|
16
17
|
email = Readline.readline('Email: ', true)
|
17
18
|
print 'Password (typing will be hidden): '
|
18
19
|
password = STDIN.noecho(&:gets).chomp
|
19
20
|
puts
|
20
|
-
return email, password
|
21
|
+
return domain, email, password
|
21
22
|
end
|
22
23
|
|
23
24
|
def send_install_report
|
@@ -33,14 +34,15 @@ module SolveBio
|
|
33
34
|
end
|
34
35
|
|
35
36
|
def login
|
36
|
-
email, password = ask_for_credentials
|
37
|
+
domain, email, password = ask_for_credentials
|
37
38
|
|
38
|
-
if not email or not password
|
39
|
-
puts "
|
39
|
+
if not domain or not email or not password
|
40
|
+
puts "Domain, email, and password are all required."
|
40
41
|
return false
|
41
42
|
end
|
42
43
|
|
43
44
|
data = {
|
45
|
+
:domain => domain.gsub('.solvebio.com', ''),
|
44
46
|
:email => email,
|
45
47
|
:password => password
|
46
48
|
}
|
data/lib/solvebio/version.rb
CHANGED
metadata
CHANGED
@@ -1,137 +1,118 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solvebio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.9.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- SolveBio
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-03-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: netrc
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0.7'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0.7'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rest-client
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '1.7'
|
38
|
-
- -
|
34
|
+
- - ">="
|
39
35
|
- !ruby/object:Gem::Version
|
40
36
|
version: 1.7.3
|
41
37
|
type: :runtime
|
42
38
|
prerelease: false
|
43
39
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
40
|
requirements:
|
46
|
-
- - ~>
|
41
|
+
- - "~>"
|
47
42
|
- !ruby/object:Gem::Version
|
48
43
|
version: '1.7'
|
49
|
-
- -
|
44
|
+
- - ">="
|
50
45
|
- !ruby/object:Gem::Version
|
51
46
|
version: 1.7.3
|
52
47
|
- !ruby/object:Gem::Dependency
|
53
48
|
name: addressable
|
54
49
|
requirement: !ruby/object:Gem::Requirement
|
55
|
-
none: false
|
56
50
|
requirements:
|
57
|
-
- - ~>
|
51
|
+
- - "~>"
|
58
52
|
- !ruby/object:Gem::Version
|
59
53
|
version: '2.3'
|
60
|
-
- -
|
54
|
+
- - ">="
|
61
55
|
- !ruby/object:Gem::Version
|
62
56
|
version: 2.3.6
|
63
57
|
type: :runtime
|
64
58
|
prerelease: false
|
65
59
|
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
60
|
requirements:
|
68
|
-
- - ~>
|
61
|
+
- - "~>"
|
69
62
|
- !ruby/object:Gem::Version
|
70
63
|
version: '2.3'
|
71
|
-
- -
|
64
|
+
- - ">="
|
72
65
|
- !ruby/object:Gem::Version
|
73
66
|
version: 2.3.6
|
74
67
|
- !ruby/object:Gem::Dependency
|
75
68
|
name: rake
|
76
69
|
requirement: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
70
|
requirements:
|
79
|
-
- -
|
71
|
+
- - ">="
|
80
72
|
- !ruby/object:Gem::Version
|
81
73
|
version: '0'
|
82
74
|
type: :development
|
83
75
|
prerelease: false
|
84
76
|
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
77
|
requirements:
|
87
|
-
- -
|
78
|
+
- - ">="
|
88
79
|
- !ruby/object:Gem::Version
|
89
80
|
version: '0'
|
90
81
|
- !ruby/object:Gem::Dependency
|
91
82
|
name: rdoc
|
92
83
|
requirement: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
84
|
requirements:
|
95
|
-
- -
|
85
|
+
- - ">="
|
96
86
|
- !ruby/object:Gem::Version
|
97
87
|
version: '0'
|
98
88
|
type: :development
|
99
89
|
prerelease: false
|
100
90
|
version_requirements: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
91
|
requirements:
|
103
|
-
- -
|
92
|
+
- - ">="
|
104
93
|
- !ruby/object:Gem::Version
|
105
94
|
version: '0'
|
106
95
|
- !ruby/object:Gem::Dependency
|
107
96
|
name: webmock
|
108
97
|
requirement: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
98
|
requirements:
|
111
|
-
- -
|
99
|
+
- - ">="
|
112
100
|
- !ruby/object:Gem::Version
|
113
101
|
version: '0'
|
114
102
|
type: :development
|
115
103
|
prerelease: false
|
116
104
|
version_requirements: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
105
|
requirements:
|
119
|
-
- -
|
106
|
+
- - ">="
|
120
107
|
- !ruby/object:Gem::Version
|
121
108
|
version: '0'
|
122
|
-
description:
|
123
|
-
can
|
124
|
-
|
109
|
+
description: |
|
110
|
+
SolveBio is a platform for biomedical datasets. With SolveBio you can
|
125
111
|
forget about parsing complex flat files and sifting through cryptic
|
126
|
-
|
127
112
|
datasets. Just use the Ruby Client and API to explore massive
|
128
|
-
|
129
113
|
datasets and automate just about any bioinformatics workflow.
|
130
114
|
|
131
|
-
|
132
115
|
See https://www.solvebio.com/ for more information.
|
133
|
-
|
134
|
-
'
|
135
116
|
email: contact@solvebio.com
|
136
117
|
executables:
|
137
118
|
- solvebio.rb
|
@@ -139,8 +120,9 @@ extensions: []
|
|
139
120
|
extra_rdoc_files:
|
140
121
|
- LICENSE
|
141
122
|
files:
|
142
|
-
- .bumpversion.cfg
|
143
|
-
- .gitignore
|
123
|
+
- ".bumpversion.cfg"
|
124
|
+
- ".gitignore"
|
125
|
+
- CHANGELOG.md
|
144
126
|
- Gemfile
|
145
127
|
- LICENSE
|
146
128
|
- README.md
|
@@ -205,26 +187,25 @@ files:
|
|
205
187
|
homepage: https://www.solvebio.com
|
206
188
|
licenses:
|
207
189
|
- MIT
|
190
|
+
metadata: {}
|
208
191
|
post_install_message:
|
209
192
|
rdoc_options:
|
210
|
-
- --charset=UTF-8
|
193
|
+
- "--charset=UTF-8"
|
211
194
|
require_paths:
|
212
195
|
- lib
|
213
196
|
required_ruby_version: !ruby/object:Gem::Requirement
|
214
|
-
none: false
|
215
197
|
requirements:
|
216
|
-
- -
|
198
|
+
- - ">="
|
217
199
|
- !ruby/object:Gem::Version
|
218
200
|
version: 1.9.0
|
219
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
|
-
none: false
|
221
202
|
requirements:
|
222
|
-
- -
|
203
|
+
- - ">="
|
223
204
|
- !ruby/object:Gem::Version
|
224
205
|
version: '0'
|
225
206
|
requirements: []
|
226
207
|
rubyforge_project:
|
227
|
-
rubygems_version:
|
208
|
+
rubygems_version: 2.4.5
|
228
209
|
signing_key:
|
229
210
|
specification_version: 2
|
230
211
|
summary: Ruby bindings for the SolveBio API
|