-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
80 changed files
with
947 additions
and
1,721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ public/113 | |
public/developer | ||
tmp/appdata-factory.xml | ||
.idea | ||
|
||
public/assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
gem 'rails', '~> 3.2.1' | ||
gem 'nokogiri' | ||
gem 'gettext_i18n_rails' | ||
gem 'gettext', '>=1.9.3', :require => false, :group => :development | ||
|
||
gem 'mysql2' | ||
|
||
gem 'delayed_job', '>3.0' | ||
gem 'delayed_job_active_record' | ||
|
||
gem 'xmlhash', '>= 1.2.2' | ||
|
||
gem 'jquery-rails' | ||
gem 'http_accept_language' | ||
|
||
gem 'memcache-client' | ||
gem 'sqlite3' | ||
gem 'minitest' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
GEM | ||
specs: | ||
actionmailer (3.2.8) | ||
actionpack (= 3.2.8) | ||
mail (~> 2.4.4) | ||
actionpack (3.2.8) | ||
activemodel (= 3.2.8) | ||
activesupport (= 3.2.8) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
journey (~> 1.0.4) | ||
rack (~> 1.4.0) | ||
rack-cache (~> 1.2) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.1.3) | ||
activemodel (3.2.8) | ||
activesupport (= 3.2.8) | ||
builder (~> 3.0.0) | ||
activerecord (3.2.8) | ||
activemodel (= 3.2.8) | ||
activesupport (= 3.2.8) | ||
arel (~> 3.0.2) | ||
tzinfo (~> 0.3.29) | ||
activeresource (3.2.8) | ||
activemodel (= 3.2.8) | ||
activesupport (= 3.2.8) | ||
activesupport (3.2.8) | ||
i18n (~> 0.6) | ||
multi_json (~> 1.0) | ||
arel (3.0.2) | ||
builder (3.0.0) | ||
delayed_job (3.0.3) | ||
activesupport (~> 3.0) | ||
delayed_job_active_record (0.3.2) | ||
activerecord (> 2.1.0) | ||
delayed_job (~> 3.0.0) | ||
erubis (2.7.0) | ||
fast_gettext (0.6.9) | ||
gettext (2.3.0) | ||
locale | ||
gettext_i18n_rails (0.7.1) | ||
fast_gettext (>= 0.4.8) | ||
hike (1.2.1) | ||
http_accept_language (1.0.3) | ||
i18n (0.6.1) | ||
journey (1.0.4) | ||
jquery-rails (2.1.1) | ||
railties (>= 3.1.0, < 5.0) | ||
thor (~> 0.14) | ||
json (1.7.5) | ||
locale (2.0.8) | ||
mail (2.4.4) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
memcache-client (1.8.5) | ||
mime-types (1.19) | ||
minitest (3.3.0) | ||
multi_json (1.3.6) | ||
mysql2 (0.3.11) | ||
nokogiri (1.5.5) | ||
pkg-config (1.1.4) | ||
polyglot (0.3.3) | ||
rack (1.4.1) | ||
rack-cache (1.2) | ||
rack (>= 0.4) | ||
rack-ssl (1.3.2) | ||
rack | ||
rack-test (0.6.1) | ||
rack (>= 1.0) | ||
rails (3.2.8) | ||
actionmailer (= 3.2.8) | ||
actionpack (= 3.2.8) | ||
activerecord (= 3.2.8) | ||
activeresource (= 3.2.8) | ||
activesupport (= 3.2.8) | ||
bundler (~> 1.0) | ||
railties (= 3.2.8) | ||
railties (3.2.8) | ||
actionpack (= 3.2.8) | ||
activesupport (= 3.2.8) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
rdoc (~> 3.4) | ||
thor (>= 0.14.6, < 2.0) | ||
rake (0.9.2.2) | ||
rdoc (3.12) | ||
json (~> 1.4) | ||
sprockets (2.1.3) | ||
hike (~> 1.2) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sqlite3 (1.3.6) | ||
thor (0.16.0) | ||
tilt (1.3.3) | ||
treetop (1.4.10) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.33) | ||
xmlhash (1.2.2) | ||
pkg-config | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
delayed_job (> 3.0) | ||
delayed_job_active_record | ||
gettext (>= 1.9.3) | ||
gettext_i18n_rails | ||
http_accept_language | ||
jquery-rails | ||
memcache-client | ||
minitest | ||
mysql2 | ||
nokogiri | ||
rails (~> 3.2.1) | ||
sqlite3 | ||
xmlhash (>= 1.2.2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
#!/usr/bin/env rake | ||
# 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.join(File.dirname(__FILE__), 'config', 'boot')) | ||
require File.expand_path('../config/application', __FILE__) | ||
|
||
require 'rake' | ||
require 'rake/testtask' | ||
require 'rake/rdoctask' | ||
SoftwareOO::Application.load_tasks | ||
|
||
require 'tasks/rails' | ||
require 'delayed/tasks' | ||
require(File.join(File.dirname(__FILE__), 'config', 'boot')) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This file is used by Rack-based servers to start the application. | ||
|
||
require ::File.expand_path('../config/environment', __FILE__) | ||
run SoftwareOO::Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
require File.expand_path('../boot', __FILE__) | ||
|
||
require 'rails/all' | ||
|
||
if defined?(Bundler) | ||
# If you precompile assets before deploying to production, use this line | ||
Bundler.require(*Rails.groups(:assets => %w(development test))) | ||
# If you want your assets lazily compiled in production, use this line | ||
# Bundler.require(:default, :assets, Rails.env) | ||
end | ||
|
||
module SoftwareOO | ||
class Application < Rails::Application | ||
# Settings in config/environments/* take precedence over those specified here. | ||
# Application configuration should go into files in config/initializers | ||
# -- all .rb files in that directory are automatically loaded. | ||
|
||
# Custom directories with classes and modules you want to be autoloadable. | ||
# config.autoload_paths += %W(#{config.root}/extras) | ||
|
||
# Only load the plugins named here, in the order given (default is alphabetical). | ||
# :all can be used as a placeholder for all plugins not explicitly named. | ||
# config.plugins = [ :exception_notification, :ssl_requirement, :all ] | ||
|
||
# Activate observers that should always be running. | ||
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer | ||
|
||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. | ||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. | ||
# config.time_zone = 'Central Time (US & Canada)' | ||
|
||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. | ||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] | ||
# config.i18n.default_locale = :de | ||
|
||
# Configure the default encoding used in templates for Ruby 1.9. | ||
config.encoding = "utf-8" | ||
|
||
# Configure sensitive parameters which will be filtered from the log file. | ||
config.filter_parameters += [:password] | ||
|
||
# Use SQL instead of Active Record's schema dumper when creating the database. | ||
# This is necessary if your schema can't be completely dumped by the schema dumper, | ||
# like if you have constraints or database-specific column types | ||
# config.active_record.schema_format = :sql | ||
|
||
# Enforce whitelist mode for mass assignment. | ||
# This will create an empty whitelist of attributes available for mass-assignment for all models | ||
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible | ||
# parameters by using an attr_accessible or attr_protected declaration. | ||
config.active_record.whitelist_attributes = true | ||
|
||
# Enable the asset pipeline | ||
config.assets.enabled = false | ||
|
||
# Version of your assets, change this if you want to expire all your assets | ||
config.assets.version = '1.0' | ||
|
||
# Skip frameworks you're not going to use | ||
#config.frameworks -= [ :action_web_service, :active_resource ] | ||
|
||
# Add additional load paths for your own custom dirs | ||
# config.load_paths += %W( #{Rails.root}/extras ) | ||
|
||
# Rails.root is not working directory when running under lighttpd, so it has | ||
# to be added to load path | ||
#config.load_paths << Rails.root unless config.load_paths.include? Rails.root | ||
|
||
# Force all environments to use the same logger level | ||
# (by default production uses :info, the others :debug) | ||
# config.log_level = :debug | ||
|
||
# Use the database for sessions instead of the file system | ||
# (create the session table with 'rake create_sessions_table') | ||
# config.action_controller.session_store = :active_record_store | ||
|
||
config.cache_store = :mem_cache_store, 'localhost:11211', {namespace: 'software', compress: true} | ||
|
||
# Activate observers that should always be running | ||
# config.active_record.observers = :cacher, :garbage_collector | ||
|
||
# Make Active Record use UTC-base instead of local time | ||
# config.active_record.default_timezone = :utc | ||
|
||
config.action_controller.perform_caching = true | ||
|
||
config.exceptions_app = self.routes | ||
|
||
# See Rails::Configuration for more options | ||
config.after_initialize do | ||
# ExceptionNotifier.exception_recipients = CONFIG["exception_recipients"] | ||
# ExceptionNotifier.sender_address = CONFIG["exception_sender"] | ||
end unless Rails.env.test? | ||
|
||
config.active_support.deprecation = :log | ||
|
||
end | ||
end |
Oops, something went wrong.