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 +4 -4
- data/Gemfile.lock +4 -2
- data/lib/configure_semian/net_http.rb +1 -1
- data/lib/configure_semian/semian_configuration.rb +1 -1
- data/lib/configure_semian/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99483466bedf99fd81d8af61ef5d4a5fbc56e0dd
|
|
4
|
+
data.tar.gz: 1a2cee0ca5791112c0a7c6a806c6dc8357363d9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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
|
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.
|
|
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:
|
|
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: []
|