Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Travis ci #1

Open
wants to merge 161 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
418def1
Fixed NameError: uninitialized constant RAILS_DEFAULT_LOGGER; added e…
kossnocorp Nov 30, 2009
3303269
Version bump to 0.1.1
Mar 24, 2010
ad00194
Added the gemspec to the repository
Mar 24, 2010
693029e
Removed the 'vote_fu inititalised properly message'
Jul 22, 2010
ac77b18
Version bump to 0.1.2
Jul 22, 2010
b15dece
Updated gemspec
Jul 22, 2010
5fd4901
Huge updates:
Aug 3, 2010
7aa70b1
Fixed karma.
Aug 3, 2010
8626ede
Version bump to 0.2.2
Aug 3, 2010
fd72117
Added vote_exclusively_for and vote_exclusively_against.
Aug 6, 2010
d34dc5f
Version bump to 0.2.3
Aug 6, 2010
65dc8c6
Added :weight option to specify a multiplier when calculating karma.
Aug 27, 2010
81973a4
Version bump to 0.3.0
Aug 27, 2010
a516ccb
Regen gemspec.
Aug 27, 2010
2475814
Voteables should destroy their votes when they are removed.
Sep 5, 2010
37d072c
Version bump to 0.3.1
Sep 5, 2010
c0a9b66
Updated gemspec.
Sep 5, 2010
848bb60
Don't need to be so explicit with the conditionals.
Sep 24, 2010
ce806bd
Make tally query Postgres friendly
Nov 9, 2010
e0082c4
Symbolize migration.
Dec 4, 2010
55c2257
Index key too long for MySQL.
Dec 5, 2010
1f6e257
Fix for joshuap's reported issue with #tally breaking when using :at_…
Dec 17, 2010
6f5d956
Version bump to 0.3.2
Dec 17, 2010
bc471e2
Updated gemspec to take version from VERSION.
Dec 17, 2010
605bcd6
use new methods autoload_paths and autoload_once_paths in initializer
mixr Nov 12, 2010
e91f3b2
Fixing documentation for vote_exclusively_against call.
Jan 11, 2011
e75edbd
Add generator option, unique-voting, to allow you to generate migrati…
Jan 12, 2011
dff080b
Start of the test suite for thumbs_up
Jan 13, 2011
c909fc1
Testing most of the acts_as_voter methods.
Jan 13, 2011
478652a
Merge branch 'master' of https://github.com/czarneckid/thumbs_up
Jan 13, 2011
1feb7ec
Added tests for acts_as_voteable instance methods.
Jan 13, 2011
5b69912
Fix bug with raising ArgumentError in vote method. More acts_as_voter…
Jan 15, 2011
70d55e8
Adding tally method tests.
Jan 16, 2011
0522461
Merge https://github.com/czarneckid/thumbs_up
Feb 13, 2011
0778627
Implemented rank_tally functionality
WillAyd Mar 14, 2011
a6cf4e6
Bumped version.
Apr 1, 2011
a615b7e
Fix lib/acts_as_voteable.rb:62: syntax error, unexpected '\n'
oponder Apr 3, 2011
4ad56ac
Version bump.
Apr 3, 2011
a892cc9
Implemented #percent_for and #percent_against methods
May 1, 2011
fab18fa
Merge pull request #13 from timurvafin/feature/percents.
May 4, 2011
785c1c4
Updates to the README. Renamed rank_tally to the more intuitive plusm…
bouchard Aug 31, 2011
d148513
Moved to simplecov instead of rcov for Ruby 1.9.x.
bouchard Sep 1, 2011
d0cb558
Unicode chars in gemspec were blowing up Pow.cx in development.
bouchard Sep 15, 2011
1210385
Apologies to Wojciech Wnętrzak, but his last name was blowing up Ruby…
bouchard Nov 9, 2011
04cdace
Added missing :limit option to #plusminus_tally.
bouchard Nov 27, 2011
d2e6369
Bumped version.
bouchard Nov 27, 2011
00fea11
Updated README to document how to query the direction of a voter's vote.
zeantsoi Dec 9, 2011
d3e6161
Updated README to document how to query the direction of a voter's vote.
zeantsoi Dec 9, 2011
73ec222
Merge pull request #24 from zeantsoi/master
Dec 10, 2011
9762762
Added :conditions argument to #plusminus_tally.
bouchard Dec 31, 2011
b8f6537
Version bump.
bouchard Dec 31, 2011
1a40e23
Merge branch 'master' of github.com:brady8/thumbs_up
bouchard Dec 31, 2011
dd989d8
Updated README doc
dfischer Jan 16, 2012
3913862
Heading level
dfischer Jan 16, 2012
20b1e78
added method unvote_for
Jan 16, 2012
5770b74
added unvote_for method to README
Jan 16, 2012
d91cb00
Merge pull request #32 from joeellis/master
Jan 17, 2012
cce2789
Update README.markdown
Jan 17, 2012
9ab5c5d
Merge pull request #31 from dfischer/master
Jan 17, 2012
2ad8cef
Version bump to 0.5.0, with #tally speedups!
bouchard Feb 17, 2012
f3cdbf3
We don't need such a high version of Rubygems.
bouchard Feb 23, 2012
76bf4aa
Added fix and test for issue #37.
bouchard Feb 23, 2012
64db636
Alias #clear_votes.
bouchard Feb 23, 2012
dce5b35
Forgot to save a file...
bouchard Feb 23, 2012
405d49e
Rakefile.
bouchard Feb 23, 2012
49f284c
Added support for STI inherited classes
arjun810 Feb 26, 2012
c5be50d
Merge pull request #39 from arjun810/master
Feb 27, 2012
11335e4
Bump to version 0.5.2.
bouchard Mar 5, 2012
0b01144
Merge branch 'master' of github.com:brady8/thumbs_up
bouchard Mar 5, 2012
5f74ec5
Bump to 0.5.3.
bouchard Mar 5, 2012
2f1f9ca
Travis-ci.
bouchard Mar 7, 2012
a884dcb
Adding Gemfile source to help Travis CI.
bouchard Mar 7, 2012
10da60b
Setting up MySQL in the Travis CI test enviro.
bouchard Mar 7, 2012
f35c1ba
Test on more rubies.
bouchard Mar 7, 2012
8600cc8
Add the option to tally separate up and down votes in #plusminus_tally.
bouchard Mar 12, 2012
4696df4
BREAKING CHANGE: #plusminus_tally now returns 'plusminus_tally' rathe…
bouchard Mar 12, 2012
06f968f
Readme.
bouchard Mar 12, 2012
73b7f2f
Added tests to prove count/any/empty usage is failing
jerefrer Mar 20, 2012
4e0337b
Fixed tests for #count, #any?, etc. on #tally and #plusminus_tally.
bouchard Mar 21, 2012
6bd8c22
Added the lower bound of a Wilson Score as a more accurate representa…
bouchard Apr 5, 2012
5bcd3e0
Version bump.
bouchard Apr 5, 2012
807fd78
Changed required rubygems version.
bouchard Apr 10, 2012
1937ec2
Bump version.
bouchard Apr 10, 2012
ac292a0
Heroku uses *old* Rubygems, indeed.
bouchard Apr 10, 2012
39b4e71
Remove Rubygems required version entirely, and bump version.
bouchard Apr 11, 2012
2f7a0db
First class Postgres support.
bouchard Jul 29, 2012
a3e30f0
Fix Travis CI.
bouchard Jul 29, 2012
ea3a469
Fixed bad cast, now with tests!
bouchard Jul 29, 2012
091281e
Fix bug "plusminus_tally doesn't join on voteable_type" reported in h…
jerefrer Sep 19, 2012
3fce588
Merge branch 'jerefrer/master'
bouchard Sep 19, 2012
8463f11
Version bump.
bouchard Sep 19, 2012
156d1cd
Update SQL group by to include all columns.
SpOOnman Sep 20, 2012
7718be3
Merge pull request #56 from SpOOnman/master
bouchard Nov 14, 2012
3fdc8ef
Refactoring of test connection configuration.
SpOOnman Nov 15, 2012
e3a0417
Allow SQLite3 testing (fails for now).
SpOOnman Nov 15, 2012
39e37f4
Fixes #57 - deal with booleans in a general non-db specific manner.
SpOOnman Nov 15, 2012
b52b6da
Fix Travis MySql username/password.
SpOOnman Nov 15, 2012
c8ee7e3
Merge branch 'master' of https://github.com/SpOOnman/thumbs_up
bouchard Nov 15, 2012
e258706
Fix Travis CI.
bouchard Nov 15, 2012
550134d
Fix Travis CI.
bouchard Nov 15, 2012
e2a124c
Ignore test database.
bouchard Nov 18, 2012
578097c
100% test coverage.
bouchard Nov 18, 2012
ba34320
Add tests to document that Postgresql prevents aliases in having clau…
bouchard Dec 5, 2012
348ad55
add voters_who_voted_for/voters_who_voted_against for show typical vo…
boska Jan 16, 2013
7cc4503
add test to 'voters_who_voted_for/against'
boska Jan 20, 2013
3a098c4
Merge pull request #62 from boska/master
bouchard Jan 20, 2013
53d3e4c
Bump version.
bouchard Jan 20, 2013
23c5bfd
Adds ThumbsUp::Configuration Class
pboling Feb 14, 2013
db32810
Utilize configuration to allow models to vote on themselves
pboling Feb 14, 2013
8060291
Newline!
pboling Feb 14, 2013
8035f07
Update MySQL test instructions to current MySQL version 5.5; Adds pos…
pboling Feb 14, 2013
a9ef785
Bump version.
bouchard Jan 20, 2013
f0a9dca
Merge branch 'allow_self_love' of https://github.com/acquaintable/thu…
bouchard Feb 15, 2013
19249fe
Bump version.
bouchard Feb 15, 2013
d2ec8dd
Add license to gemspec.
bouchard Feb 15, 2013
c4a9a64
Fixed typo
pboling Feb 16, 2013
e2227fa
Merge pull request #66 from acquaintable/allow_self_love
bouchard Feb 17, 2013
86c948e
The source :rubygems is deprecated because HTTP requests are insecure.
pboling Feb 26, 2013
d0496e1
Merge pull request #68 from acquaintable/secure_source
bouchard Feb 26, 2013
ec4cdc1
create! does not return cerated object, but it can be useful in post-…
pboling Apr 13, 2013
2a24198
Fix Travis build warnings and failures (spaces before parenthesis; re…
pboling Apr 14, 2013
d85f540
Merge pull request #74 from acquaintable/dangling_chads
bouchard Apr 14, 2013
ace0fc7
Proper implementation of voter_relationship_name and voteable_relatio…
pboling Apr 17, 2013
5be5afb
comments shouldn't lie
pboling Apr 18, 2013
1a91324
added voted_how? method
guyisra Apr 19, 2013
b00ca74
return the vote type
guyisra Apr 19, 2013
593ab0f
added tests
guyisra Apr 19, 2013
2d1fc9a
added to README
guyisra Apr 19, 2013
aab6817
improved documentation
guyisra Apr 20, 2013
f640960
Merge pull request #77 from guyisra/voted_how
bouchard Apr 20, 2013
84aea3b
Added Code Climate.
bouchard Apr 20, 2013
09d4034
Fix tests where Postgres requires non-aliased column in HAVING clause.
bouchard Apr 20, 2013
eedd5ef
Fixed typo in README.
bouchard Apr 25, 2013
d2c71c7
Rails 4 compatibility fixes.
bouchard Jul 5, 2013
8feca9c
Bump version.
bouchard Jul 5, 2013
63f466c
Adds Configuration section to readme
pboling Aug 27, 2013
49e2c1a
Merge remote-tracking branch 'bouchard/master'
pboling Aug 27, 2013
ea13945
Restrict activesupport to < 4.0.0 for Ruby < 1.9.3.
bouchard Aug 27, 2013
6547ca4
Try again.
bouchard Aug 27, 2013
00e4162
Merge pull request #76 from acquaintable/master
bouchard Aug 27, 2013
405e48c
Added an upvote and downvote weight option to has_karma (closes #67).
bouchard Sep 1, 2013
40390b4
Bump version.
bouchard Sep 1, 2013
e7be17e
Fix merge and bump version.
bouchard Sep 2, 2013
f25b466
Update and rename MIT-LICENSE to LICENSE
bouchard Apr 13, 2014
6b45ed6
Renaming create_migration to not override default method fixes #96
ldewald May 8, 2014
f499a7c
Merge pull request #97 from ldewald/master
bouchard May 9, 2014
4dfa29f
Add Github's syntax highlighting
hugoabonizio Jun 20, 2015
c249407
Drop support for 1.8.x series Ruby.
bouchard Jun 20, 2015
cb63932
Merge pull request #101 from hugoabonizio/patch-1
bouchard Jun 20, 2015
204877d
lock AR version dependency
gregmolnar Sep 22, 2015
9af09e6
fix intermittent test failures
gregmolnar Oct 3, 2015
7143c78
lock mysql2 gem version
gregmolnar Oct 3, 2015
b740f47
Merge pull request #103 from gregmolnar/improvements
bouchard Oct 4, 2015
2d84949
Bump version.
bouchard Oct 4, 2015
2c62602
Fix licensing.
bouchard Oct 4, 2015
f97086f
Include actual value for vote method in README
Tonkpils Jan 26, 2016
c0aed50
Travis error.
bouchard Jan 26, 2016
7f3029f
Seems to work fine with AR 5.0.0.beta3, so allow it.
bouchard Apr 22, 2016
4c4d1cb
Version bump.
bouchard Apr 22, 2016
49636c4
Update travis CI config.
bouchard Aug 22, 2019
bd3c903
Add pg service.
bouchard Aug 22, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*.gemspec
pkg/
*.gem
pkg/*
Gemfile.lock
coverage/
test.sqlite3
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: ruby
rvm:
- 2.6.3
services:
- mysql
- postgresql
before_install:
- "mysql -e 'create database thumbs_up_test;'"
- psql -c 'create database thumbs_up_test;' -U postgres
- bundle update
- gem update bundler
35 changes: 0 additions & 35 deletions CHANGELOG.markdown

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
2010-08-03
==========
* Renamed to ThumbsUp from vote\_fu.
* Updated for Rails 3, using ActiveRecord/Arel.
* Cleaned up some dead code, some shitty code, and made a few methods take up quite a lot less memory and time (voters\_who\_voted).
* Removed example code.
* Fixed karma.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'http://rubygems.org'
gemspec
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 Brady Bouchard ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
43 changes: 0 additions & 43 deletions MIT-LICENSE

This file was deleted.

224 changes: 0 additions & 224 deletions README.markdown

This file was deleted.

Loading