clevic 0.14.4 → 0.14.5

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: 5ad94261beadc545be5f346a0b2856b622dd3ec7
4
- data.tar.gz: aa0135bfc2e6c4a7ab68ec40ac8d34ccd89ba991
3
+ metadata.gz: cf90cecae7feb77e5fbd82d20a7c4ac0f973735e
4
+ data.tar.gz: 88ffb619d68d28b964c13b59bb8e3a11df775462
5
5
  SHA512:
6
- metadata.gz: ea48f8e8e7cd57ee6f4301bd83b835c8c17413d253aa8062ee13aaf646d0ffe7aaf00cfc88cc7ac9291691eef73c2262a9dbd5671dd6e7d8c91dbf0e9728a3d1
7
- data.tar.gz: 574940fb0a51cdf7286d7d3bfe13eda95cbf6ebd0a3c3f6ef4c5eaa0c4d3357aba180d9ae79bacf2d68539fa17511ab34c410df49acb0a1914e647ef58bd8b1b
6
+ metadata.gz: 39da71315a2ff68fe97cace3bd83f04d98ead073dffc3ea2450eb5b4c58a47a3ac575751d20660bc181b0d3411248e94ee5830eb015abfec06084df215eeaa45
7
+ data.tar.gz: b84691385e5f7a0b4a5152a76e109b8f86fd0a83a140e53252aae9bd5d65a952c3cedb9fa5720c5fcea4103a680331b9443c096c6293f7213fd4251357c208db
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.14.5
2
+ * replace all require 'andand' with fastandand
3
+
1
4
  == 0.14.4
2
5
  * bring up to date: add Gemfile, newer Rakefile and current home page.
3
6
 
@@ -1,4 +1,4 @@
1
- require 'andand'
1
+ require 'fastandand'
2
2
 
3
3
  module Clevic
4
4
 
@@ -74,7 +74,7 @@ class ComboDelegate
74
74
  editor.no_insert = restricted?
75
75
 
76
76
  # set the correct value in the list
77
- editor.selected_item = entity.nil? ? nil : attribute_value
77
+ editor.selected_item = entity.nil? ? nil : attribute_value
78
78
 
79
79
  # set up prefix matching when typing in the editor
80
80
  configure_prefix
@@ -1,6 +1,6 @@
1
1
  require 'date'
2
2
 
3
- require 'andand'
3
+ require 'fastandand'
4
4
 
5
5
  require 'qtext/flags.rb'
6
6
  require 'qtext/extensions.rb'
@@ -76,7 +76,7 @@ class TableModel < Qt::AbstractTableModel
76
76
  def flags( model_index )
77
77
  retval = super
78
78
 
79
- # sometimes this actually happens.
79
+ # sometimes this actually happens.
80
80
  # TODO probably a bug in the combo editor exit code
81
81
  return retval if model_index.column >= columnCount
82
82
 
@@ -86,14 +86,14 @@ class TableModel < Qt::AbstractTableModel
86
86
  end
87
87
 
88
88
  unless model_index.field.read_only? || read_only?
89
- retval |= qt_item_is_editable.to_i
89
+ retval |= qt_item_is_editable.to_i
90
90
  end
91
91
  retval
92
92
  end
93
93
 
94
94
  # values for horizontal and vertical headers
95
95
  def headerData( section, orientation, role )
96
- value =
96
+ value =
97
97
  case role
98
98
  when qt_display_role
99
99
  case orientation
@@ -233,7 +233,7 @@ class TableModel < Qt::AbstractTableModel
233
233
  return false if index.attribute == entity_class.primary_key.to_sym
234
234
 
235
235
  if ( index.column < 0 || index.column >= column_count )
236
- raise "invalid column #{index.column}"
236
+ raise "invalid column #{index.column}"
237
237
  end
238
238
 
239
239
  begin
@@ -1,5 +1,5 @@
1
1
  require 'clevic/generic_format.rb'
2
- require 'andand'
2
+ require 'fastandand'
3
3
 
4
4
  module Clevic
5
5
 
@@ -1,4 +1,4 @@
1
- require 'andand'
1
+ require 'fastandand'
2
2
  require 'clevic/swing/delegate'
3
3
 
4
4
  module Clevic
@@ -1,6 +1,6 @@
1
1
  require 'date'
2
2
 
3
- require 'andand'
3
+ require 'fastandand'
4
4
 
5
5
  require 'clevic/extensions.rb'
6
6
  require 'clevic/swing/extensions.rb'
@@ -37,7 +37,7 @@ class TableModel < javax.swing.table.AbstractTableModel
37
37
  end
38
38
 
39
39
  def add_new_item_end
40
- fireTableRowsInserted( collection.size, collection.size )
40
+ fireTableRowsInserted( collection.size, collection.size )
41
41
  end
42
42
 
43
43
  def remove_notify( rows, &block )
@@ -91,7 +91,7 @@ class TableModel < javax.swing.table.AbstractTableModel
91
91
  end
92
92
 
93
93
  def valuer_for( index )
94
- case
94
+ case
95
95
  # pull values from entity at index
96
96
  when index.field.entity_class == entity_class
97
97
  index
@@ -1,3 +1,3 @@
1
1
  module Clevic #:nodoc:
2
- VERSION = '0.14.4'
2
+ VERSION = '0.14.5'
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.4
4
+ version: 0.14.5
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-08-18 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler