configure_semian 0.1.5 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27d06cc95564f24b45b2570ad0731be6b2e3c721
4
- data.tar.gz: d2cbf92bce16d632a0ed9954ef567ef5964b14c7
3
+ metadata.gz: 99483466bedf99fd81d8af61ef5d4a5fbc56e0dd
4
+ data.tar.gz: 1a2cee0ca5791112c0a7c6a806c6dc8357363d9e
5
5
  SHA512:
6
- metadata.gz: 763ffa97b5fcc6d631f13819def3608f552f5bad2b74b827e3dd7a94410940485cfbea3791fccf54aae1ef2104046f0d122ec4a10ccd45d0daee18e49af29ac2
7
- data.tar.gz: bec2dbcdbc262509280de8f4fef8b3738218f78730287a1c1f725860e020d083c0b570756c6699fed20ca371181beeef0f8efb7cd5ae5343077c758a1db17e7a
6
+ metadata.gz: b8c210bd392fd05a8dc423d4882172da6798b4ac841ad86c5b376d3a3de79a46a01b2e5617e6b03e5ab5ec250545bfcf0e6e06ce18a758082c174ad6e49847d7
7
+ data.tar.gz: 6ca39a743bd2528a7ca9a354e16570fc3b862fc0c2ab6620523a8ca53c1392b1e0ea761e67f940394a2cd8e6c3c51dd5db4f6fa5dc85999eb086b7829ba6b955
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- configure_semian (0.1.5)
4
+ configure_semian (0.1.6)
5
5
  rails (>= 4.0.2, <= 5.2.0)
6
6
  semian
7
7
 
@@ -67,7 +67,9 @@ GEM
67
67
  marcel (0.3.3)
68
68
  mimemagic (~> 0.3.2)
69
69
  method_source (1.0.0)
70
- mimemagic (0.3.5)
70
+ mimemagic (0.3.10)
71
+ nokogiri (~> 1)
72
+ rake
71
73
  mini_mime (1.0.2)
72
74
  mini_portile2 (2.4.0)
73
75
  minitest (5.14.0)
@@ -20,7 +20,7 @@ module Net
20
20
  specs ||= ConfigureSemian::SemianConfiguration.service_configs[host.intern][path.sub('/','').intern]
21
21
  specs ||= ConfigureSemian::SemianConfiguration.service_configs[host.intern][:default]
22
22
  end
23
- specs ||= ConfigureSemian::SemianConfiguration.service_configs[:default]
23
+ specs ||= ConfigureSemian::SemianConfiguration.service_configs[:default] || {}
24
24
  timeout = specs[:timeout] || specs['timeout']
25
25
  return timeout
26
26
  end
@@ -78,7 +78,7 @@ module ConfigureSemian
78
78
  @@semian_parameters = SemianParameters.new
79
79
 
80
80
  ::Semian::NetHTTP.semian_configuration = proc do |host, port|
81
- if !self.free_hosts.include?(host)
81
+ if !self.free_hosts.include?(host) && self.service_configs.present?
82
82
  semian_options = get_semian_parameters(host, port)
83
83
  semian_options
84
84
  else
@@ -1,3 +1,3 @@
1
1
  module ConfigureSemian
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configure_semian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - supantha
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-13 00:00:00.000000000 Z
11
+ date: 2022-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -97,7 +97,7 @@ homepage: https://github.com/elarahq/configure_semian
97
97
  licenses:
98
98
  - MIT
99
99
  metadata: {}
100
- post_install_message:
100
+ post_install_message:
101
101
  rdoc_options: []
102
102
  require_paths:
103
103
  - lib
@@ -112,9 +112,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubyforge_project:
115
+ rubyforge_project:
116
116
  rubygems_version: 2.6.11
117
- signing_key:
117
+ signing_key:
118
118
  specification_version: 4
119
119
  summary: Configure Semian
120
120
  test_files: []