Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: patricklindsay/wice_grid
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: garethson/wice_grid
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 6 commits
  • 2 files changed
  • 2 contributors

Commits on Jun 4, 2020

  1. Update kaminari

    garethson committed Jun 4, 2020
    Copy the full SHA
    b06f066 View commit details

Commits on Jan 24, 2021

  1. relax rails constraint

    robertlaurin committed Jan 24, 2021
    Copy the full SHA
    949e9b9 View commit details
  2. Merge pull request #1 from robertlaurin/relax-rails-contraint

    relax rails constraint
    garethson authored Jan 24, 2021
    Copy the full SHA
    fa4fa05 View commit details

Commits on May 6, 2021

  1. Relax rails constraint

    garethson committed May 6, 2021
    Copy the full SHA
    764aa5c View commit details
  2. Fix rails bump

    garethson committed May 6, 2021
    Copy the full SHA
    f070ef0 View commit details

Commits on Dec 14, 2021

  1. Update wice_grid.gemspec

    garethson authored Dec 14, 2021
    Copy the full SHA
    28ca0b2 View commit details
Showing with 4 additions and 3 deletions.
  1. +2 −1 lib/wice/table_column_matrix.rb
  2. +2 −2 wice_grid.gemspec
3 changes: 2 additions & 1 deletion lib/wice/table_column_matrix.rb
Original file line number Diff line number Diff line change
@@ -56,7 +56,8 @@ def get_column_in_default_model_class_by_column_name(column_name) #:nodoc:
def init_columns_of_table(model) #:nodoc:
self[model] = HashWithIndifferentAccess.new(model.columns.index_by(&:name))
@by_table_names[model.table_name] = self[model]
self[model].each_value { |c| c.model = model }
# Breaks rails 6.1.3, and doesn't appear to be needed for read-only functionality
# self[model].each_value { |c| c.model = model }
end

alias_method :<<, :init_columns_of_table
4 changes: 2 additions & 2 deletions wice_grid.gemspec
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']
s.date = '2018-11-28'

s.add_dependency 'rails', '~> 5.0', '< 5.3'
s.add_dependency 'kaminari', ['~> 1.1.0']
s.add_dependency 'rails', '>= 5.2', '< 8'
s.add_dependency 'kaminari', ['~> 1.2.1']
s.add_dependency 'coffee-rails', ['> 3.2']

s.add_development_dependency('rake', '~> 10.1')