labimotion 1.4.0.rc12 → 1.4.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 845b494d26394b1bd9a4b4aa3df035d4770fa362cd17d56f8de20f4e0e75f0ad
4
- data.tar.gz: 5099822a69c3e9184d37e79612fddb70ff780a6edb35b84a2e19f54c1904ddb9
3
+ metadata.gz: b71d187c31ec221dea2c2ac6d92bf29efbf4004e16b48cf7a2bd0a85cd1dfdd4
4
+ data.tar.gz: 4360e6cfe542ae5e9db004c0039187cdd551981abd53f81370a0be5ee10839de
5
5
  SHA512:
6
- metadata.gz: ba938cb0ae39b16ab62a38d0e0d8113ff700e7b762b817deaa2c7fdf1707cf7388792dd378628fad1631cf0314530f09b7b2127ba25d783bb1bdf73c27a0e57e
7
- data.tar.gz: 15f16e4381082263476499c747cc2fc9cab5b6e068043cb6b34069fc635ffde7bf0735837ee5a44a32044d226e8fc05e10f1fea70becea12139dc3e25a5f95ca
6
+ metadata.gz: 5fe065bae48fbf7a36b1b409a17c7ff1c805bd83ad6f04b43267c024ca25d334dd5ea1092346bea5d38226c0a4bbb773d88c7487bd6adf884ae307e31884335d
7
+ data.tar.gz: 5ad569a9c25ef3fc9f454ce60634323ed3da644d1dc663fa949bc779630f25b1d8ba1c54ea21c4c5bd57efb6146e27ebca57e86bfa6fea8a60fad37ce09e93e2
@@ -39,11 +39,11 @@ module Labimotion
39
39
  helpers do
40
40
  def convert_structure(molfile)
41
41
  molecule_viewer = Matrice.molecule_viewer
42
- if molecule_viewer.blank? || molecule_viewer[:chembox_api].blank?
42
+ if molecule_viewer.blank? || molecule_viewer[:chembox].blank?
43
43
  { molfile: molfile }
44
44
  else
45
45
  options = { timeout: 10, body: { mol: molfile }.to_json, headers: { 'Content-Type' => 'application/json' } }
46
- response = HTTParty.post("#{molecule_viewer[:chembox_api]}/core/rdkit/v1/structure", options)
46
+ response = HTTParty.post("#{molecule_viewer[:chembox]}/core/rdkit/v1/structure", options)
47
47
  if response.code == 200
48
48
  { molfile: (response.parsed_response && response.parsed_response['molfile']) || molfile }
49
49
  else
@@ -2,5 +2,5 @@
2
2
 
3
3
  ## Labimotion Version
4
4
  module Labimotion
5
- VERSION = '1.4.0.rc12'
5
+ VERSION = '1.4.0.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: labimotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.rc12
4
+ version: 1.4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chia-Lin Lin
@@ -123,9 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">"
126
+ - - ">="
127
127
  - !ruby/object:Gem::Version
128
- version: 1.3.1
128
+ version: '0'
129
129
  requirements: []
130
130
  rubygems_version: 3.1.6
131
131
  signing_key: