Permalink
Browse files

fix badly formatted README

  • Loading branch information...
1 parent f23c14b commit fd0552022c3082148f9f0356e0f399cd0abea87d @peterjm peterjm committed Feb 24, 2014
Showing with 4 additions and 6 deletions.
  1. +4 −6 README.rdoc
View
@@ -141,19 +141,17 @@ This package also includes the +shopify+ executable to make it easy to open up a
== Threadsafety
-ActiveResource is inherently non-threadsafe, because class variables like `ActiveResource::Base.site` and
-`ActiveResource::Base.headers` are shared between threads. This can cause conflicts when using
+ActiveResource is inherently non-threadsafe, because class variables like ActiveResource::Base.site
+and ActiveResource::Base.headers are shared between threads. This can cause conflicts when using
threaded libraries, like Sidekiq.
We have a forked version of ActiveResource that stores these class variables in threadlocal
variables. Using this forked version will allow ShopifyAPI to be used in a threaded environment.
To enable threadsafety with ShopifyAPI, add the following to your Gemfile:
-```
-gem 'activeresource', :git => 'git://github.com/Shopify/activeresource', :ref => 'e9dc76b4aa'
-gem 'shopify_api', '>= 3.3.0'
-```
+ gem 'activeresource', :git => 'git://github.com/Shopify/activeresource', :ref => 'e9dc76b4aa'
+ gem 'shopify_api', '>= 3.2.1'
== Using Development Version

0 comments on commit fd05520

Please sign in to comment.