diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26ed780..35f7457 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ name: Test on: push: - branches: ['*'] + branches: [ main ] pull_request: branches: ['*'] @@ -31,11 +31,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: "${{ matrix.ruby }}" - - - name: Bundle - run: | - gem install bundler - bundle install + bundler-cache: true - name: Run tests run: | diff --git a/easy_translate.gemspec b/easy_translate.gemspec index c717aec..a42f25d 100644 --- a/easy_translate.gemspec +++ b/easy_translate.gemspec @@ -4,6 +4,7 @@ spec = Gem::Specification.new do |s| s.name = 'easy_translate' s.author = 'John Crepezzi' s.add_development_dependency('rspec') + s.add_development_dependency('rake') s.add_dependency 'thread' s.add_dependency 'thread_safe' s.description = 'easy_translate is a wrapper for the google translate API that makes sense programatically, and implements API keys'