Bladeren bron

Packaging for release 2.0.0

Edward Ocampo-Gooding 13 jaren geleden
bovenliggende
commit
03b965a123
3 gewijzigde bestanden met toevoegingen van 15 en 6 verwijderingen
  1. 10 0
      CHANGELOG
  2. 1 1
      RELEASING
  3. 4 5
      shopify_api.gemspec

+ 10 - 0
CHANGELOG

@@ -1,3 +1,13 @@
+== Version 2.0.0
+
+* Bump to 2.0.0 as this release breaks Rails 2 compatibility; we're now officially only supporting Rails 3. Rails 2 devs can follow the rails2 tag in this repo to know where we broke off
+* Refactored resources into their own source files
+* Added API limits functionality
+* Patched ActiveResource issue with roots in JSON
+* Added pending, cancelled, accepted, and declined convenience methods to ShopifyAPI::RecurringApplicationCharge
+* ShopifyAPI::Session#temp now available as a convenience method to support temporarily switching to other shops when making calls
+* Fixes to `shopify console` CLI tool
+
 == Version 1.2.5
 
 * Fix for Article#comments

+ 1 - 1
RELEASING

@@ -2,7 +2,7 @@ Releasing ShopifyAPI
 
 1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
 2. Update the version of ShopifyAPI in shopify_api.gemspec
-3. Add a CHANGELOG entry for the new release with the date (also include the updated date in shopify_api.gemspec)
+3. Add a CHANGELOG entry for the new release with the date
 4. Commit the changes with a commit message like "Packaging for release X.Y.Z"
 5. Tag the release with the version (Leave REV blank for HEAD or provide a SHA)
   $ git tag vX.Y.Z REV

+ 4 - 5
shopify_api.gemspec

@@ -2,17 +2,17 @@
 
 Gem::Specification.new do |s|
   s.name = %q{shopify_api}
-  s.version = "1.2.5"
+  s.version = "2.0.0"
   s.author = "Shopify"
 
   s.summary = %q{The Shopify API gem is a lightweight gem for accessing the Shopify admin REST web services}
-  s.description = %q{The Shopify API gem allows Ruby developers to programmatically access the admin section of Shopify stores. The API is implemented as XML over HTTP using all four verbs (GET/POST/PUT/DELETE). Each resource, like Order, Product, or Collection, has its own URL and is manipulated in isolation.}
+  s.description = %q{The Shopify API gem allows Ruby developers to programmatically access the admin section of Shopify stores. The API is implemented as JSON or XML over HTTP using all four verbs (GET/POST/PUT/DELETE). Each resource, like Order, Product, or Collection, has its own URL and is manipulated in isolation.}
   s.email = %q{developers@jadedpixel.com}
   s.homepage = %q{http://www.shopify.com/partners/apps}
 
   s.extra_rdoc_files = [
     "LICENSE",
-     "README.rdoc"
+    "README.rdoc"
   ]
   s.files         = `git ls-files`.split("\n")
   s.test_files    = `git ls-files -- {test}/*`.split("\n")
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
   s.summary = %q{ShopifyAPI is a lightweight gem for accessing the Shopify admin REST web services}
   s.license = 'MIT'
 
-  s.add_dependency("activeresource", [">= 2.2.2"])
+  s.add_dependency("activeresource", [">= 3.0.0"])
   s.add_dependency("thor", [">= 0.14.4"])
   
   if s.respond_to?(:add_development_dependency)
@@ -31,4 +31,3 @@ Gem::Specification.new do |s|
     s.add_dependency("mocha", ">= 0.9.8")
   end
 end
-