Skip to content

Commit

Permalink
Test cacheable
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Oct 10, 2019
1 parent eec06b4 commit cc1792e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .shopify-build/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ shared:
<<: *truffle_run
label: Run browser_sniffer tests
run: .shopify-build/test-gem.sh browser_sniffer
cacheable_test: &cacheable_test
<<: *truffle_run
label: Run cacheable tests
run: .shopify-build/test-gem.sh cacheable
i18n_test: &i18n_test
<<: *truffle_run
label: Run i18n tests
Expand Down Expand Up @@ -97,6 +101,7 @@ pipelines:
- <<: *capi_specs
- <<: *truffle_specs
- <<: *browser_sniffer_test
- <<: *cacheable_test
- <<: *i18n_test
- <<: *liquid_test
- <<: *measured_test
Expand All @@ -122,6 +127,7 @@ pipelines:
- <<: *capi_specs
- <<: *truffle_specs
- <<: *browser_sniffer_test
- <<: *cacheable_test
- <<: *i18n_test
- <<: *liquid_test
- <<: *measured_test
Expand Down
6 changes: 6 additions & 0 deletions tested-gems/cacheable.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repository [email protected]:Shopify/cacheable.git

apply-patch cacheable.patch

bundle install
bundle exec rake
12 changes: 12 additions & 0 deletions tested-gems/patches/cacheable.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/cacheable.gemspec b/cacheable.gemspec
index 1acbed3..6a776da 100644
--- a/cacheable.gemspec
+++ b/cacheable.gemspec
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rails", ">= 4.2"
s.add_development_dependency "activesupport"
s.add_development_dependency "actionpack", ">= 4.1"
+ s.add_development_dependency "tzinfo-data", ">= 1.2019.3"

s.add_runtime_dependency "useragent"
s.add_runtime_dependency "msgpack"

0 comments on commit cc1792e

Please sign in to comment.