-
Notifications
You must be signed in to change notification settings - Fork 20
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
[WIP] Sequel integration #47
Conversation
# Conflicts: # Gemfile # gemfiles/activerecord42.gemfile # spec/collection_spec.rb # surrealist.gemspec
# Conflicts: # lib/surrealist/builder.rb
# Conflicts: # lib/surrealist/builder.rb # spec/collection_spec.rb # spec/orms/ar.rb
# Conflicts: # spec/orms/ar.rb
spec/orms/sequel/sequel_spec.rb
Outdated
let(:collection) { SequelItem.all } | ||
|
||
it { expect(Surrealist.surrealize_collection(collection)) | ||
.to eq([{ name: 'testing sequel' }].to_json) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expression at 18, 57 should be on its own line.
spec/orms/sequel/sequel_spec.rb
Outdated
describe 'collections' do | ||
let(:collection) { SequelItem.all } | ||
|
||
it { expect(Surrealist.surrealize_collection(collection)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Block body expression is on the same line as the block start.
spec/orms/sequel/models.rb
Outdated
Float :price | ||
end | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra blank line detected.
# Conflicts: # .rubocop.yml
# Conflicts: # lib/surrealist.rb # lib/surrealist/builder.rb # spec/orms/rom/rom_spec.rb # spec/orms/sequel/sequel.rb # spec/spec_helper.rb
@AlessandroMinali take a look. Actually i'm a bit exhausted by writing so much tests :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I don't suspect much weirdness to pop out from sequel since it behaves quite predictably.
#45 (with already merged #37)