acts_as_caesar 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+
5
+ before_script:
6
+ - mongo mydb_test --eval 'db.addUser("travis", "test");'
data/README.textile CHANGED
@@ -2,6 +2,8 @@ h1. Description
2
2
 
3
3
  Acts As Caesar is a voting system - allowing up/down voting of objects.
4
4
 
5
+ !https://secure.travis-ci.org/PlatformQ/acts_as_caesar.png?branch=master(Build Status)!:http://travis-ci.org/PlatformQ/acts_as_caesar
6
+
5
7
  h1. Installation
6
8
 
7
9
  Simply add acts_as_caesar to your Gemfile
@@ -13,7 +13,6 @@ module ActsAsCaesar
13
13
  end
14
14
 
15
15
  def update_score
16
- puts "Updating score of #{candidate}"
17
16
  candidate.update_attribute(:score, candidate.total_candidate_score)
18
17
  end
19
18
 
@@ -1,3 +1,3 @@
1
1
  module ActsAsCaesar
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_caesar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -228,6 +228,7 @@ extra_rdoc_files: []
228
228
  files:
229
229
  - .gitignore
230
230
  - .rvmrc
231
+ - .travis.yml
231
232
  - Gemfile
232
233
  - LICENSE
233
234
  - README.textile