Skip to content

Commit f188086

Browse files
committed
init
0 parents  commit f188086

Some content is hidden

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

50 files changed

+859
-0
lines changed

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
# Ignore Byebug command history file.
17+
.byebug_history
18+
.idea/

.ruby-gemset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rails-json-api

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.3.1

Gemfile

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.0.2'
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.0'
15+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
16+
# gem 'jbuilder', '~> 2.5'
17+
# Use Redis adapter to run Action Cable in production
18+
# gem 'redis', '~> 3.0'
19+
# Use ActiveModel has_secure_password
20+
# gem 'bcrypt', '~> 3.1.7'
21+
22+
# Use Capistrano for deployment
23+
# gem 'capistrano-rails', group: :development
24+
25+
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
26+
# gem 'rack-cors'
27+
28+
group :development, :test do
29+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
30+
gem 'byebug', platform: :mri
31+
end
32+
33+
group :development do
34+
gem 'listen', '~> 3.0.5'
35+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
36+
gem 'spring'
37+
gem 'spring-watcher-listen', '~> 2.0.0'
38+
end
39+
40+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
41+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Gemfile.lock

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.0.2)
5+
actionpack (= 5.0.2)
6+
nio4r (>= 1.2, < 3.0)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.0.2)
9+
actionpack (= 5.0.2)
10+
actionview (= 5.0.2)
11+
activejob (= 5.0.2)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.0.2)
15+
actionview (= 5.0.2)
16+
activesupport (= 5.0.2)
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.0.2)
22+
activesupport (= 5.0.2)
23+
builder (~> 3.1)
24+
erubis (~> 2.7.0)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27+
activejob (5.0.2)
28+
activesupport (= 5.0.2)
29+
globalid (>= 0.3.6)
30+
activemodel (5.0.2)
31+
activesupport (= 5.0.2)
32+
activerecord (5.0.2)
33+
activemodel (= 5.0.2)
34+
activesupport (= 5.0.2)
35+
arel (~> 7.0)
36+
activesupport (5.0.2)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (~> 0.7)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
arel (7.1.4)
42+
builder (3.2.3)
43+
byebug (9.0.6)
44+
concurrent-ruby (1.0.5)
45+
erubis (2.7.0)
46+
ffi (1.9.18)
47+
globalid (0.3.7)
48+
activesupport (>= 4.1.0)
49+
i18n (0.8.1)
50+
listen (3.0.8)
51+
rb-fsevent (~> 0.9, >= 0.9.4)
52+
rb-inotify (~> 0.9, >= 0.9.7)
53+
loofah (2.0.3)
54+
nokogiri (>= 1.5.9)
55+
mail (2.6.4)
56+
mime-types (>= 1.16, < 4)
57+
method_source (0.8.2)
58+
mime-types (3.1)
59+
mime-types-data (~> 3.2015)
60+
mime-types-data (3.2016.0521)
61+
mini_portile2 (2.1.0)
62+
minitest (5.10.1)
63+
nio4r (2.0.0)
64+
nokogiri (1.7.1)
65+
mini_portile2 (~> 2.1.0)
66+
pg (0.20.0)
67+
puma (3.8.2)
68+
rack (2.0.1)
69+
rack-test (0.6.3)
70+
rack (>= 1.0)
71+
rails (5.0.2)
72+
actioncable (= 5.0.2)
73+
actionmailer (= 5.0.2)
74+
actionpack (= 5.0.2)
75+
actionview (= 5.0.2)
76+
activejob (= 5.0.2)
77+
activemodel (= 5.0.2)
78+
activerecord (= 5.0.2)
79+
activesupport (= 5.0.2)
80+
bundler (>= 1.3.0, < 2.0)
81+
railties (= 5.0.2)
82+
sprockets-rails (>= 2.0.0)
83+
rails-dom-testing (2.0.2)
84+
activesupport (>= 4.2.0, < 6.0)
85+
nokogiri (~> 1.6)
86+
rails-html-sanitizer (1.0.3)
87+
loofah (~> 2.0)
88+
railties (5.0.2)
89+
actionpack (= 5.0.2)
90+
activesupport (= 5.0.2)
91+
method_source
92+
rake (>= 0.8.7)
93+
thor (>= 0.18.1, < 2.0)
94+
rake (12.0.0)
95+
rb-fsevent (0.9.8)
96+
rb-inotify (0.9.8)
97+
ffi (>= 0.5.0)
98+
spring (2.0.1)
99+
activesupport (>= 4.2)
100+
spring-watcher-listen (2.0.1)
101+
listen (>= 2.7, < 4.0)
102+
spring (>= 1.2, < 3.0)
103+
sprockets (3.7.1)
104+
concurrent-ruby (~> 1.0)
105+
rack (> 1, < 3)
106+
sprockets-rails (3.2.0)
107+
actionpack (>= 4.0)
108+
activesupport (>= 4.0)
109+
sprockets (>= 3.0.0)
110+
thor (0.19.4)
111+
thread_safe (0.3.6)
112+
tzinfo (1.2.3)
113+
thread_safe (~> 0.1)
114+
websocket-driver (0.6.5)
115+
websocket-extensions (>= 0.1.0)
116+
websocket-extensions (0.1.2)
117+
118+
PLATFORMS
119+
ruby
120+
121+
DEPENDENCIES
122+
byebug
123+
listen (~> 3.0.5)
124+
pg (~> 0.18)
125+
puma (~> 3.0)
126+
rails (~> 5.0.2)
127+
spring
128+
spring-watcher-listen (~> 2.0.0)
129+
tzinfo-data
130+
131+
BUNDLED WITH
132+
1.14.6

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# README
2+
3+
This README would normally document whatever steps are necessary to get the
4+
application up and running.
5+
6+
Things you may want to cover:
7+
8+
* Ruby version
9+
10+
* System dependencies
11+
12+
* Configuration
13+
14+
* Database creation
15+
16+
* Database initialization
17+
18+
* How to run the test suite
19+
20+
* Services (job queues, cache servers, search engines, etc.)
21+
22+
* Deployment instructions
23+
24+
* ...

Rakefile

Lines changed: 6 additions & 0 deletions
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
Lines changed: 4 additions & 0 deletions
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
Lines changed: 4 additions & 0 deletions
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
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class ApplicationController < ActionController::API
2+
end

0 commit comments

Comments
 (0)