Skip to content

Commit

Permalink
A few documentation tweaks and 1.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntalbott committed Apr 30, 2009
1 parent 0cf9cae commit 8202c45
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
=== 1.2.1 / 2009-04-30

* A few documentation tweaks.

=== 1.2.0 / 2009-04-30

* Added mock support for Subscriber#activate_free_trial [scottmotte].
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Rake::RDocTask.new(:docs) do |rd|
rd.options << "-t" << title << "-f" << "darkfish"
end

desc "Publish documentation."
replace_task :publish_docs => [:clean, :docs] do
host = "[email protected]"

Expand Down
1 change: 0 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
- Create a test for Subscriber#activate_free_trial once there's an API to create subscription plans.
1 change: 1 addition & 0 deletions lib/spreedly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def self.find(id)
all.detect{|e| e.id.to_s == id.to_s}
end

# Convenience method for determining if this plan is a free trial plan or not.
def trial?
(plan_type == 'free_trial')
end
Expand Down
2 changes: 1 addition & 1 deletion lib/spreedly/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Spreedly
VERSION = "1.2.0"
VERSION = "1.2.1"
end

0 comments on commit 8202c45

Please sign in to comment.