gli 2.16.0 → 2.16.1

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: b384eec004c6efa4d845deffda6cb648366c1ae8
4
- data.tar.gz: acec0d0cc0a7d18c8c63671faeba2cc7c4c9f1be
3
+ metadata.gz: 0acaea7f8145cb2dc60e2fd52c7da2919fd96d3b
4
+ data.tar.gz: '038717d700e0180abfc9598a7e4a5faa3e345fd6'
5
5
  SHA512:
6
- metadata.gz: b65e3465e7be11d5e1e7f13bdea384bfe31303b2213f53b33bc4756937088015431c13e32726bca5ffe5ebc9290dfcfa7d641c8fe4af84d8f736d617578b19c4
7
- data.tar.gz: 628803bb8e75ace8f3a6a3545131f4433a9ded2ec7f294163a2498da33313554ace1f3dce4b1d9914843a0a73d80c1a4dcd92dd950d9d17657ee8d80ec1bad38
6
+ metadata.gz: a5139bbf3cccb6d4da325aa3914763ba916d38d5d544363251802159910abbb3c7dcda5772542e61609fb2a94d9b0fae2b383d72d28cbe7029b43671db3cc384
7
+ data.tar.gz: caa90d49ba74a03562297d1fed3d00dc69918e30beac220605d8184d24ae89727a0f3b3742c693e50f1c8b88e8617fbf8513c0cd169a78f9c68b81f4b3d0b3b9
@@ -10,7 +10,7 @@ of syntax, but without restricting you in any way from the power of +OptionParse
10
10
  * {Source on Github}[http://github.com/davetron5000/gli]
11
11
  * RDoc[http://davetron5000.github.com/gli/rdoc/index.html]
12
12
 
13
- {<img src="https://secure.travis-ci.org/davetron5000/gli.png?branch=gli-2" alt="Build Status" />}[https://travis-ci.org/davetron5000/gli]
13
+ {<img src="https://secure.travis-ci.org/davetron5000/gli.svg?branch=gli-2" alt="Build Status" />}[https://travis-ci.org/davetron5000/gli]
14
14
 
15
15
  == Use
16
16
 
@@ -37,11 +37,7 @@ module GLI
37
37
  def create_config(global_options,options,arguments)
38
38
  config = Hash[(@app_switches.keys + @app_flags.keys).map { |option_name|
39
39
  option_value = global_options[option_name]
40
- if option_value.kind_of?(String) && option_value.respond_to?(:force_encoding)
41
- [option_name,option_value.force_encoding("utf-8")]
42
- else
43
- [option_name,option_value]
44
- end
40
+ [option_name,option_value]
45
41
  }]
46
42
  config[COMMANDS_KEY] = {}
47
43
  @app_commands.each do |name,command|
@@ -1,5 +1,5 @@
1
1
  module GLI
2
2
  unless const_defined? :VERSION
3
- VERSION = '2.16.0'
3
+ VERSION = '2.16.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0
4
+ version: 2.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Copeland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-21 00:00:00.000000000 Z
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  version: '0'
285
285
  requirements: []
286
286
  rubyforge_project: gli
287
- rubygems_version: 2.5.1
287
+ rubygems_version: 2.6.11
288
288
  signing_key:
289
289
  specification_version: 4
290
290
  summary: Build command-suite CLI apps that are awesome.