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

Fixed sql function type #146

Closed
wants to merge 3 commits into from

Conversation

mholyak
Copy link

@mholyak mholyak commented Apr 8, 2019

No description provided.

@@ -3,7 +3,7 @@ module Adapters
class SQLite < Abstract

def self.add_numeric(name)
@@connection.create_function name, 1, :numeric do |func, *args|
@@connection.create_function name, 1, SQLite3::Constants::TextRep::ANY do |func, *args|

Choose a reason for hiding this comment

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

Metrics/LineLength: Line is too long. [95/80]

name,
1,
SQLite3::Constants::TextRep::ANY
do |func, *args|

Choose a reason for hiding this comment

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

Lint/Syntax: unexpected token kDO
Lint/Syntax: unexpected token tPIPE

@@connection.create_function name, 1, :numeric do |func, *args|
@@connection.create_function
name,
1,

Choose a reason for hiding this comment

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

Lint/Syntax: unexpected token tCOMMA

@coveralls
Copy link

coveralls commented Apr 8, 2019

Coverage Status

Coverage remained the same at 46.038% when pulling 2883f69 on mholyak:fix-create-function-sqlite into cc5fd43 on geokit:master.

Copy link
Member

@ryankopf ryankopf left a comment

Choose a reason for hiding this comment

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

Looks good. Tests pass when this change is implemented.

@ryankopf
Copy link
Member

ryankopf commented Jan 7, 2021

I've fixed this in another pull request and merged this fix into master. Thank you for the pull request and working on getting this fixed for everyone!

@ryankopf ryankopf closed this Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants