Commit graph

2018 commits

Author SHA1 Message Date
maco
10edabd681 Merge branch 'master' of git://github.com/diaspora/diaspora 2010-09-17 21:14:44 +00:00
Stephen Caudill
81d753e773 Refactor Album spec
* use let(!) where appropriate (see [1] for more info).
* use `context` to portray scenarios
* use `describe` to portray method and Class specifications
* omit the word "should" from example descriptions (Dave Chelimsky
  remarked to me that it was "tantamount to line-noise" and I'm of the
  opinion that it adds no value.
* use more idiomatic Ruby (prefer things like 2.times to 1.upto(2))
* use more idiomatic Rails (prefer 1.minute.from_now to Time.now +
  60*60)
* use more idiomatic Rspec (prefer album.should be_valid to
  album.valid?.should be_true
* also ensure to only make one assertion per example

Other sundry cleanups.

[1] http://rdoc.info/github/rspec/rspec-core/master/RSpec/Core/Let/ClassMethods#let-instance_method
2010-09-17 16:41:58 -04:00
maco
cc44dcc7a4 ubuntu-setup.bash: for rubygems, use maverick's repo or if lucid use ppa or if old use tarball. create /var/lib/gems/1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games-friendly symlink if using debs 2010-09-17 20:40:33 +00:00
maco
b50ffdc246 Merge branch 'master' of git://github.com/diaspora/diaspora 2010-09-17 20:16:33 +00:00
Raphael
b3549c79f4 Give slightly more specific error message 2010-09-17 12:49:49 -07:00
Raphael
71ac61c01d Fix websocket specs 2010-09-17 12:49:05 -07:00
maco
5cdeec5d1a Merge branch 'master' of git://github.com/diaspora/diaspora 2010-09-17 19:03:36 +00:00
Raphael
a96a52def7 Run 3 thins 2010-09-17 11:58:34 -07:00
Raphael
ce2260b747 Merge branch 'master' of github.com:diaspora/diaspora into production 2010-09-17 11:57:36 -07:00
Raphael
3859f8a529 Adding instructions to readme 2010-09-17 10:56:42 -07:00
Raphael
5df33a6fd0 Take out users/show, use current_user in update 2010-09-17 10:50:18 -07:00
Raphael
be26794e4a only write to your own profile 2010-09-17 10:46:14 -07:00
Raphael
511a4487de Make running the websocket server a little easier 2010-09-17 10:44:15 -07:00
Raphael
99ad001d28 Fix websocket spec, take out puts in by_webfinger 2010-09-17 09:52:31 -07:00
Raphael
5c48e81f67 Give a little more feedback on the websocket server 2010-09-17 09:48:01 -07:00
maco
d12dc32c34 Merge branch 'master' of git://github.com/diaspora/diaspora 2010-09-17 13:10:51 +00:00
Raphael
cf02b3221c Merge branch 'production' of github.com:diaspora/diaspora into production 2010-09-16 21:53:47 -07:00
Raphael
2e8ecceaf7 Merge branch 'master' of github.com:diaspora/diaspora into production 2010-09-16 21:53:34 -07:00
Raphael
7c02200a67 Finish moving out websocket server, add task to start it 2010-09-16 21:42:16 -07:00
Raphael
b45906f902 Merge branch 'master' of github.com:diaspora/diaspora 2010-09-16 21:35:48 -07:00
Raphael
c520fb71a7 Moved socket out to separate process. Multiple thins should now be possible 2010-09-16 21:34:15 -07:00
danielvincent
9199f40bed Merge branch 'master' of github.com:diaspora/diaspora into production 2010-09-16 18:56:41 -07:00
danielvincent
f335c5f50b Merge branch 'master' of github.com:diaspora/diaspora 2010-09-16 18:56:00 -07:00
danielvincent
292a38e694 DG IZ; arrow keys work in fancybox. removed background color change on close button on hover 2010-09-16 18:55:54 -07:00
maxwell
e668071ea5 README.md 2010-09-16 18:48:18 -07:00
maco
77f902fa08 Merge branch 'master' of git://github.com/diaspora/diaspora 2010-09-17 00:37:02 +00:00
danielvincent
c2c3a51622 Merge branch 'master' of github.com:diaspora/diaspora into production 2010-09-16 17:35:58 -07:00
danielvincent
755e2a744c DG IZ; dropzones now light up when dragging on aspect page 2010-09-16 17:30:49 -07:00
maco
94623a70f2 Merge branch 'master' of git://github.com/diaspora/diaspora 2010-09-17 00:30:00 +00:00
danielvincent
95a4120e57 DG IZ; dropzones on left back on aspect manage page. 2010-09-16 17:22:42 -07:00
Raphael
b0c87fcffa Add a little more feedback to rake task 2010-09-16 17:04:59 -07:00
danielvincent
f614729060 Merge branch 'master' of github.com:diaspora/diaspora 2010-09-16 17:03:21 -07:00
danielvincent
ae83dae1ca added git info (branch,date,author) to debug partial 2010-09-16 17:03:14 -07:00
Guido Serra aka Zeph
2dc0fc9965 wrong! fullpath required 2010-09-17 07:52:42 +08:00
maco
1e8834a8d5 README.md: add note about bundle's location with Ubuntu debs 2010-09-17 07:49:33 +08:00
maco
3cf085c3c1 README.md: add PPA instructions for rubygems 1.3.7 for Ubuntu 10.04 2010-09-17 07:49:33 +08:00
hemanth
193deb9767 Corrected a comment # Check if the user has sudo privileges. 2010-09-17 07:48:47 +08:00
hemanth
e9df690644 Added --no-install-recommends to apt-get to avoid additional extra packages. 2010-09-17 07:48:47 +08:00
hemanth
87feb5bba5 Removed root check and added sudo check. 2010-09-17 07:48:46 +08:00
hemanth
f76bc6ffc4 Updated all apt-get installs with apt-get -y to avoid prompts during installation. 2010-09-17 07:48:46 +08:00
hemanth.hm
04d55ef35e Added ubuntu setup script 2010-09-17 07:48:46 +08:00
danielvincent
9997493c45 Merge branch 'master' of github.com:diaspora/diaspora 2010-09-16 16:47:16 -07:00
danielvincent
d74c4bd117 DG IZ; use focus instead of click 2010-09-16 16:47:10 -07:00
Guido Serra aka Zeph
4d8eb3d532 issue #9 on github: missing OsX/MongoDB info 2010-09-17 07:45:54 +08:00
cryptix
c80a79dea5 Unified require quotes 2010-09-17 07:44:47 +08:00
Steve Klabnik
22edec5776 Adding Haml html escaping.
Haml's HTML escaping option was not on, leaving the site open for xss
attacks. This would seem to fix it.
2010-09-17 07:44:23 +08:00
Raphael
9d1063d39d Merge branch 'master' of github.com:diaspora/diaspora into production 2010-09-16 16:42:46 -07:00
Raphael
dea0912c28 Do a more specific query in the fix rake task 2010-09-16 16:41:28 -07:00
maco
60d5e6a867 README.md: add note about bundle's location with Ubuntu debs 2010-09-16 23:25:21 +00:00
danielvincent
25b4b409be Merge branch 'master' of github.com:diaspora/diaspora into production 2010-09-16 16:19:48 -07:00