locum 0.1.6 → 0.1.8

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
- SHA1:
3
- metadata.gz: 5c7e82c90969f5dbbf4eb480ebc0705e7d1e21a5
4
- data.tar.gz: 859357358795abcda7d73e13c2977387388295e5
2
+ SHA256:
3
+ metadata.gz: 76a37f641ab8cbcea1d503bd5b278f49c700b102759a3079477137a64092c3d3
4
+ data.tar.gz: f12c3488e7fd668a42656914bef9dbec7031bdccd9ee8558ea49ebdc3b5bc12a
5
5
  SHA512:
6
- metadata.gz: cb4dfaeb7fdb6a38da376fd4be9ad3a0e87855defd074a54f990954085c2ed671307baaa3c594602381be82dd12a436b1913f285d300d0a97325c1668d516630
7
- data.tar.gz: 3bf65d4f54e926c377392285f15b6bca39488d243e02d8beec07d98efd9754520d74da57bf0cd9a1f39dd914488234d96982897e2fea85f8931683502d6c770e
6
+ metadata.gz: b4cfed922356e8e5a4d573c0caadcf9ae3fdbc2ee38bb3489684b05f06ea92b59e9294d210e759cad3877d15346e0eb4b3be596c68b296c50e864202601121a5
7
+ data.tar.gz: e65c0d27cee3bb9c8d7db0c2176edc596fdbd6f3ebf567c70fc012dfcfb8554ad40945f0c3c7beb6b87041369956a12e126db26c3cea6bee8e16daf9d9c31842
data/lib/locum/cli.rb CHANGED
@@ -31,7 +31,7 @@ module Locum
31
31
  def init
32
32
  cn.say("\nНастройка интерфейса командной строки locum.ru\n\n")
33
33
 
34
- login = options[:login] || cn.ask('login: ')
34
+ login = options[:login] || cn.ask('логин от панели управления: ')
35
35
  password = options[:password] || cn.ask('пароль: ') { |q| q.echo = false }
36
36
 
37
37
  s_out "Получаем токен https://locum.ru"
@@ -6,7 +6,7 @@ module Locum::ConfigBuilder
6
6
  CONFIG_FILE = '.locum'.freeze
7
7
 
8
8
  def self.load
9
- YAML.load_file(CONFIG_FILE)
9
+ YAML.load_file(CONFIG_FILE, permitted_classes: [Locum::Config])
10
10
  rescue Errno::ENOENT
11
11
  raise Errno::ENOENT, 'Не найден файл конфигурации. Запустите locum init, чтобы его создать'
12
12
  end
data/lib/locum/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Locum
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.8"
3
3
  end
data/locum.gemspec CHANGED
@@ -18,12 +18,12 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.6"
22
- spec.add_development_dependency "rake", "~> 10.3"
23
- spec.add_development_dependency "pry", "~> 0.10"
21
+ spec.add_development_dependency "bundler", ">= 1.6"
22
+ spec.add_development_dependency "rake", ">= 10.3"
23
+ spec.add_development_dependency "pry", ">= 0.10"
24
24
 
25
- spec.add_runtime_dependency "highline", "~> 1.6"
26
- spec.add_runtime_dependency "thor", "~> 0.19"
27
- spec.add_runtime_dependency "json", "~> 1.8"
28
- spec.add_runtime_dependency "net-ssh", "~> 3.0"
25
+ spec.add_runtime_dependency "highline", ">= 1.6"
26
+ spec.add_runtime_dependency "thor", ">= 0.19"
27
+ spec.add_runtime_dependency "json", ">= 1.8"
28
+ spec.add_runtime_dependency "net-ssh", ">= 3.0"
29
29
  end
metadata CHANGED
@@ -1,114 +1,114 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasily Shmelev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.10'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.10'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: highline
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.6'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.6'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: thor
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.19'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.19'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: json
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.8'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.8'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: net-ssh
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '3.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '3.0'
111
- description:
111
+ description:
112
112
  email:
113
113
  - sleephunter@gmail.com
114
114
  executables:
@@ -144,7 +144,7 @@ homepage: https://github.com/locumru/locum
144
144
  licenses:
145
145
  - MIT
146
146
  metadata: {}
147
- post_install_message:
147
+ post_install_message:
148
148
  rdoc_options: []
149
149
  require_paths:
150
150
  - lib
@@ -159,9 +159,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  requirements: []
162
- rubyforge_project:
163
- rubygems_version: 2.4.3
164
- signing_key:
162
+ rubygems_version: 3.3.7
163
+ signing_key:
165
164
  specification_version: 4
166
165
  summary: Locum.ru maintenance interface
167
166
  test_files: []