Skip to content

Commit 6bd7985

Browse files
author
Evan Light
committed
Re re initial commit:
0 parents  commit 6bd7985

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+1265
-0
lines changed

.gitignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
/node_modules
17+
/yarn-error.log
18+
19+
.byebug_history

Gemfile

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
source 'https://rubygems.org'
2+
3+
git_source(:github) do |repo_name|
4+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5+
"https://github.com/#{repo_name}.git"
6+
end
7+
8+
9+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
10+
gem 'rails', '~> 5.1.1'
11+
# Use postgresql as the database for Active Record
12+
gem 'pg', '~> 0.18'
13+
# Use Puma as the app server
14+
gem 'puma', '~> 3.7'
15+
# Use SCSS for stylesheets
16+
gem 'sass-rails', '~> 5.0'
17+
# Use Uglifier as compressor for JavaScript assets
18+
gem 'uglifier', '>= 1.3.0'
19+
# See https://github.com/rails/execjs#readme for more supported runtimes
20+
# gem 'therubyracer', platforms: :ruby
21+
22+
# Use CoffeeScript for .coffee assets and views
23+
gem 'coffee-rails', '~> 4.2'
24+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
25+
gem 'turbolinks', '~> 5'
26+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
27+
gem 'jbuilder', '~> 2.5'
28+
# Use Redis adapter to run Action Cable in production
29+
# gem 'redis', '~> 3.0'
30+
# Use ActiveModel has_secure_password
31+
# gem 'bcrypt', '~> 3.1.7'
32+
33+
# Use Capistrano for deployment
34+
# gem 'capistrano-rails', group: :development
35+
36+
group :development, :test do
37+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
38+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
39+
# Adds support for Capybara system testing and selenium driver
40+
gem 'capybara', '~> 2.13'
41+
gem 'selenium-webdriver'
42+
end
43+
44+
group :development do
45+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
46+
gem 'web-console', '>= 3.3.0'
47+
gem 'listen', '>= 3.0.5', '< 3.2'
48+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
49+
gem 'spring'
50+
gem 'spring-watcher-listen', '~> 2.0.0'
51+
end
52+
53+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
54+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Gemfile.lock

