Skip to content

Commit

Permalink
upated readme and upgraded to 3.2 3.3 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshumishra31 committed Apr 11, 2018
1 parent 608731d commit c1e46bc
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 6 deletions.
11 changes: 11 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
appraise "spree-3-2" do
gem 'spree', '~> 3.2.0'
end

appraise "spree-3-3" do
gem 'spree', '~> 3.3.0'
end

appraise "spree-3-4" do
gem 'spree', '~> 3.4.0'
end
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
source 'https://rubygems.org'

gem 'spree', github: 'spree/spree', branch: '3-2-stable'
# Provides basic authentication functionality for testing parts of your engine
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: 'master'

group :test do
gem 'rails-controller-testing'
gem 'byebug'
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Spree::Taxjar is a sales tax extension for Spree using [SmartCalcs by TaxJar](ht
```ruby
gem 'spree_taxjar', github: 'vinsol-spree-contrib/spree_taxjar', branch: <spree-version-compatible>
```

*The `branch` option is important:* it must match the version of Spree you're using. For example, use `3-1-stable` if you're using Spree `3-1-stable` or any `3.1.x` version.

2. Install the gem using Bundler:
Expand All @@ -42,6 +42,7 @@ Spree::Taxjar is a sales tax extension for Spree using [SmartCalcs by TaxJar](ht
- Check the `TAXJAR ENABLED` checkbox
- Optionally, check `TAXJAR DEBUG ENABLED` for debugging issues
- Not recommended for production use unless debugging production issues
- Update tax rates to Spree/Taxjar calculator.

## Developing / Debugging Extension

Expand Down
12 changes: 12 additions & 0 deletions gemfiles/spree_3_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "spree", "~> 3.2.0"

group :test do
gem "rails-controller-testing"
gem "byebug"
end

gemspec path: "../"
12 changes: 12 additions & 0 deletions gemfiles/spree_3_3.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "spree", "~> 3.3.0"

group :test do
gem "rails-controller-testing"
gem "byebug"
end

gemspec path: "../"
12 changes: 12 additions & 0 deletions gemfiles/spree_3_4.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "spree", "~> 3.4.0"

group :test do
gem "rails-controller-testing"
gem "byebug"
end

gemspec path: "../"
5 changes: 4 additions & 1 deletion spree_taxjar.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.requirements << 'none'

s.add_dependency('spree_core', '~> 3.2.0')
spree_version = '>= 3.2.0', '< 4.0.0'

s.add_dependency 'spree_core', spree_version
s.add_dependency 'taxjar-ruby', '~> 1.5'

s.add_development_dependency 'capybara', '~> 2.6'
Expand All @@ -31,4 +33,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec-activemodel-mocks'
s.add_development_dependency 'vcr'
s.add_development_dependency 'webmock'
s.add_development_dependency 'appraisal'
end

0 comments on commit c1e46bc

Please sign in to comment.