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

Update Ruby version #13

Merged
merged 2 commits into from Apr 9, 2020
Merged

Conversation

yamashush
Copy link
Contributor

Ruby 2.4
status: security maintenance
release date: 2016-12-25
EOL date: 2020-03-31

@yamashush
Copy link
Contributor Author

yamashush commented Apr 4, 2020

Ruby 2.7.0 の rspec です 🙏
出ている warning は #12 で解消します。

All examples were filtered out; ignoring {:focus=>true}

DocBase::Client
  #team!
    not set team
      raise error
  #tags
    behaves like stub connection
/Users/yamashu/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/faraday-0.15.4/lib/faraday.rb:68: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/Users/yamashu/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/faraday-0.15.4/lib/faraday/rack_builder.rb:55: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
      should eq [{:name=>"ruby"}, {:name=>"rails"}]
  #groups
    behaves like stub connection
/Users/yamashu/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/faraday-0.15.4/lib/faraday.rb:68: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/Users/yamashu/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/faraday-0.15.4/lib/faraday/rack_builder.rb:55: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
      should eq [{:id=>1, :name=>"DocBase"}, {:id=>2, :name=>"kray"}]
  #create_post
    behaves like stub connection
/Users/yamashu/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/faraday-0.15.4/lib/faraday.rb:68: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/Users/yamashu/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/faraday-0.15.4/lib/faraday/rack_builder.rb:55: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
      should eq {:body=>"memo body", :created_at=>"2015-03-10T12:01:54+09:00", :draft=>false, :groups=>[{:name=>"DocB..."}], :title=>"memo title", :url=>"https://kray.docbase.io/posts/1", :user=>{:id=>1, :name=>"danny"}}

Finished in 0.01359 seconds (files took 0.16862 seconds to load)
4 examples, 0 failures

Copy link
Member

@ttakuru88 ttakuru88 left a comment

Choose a reason for hiding this comment

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

ありがとうございます 👍

@ttakuru88 ttakuru88 merged commit 23ef801 into krayinc:master Apr 9, 2020
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