Skip to content

Commit

Permalink
Begin with clone of bucketlist app
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamantish committed Feb 11, 2017
0 parents commit 351a5ba
Show file tree
Hide file tree
Showing 162 changed files with 16,935 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
/log/*
!/log/.keep
/tmp

# Ignore source of countries sample webpage
/public/countries.html
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--color
--require spec_helper
37 changes: 37 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
ruby '2.3.0'
source 'https://rubygems.org'

gem 'pg'
gem 'rails_12factor', group: :production
gem 'rails', github: "rails/rails"

gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'jquery-rails'
gem 'geocoder'
gem 'haml-rails'
gem 'underscore-rails'
gem 'httparty'
gem 'devise', github: 'plataformatec/devise'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
gem 'rspec-rails'
gem 'cucumber-rails', :require => false
gem 'pry-byebug'
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# gem 'spring'
end

group :test do
gem 'database_cleaner'
gem 'launchy'
gem 'poltergeist'
gem 'capybara'
# gem 'selenium'
end
272 changes: 272 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,272 @@
GIT
remote: git://github.com/plataformatec/devise.git
revision: 7c75ebe672f11fd26cdd241263ba78ad1276abba
specs:
devise (4.0.0.rc1)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.1)
responders
warden (~> 1.2.3)

GIT
remote: git://github.com/rails/rails.git
revision: 9b5ae716db601a8a34a4227c9c4ef2ec9cf90f64
specs:
actioncable (5.0.0.beta2)
actionpack (= 5.0.0.beta2)
nio4r (~> 1.2)
websocket-driver (~> 0.6.1)
actionmailer (5.0.0.beta2)
actionpack (= 5.0.0.beta2)
actionview (= 5.0.0.beta2)
activejob (= 5.0.0.beta2)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (5.0.0.beta2)
actionview (= 5.0.0.beta2)
activesupport (= 5.0.0.beta2)
rack (~> 2.x)
rack-test (~> 0.6.3)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.0.beta2)
activesupport (= 5.0.0.beta2)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (5.0.0.beta2)
activesupport (= 5.0.0.beta2)
globalid (>= 0.3.6)
activemodel (5.0.0.beta2)
activesupport (= 5.0.0.beta2)
activerecord (5.0.0.beta2)
activemodel (= 5.0.0.beta2)
activesupport (= 5.0.0.beta2)
arel (~> 7.0)
activesupport (5.0.0.beta2)
concurrent-ruby (~> 1.0)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
rails (5.0.0.beta2)
actioncable (= 5.0.0.beta2)
actionmailer (= 5.0.0.beta2)
actionpack (= 5.0.0.beta2)
actionview (= 5.0.0.beta2)
activejob (= 5.0.0.beta2)
activemodel (= 5.0.0.beta2)
activerecord (= 5.0.0.beta2)
activesupport (= 5.0.0.beta2)
bundler (>= 1.3.0, < 2.0)
railties (= 5.0.0.beta2)
sprockets-rails (>= 2.0.0)
railties (5.0.0.beta2)
actionpack (= 5.0.0.beta2)
activesupport (= 5.0.0.beta2)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)

GEM
remote: https://rubygems.org/
specs:
addressable (2.4.0)
arel (7.0.0)
bcrypt (3.1.10)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (8.2.2)
capybara (2.6.2)
addressable
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
cliver (0.3.2)
coderay (1.1.0)
concurrent-ruby (1.0.0)
cucumber (2.3.2)
builder (>= 2.1.2)
cucumber-core (~> 1.4.0)
cucumber-wire (~> 0.0.1)
diff-lcs (>= 1.1.3)
gherkin (~> 3.2.0)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
cucumber-core (1.4.0)
gherkin (~> 3.2.0)
cucumber-rails (1.4.3)
capybara (>= 1.1.2, < 3)
cucumber (>= 1.3.8, < 3)
mime-types (>= 1.16, < 4)
nokogiri (~> 1.5)
railties (>= 3, < 5)
cucumber-wire (0.0.1)
database_cleaner (1.5.1)
debug_inspector (0.0.2)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.6.0)
geocoder (1.3.0)
gherkin (3.2.0)
globalid (0.3.6)
activesupport (>= 4.1.0)
haml (4.0.7)
tilt
haml-rails (0.9.0)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 4.0.6, < 5.0)
html2haml (>= 1.0.1)
railties (>= 4.0.1)
html2haml (2.0.0)
erubis (~> 2.7.0)
haml (~> 4.0.0)
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
httparty (0.13.7)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.7.0)
jquery-rails (4.1.0)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.3)
launchy (2.4.3)
addressable (~> 2.3)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
method_source (0.8.2)
mime-types (2.99)
mini_portile2 (2.0.0)
minitest (5.8.4)
multi_json (1.11.2)
multi_test (0.1.2)
multi_xml (0.5.5)
nio4r (1.2.1)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
orm_adapter (0.5.0)
pg (0.18.4)
poltergeist (1.9.0)
capybara (~> 2.1)
cliver (~> 0.3.1)
multi_json (~> 1.0)
websocket-driver (>= 0.2.0)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.3.0)
byebug (~> 8.0)
pry (~> 0.10)
rack (2.0.0.alpha)
json
rack-test (0.6.3)
rack (>= 1.0)
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.4)
rake (10.5.0)
responders (2.1.1)
railties (>= 4.2.0, < 5.1)
rspec-core (3.1.7)
rspec-support (~> 3.1.0)
rspec-expectations (3.1.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.1.0)
rspec-mocks (3.1.3)
rspec-support (~> 3.1.0)
rspec-rails (3.1.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.1.0)
rspec-expectations (~> 3.1.0)
rspec-mocks (~> 3.1.0)
rspec-support (~> 3.1.0)
rspec-support (3.1.2)
ruby_parser (3.7.3)
sexp_processor (~> 4.1)
sass (3.4.21)
sass-rails (5.0.4)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sexp_processor (4.6.1)
slop (3.6.0)
sprockets (3.5.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.0.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.2)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
underscore-rails (1.8.3)
warden (1.2.6)
rack (>= 1.0)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
websocket-driver (0.6.3)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)
xpath (2.0.0)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
byebug
capybara
cucumber-rails
database_cleaner
devise!
geocoder
haml-rails
httparty
jquery-rails
launchy
pg
poltergeist
pry-byebug
rails!
rails_12factor
rspec-rails
sass-rails (~> 5.0)
uglifier (>= 1.3.0)
underscore-rails
web-console (~> 2.0)

BUNDLED WITH
1.11.2
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: RAILS_ENV=production bundle exec rails server -p $PORT
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
##Bucket List Travel Map

### [Try it](https://bucketlist77.herokuapp.com/)
(may take about 10 seconds for initial load while the server dyno spins up)

A single page Rails and AJAX app making use of Flickr, google maps and geocoding APIs
Makes use of OO javascript to re-invent part of a frontend framework, RESTful JSON, SCSS, HAML and sprites.

Was mostly made during the We Got Coders training.
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

Rails.application.load_tasks
Empty file added app/assets/images/.keep
Empty file.
Binary file added app/assets/images/edit-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/no_images.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/sprite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require_tree .
//= require underscore
2 changes: 2 additions & 0 deletions app/assets/javascripts/cable.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@App ||= {}
App.cable = ActionCable.createConsumer()2
9 changes: 9 additions & 0 deletions app/assets/javascripts/channels/to_do_sync.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
App.to_do_sync = App.cable.subscriptions.create "ToDoSyncChannel",
connected: ->
# Called when the subscription is ready for use on the server

disconnected: ->
# Called when the subscription has been terminated by the server

received: (data) ->
# Called when there's incoming data on the websocket for this channel
4 changes: 4 additions & 0 deletions app/assets/javascripts/helpers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var Helpers = function(){};

Helpers.prototype.transitionContent

Loading

0 comments on commit 351a5ba

Please sign in to comment.