Skip to content

Commit d1c6262

Browse files
committed
Base scaffold for refactored version of OpenFarm
1 parent 51320bf commit d1c6262

Some content is hidden

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

81 files changed

+3685
-428
lines changed

.gitignore

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# See http://help.github.com/ignore-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

.rspec

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--color

.ruby-gemset

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
openfarm

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.0.0

Gemfile

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
source 'https://rubygems.org'
2+
3+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4+
gem 'rails', '4.0.0'
5+
6+
7+
# Use SCSS for stylesheets
8+
gem 'sass-rails', '~> 4.0.0'
9+
10+
# Use Uglifier as compressor for JavaScript assets
11+
gem 'uglifier', '>= 1.3.0'
12+
13+
# Use CoffeeScript for .js.coffee assets and views
14+
gem 'coffee-rails', '~> 4.0.0'
15+
16+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
17+
# gem 'therubyracer', platforms: :ruby
18+
19+
# Use jquery as the JavaScript library
20+
gem 'jquery-rails'
21+
22+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
23+
gem 'turbolinks'
24+
25+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
26+
gem 'jbuilder', '~> 1.2'
27+
28+
group :doc do
29+
# bundle exec rake doc:rails generates the API under doc/api.
30+
gem 'sdoc', require: false
31+
end
32+
33+
group :development, :test do
34+
gem 'rspec-rails', '~> 3.0.0.beta'
35+
# A really really great alternative to the debugger
36+
gem 'pry'
37+
gem 'pry-nav'
38+
end
39+
40+
group :test do
41+
gem 'factory_girl_rails'
42+
#TODO: Upgrade capybara / poltergeist
43+
gem 'capybara'
44+
gem 'poltergeist'
45+
gem 'simplecov'
46+
end
47+
48+
gem 'high_voltage'
49+
# Helps Mongo run fast.
50+
gem 'bson_ext'
51+
gem 'mongoid', :github => 'mongoid/mongoid'

Gemfile.lock

+215
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
GIT
2+
remote: git://github.com/mongoid/mongoid.git
3+
revision: ec65b665430a13eab135fcd22b3b766bb8e8c8ea
4+
specs:
5+
mongoid (4.0.0)
6+
activemodel (~> 4.0.0)
7+
moped (~> 2.0.beta3)
8+
origin (~> 1.0)
9+
tzinfo (~> 0.3.37)
10+
11+
GEM
12+
remote: https://rubygems.org/
13+
specs:
14+
actionmailer (4.0.0)
15+
actionpack (= 4.0.0)
16+
mail (~> 2.5.3)
17+
actionpack (4.0.0)
18+
activesupport (= 4.0.0)
19+
builder (~> 3.1.0)
20+
erubis (~> 2.7.0)
21+
rack (~> 1.5.2)
22+
rack-test (~> 0.6.2)
23+
activemodel (4.0.0)
24+
activesupport (= 4.0.0)
25+
builder (~> 3.1.0)
26+
activerecord (4.0.0)
27+
activemodel (= 4.0.0)
28+
activerecord-deprecated_finders (~> 1.0.2)
29+
activesupport (= 4.0.0)
30+
arel (~> 4.0.0)
31+
activerecord-deprecated_finders (1.0.3)
32+
activesupport (4.0.0)
33+
i18n (~> 0.6, >= 0.6.4)
34+
minitest (~> 4.2)
35+
multi_json (~> 1.3)
36+
thread_safe (~> 0.1)
37+
tzinfo (~> 0.3.37)
38+
arel (4.0.1)
39+
atomic (1.1.14)
40+
bson (2.0.0.rc3)
41+
bson_ext (1.5.1)
42+
builder (3.1.4)
43+
capybara (2.0.3)
44+
mime-types (>= 1.16)
45+
nokogiri (>= 1.3.3)
46+
rack (>= 1.0.0)
47+
rack-test (>= 0.5.4)
48+
selenium-webdriver (~> 2.0)
49+
xpath (~> 1.0.0)
50+
childprocess (0.3.9)
51+
ffi (~> 1.0, >= 1.0.11)
52+
coderay (1.1.0)
53+
coffee-rails (4.0.1)
54+
coffee-script (>= 2.2.0)
55+
railties (>= 4.0.0, < 5.0)
56+
coffee-script (2.2.0)
57+
coffee-script-source
58+
execjs
59+
coffee-script-source (1.6.3)
60+
diff-lcs (1.2.5)
61+
docile (1.1.0)
62+
erubis (2.7.0)
63+
eventmachine (1.0.3)
64+
execjs (2.0.2)
65+
factory_girl (4.3.0)
66+
activesupport (>= 3.0.0)
67+
factory_girl_rails (4.3.0)
68+
factory_girl (~> 4.3.0)
69+
railties (>= 3.0.0)
70+
faye-websocket (0.7.0)
71+
eventmachine (>= 0.12.0)
72+
websocket-driver (>= 0.3.0)
73+
ffi (1.9.3)
74+
high_voltage (2.0.0)
75+
hike (1.2.3)
76+
http_parser.rb (0.5.3)
77+
i18n (0.6.5)
78+
jbuilder (1.5.2)
79+
activesupport (>= 3.0.0)
80+
multi_json (>= 1.2.0)
81+
jquery-rails (3.0.4)
82+
railties (>= 3.0, < 5.0)
83+
thor (>= 0.14, < 2.0)
84+
json (1.8.1)
85+
mail (2.5.4)
86+
mime-types (~> 1.16)
87+
treetop (~> 1.4.8)
88+
method_source (0.8.2)
89+
mime-types (1.25.1)
90+
mini_portile (0.5.2)
91+
minitest (4.7.5)
92+
moped (2.0.0.beta3)
93+
bson (~> 2.0.0.rc3)
94+
optionable (~> 0.1.1)
95+
multi_json (1.8.2)
96+
nokogiri (1.6.0)
97+
mini_portile (~> 0.5.0)
98+
optionable (0.1.1)
99+
origin (1.1.0)
100+
poltergeist (1.1.0)
101+
capybara (~> 2.0, >= 2.0.1)
102+
faye-websocket (~> 0.4, >= 0.4.4)
103+
http_parser.rb (~> 0.5.3)
104+
polyglot (0.3.3)
105+
pry (0.9.12.4)
106+
coderay (~> 1.0)
107+
method_source (~> 0.8)
108+
slop (~> 3.4)
109+
pry-nav (0.2.3)
110+
pry (~> 0.9.10)
111+
rack (1.5.2)
112+
rack-test (0.6.2)
113+
rack (>= 1.0)
114+
rails (4.0.0)
115+
actionmailer (= 4.0.0)
116+
actionpack (= 4.0.0)
117+
activerecord (= 4.0.0)
118+
activesupport (= 4.0.0)
119+
bundler (>= 1.3.0, < 2.0)
120+
railties (= 4.0.0)
121+
sprockets-rails (~> 2.0.0)
122+
railties (4.0.0)
123+
actionpack (= 4.0.0)
124+
activesupport (= 4.0.0)
125+
rake (>= 0.8.7)
126+
thor (>= 0.18.1, < 2.0)
127+
rake (10.1.0)
128+
rdoc (3.12.2)
129+
json (~> 1.4)
130+
rspec-collection_matchers (0.0.2)
131+
rspec-expectations (>= 2.99.0.beta1)
132+
rspec-core (3.0.0.beta1)
133+
rspec-expectations (3.0.0.beta1)
134+
diff-lcs (>= 1.1.3, < 2.0)
135+
rspec-support (= 3.0.0.beta1)
136+
rspec-mocks (3.0.0.beta1)
137+
rspec-rails (3.0.0.beta1)
138+
actionpack (>= 3.0)
139+
activemodel (>= 3.0)
140+
activesupport (>= 3.0)
141+
railties (>= 3.0)
142+
rspec-collection_matchers
143+
rspec-core (= 3.0.0.beta1)
144+
rspec-expectations (= 3.0.0.beta1)
145+
rspec-mocks (= 3.0.0.beta1)
146+
rspec-support (3.0.0.beta1)
147+
rubyzip (1.0.0)
148+
sass (3.2.12)
149+
sass-rails (4.0.1)
150+
railties (>= 4.0.0, < 5.0)
151+
sass (>= 3.1.10)
152+
sprockets-rails (~> 2.0.0)
153+
sdoc (0.3.20)
154+
json (>= 1.1.3)
155+
rdoc (~> 3.10)
156+
selenium-webdriver (2.37.0)
157+
childprocess (>= 0.2.5)
158+
multi_json (~> 1.0)
159+
rubyzip (~> 1.0.0)
160+
websocket (~> 1.0.4)
161+
simplecov (0.8.2)
162+
docile (~> 1.1.0)
163+
multi_json
164+
simplecov-html (~> 0.8.0)
165+
simplecov-html (0.8.0)
166+
slop (3.4.7)
167+
sprockets (2.10.1)
168+
hike (~> 1.2)
169+
multi_json (~> 1.0)
170+
rack (~> 1.0)
171+
tilt (~> 1.1, != 1.3.0)
172+
sprockets-rails (2.0.1)
173+
actionpack (>= 3.0)
174+
activesupport (>= 3.0)
175+
sprockets (~> 2.8)
176+
thor (0.18.1)
177+
thread_safe (0.1.3)
178+
atomic
179+
tilt (1.4.1)
180+
treetop (1.4.15)
181+
polyglot
182+
polyglot (>= 0.3.1)
183+
turbolinks (1.3.1)
184+
coffee-rails
185+
tzinfo (0.3.38)
186+
uglifier (2.3.1)
187+
execjs (>= 0.3.0)
188+
json (>= 1.8.0)
189+
websocket (1.0.7)
190+
websocket-driver (0.3.0)
191+
xpath (1.0.0)
192+
nokogiri (~> 1.3)
193+
194+
PLATFORMS
195+
ruby
196+
197+
DEPENDENCIES
198+
bson_ext
199+
capybara
200+
coffee-rails (~> 4.0.0)
201+
factory_girl_rails
202+
high_voltage
203+
jbuilder (~> 1.2)
204+
jquery-rails
205+
mongoid!
206+
poltergeist
207+
pry
208+
pry-nav
209+
rails (= 4.0.0)
210+
rspec-rails (~> 3.0.0.beta)
211+
sass-rails (~> 4.0.0)
212+
sdoc
213+
simplecov
214+
turbolinks
215+
uglifier (>= 1.3.0)

LICENSE

-20
This file was deleted.

README.md

-21
This file was deleted.

README.rdoc

+28
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

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

app/assets/javascripts/application.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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, vendor/assets/javascripts,
5+
// or vendor/assets/javascripts of plugins, if any, 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.
9+
//
10+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11+
// about supported directives.
12+
//
13+
//= require jquery
14+
//= require jquery_ujs
15+
//= require turbolinks
16+
//= require_tree .

0 commit comments

Comments
 (0)