configure_semian 0.1.4 → 0.1.6

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
  SHA1:
3
- metadata.gz: fb6a6d93e663300d3ef9463f07065757a37083f3
4
- data.tar.gz: 3501ee89a8e1ef135c57f2370b0d75574786dda7
3
+ metadata.gz: 99483466bedf99fd81d8af61ef5d4a5fbc56e0dd
4
+ data.tar.gz: 1a2cee0ca5791112c0a7c6a806c6dc8357363d9e
5
5
  SHA512:
6
- metadata.gz: 45d445a467312a93b593dfe5b4bfaf4cdc540c21ca9bd2ceb0fd7fc05851eb0a10f46b11ab8e27bd6869cfa4b529879aae5ac75affe060c1f7fab9ea8268f170
7
- data.tar.gz: 193135866a8ab6b9cf91b0307266db41e32d85bc0625caca9bc421bfd1317fcbe0109371559a838488bfa97dda1e67e158398babd808bc5c9f0d57e6d297b618
6
+ metadata.gz: b8c210bd392fd05a8dc423d4882172da6798b4ac841ad86c5b376d3a3de79a46a01b2e5617e6b03e5ab5ec250545bfcf0e6e06ce18a758082c174ad6e49847d7
7
+ data.tar.gz: 6ca39a743bd2528a7ca9a354e16570fc3b862fc0c2ab6620523a8ca53c1392b1e0ea761e67f940394a2cd8e6c3c51dd5db4f6fa5dc85999eb086b7829ba6b955
data/.gitignore CHANGED
@@ -6,5 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
- /lib/configure_semian/.byebug_history
10
- Gemfile.lock
9
+ /lib/configure_semian/.byebug_history
data/Gemfile.lock ADDED
@@ -0,0 +1,148 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ configure_semian (0.1.6)
5
+ rails (>= 4.0.2, <= 5.2.0)
6
+ semian
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (5.2.0)
12
+ actionpack (= 5.2.0)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailer (5.2.0)
16
+ actionpack (= 5.2.0)
17
+ actionview (= 5.2.0)
18
+ activejob (= 5.2.0)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 2.0)
21
+ actionpack (5.2.0)
22
+ actionview (= 5.2.0)
23
+ activesupport (= 5.2.0)
24
+ rack (~> 2.0)
25
+ rack-test (>= 0.6.3)
26
+ rails-dom-testing (~> 2.0)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (5.2.0)
29
+ activesupport (= 5.2.0)
30
+ builder (~> 3.1)
31
+ erubi (~> 1.4)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
+ activejob (5.2.0)
35
+ activesupport (= 5.2.0)
36
+ globalid (>= 0.3.6)
37
+ activemodel (5.2.0)
38
+ activesupport (= 5.2.0)
39
+ activerecord (5.2.0)
40
+ activemodel (= 5.2.0)
41
+ activesupport (= 5.2.0)
42
+ arel (>= 9.0)
43
+ activestorage (5.2.0)
44
+ actionpack (= 5.2.0)
45
+ activerecord (= 5.2.0)
46
+ marcel (~> 0.3.1)
47
+ activesupport (5.2.0)
48
+ concurrent-ruby (~> 1.0, >= 1.0.2)
49
+ i18n (>= 0.7, < 2)
50
+ minitest (~> 5.1)
51
+ tzinfo (~> 1.1)
52
+ arel (9.0.0)
53
+ builder (3.2.4)
54
+ concurrent-ruby (1.1.6)
55
+ crass (1.0.6)
56
+ diff-lcs (1.3)
57
+ erubi (1.9.0)
58
+ globalid (0.4.2)
59
+ activesupport (>= 4.2.0)
60
+ i18n (1.8.2)
61
+ concurrent-ruby (~> 1.0)
62
+ loofah (2.5.0)
63
+ crass (~> 1.0.2)
64
+ nokogiri (>= 1.5.9)
65
+ mail (2.7.1)
66
+ mini_mime (>= 0.1.1)
67
+ marcel (0.3.3)
68
+ mimemagic (~> 0.3.2)
69
+ method_source (1.0.0)
70
+ mimemagic (0.3.10)
71
+ nokogiri (~> 1)
72
+ rake
73
+ mini_mime (1.0.2)
74
+ mini_portile2 (2.4.0)
75
+ minitest (5.14.0)
76
+ nio4r (2.5.2)
77
+ nokogiri (1.10.9)
78
+ mini_portile2 (~> 2.4.0)
79
+ rack (2.2.2)
80
+ rack-test (1.1.0)
81
+ rack (>= 1.0, < 3)
82
+ rails (5.2.0)
83
+ actioncable (= 5.2.0)
84
+ actionmailer (= 5.2.0)
85
+ actionpack (= 5.2.0)
86
+ actionview (= 5.2.0)
87
+ activejob (= 5.2.0)
88
+ activemodel (= 5.2.0)
89
+ activerecord (= 5.2.0)
90
+ activestorage (= 5.2.0)
91
+ activesupport (= 5.2.0)
92
+ bundler (>= 1.3.0)
93
+ railties (= 5.2.0)
94
+ sprockets-rails (>= 2.0.0)
95
+ rails-dom-testing (2.0.3)
96
+ activesupport (>= 4.2.0)
97
+ nokogiri (>= 1.6)
98
+ rails-html-sanitizer (1.3.0)
99
+ loofah (~> 2.3)
100
+ railties (5.2.0)
101
+ actionpack (= 5.2.0)
102
+ activesupport (= 5.2.0)
103
+ method_source
104
+ rake (>= 0.8.7)
105
+ thor (>= 0.18.1, < 2.0)
106
+ rake (10.5.0)
107
+ rspec (3.9.0)
108
+ rspec-core (~> 3.9.0)
109
+ rspec-expectations (~> 3.9.0)
110
+ rspec-mocks (~> 3.9.0)
111
+ rspec-core (3.9.2)
112
+ rspec-support (~> 3.9.3)
113
+ rspec-expectations (3.9.2)
114
+ diff-lcs (>= 1.2.0, < 2.0)
115
+ rspec-support (~> 3.9.0)
116
+ rspec-mocks (3.9.1)
117
+ diff-lcs (>= 1.2.0, < 2.0)
118
+ rspec-support (~> 3.9.0)
119
+ rspec-support (3.9.3)
120
+ semian (0.10.2)
121
+ sprockets (3.7.2)
122
+ concurrent-ruby (~> 1.0)
123
+ rack (> 1, < 3)
124
+ sprockets-rails (3.2.1)
125
+ actionpack (>= 4.0)
126
+ activesupport (>= 4.0)
127
+ sprockets (>= 3.0.0)
128
+ thor (1.0.1)
129
+ thread_safe (0.3.6)
130
+ tzinfo (1.2.7)
131
+ thread_safe (~> 0.1)
132
+ websocket-driver (0.7.1)
133
+ websocket-extensions (>= 0.1.0)
134
+ websocket-extensions (0.1.4)
135
+
136
+ PLATFORMS
137
+ ruby
138
+
139
+ DEPENDENCIES
140
+ configure_semian!
141
+ rake (~> 10.0)
142
+ rspec
143
+
144
+ RUBY VERSION
145
+ ruby 2.4.1p111
146
+
147
+ BUNDLED WITH
148
+ 1.17.3
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.description = "Semian Connector"
14
14
  spec.homepage = "https://github.com/elarahq/configure_semian"