+193
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.1.1)
5+
actionpack (= 5.1.1)
6+
nio4r (~> 2.0)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.1.1)
9+
actionpack (= 5.1.1)
10+
actionview (= 5.1.1)
11+
activejob (= 5.1.1)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.1.1)
15+
actionview (= 5.1.1)
16+
activesupport (= 5.1.1)
17+
rack (~> 2.0)
18+
rack-test (~> 0.6.3)
19+
rails-dom-testing (~> 2.0)
20+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
21+
actionview (5.1.1)
22+
activesupport (= 5.1.1)
23+
builder (~> 3.1)
24+
erubi (~> 1.4)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27+
activejob (5.1.1)
28+
activesupport (= 5.1.1)
29+
globalid (>= 0.3.6)
30+
activemodel (5.1.1)
31+
activesupport (= 5.1.1)
32+
activerecord (5.1.1)
33+
activemodel (= 5.1.1)
34+
activesupport (= 5.1.1)
35+
arel (~> 8.0)
36+
activesupport (5.1.1)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (~> 0.7)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
addressable (2.5.1)
42+
public_suffix (~> 2.0, >= 2.0.2)
43+
arel (8.0.0)
44+
bindex (0.5.0)
45+
builder (3.2.3)
46+
byebug (9.0.6)
47+
capybara (2.14.0)
48+
addressable
49+
mime-types (>= 1.16)
50+
nokogiri (>= 1.3.3)
51+
rack (>= 1.0.0)
52+
rack-test (>= 0.5.4)
53+
xpath (~> 2.0)
54+
childprocess (0.7.0)
55+
ffi (~> 1.0, >= 1.0.11)
56+
coffee-rails (4.2.1)
57+
coffee-script (>= 2.2.0)
58+
railties (>= 4.0.0, < 5.2.x)
59+
coffee-script (2.4.1)
60+
coffee-script-source
61+
execjs
62+
coffee-script-source (1.12.2)
63+
concurrent-ruby (1.0.5)
64+
erubi (1.6.0)
65+
execjs (2.7.0)
66+
ffi (1.9.18)
67+
globalid (0.4.0)
68+
activesupport (>= 4.2.0)
69+
i18n (0.8.1)
70+
jbuilder (2.6.4)
71+
activesupport (>= 3.0.0)
72+
multi_json (>= 1.2)
73+
listen (3.1.5)
74+
rb-fsevent (~> 0.9, >= 0.9.4)
75+
rb-inotify (~> 0.9, >= 0.9.7)
76+
ruby_dep (~> 1.2)
77+
loofah (2.0.3)
78+
nokogiri (>= 1.5.9)
79+
mail (2.6.5)
80+
mime-types (>= 1.16, < 4)
81+
method_source (0.8.2)
82+
mime-types (3.1)
83+
mime-types-data (~> 3.2015)
84+
mime-types-data (3.2016.0521)
85+
mini_portile2 (2.1.0)
86+
minitest (5.10.2)
87+
multi_json (1.12.1)
88+
nio4r (2.0.0)
89+
nokogiri (1.7.2)
90+
mini_portile2 (~> 2.1.0)
91+
pg (0.20.0)
92+
public_suffix (2.0.5)
93+
puma (3.8.2)
94+
rack (2.0.3)
95+
rack-test (0.6.3)
96+
rack (>= 1.0)
97+
rails (5.1.1)
98+
actioncable (= 5.1.1)
99+
actionmailer (= 5.1.1)
100+
actionpack (= 5.1.1)
101+
actionview (= 5.1.1)
102+
activejob (= 5.1.1)
103+
activemodel (= 5.1.1)
104+
activerecord (= 5.1.1)
105+
activesupport (= 5.1.1)
106+
bundler (>= 1.3.0, < 2.0)
107+
railties (= 5.1.1)
108+
sprockets-rails (>= 2.0.0)
109+
rails-dom-testing (2.0.3)
110+
activesupport (>= 4.2.0)
111+
nokogiri (>= 1.6)
112+
rails-html-sanitizer (1.0.3)
113+
loofah (~> 2.0)
114+
railties (5.1.1)
115+
actionpack (= 5.1.1)
116+
activesupport (= 5.1.1)
117+
method_source
118+
rake (>= 0.8.7)
119+
thor (>= 0.18.1, < 2.0)
120+
rake (12.0.0)
121+
rb-fsevent (0.9.8)
122+
rb-inotify (0.9.8)
123+
ffi (>= 0.5.0)
124+
ruby_dep (1.5.0)
125+
rubyzip (1.2.1)
126+
sass (3.4.24)
127+
sass-rails (5.0.6)
128+
railties (>= 4.0.0, < 6)
129+
sass (~> 3.1)
130+
sprockets (>= 2.8, < 4.0)
131+
sprockets-rails (>= 2.0, < 4.0)
132+
tilt (>= 1.1, < 3)
133+
selenium-webdriver (3.4.0)
134+
childprocess (~> 0.5)
135+
rubyzip (~> 1.0)
136+
websocket (~> 1.0)
137+
spring (2.0.1)
138+
activesupport (>= 4.2)
139+
spring-watcher-listen (2.0.1)
140+
listen (>= 2.7, < 4.0)
141+
spring (>= 1.2, < 3.0)
142+
sprockets (3.7.1)
143+
concurrent-ruby (~> 1.0)
144+
rack (> 1, < 3)
145+
sprockets-rails (3.2.0)
146+
actionpack (>= 4.0)
147+
activesupport (>= 4.0)
148+
sprockets (>= 3.0.0)
149+
thor (0.19.4)
150+
thread_safe (0.3.6)
151+
tilt (2.0.7)
152+
turbolinks (5.0.1)
153+
turbolinks-source (~> 5)
154+
turbolinks-source (5.0.3)
155+
tzinfo (1.2.3)
156+
thread_safe (~> 0.1)
157+
uglifier (3.2.0)
158+
execjs (>= 0.3.0, < 3)
159+
web-console (3.5.1)
160+
actionview (>= 5.0)
161+
activemodel (>= 5.0)
162+
bindex (>= 0.4.0)
163+
railties (>= 5.0)
164+
websocket (1.2.4)
165+
websocket-driver (0.6.5)
166+
websocket-extensions (>= 0.1.0)
167+
websocket-extensions (0.1.2)
168+
xpath (2.0.0)
169+
nokogiri (~> 1.3)
170+
171+
PLATFORMS
172+
ruby
173+
174+
DEPENDENCIES
175+
byebug
176+
capybara (~> 2.13)
177+
coffee-rails (~> 4.2)
178+
jbuilder (~> 2.5)
179+
listen (>= 3.0.5, < 3.2)
180+
pg (~> 0.18)
181+
puma (~> 3.7)
182+
rails (~> 5.1.1)
183+
sass-rails (~> 5.0)
184+
selenium-webdriver
185+
spring
186+
spring-watcher-listen (~> 2.0.0)
187+
turbolinks (~> 5)
188+
tzinfo-data
189+
uglifier (>= 1.3.0)
190+
web-console (>= 3.3.0)
191+
192+
BUNDLED WITH
193+
1.14.6

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
The MIT License (MIT)
3+
4+
Copyright (c) 2017 Ruby for Good
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Homeless Children's Playtime Project
2+
3+
## About
4+
5+
*The mission of the [Homeless Children's Playtime Project](http://www.playtimeproject.org/) is to nurture healthy child development and reduce the effects of trauma among children living in temporary housing programs in Washington, DC.*
6+
7+
*Playtime seeks to create a city that provides every opportunity for children in families experiencing homelessness to succeed by ensuring consistent opportunities to play and learn, offering support services for families, and advocating for affordable housing and safe shelter.*
8+
9+
### About this App
10+
11+
The goal of this application is to allow supporters to donate toys and other items that help advance the work of Playtime Project's work in family shelters throughout DC. This application will allow donors to view the organization's Amazon wish lists, add items, track contributions, and aid staff in following up with donors.
12+
13+
## Contribution policy
14+
15+
For any changes, please create a feature branch and open a PR for it when you feel it's ready to merge. Even if there's no real disagreement about a PR, at least one other person on the team needs to look over a PR before merging. The purpose of this review requirement is to ensure shared knowledge of the app and its changes and to take advantage of the benefits of working together changes without any single person being a bottleneck to making progress.
16+
17+
## Getting Started
18+
19+
The team leads are currently compiling the tasks for this project. These will be made available soon. It is likely that we'll be doing a Rails build, but we are holding off on any design decisions until our team is assembled. We welcome you to join us. We need a wide variety of skillsets and experience levels. If you have any experience working with Amazon's API, it would be fantastic to have your help.

Rakefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add your own tasks in files placed in lib/tasks ending in .rake,
2+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3+
4+
require_relative 'config/application'
5+
6+
Rails.application.load_tasks

app/assets/config/manifest.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//= link_tree ../images
2+
//= link_directory ../javascripts .js
3+
//= link_directory ../stylesheets .css

app/assets/images/.keep

Whitespace-only changes.

app/assets/javascripts/application.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// This is a manifest file that'll be compiled into application.js, which will include all the files
2+
// listed below.
3+
//
4+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
5+
// vendor/assets/javascripts directory can be referenced here using a relative path.
6+
//
7+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
9+
//
10+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11+
// about supported directives.
12+
//
13+
//= require rails-ujs
14+
//= require turbolinks
15+
//= require_tree .

app/assets/javascripts/cable.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Action Cable provides the framework to deal with WebSockets in Rails.
2+
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
3+
//
4+
//= require action_cable
5+
//= require_self
6+
//= require_tree ./channels
7+
8+
(function() {
9+
this.App || (this.App = {});
10+
11+
App.cable = ActionCable.createConsumer();
12+
13+
}).call(this);

app/assets/javascripts/channels/.keep

Whitespace-only changes.
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
6+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Channel < ActionCable::Channel::Base
3+
end
4+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Connection < ActionCable::Connection::Base
3+
end
4+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationController < ActionController::Base
2+
protect_from_forgery with: :exception
3+
end

app/controllers/concerns/.keep

Whitespace-only changes.

app/helpers/application_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module ApplicationHelper
2+
end

app/jobs/application_job.rb

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class ApplicationJob < ActiveJob::Base
2+
end

app/mailers/application_mailer.rb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class ApplicationMailer < ActionMailer::Base
2+
default from: 'from@example.com'
3+
layout 'mailer'
4+
end

app/models/application_record.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationRecord < ActiveRecord::Base
2+
self.abstract_class = true
3+
end

app/models/concerns/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)