8000 Billing System via Stripe by fullsailor · Pull Request #127 · clevercode/roomies · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Billing System via Stripe #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 87 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
d3dc73b
Removed Barista.
olivierlacan Aug 27, 2011
972907d
Removed Compass initializer.
olivierlacan Aug 27, 2011
e018d88
Added Sass initializer.
olivierlacan Aug 27, 2011
f88365c
Added existing vendor JS files to vendor/assets/javascripts
olivierlacan Aug 27, 2011
989031f
Removed Compass configuration file.
olivierlacan Aug 27, 2011
e37b40a
Configured application, disabled RSpec on views and helpers.
olivierlacan Aug 27, 2011
4bd38e5
Asset migration.
olivierlacan Aug 27, 2011
c216079
Edited JS include tags.
olivierlacan Aug 27, 2011
dc088d0
Edited stylesheet include tags to use the asset pipeline.
olivierlacan Aug 27, 2011
8de17d3
Removed JS call at the bottom of the app layout since everything is …
olivierlacan Aug 27, 2011
21faf60
Another mass migration of assets.
olivierlacan Aug 27, 2011
9ee16f3
Removed belated PNG, renamed selectivizr.
olivierlacan Aug 28, 2011
260b516
Added wrap parameters initializer.
olivierlacan Aug 28, 2011
49a5e25
New session store config syntax.
olivierlacan Aug 28, 2011
a0af058
Added asset pipeline settings to test environment settings.
olivierlacan Aug 28, 2011
561641d
Added delivery errors setting to dev environment config.
olivierlacan Aug 28, 2011
29e9bc6
Updated production env config.
olivierlacan Aug 28, 2011
19f8daa
Removed Yaml requirement from environment config.
olivierlacan Aug 28, 2011
315ac02
Removed HTML5 Boilerplate and imported Blueprint, Compass and custom …
olivierlacan Aug 28, 2011
cd67fde
Updated .rvmrc file to Ruby 1.9.2-p290.
olivierlacan Aug 28, 2011
112df2d
Updated Gemfile with versions. Removed Capybara, Cucumber, html5-boi…
olivierlacan Aug 28, 2011
3649400
Removed HTML5 boilerplate call in app layout.
olivierlacan Aug 28, 2011
29e20ff
Removed HTML5 boilerplate crap in javascripts.
olivierlacan Aug 28, 2011
966e106
Updated javascript manifest.
olivierlacan Aug 28, 2011
d12bc2f
Renamed main application coffeescript file.
olivierlacan Aug 28, 2011
ccd35e0
Updated to Rails 3.1 RC6 and therubyracer-heroku 0.8.1.pre3
olivierlacan Aug 28, 2011
f83f5be
Using the jQuery-UI front jquery-rails gem.
olivierlacan Aug 28, 2011
5c2faa9
Removed stupid handheld styles.
olivierlacan Aug 28, 2011
d4f46af
Added new HTML5 Boilerplate manually, converted to Sass, rewrote com…
olivierlacan Aug 28, 2011
225e20f
Fixed a bunch of image URL for the asset pipeline.
olivierlacan Aug 28, 2011
2a517f9
Gemfile update.
olivierlacan Aug 28, 2011
7673b1d
Removed jQuery-UI.
olivierlacan Aug 28, 2011
cebd82f
Moved the corkboard styles to a root file as 3.1 convention.
olivierlacan Aug 28, 2011
e3eaa31
Updated Gemfile to use the Rails 3-1-stable branch and the master De…
olivierlacan Aug 28, 2011
d0f7b30
Untracked production.log
olivierlacan Aug 28, 2011
dc7a991
Broke up the single coffee-script file into controller-specific ones.
olivierlacan Aug 29, 2011
6d88283
Reorganized Sass files, fixed idiotic issues with Blueprint now that …
olivierlacan Aug 29, 2011
4e37ea5
Added auto index creation on Mongoid models in development only.
olivierlacan Aug 29, 2011
9697dcd
Updated Hoptoad JS call to Airbrake.
olivierlacan Sep 8, 2011
33aac4c
Removed hoptoad and installed Airbrake.
olivierlacan Sep 8, 2011
3011881
Updated Rails to 3.1.0 and Compass to 0.12
olivierlacan Sep 8, 2011
8fb05b6
Updated Compass to 0.12 alpha.
olivierlacan Sep 14, 2011
182c0eb
Making sure you can't try to accept a house invitation if you are not…
olivierlacan Sep 14, 2011
ee016d0
Fixed some random blueprint & grid stuff.
olivierlacan Sep 14, 2011
a8f1ca9
Adds better tests for locale inference.
Sep 17, 2011
8e77137
Removed generated specs.
Sep 17, 2011
1255f6b
Merged in changes from master, updated gem versions.
Sep 17, 2011
fa4119e
Cleans up Gemfile. Replaces hard dependencies with "~>" where applica…
Sep 17, 2011
56ff856
Moves application.js.coffee to base.js.coffee to avoid naming conflic…
Sep 18, 2011
0de1dce
Renamed CorkboardController to CorkboardsController to stick with con…
Sep 18, 2011
95135e4
Adds SupportRequest as an ActiveModel object for validations.
Sep 18, 2011
41b16b0
Using Guard and Foreman for better dev automation.
Sep 18, 2011
c854bd7
Moves more javascript helpers into the global `roomies obj.
Sep 18, 2011
18a6e3a
Adds a "/me" route that goes to the current user's profile.
Sep 18, 2011
1cece49
Removes unused Support spec.
Sep 18, 2011
9625135
Use routing helpers instead of explicit paths in header partial.
Sep 18, 2011
4f96945
Use `with_routing` helper in locale spec so it doesn't clobber all ro…
Sep 18, 2011
4892769
Use factories & shoulda matchers in the User spec.
Sep 18, 2011
b453a05
Remove more generated specs & test directory.
Sep 18, 2011
b9488ce
Use Guard & Spork for faster testing
Sep 18, 2011
45ec7b0
Users now have a time zone field & it is used. No UI yet.
Sep 18, 2011
0fcee26
Replace extended specs with Shoulda one-liner.
Sep 18, 2011
455ff4b
Fixed corkboard url in application controller.
olivierlacan Sep 20, 2011
adb42ab
Used absolutely disgusting JS trick to hide the alternative calendar …
olivierlacan Sep 20, 2011
4c60ef9
Merge pull request #126 from clevercode/rails31-upgrade
olivierlacan Sep 22, 2011
599b135
Improve JavaScript situation by waiting for DOM to load.
fullsailor Sep 26, 2011
b0d9a6f
Change corkboard_index_url to corkboard_url
fullsailor Sep 26, 2011
d727bed
Removed the fucking stupid action mailer with request because I'm a b…
olivierlacan Oct 1, 2011
d509198
Adds unique index on user's email.
fullsailor Oct 1, 2011
022a85f
Prevent preloading of models in Spork.
fullsailor Oct 1, 2011
539d43e
House sponsorships via Stripe
fullsailor Oct 1, 2011
79497df
Updated Sass in the Gemfile. Yay for non-breaking mixing with arguments!
olivierlacan Oct 1, 2011
48d618d
Merge branch 'billing' of github.com:clevercode/roomies
olivierlacan Oct 1, 2011
5d4dfe5
Merged updates from master
fullsailor Oct 2, 2011
9063646
Added rbenv file for me.
olivierlacan Oct 2, 2011
23a4076
Requiring jQuery UI in the CSS manifest.
olivierlacan Oct 2, 2011
86a5d86
Ruby debug don't like 1.9.3 and we don't use it. Off for now.
olivierlacan Oct 2, 2011
79cdd8e
Added a /house match to houses#show aliased as current_house.
olivierlacan Oct 2, 2011
3b242ec
Removed AJAX on the new_house_subscription link since it was breaking…
olivierlacan Oct 2, 2011
4ca197e
Removed the beta invite link from the header, turned "Profile" into "…
olivierlacan Oct 2, 2011
f566b8b
Showing name of house and current roomies on houses#show view.
olivierlacan Oct 2, 2011
04bf4b0
Renamed improperly named sass files.
olivierlacan Oct 2, 2011
6d9c9b4
Added stylesheet for subscriptions controller.
olivierlacan Oct 2, 2011
aca5601
Disabled asset logging, yet that doesn't seem to work.
olivierlacan Oct 2, 2011
178fc15 8000
Added styling to new My House link in the header, with a house icon. …
olivierlacan Oct 2, 2011
0707316
Merge branch 'billing' of github.com:clevercode/roomies into billing
olivierlacan Oct 2, 2011
859aca4
Lock rack to 1.3.3 since there is a problem with 1.3.4
fullsailor Oct 4, 2011
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
1 change: 1 addition & 0 deletions .rbenv-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.9.3-rc1
38 changes: 18 additions & 20 deletions .rvmrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,35 @@
# development environment upon cd'ing into the directory

# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
environment_id="ruby-1.9.2-p180@roomies"
environment_id="ruby-1.9.2-p290@roomies"

#
# Uncomment following line if you want options to be set only for given project.
#
# PROJECT_JRUBY_OPTS=( --1.9 )

#
# First we attempt to load the desired environment directly from the environment
# file. This is very fast and efficicent compared to running through the entire
# file. This is very fast and efficient compared to running through the entire
# CLI and selector. If you want feedback on which environment was used then
# insert the word 'use' after --create as this triggers verbose mode.
#
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
then
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"

[[ -s ".rvm/hooks/after_use" ]] && . ".rvm/hooks/after_use"
if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
then
. "${rvm_path:-$HOME/.rvm}/hooks/after_use"
fi
else
# If the environment file has not yet been created, use the RVM CLI to select.
rvm --create "$environment_id"
if ! rvm --create use "$environment_id"
then
echo "Failed to create RVM environment '${environment_id}'."
exit 1
fi
fi

#
Expand All @@ -32,18 +45,3 @@ fi
# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
# fi

#
# If you use bundler and would like to run bundle each time you enter the
# directory, you can uncomment the following code.
#
# # Ensure that Bundler is installed. Install it if it is not.
# if ! command -v bundle >/dev/null; then
# printf "The rubygem 'bundler' is not installed. Installing it now.\n"
# gem install bundler
# fi
#
# # Bundle while reducing excess noise.
# printf "Bundling your gems. This may take a few minutes on a fresh clone.\n"
# bundle | grep -v '^Using ' | grep -v ' is complete' | sed '/^$/d'
#

102 changes: 63 additions & 39 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,47 +1,71 @@
source 'http://rubygems.org'

gem 'rails', '3.0.7'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem "sass", "~>3.1.0"
gem "haml", "~> 3.1.0"
gem "compass", "~>0.11"
gem 'html5-boilerplate'
gem 'simple_form'
gem 'devise', '>= 1.2.0'
gem 'devise_invitable', '~> 0.4.0'
gem 'omniauth'
gem 'barista', '~> 1.0'
gem 'mongoid', '>= 2.0.0'
gem 'bson_ext', '>= 1.2.4'
gem 'mongoid_rails_migrations', '>=0.0.2'
gem 'jquery-rails'
gem 'haml-rails'
gem 'hoptoad_notifier'
gem 'dalli'
gem 'rake', '0.8.7'
gem 'actionmailer-with-request'
gem 'rails', "~> 3.1.0"

group :production do
gem 'therubyracer-heroku'
# Web server
gem 'thin'
gem 'rack', '1.3.3'

# Mongo
gem 'mongoid', "~> 2.1"
gem "bson_ext", "~> 1.4"
gem 'mongoid_rails_migrations'

# Authentication
gem 'devise', "~> 1.4.5"
gem 'devise_invitable', '~> 0.5.4'
gem 'omniauth', "~> 0.2.6"

# Markdown
gem 'rdiscount', "~> 1.6.8"

# Other
gem 'simple_form', "~> 1.4.2"

# Exception tracking
gem "airbrake"

# Stripe API
gem 'stripe'

# Rails extensions
gem 'jquery-rails', "~> 1.0.13"
gem 'haml-rails', "~>0.3.4"
gem "rspec-rails", "~> 2.6.1", :group => [:development, :test]

group :assets do
gem 'sass-rails', "~> 3.1"
gem 'coffee-rails', "~> 3.1"
gem 'uglifier'
gem 'compass', "0.12.alpha.0"
end

group :development do
gem "rails-footnotes", ">= 3.7"
# gem 'ruby-debug19'
gem 'mailcatcher'
gem 'foreman'
gem 'guard'
gem 'guard-rspec'
gem 'guard-bundler'
gem 'guard-spork'
gem 'spork', '~> 0.9.0.rc9'
if RUBY_PLATFORM.downcase.include?("darwin")
gem 'rb-fsevent'
gem 'growl'
end
end

# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
# gem 'ruby-debug'
# gem 'ruby-debug19', :require => 'ruby-debug'

# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
group :development, :test do
gem 'rspec-rails'
gem 'database_cleaner'
group :test do
gem 'shoulda-matchers'
gem 'mongoid-rspec'
gem 'factory_girl_rails'
gem 'barista_growl', :git => 'http://github.com/TrevorBurnham/barista_growl.git'
gem 'ruby-debug19'
gem 'jasmine'
gem 'mailcatcher'
gem "turn" # pretty printed test output
gem "database_cleaner", ">= 0.6.7"
gem "factory_girl_rails", "~> 1.2.0"
gem "launchy", ">= 0.4.0"
end

group :production do
gem 'therubyracer-heroku', '0.8.1.pre3'
end
Loading
0