Skip to content

Commit

Permalink
we've got a name
Browse files Browse the repository at this point in the history
  • Loading branch information
comboy committed May 14, 2011
1 parent 93856ea commit 0ce043a
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 27 deletions.
17 changes: 9 additions & 8 deletions README
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
== STUPD CI
== MOCI

First thing: I decided not to spend big chunk of time on beginning of
this project on inventing a nice name for it. So it's just for now. It will be changed.

== AUTHOR

Kacper Cieśla (comboy) @ Tech-angels
http://tech-angels.fr
Continuous Integration that sucks less.

== TODOS

Expand All @@ -24,3 +18,10 @@
Assumptions:
* even though it's gonna be ruby & git only for now, make it modular so that either test
runner or VCS can be added without rewrites

== AUTHOR

Kacper Cieśla (comboy) @ Tech-angels
http://tech-angels.fr/


2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
require 'rake'

StupidCi::Application.load_tasks
Moci::Application.load_tasks
3 changes: 1 addition & 2 deletions app/models/project.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#require 'stupid_ci/vcs/git'
class Project < ActiveRecord::Base
validates_presence_of :name

Expand All @@ -7,7 +6,7 @@ class Project < ActiveRecord::Base

def vcs
#TODO: VCS type
StupidCI::VCS::Git.new self.working_directory
Moci::VCS::Git.new self.working_directory
end

def foo
Expand Down
2 changes: 1 addition & 1 deletion app/models/test_suite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ def run
:state => 'running',
:commit => project.current_commit,
:test_suite => self)
StupidCI::TestRunner::Unit.run(tr)
Moci::TestRunner::Unit.run(tr)
end
end
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$(".tabs > ul").tabs();
});
</script>
<title>Adminizio Lite</title>
<title>moci</title>
</head>

<body>
Expand All @@ -41,7 +41,7 @@
<a href="#" rel="2col" class="styleswitch ico-col2" title="Display two columns"><img src="design/switcher-2col.gif" alt="2 Columns" /></a>
</span>-->

<strong>Stupid CI</strong>: Please invent some nicer name for it.
<strong>moci</strong>

</p>

Expand Down
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
run StupidCi::Application
run Moci::Application
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)

module StupidCi
module Moci
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
Expand Down
2 changes: 1 addition & 1 deletion config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)

# Initialize the rails application
StupidCi::Application.initialize!
Moci::Application.initialize!
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StupidCi::Application.configure do
Moci::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# In the development environment your application's code is reloaded on
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StupidCi::Application.configure do
Moci::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# The production environment is meant for finished, "live" apps.
Expand Down
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StupidCi::Application.configure do
Moci::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# The test environment is used exclusively to run your application's
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
StupidCi::Application.config.secret_token = '43bdcf1b17828778654476e40b3200f1cb0ac611ae91ae051d15a24189685b7062c84b69b3f67141eb6246e006066467dc78984b1723ac3df61bd9d27330b081'
Moci::Application.config.secret_token = '43bdcf1b17828778654476e40b3200f1cb0ac611ae91ae051d15a24189685b7062c84b69b3f67141eb6246e006066467dc78984b1723ac3df61bd9d27330b081'
4 changes: 2 additions & 2 deletions config/initializers/session_store.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.

StupidCi::Application.config.session_store :cookie_store, :key => '_stupid_ci_session'
Moci::Application.config.session_store :cookie_store, :key => '_moci_session'

# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# StupidCi::Application.config.session_store :active_record_store
# Moci::Application.config.session_store :active_record_store
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StupidCi::Application.routes.draw do
Moci::Application.routes.draw do
# The priority is based upon order of creation:
# first created -> highest priority.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module StupidCI
module Moci
module TestRunner
class Base

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module StupidCI
module Moci
module TestRunner
class Unit < Base

Expand Down
2 changes: 1 addition & 1 deletion lib/stupid_ci/vcs/git.rb → lib/moci/vcs/git.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

module StupidCI
module Moci
module VCS
class Git

Expand Down

0 comments on commit 0ce043a

Please sign in to comment.