utils 0.98.0 → 0.99.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7b648dddabd119635d9e6f1371b5272b44b27118610b145a3fcec5f2b125ac1
4
- data.tar.gz: 2aaa35ea9a54d83f078fcff03ea95a932322ef72ddcb7b36d4d9a4bac1d80f6f
3
+ metadata.gz: 7232e4cf01c7018df6fc5f06172fe53c7677e573240b2309d37d7ce5063d9102
4
+ data.tar.gz: 4374f2832d691ae845a5c9dc578f6ec5c0fe707dbfb5341f1a1f3698dd7a8566
5
5
  SHA512:
6
- metadata.gz: 4aa8628eed6a56f6e8c1da5d336bec9bd76417dc1006a212504b3ce0bdf7dc4d293c26fbea777a8e8a3af490eb5a54ab24156dafd579b81d07cfe1a4937038b3
7
- data.tar.gz: b83d729b88f9588665d14d0508b4e7592ccd0e925dbc59c9da60f282a5033e8912e23047a64443c178f36afa13c6ef05bb294079f0741beaebf3dd46dd8f9f66
6
+ metadata.gz: 3b0ba498ca1c5f16060af527eb3c6a2f71b42fd21cebe35c54186cce18bb6cb5e324988bb2d8b28cfb0ddc1ef24e3a33b57d6c79efbf9a1465b1f5fbd758873a
7
+ data.tar.gz: b21168e8c5863a9552a689d0640793f89a229d1c5bca776e9d77c84472cba816d4614d9639003d6818008127d894575f6d6660e35cd6855d9107a62036ee8090
data/bin/charpick CHANGED
@@ -8,7 +8,7 @@
8
8
  #
9
9
  # Usage:
10
10
  # charpick # interactive search
11
- # charpick rightarrow # pre-fill the search field
11
+ # charpick rightwarrow # pre-fill the search field
12
12
  #
13
13
  # Requires the search_ui (>= 0.2), amatch, and tins gems.
14
14
 
@@ -42,8 +42,6 @@ module Charpick
42
42
  end
43
43
 
44
44
  # Downloads the UCD character database into the cache directory.
45
- #
46
- # @return [ void ]
47
45
  def self.download
48
46
  uri = URI(DATA_URL)
49
47
  Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
@@ -105,7 +103,7 @@ selected = SearchUI::Search.new(
105
103
  .map(&:first)
106
104
  },
107
105
  query: -> _answer, matches, selector {
108
- return 'Type to search names (e.g. "rightarrow").' if matches.empty?
106
+ return 'Type to search names (e.g. "rightwarrow").' if matches.empty?
109
107
  matches.each_with_index.map do |entry, i|
110
108
  line = "%s U+%04X %s" % [ entry.char, entry.codepoint, entry.name ]
111
109
  i == selector ? "→ " + SearchUI::Search.on_blue(line) : " " + line
data/bin/code_indexer CHANGED
@@ -14,7 +14,7 @@ config.code_indexer.formats.each do |format, output|
14
14
  puts "Indexing code for #{format}…"
15
15
  case format
16
16
  when 'ctags'
17
- cmd = [ 'ctags', '-f', output, '--exclude=pkg', '-R' ]
17
+ cmd = [ 'ctags', '-f', output, '--sort=no', '--exclude=pkg', '-R' ]
18
18
  config.code_indexer.verbose and cmd << '--verbose'
19
19
  when 'cscope'
20
20
  cmd = [ 'starscope', '-e', format, '-f', output, '--no-read' ]
data/lib/utils/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.98.0'
3
+ VERSION = '0.99.0'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
data/utils.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: utils 0.98.0 ruby lib
2
+ # stub: utils 0.99.0 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "utils".freeze
6
- s.version = "0.98.0".freeze
6
+ s.version = "0.99.0".freeze
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.98.0
4
+ version: 0.99.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank