Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade data table #1

Merged
merged 11 commits into from Mar 23, 2017
Merged

Upgrade data table #1

merged 11 commits into from Mar 23, 2017

Conversation

ronnietaylor
Copy link

Still in progress....

@@ -119,7 +118,7 @@ def render_rows(collection)
html = ""
collection.each_with_index do |row, row_index|
css_class = @alternate_rows && row_index % 2 == 1 ? 'alt ' : ''
if @row_style && style = @row_style.call(row, row_index)
if @row_style && style == @row_style.call(row, row_index)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may actually need to be assignment, otherwise what is style

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point and thanks. Fixed.

@aharpervc
Copy link
Contributor

A working CI configuration, be still my heart.

[
{name: 'Luke Skywalker', class: 'Jedi Knight', world: 'Star Wars', power_level: 50},
{name: 'Emporer Palpatine', class: 'Sith Lord', world: 'Star Wars', power_level: 95},
{name: 'Mithrander', class: 'Wizard', world: 'Middle Earth', power_level: 9001},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mithrandir

let(:collection) {
[
{name: 'Luke Skywalker', class: 'Jedi Knight', world: 'Star Wars', power_level: 50},
{name: 'Emporer Palpatine', class: 'Sith Lord', world: 'Star Wars', power_level: 95},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Emperor

@@ -1,12 +1,12 @@
require 'data-table'
require 'pry'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pry isn't in the gemspec

@@ -0,0 +1,161 @@
require 'byebug'
require 'pry'
require 'pry-byebug'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All three of these are missing from the gemspec

@baueric
Copy link
Contributor

baueric commented Mar 16, 2017

Preparation for locking apps at data-table v1.0 and moving axiom-rails to v2.0

Branch for version 1

Apps that include data-table gem:

@baueric baueric merged commit c261127 into master Mar 23, 2017
@aharpervc aharpervc deleted the upgrade_data_table branch April 3, 2017 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants