-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:sachac/quantified
- Loading branch information
Showing
8 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: ruby | ||
rvm: | ||
- "2.0.0" | ||
install: | ||
- bundle install | ||
- npm install bower -g | ||
- echo n | bundle exec rake bower:install | ||
- cp config/database.yml.sample config/database.yml | ||
- cp config/initializers/secret_token.rb.sample config/initializers/secret_token.rb | ||
- mysql -e 'create database quantified_test;' | ||
script: bundle exec rspec spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ | |
//= require cal-heatmap.min | ||
//= require quantified | ||
//= require grocery_lists | ||
//= require clothing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
logClothingInBackground = (element) -> | ||
element.style.backgroundColor = '#CCCCCC' | ||
$.ajax(url: element.href, method: 'POST').done -> | ||
element.style.backgroundColor = '#CCFFCC' | ||
return false | ||
|
||
$ -> | ||
$("a.log-action").click (e) -> | ||
e.preventDefault() | ||
logClothingInBackground(this) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters