8000 initial commit · json-api/json-api-demo@9256f93 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 13, 2020. It is now read-only.

Commit 9256f93

Browse files
committed
initial commit
0 parents  commit 9256f93

File tree

42 files changed

+692
-0
lines changed

Some content is hidden

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

42 files changed

+692
-0
lines changed

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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 the default SQLite database.
11+
/db/*.sqlite3
12+
/db/*.sqlite3-journal
13+
14+
# Ignore all logfiles and tempfiles.
15+
/log/*.log
16+
/tmp

Gemfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
source 'https://rubygems.org'
2+
3+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4+
gem 'rails', '4.0.1'
5+
6+
gem 'rails-api'
7+
8+
# Use sqlite3 as the database for Active Record
9+
gem 'sqlite3'
10+
11+
12+
# To use ActiveModel has_secure_password
13+
# gem 'bcrypt-ruby', '~> 3.0.0'
14+
15+
# To use Jbuilder templates for JSON
16+
# gem 'jbuilder'
17+
18+
# Use unicorn as the app server
19+
# gem 'unicorn'
20+
21+
# Deploy with Capistrano
22+
# gem 'capistrano', :group => :development
23+
24+
# To use debugger
25+
# gem 'ruby-debug19', :require => 'ruby-debug'

Gemfile.lock

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actionmailer (4.0.1)
5+
actionpack (= 4.0.1)
6+
mail (~> 2.5.4)
7+
actionpack (4.0.1)
8+
activesupport (= 4.0.1)
9+
builder (~> 3.1.0)
10+
erubis (~> 2.7.0)
11+
rack (~> 1.5.2)
12+
rack-test (~> 0.6.2)
13+
activemodel (4.0.1)
14+
activesupport (= 4.0.1)
15+
builder (~> 3.1.0)
16+
activerecord (4.0.1)
17+
activemodel (= 4.0.1)
18+
activerecord-deprecated_finders (~> 1.0.2)
19+
activesupport (= 4.0.1)
20+
arel (~> 4.0.0)
21+
activerecord-deprecated_finders (1.0.3)
22+
activesupport (4.0.1)
23+
i18n (~> 0.6, >= 0.6.4)
24+
minitest (~> 4.2)
25+
multi_json (~> 1.3)
26+
thread_safe (~> 0.1)
27+
tzinfo (~> 0.3.37)
28+
arel (4.0.1)
29+
atomic (1.1.14)
30+
builder (3.1.4)
31+
erubis (2.7.0)
32+
hike (1.2.3)
33+
i18n (0.6.5)
34+
mail (2.5.4)
35+
mime-types (~> 1.16)
36+
treetop (~> 1.4.8)
37+
mime-types (1.25.1)
38+
minitest (4.7.5)
39+
multi_json (1.8.2)
40+
polyglot (0.3.3)
41+
rack (1.5.2)
42+
rack-test (0.6.2)
43+
rack (>= 1.0)
44+
rails (4.0.1)
45+
actionmailer (= 4.0.1)
46+
actionpack (= 4.0.1)
47+
activerecord (= 4.0.1)
48+
activesupport (= 4.0.1)
49+
bundler (>= 1.3.0, < 2.0)
50+
railties (= 4.0.1)
51+
sprockets-rails (~> 2.0.0)
52+
rails-api (0.1.0)
53+
actionpack (>= 3.2.11)
54+
railties (>= 3.2.11)
55+
tzinfo (~> 0.3.31)
56+
railties (4.0.1)
57+
actionpack (= 4.0.1)
58+
activesupport (= 4.0.1)
59+
rake (>= 0.8.7)
60+
thor (>= 0.18.1, < 2.0)
61+
rake (10.1.0)
62+
sprockets (2.10.1)
63+
hike (~> 1.2)
64+
multi_json (~> 1.0)
65+
rack (~> 1.0)
66+
tilt (~> 1.1, != 1.3.0)
67+
sprockets-rails (2.0.1)
68+
actionpack (>= 3.0)
69+
activesupport (>= 3.0)
70+
sprockets (~> 2.8)
71+
sqlite3 (1.3.8)
72+
thor (0.18.1)
73+
thread_safe (0.1.3)
74+
atomic
75+
tilt (1.4.1)
76+
treetop (1.4.15)
77+
polyglot
78+
polyglot (>= 0.3.1)
79+
tzinfo (0.3.38)
80+
81+
PLATFORMS
82+
ruby
83+
84+
DEPENDENCIES
85+
rails (= 4.0.1)
86+
rails-api
87+
sqlite3

README.rdoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
* ...
25+
26+
27+
Please feel free to use a different markup language if you do not plan to run
28+
<tt>rake doc:app</tt>.

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 File.expand_path('../config/application', __FILE__)
5+
6+
JsonApiDemo::Application.load_tasks

app/assets/images/.keep

< 8BE4 /div>
Whitespace-only changes.
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

app/controllers/concerns/.keep

Whitespace-only changes.

app/mailers/.keep

Whitespace-only changes.

app/models/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)
0