-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from mejuri-inc/develop
Fix the use of bundler by GitHub Actions and adding gemspec to the Gemfile
- Loading branch information
Showing
3 changed files
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,21 +25,21 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
with: | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
path: vendor/bundle | ||
- uses: ruby/setup-ruby@master | ||
id: ruby | ||
with: | ||
ruby-version: ${{ env.RUBY_VERSION }} | ||
bundler: 1.17.3 | ||
bundler-cache: true | ||
- name: Install postgres client | ||
run: sudo apt-get install libpq-dev | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libcurl3-dev | ||
gem install bundler -v 1.17.3 | ||
bundle install | ||
- name: Create database | ||
run: | | ||
bundle exec rake db:create RAILS_ENV=test | ||
|
@@ -48,9 +48,9 @@ jobs: | |
bundle exec rake db:schema:load RAILS_ENV=test | ||
- name: Run tests | ||
run: REPORT_COVERAGE=true bundle exec rspec | ||
- name: Upload coverage results | ||
- name: Upload coverage results | ||
uses: actions/upload-artifact@master | ||
if: always() | ||
if: always() | ||
with: | ||
name: coverage | ||
path: coverage | ||
|
@@ -64,4 +64,4 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
runners: rubocop rails_best_practices flay | ||
target: origin/develop | ||
target: origin/develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ require 'flowcommerce_spree/version' | |
Gem::Specification.new do |s| | ||
s.name = 'flowcommerce_spree' | ||
s.version = FlowcommerceSpree::VERSION | ||
s.authors = ['Aurel Branzeanu'] | ||
s.email = ['[email protected]'] | ||
s.authors = ['Aurel Branzeanu', 'Sebastian De Luca'] | ||
s.email = ['[email protected]', '[email protected]'] | ||
s.homepage = 'https://github.com/mejuri-inc/flowcommerce_spree' | ||
s.summary = 'Integration of Spree with Flow API' | ||
s.description = 'Integration of popular Rails/Spree store framework with e-commerce Flow API' | ||
|
@@ -23,10 +23,8 @@ Gem::Specification.new do |s| | |
s.add_dependency 'colorize' | ||
s.add_dependency 'concurrent-ruby', '~> 1.0', '>= 1.1.7' | ||
s.add_dependency 'flowcommerce' | ||
# s.add_dependency 'flowcommerce-activemerchant' | ||
s.add_dependency 'flowcommerce-reference' | ||
s.add_dependency 'oj' | ||
s.add_dependency 'pg', '~> 0.21' | ||
s.add_dependency 'spree_backend', '~> 2.3.0' | ||
|
||
s.add_development_dependency 'sqlite3' | ||
end |