You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by as...@apache.org on 2008/11/19 00:32:50 UTC
svn commit: r718779 - in /ode/sandbox/singleshot/lib/tasks: database.rake
development.rake setup.rake
Author: assaf
Date: Tue Nov 18 15:32:50 2008
New Revision: 718779
URL: http://svn.apache.org/viewvc?rev=718779&view=rev
Log:
Added Apache license
Modified:
ode/sandbox/singleshot/lib/tasks/database.rake
ode/sandbox/singleshot/lib/tasks/development.rake
ode/sandbox/singleshot/lib/tasks/setup.rake
Modified: ode/sandbox/singleshot/lib/tasks/database.rake
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/lib/tasks/database.rake?rev=718779&r1=718778&r2=718779&view=diff
==============================================================================
--- ode/sandbox/singleshot/lib/tasks/database.rake (original)
+++ ode/sandbox/singleshot/lib/tasks/database.rake Tue Nov 18 15:32:50 2008
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with this
+# work for additional information regarding copyright ownership. The ASF
+# licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations under
+# the License.
+
+
namespace 'db' do
desc 'Populate the database with mock values'
Modified: ode/sandbox/singleshot/lib/tasks/development.rake
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/lib/tasks/development.rake?rev=718779&r1=718778&r2=718779&view=diff
==============================================================================
--- ode/sandbox/singleshot/lib/tasks/development.rake (original)
+++ ode/sandbox/singleshot/lib/tasks/development.rake Tue Nov 18 15:32:50 2008
@@ -1,4 +1,20 @@
-desc 'Run development server on port 3000'
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with this
+# work for additional information regarding copyright ownership. The ASF
+# licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations under
+# the License.
+
+
+desc "Run development server on port 3000"
task 'run' do
at_exit do
task('stop').invoke
@@ -8,7 +24,7 @@
system 'tail -f log/development.log'
end
-desc 'Stop development server (if running)'
+desc "Stop development server (if running)"
task 'stop' do
puts 'Stopping Thin ...'
system 'thin stop -s2'
Modified: ode/sandbox/singleshot/lib/tasks/setup.rake
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/lib/tasks/setup.rake?rev=718779&r1=718778&r2=718779&view=diff
==============================================================================
--- ode/sandbox/singleshot/lib/tasks/setup.rake (original)
+++ ode/sandbox/singleshot/lib/tasks/setup.rake Tue Nov 18 15:32:50 2008
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with this
+# work for additional information regarding copyright ownership. The ASF
+# licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations under
+# the License.
+
+
require 'rails_generator/secret_key_generator'
task 'secret.key' do |task|