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

v0.3.6 prepared #61

Merged
merged 3 commits into from
Mar 11, 2020
Merged

v0.3.6 prepared #61

merged 3 commits into from
Mar 11, 2020

Conversation

jufemaiz
Copy link
Owner

No description provided.

@@ -380,7 +380,7 @@ def parse_nem12_300(line, options = {})
if csv[intervals_offset + 3].match(/\d{14}/).nil? || csv[intervals_offset + 3] != Time.parse(csv[intervals_offset + 3].to_s).strftime('%Y%m%d%H%M%S')
raise ArgumentError, 'UpdateDateTime is not valid'
end
if !csv[intervals_offset + 4].nil? && csv[intervals_offset + 4].match(/\d{14}/).nil? || csv[intervals_offset + 4] != Time.parse(csv[intervals_offset + 4].to_s).strftime('%Y%m%d%H%M%S')
if !csv[intervals_offset + 4].blank? && csv[intervals_offset + 4].match(/\d{14}/).nil? || !csv[intervals_offset + 4].blank? && csv[intervals_offset + 4] != Time.parse(csv[intervals_offset + 4].to_s).strftime('%Y%m%d%H%M%S')
Copy link

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. [231/192] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)

# @return [Hash] the line parsed into a hash of information
def parse_nem12_400(line)
def parse_nem12_400(line, options = {})
Copy link

Choose a reason for hiding this comment

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

Lint/UnusedMethodArgument: Unused method argument - options. If it's necessary, use _ or _options as an argument name to indicate that it won't be used. (https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars)

@coveralls
Copy link

coveralls commented Mar 10, 2020

Coverage Status

Coverage increased (+0.2%) to 98.39% when pulling 4ebca47 on feature/300-record-updates into b8702e8 on master.

@jufemaiz jufemaiz merged commit 002883e into master Mar 11, 2020
@jufemaiz jufemaiz deleted the feature/300-record-updates branch March 11, 2020 02:42
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

2 participants