clevic 0.14.5 → 0.14.6

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
  SHA1:
3
- metadata.gz: cf90cecae7feb77e5fbd82d20a7c4ac0f973735e
4
- data.tar.gz: 88ffb619d68d28b964c13b59bb8e3a11df775462
3
+ metadata.gz: fa53c474d9d2b2620bc6c191ea469c135bb65732
4
+ data.tar.gz: 5dca451abe9be4d23fb9268bc0cd6e80a55f7956
5
5
  SHA512:
6
- metadata.gz: 39da71315a2ff68fe97cace3bd83f04d98ead073dffc3ea2450eb5b4c58a47a3ac575751d20660bc181b0d3411248e94ee5830eb015abfec06084df215eeaa45
7
- data.tar.gz: b84691385e5f7a0b4a5152a76e109b8f86fd0a83a140e53252aae9bd5d65a952c3cedb9fa5720c5fcea4103a680331b9443c096c6293f7213fd4251357c208db
6
+ metadata.gz: d79ae6b02579a0b3e743b4c2707b0c45d9dd7d5a007c51a8f8895d4eff5fc892fa5b368225929510bca696e8f2bced54af8c3a31d9ed6e1900804c1cbf881026
7
+ data.tar.gz: dc9f3324ee35bccd5db3344707ae515c773dad44041b1eba1855dd3efefac3eb9d3e6ef999569b129e0751e1a4111b3c9b6fb7c0902a27c8e404186125c75473
@@ -1,3 +1,6 @@
1
+ == 0.14.6
2
+ * handle order attributes that don't map to model methods for Ctrl-L and Ctrl-K
3
+
1
4
  == 0.14.5
2
5
  * replace all require 'andand' with fastandand
3
6
 
data/bin/clevic CHANGED
@@ -33,7 +33,7 @@ oparser.on( '-D', '--debug' ) { |o| $options[:debug] = true }
33
33
  oparser.on( '-v', '--verbose' ) { |o| $options[:verbose] = true }
34
34
  oparser.on( '-V', '--version' ) do
35
35
  require 'clevic/version.rb'
36
- puts "clevic-#{Clevic::VERSION::STRING}"
36
+ puts "clevic-#{Clevic::VERSION}"
37
37
  exit 0
38
38
  end
39
39
  oparser.on( '-h', '-?', '--help' ) do |o|
@@ -143,6 +143,9 @@ class CacheTable < Array
143
143
  # similar to candidate <=> entity
144
144
  key, direction = attribute
145
145
  if result == 0
146
+ return nil unless entity.respond_to? key
147
+ return nil unless candidate.respond_to? key
148
+
146
149
  # compare taking ordering direction into account
147
150
  retval = compare( entity.send( key ), candidate.send( key ), direction )
148
151
 
@@ -1,3 +1,3 @@
1
1
  module Clevic #:nodoc:
2
- VERSION = '0.14.5'
2
+ VERSION = '0.14.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clevic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.5
4
+ version: 0.14.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Anderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-05 00:00:00.000000000 Z
11
+ date: 2016-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
355
355
  version: '0'
356
356
  requirements: []
357
357
  rubyforge_project:
358
- rubygems_version: 2.2.2
358
+ rubygems_version: 2.4.4
359
359
  signing_key:
360
360
  specification_version: 4
361
361
  summary: SQL table GUI with Qt / Java Swing and Sequel.