Explorar o código

Typo fail - fix for Article#comments and push to 1.2.5

Edward Ocampo-Gooding %!s(int64=13) %!d(string=hai) anos
pai
achega
c5ab2ffe76
Modificáronse 3 ficheiros con 6 adicións e 2 borrados
  1. 4 0
      CHANGELOG
  2. 1 1
      lib/shopify_api.rb
  3. 1 1
      shopify_api.gemspec

+ 4 - 0
CHANGELOG

@@ -1,3 +1,7 @@
+== Version 1.2.5
+
+* Fix for Article#comments
+
 == Version 1.2.4
 
 * Added Article#comments

+ 1 - 1
lib/shopify_api.rb

@@ -354,7 +354,7 @@ module ShopifyAPI
     self.prefix = "/admin/blogs/:blog_id/"
     
     def comments
-      Comment.find(:all, :param => { :article_id => id })
+      Comment.find(:all, :params => { :article_id => id })
     end
   end
   

+ 1 - 1
shopify_api.gemspec

@@ -2,7 +2,7 @@
 
 Gem::Specification.new do |s|
   s.name = %q{shopify_api}
-  s.version = "1.2.4"
+  s.version = "1.2.5"
 
   s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
   s.authors = ["Tobias L\303\274tke", "Cody Fauser", "Dennis Theisen", "Edward Ocampo-Gooding"]