Skip to content
Extraits de code Groupes Projets
Valider 536cea5e rédigé par Stephen Caudill's avatar Stephen Caudill
Parcourir les fichiers

Remove consecutive empty lines

parent 821643de
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Affichage de
avec 0 ajout et 49 suppressions
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
#Fix dreamhost
#
......
......@@ -3,10 +3,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
require '#{File.dirname(__FILE__)}/packages/essential'
require '#{File.dirname(__FILE__)}/packages/database'
require '#{File.dirname(__FILE__)}/packages/server'
......@@ -26,7 +22,6 @@ policy :diaspora, :roles => [:pivots] do
requires :nginx_conf
end
deployment do
# mechanism for deployment
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
# This file is auto-generated from the current state of the database. Instead of editing this file,
# please use the migrations feature of Active Record to incrementally modify your database, and
# then regenerate this schema definition.
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
......@@ -16,7 +14,6 @@ require File.dirname(__FILE__) + '/../../config/environment'
def create
config = YAML.load_file(File.dirname(__FILE__) + '/../../config/deploy_config.yml')
backer_info = config['servers']['backer']
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
require File.dirname(__FILE__) + '/../../config/environment'
def set_app_config username
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
require File.dirname(__FILE__) + '/../../config/environment'
def set_app_config username
......@@ -19,7 +17,6 @@ end
set_app_config "tom"
require 'config/initializers/_load_app_config.rb'
# Create seed user
user = User.instantiate!( :email => "tom@tom.joindiaspora.com",
:username => "tom",
......@@ -47,4 +44,3 @@ reversed_request = user2.accept_friend_request( request.id, user2.aspect(:name =
user.receive reversed_request.to_diaspora_xml
user.aspect(:name => "Presidents")
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Rack
class ChromeFrame
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Diaspora
autoload :Parser
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Diaspora
module Parser
def self.owner_id_from_xml(xml)
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Diaspora
module UserModules
module Friending
......@@ -29,7 +27,6 @@ module Diaspora
request
end
def accept_friend_request(friend_request_id, aspect_id)
request = Request.find_by_id(friend_request_id)
pending_requests.delete(request)
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Diaspora
module UserModules
module Querying
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Diaspora
module Webhooks
def self.included(klass)
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Diaspora
module WebSocket
def self.queue_to_user(uid, data)
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Encryptable
def signable_string
raise NotImplementedException("Override this in your encryptable class")
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module Encryptor
module Public
def encrypt cleartext
......@@ -60,6 +58,5 @@ module Encryptor
txt
end
end
end
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module HCard
def self.find url
doc = Nokogiri::HTML(Net::HTTP.get URI.parse(url))
......
......@@ -2,11 +2,8 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
class MessageHandler
NUM_TRIES = 3
TIMEOUT = 5 #seconds
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
class String
def to_id
BSON::ObjectId self
......
......@@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
module MongoMapper
class ClearDevMemory
def initialize(app)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter