README.rdoc in cacheable_flash-0.3.2 vs README.rdoc in cacheable_flash-0.3.3
- old
+ new
@@ -1,6 +1,6 @@
-= CacheableFlash {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/pivotal/cacheable-flash] {<img src="https://secure.travis-ci.org/pboling/cacheable-flash.png?branch=master" alt="Build Status" />}[http://travis-ci.org/pboling/cacheable-flash]
+= CacheableFlash {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/pivotal/cacheable-flash] {<img src="https://secure.travis-ci.org/pboling/cacheable-flash.png?branch=master" alt="Build Status" />}[http://travis-ci.org/pboling/cacheable-flash] {<img src="http://api.coderwall.com/pboling/endorsecount.png" />}[http://coderwall.com/pboling]
== Description
This plugin enables greater levels of page caching by rendering flash
messages from a cookie using JavaScript, instead of in your Rails
@@ -117,11 +117,11 @@
@response = ActionController::TestResponse.new
end
def test_cacheable_flash_action
get :index
- asset_equal "In index", flash_cookie["notice"]
+ assert_equal "In index", flash_cookie["notice"]
end
end
=== Rspec Example
require "cacheable_flash/test_helpers"
@@ -148,11 +148,27 @@
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
6. Create new Pull Request
+== Versioning
+
+This library aims to adhere to {Semantic Versioning 2.0.0}[http://semver.org/].
+Violations of this scheme should be reported as bugs. Specifically,
+if a minor or patch version is released that breaks backward
+compatibility, a new version should be immediately released that
+restores compatibility. Breaking changes to the public API will
+only be introduced with new major versions.
+
+As a result of this policy, you can (and should) specify a
+dependency on this gem using the {Pessimistic Version Constraint}[http://docs.rubygems.org/read/chapter/16#page74] with two digits of precision.
+
+For example:
+
+ spec.add_dependency 'cacheable_flash', '~> 4.0'
+
== Copyright
-Licensed under the MIT License.
+Licensed under the MIT License. See LICENSE for further details.
-- Copyright (c) 2011-2012 Peter H. Boling (http://peterboling.com). See LICENSE for further details.
-- Copyright (c) 2007-2010 Pivotal Labs
+- Copyright (c) 2011-2012 {Peter H. Boling}[http://railsbling.com] {<img src="http://api.coderwall.com/pboling/endorsecount.png" />}[http://coderwall.com/pboling]
+- Copyright (c) 2007-2010 {Pivotal Labs}[https://coderwall.com/team/pivotal-labs]