15
15
  spec.license = "MIT"
16
- spec.add_dependency "rails", "~>4.0.2"
16
+ spec.add_dependency "rails", ">= 4.0.2", "<= 5.2.0"
17
17
  spec.add_dependency "semian"
18
18
 
19
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
@@ -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.4"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configure_semian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
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-12 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
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.2
20
+ - - "<="
21
+ - !ruby/object:Gem::Version
22
+ version: 5.2.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 4.0.2
30
+ - - "<="
31
+ - !ruby/object:Gem::Version
32
+ version: 5.2.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: semian
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -75,6 +81,7 @@ extra_rdoc_files: []
75
81
  files:
76
82
  - ".gitignore"
77
83
  - Gemfile
84
+ - Gemfile.lock
78
85
  - LICENSE.txt
79
86
  - README.md
80
87
  - Rakefile
@@ -90,7 +97,7 @@ homepage: https://github.com/elarahq/configure_semian
90
97
  licenses:
91
98
  - MIT
92
99
  metadata: {}
93
- post_install_message:
100
+ post_install_message:
94
101
  rdoc_options: []
95
102
  require_paths:
96
103
  - lib
@@ -105,9 +112,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
112
  - !ruby/object:Gem::Version
106
113
  version: '0'
107
114
  requirements: []
108
- rubyforge_project:
115
+ rubyforge_project:
109
116
  rubygems_version: 2.6.11
110
- signing_key:
117
+ signing_key:
111
118
  specification_version: 4
112
119
  summary: Configure Semian
113
120
  test_files: []