menu_commander 0.2.3 → 0.2.4

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: 23e8aac2db7da03b17fe9b14fb148c40465b30720e89a0b21260ac0a27089fdf
4
- data.tar.gz: 548033b637bf604419d6c975b191082d636fe3541c3aaf6e0a11ab6e49342cf8
3
+ metadata.gz: 02f69095faf2bbcf9f7e7962bf78e62e54c1391d41c28b62f518bf8186e0aa5f
4
+ data.tar.gz: 51d9e3eec8b06026e986390c17c3a2303e6df7f7dbb3b4c70d7b4f319c83354e
5
5
  SHA512:
6
- metadata.gz: 25b10ab2564ff96d6353ac1100cbedd223e444c83796fd1ed9991ba8dcf10aedd0a984f40e0326b4f94e1d4e9df2d0483145cd18d4f0de9098eba2881ddc324d
7
- data.tar.gz: 9e995b8afa4b0b4aa610b90addd94639f453cf6880f940fa77f6147d9b5a0b44c924125cc4a81240731ef20f153354b24ec058014a7f21ce475e8ac55165e305
6
+ metadata.gz: 348d9719250a64246292b4bd820d963ae867a1aa2df8c28037b059db746e310d978b323d33bdc2310c231bc26f52c9be02f9121411d6cfd8adc36543ecb217f3
7
+ data.tar.gz: 90eb7688a136911d24352894added1c69d66a0034f12ead997ac1d33e136bfa9417c9a7de75fff8125d90f9f5172de437cdc0f3b2df22ccd990dd1e08e5380b5
@@ -1,13 +1,12 @@
1
- require 'yaml'
2
- require 'yaml_extend'
3
1
  require 'tty/prompt'
2
+ require 'extended_yaml'
4
3
 
5
4
  module MenuCommander
6
5
  class Menu
7
6
  attr_reader :config
8
7
 
9
8
  def initialize(config)
10
- config = YAML.ext_load_file config if config.is_a? String
9
+ config = ExtendedYAML.load config if config.is_a? String
11
10
  @config = config
12
11
  end
13
12
 
@@ -1,3 +1,3 @@
1
1
  module MenuCommander
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: menu_commander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-22 00:00:00.000000000 Z
11
+ date: 2020-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mister_bin
@@ -53,19 +53,19 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.19'
55
55
  - !ruby/object:Gem::Dependency
56
- name: yaml_extend
56
+ name: extended_yaml
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.2'
61
+ version: '0.1'
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
- version: '0.2'
68
+ version: '0.1'
69
69
  description: Easily create menus for any command line tool using simple YAML configuration
70
70
  email: db@dannyben.com
71
71
  executables: