Skip to content

Commit

Permalink
Merge pull request #9 from Foodee/bugs/scroll-fix
Browse files Browse the repository at this point in the history
Bugs/scroll fix
  • Loading branch information
bimovidia committed Oct 6, 2014
2 parents eb9c472 + 69b9b21 commit 2fb1c60
Show file tree
Hide file tree
Showing 18 changed files with 304 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp

.DS_Store
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.1.3
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
ruby '2.1.3'
source 'https://rubygems.org'

gem 'rails', '4.0.3'
gem 'thin'
gem 'faye'

# Heroku and New Relic
gem 'rails_12factor'
gem 'newrelic_rpm'

# Assets
gem 'jquery-rails'
gem 'turbolinks'
Expand Down Expand Up @@ -41,6 +46,7 @@ group :development do
gem 'capistrano-rails', '~> 1.1', require: false
gem 'capistrano-bundler', '~> 1.1', require: false
gem 'capistrano-rvm', '~> 0.1', require: false
gem 'codeclimate-test-reporter', require: false
end

group :doc do
Expand Down
17 changes: 17 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ GEM
xpath (~> 2.0)
childprocess (0.5.1)
ffi (~> 1.0, >= 1.0.11)
codeclimate-test-reporter (0.4.1)
simplecov (>= 0.7.1, < 1.0.0)
coderay (1.1.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
Expand All @@ -90,6 +92,7 @@ GEM
database_cleaner (1.2.0)
debug_inspector (0.0.2)
diff-lcs (1.2.5)
docile (1.1.5)
em-http-request (1.1.2)
addressable (>= 2.3.4)
cookiejar
Expand Down Expand Up @@ -150,6 +153,7 @@ GEM
net-scp (1.1.2)
net-ssh (>= 2.6.5)
net-ssh (2.8.0)
newrelic_rpm (3.9.5.251)
nokogiri (1.6.1)
mini_portile (~> 0.5.0)
nokogiri-happymapper (0.5.9)
Expand Down Expand Up @@ -181,6 +185,11 @@ GEM
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.3)
sprockets-rails (~> 2.0.0)
rails_12factor (0.0.2)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.2)
rails_stdout_logging (0.0.3)
railties (4.0.3)
actionpack (= 4.0.3)
activesupport (= 4.0.3)
Expand Down Expand Up @@ -220,6 +229,11 @@ GEM
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0.4)
simplecov (0.9.1)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
Expand Down Expand Up @@ -278,6 +292,7 @@ DEPENDENCIES
capistrano-rails (~> 1.1)
capistrano-rvm (~> 0.1)
capybara
codeclimate-test-reporter
coffee-rails (~> 4.0.0)
database_cleaner
factory_girl_rails
Expand All @@ -287,9 +302,11 @@ DEPENDENCIES
jquery-rails
mocha
mongoid!
newrelic_rpm
pivotal-tracker
rack_session_access
rails (= 4.0.3)
rails_12factor
rspec-rails
sass-rails (~> 4.0.0)
sdoc
Expand Down
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: bundle exec rails s -p $PORT
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Pivotal Tracker: Planning Poker

![Pivotal Tracker: Planning Poker](http://bimovidia.com/images/planning-poker.png)
[![Build Status](https://codeship.io/projects/9c4e6a80-2d71-0132-149b-5a27a41fa12a/status?branch=master)](https://codeship.io/projects/39242)
[![Code Quality](https://codeclimate.com/github/Foodee/planning-poker/badges/gpa.svg)](https://codeclimate.com/github/Foodee/planning-poker)
[![Test Coverage](https://codeclimate.com/github/Foodee/planning-poker/badges/coverage.svg)](https://codeclimate.com/github/Foodee/planning-poker)

Planning poker, also called Scrum poker, is a consensus-based technique for estimating, mostly used to estimate effort or relative size of user stories in software development. In planning poker, members of the group make estimates by playing numbered cards in the app, instead of speaking them aloud. The cards are revealed, and the estimates are then discussed. By hiding the figures in this way, the group can avoid the cognitive bias of anchoring, where the first number spoken aloud sets a precedent for subsequent estimates.

Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/authenticated.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#header {
background: #7DC266;
padding: 5px 20px 0;
padding: 5px 40px 0;

h1 {
font-family: 'Rokkitt', serif;
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/unauthenticated.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#header {
background: #FFF;
padding: 5px 20px;
padding: 5px 40px;

h1 {
font-family: 'Rokkitt', serif;
Expand Down
2 changes: 1 addition & 1 deletion app/views/application/_authenticated.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%= render 'overlay' %>

<div id="wrapper">
<div id="header" class="clearfix">
<div id="header" class="row">
<div class="row">
<h1 class="col-md-10">
<span class="fa-stack logo">
Expand Down
2 changes: 1 addition & 1 deletion app/views/application/_unauthenticated.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="wrapper">
<div id="header">
<div id="header" class="row">
<div class="center">
<div class="inner">
<h1>
Expand Down
16 changes: 16 additions & 0 deletions bin/autospec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'autospec' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('rspec-core', 'autospec')
16 changes: 16 additions & 0 deletions bin/rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rspec' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('rspec-core', 'rspec')
6 changes: 3 additions & 3 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# config.action_dispatch.rack_cache = true

# Disable Rails's static asset server (Apache or nginx will already do this).
config.serve_static_assets = false
config.serve_static_assets = true

# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
Expand Down Expand Up @@ -81,8 +81,8 @@
# Publisher for push notification
config.publisher = {
# production faye server - change the URL so that it points to the correct server.
domain: 'localhost:9292',
domain: (ENV['FAYE_URL'] || 'localhost:9292'),
# secret key
secret: 'secret'
secret: (ENV['FAYE_SECRET'] || 'secret')
}
end
6 changes: 5 additions & 1 deletion config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@

# Make sure your secret_key_base is kept private
# if you're sharing your code publicly.
PlanningPokerRails::Application.config.secret_key_base = 'af4ae4865e62ae7bccbdde6e4479d7df37ea98886846898d4a7af13cd5fe1cc671aa5e9f8d52024168e6bab53f7166901f8a70e754b6224ebf917671e4e9be65'
if Rails.env.production?
PlanningPokerRails::Application.config.secret_key_base = ENV['SECRET_TOKEN']
else
PlanningPokerRails::Application.config.secret_key_base = 'af4ae4865e62ae7bccbdde6e4479d7df37ea98886846898d4a7af13cd5fe1cc671aa5e9f8d52024168e6bab53f7166901f8a70e754b6224ebf917671e4e9be65'
end
6 changes: 3 additions & 3 deletions config/mongoid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ test:
production:
sessions:
default:
database: planning_poker_rails
hosts:
- localhost:27017
uri: <%= ENV['MONGOHQ_URL'] %>
options:
max_retries: 1
retry_interval: 0
options:
raise_not_found_error: false

Expand Down
Loading

0 comments on commit 2fb1c60

Please sign in to comment.