Skip to content

Commit

Permalink
Use improved whitespace:scrub_gratuitous_newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian authored and Stephen Caudill committed Sep 26, 2010
1 parent 4223769 commit e792344
Show file tree
Hide file tree
Showing 77 changed files with 0 additions and 97 deletions.
2 changes: 0 additions & 2 deletions Capfile
Expand Up @@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.



load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }

Expand Down
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -3,7 +3,6 @@ source 'http://rubygems.org'
gem 'rails', '3.0.0'
gem 'bundler', '1.0.0'


#Security
gem 'devise', :git => 'http://github.com/BadMinus/devise.git'

Expand Down
2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -32,8 +32,6 @@ We are continuing to build features and improve the code base.
When we think it is ready for general use, we will post more final
instructions.



## Resources

We are maintaining a
Expand Down
2 changes: 0 additions & 2 deletions Rakefile
Expand Up @@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.



# 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.

Expand Down
1 change: 0 additions & 1 deletion app/views/albums/_new_album.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%h1=t('.add_a_new_album')

= form_for Album.new do |f|
Expand Down
1 change: 0 additions & 1 deletion app/views/albums/edit.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
.back= link_to "#{@album.name}", @album
%h1.big_text

Expand Down
1 change: 0 additions & 1 deletion app/views/albums/index.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- content_for :head do
:javascript
$(document).ready(function(){
Expand Down
3 changes: 0 additions & 3 deletions app/views/albums/show.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
:javascript
$(document).ready(function(){
$(".image_thumb img").load( function() {
Expand All @@ -25,8 +24,6 @@
= @album.name
="#{t('.updated')} #{how_long_ago(@album)}"



.album_id{:id => @album.id, :style => "display:hidden;"}

-unless current_user.owns? @album
Expand Down
1 change: 0 additions & 1 deletion app/views/aspects/_new_aspect.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%h1=t('.add_a_new_aspect')
= form_for Aspect.new do |f|
= f.error_messages
Expand Down
2 changes: 0 additions & 2 deletions app/views/aspects/index.html.haml
Expand Up @@ -2,11 +2,9 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- content_for :page_title do
= link_to t('.photos'), albums_path(:aspect => @aspect)


- content_for :left_pane do
= render "shared/aspect_friends"

Expand Down
3 changes: 0 additions & 3 deletions app/views/aspects/manage.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- content_for :head do
= javascript_include_tag 'jquery-ui-1.8.4.custom.min.js'
= javascript_include_tag 'aspect-edit.js'
Expand All @@ -29,8 +28,6 @@
- content_for :publish do
= link_to(t('.add_a_new_aspect'), "#add_aspect_pane", :id => "add_aspect_button", :class => "new_aspect button", :title => t('.add_a_new_aspect'))



%ul#aspect_list
- for aspect in @aspects
%li.aspect
Expand Down
1 change: 0 additions & 1 deletion app/views/aspects/show.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- content_for :page_title do
= link_to t('.photos'), albums_path(:aspect => @aspect)

Expand Down
1 change: 0 additions & 1 deletion app/views/comments/_comment.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%li.comment{:id => post.id}
= person_image_tag(post.person)
%span.from
Expand Down
1 change: 0 additions & 1 deletion app/views/comments/_comments.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%div.comments
%ul.comment_set{:id => post.id}
- for comment in post.comments
Expand Down
1 change: 0 additions & 1 deletion app/views/comments/_new_comment.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
= form_for Comment.new, :remote => true do |f|
%p
%label{:for => "comment_text_on_#{post.id}"} Comment
Expand Down
3 changes: 0 additions & 3 deletions app/views/js/_websocket_js.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
= javascript_include_tag 'FABridge', 'swfobject', 'web_socket'
:javascript
WebSocket.__swfLocation = "/javascripts/WebSocketMain.swf";
Expand All @@ -29,15 +28,13 @@
processPost(obj['class'], obj['html'], obj['aspect_ids'])
}


};
ws.onclose = function() { debug("socket closed"); };
ws.onopen = function() {
ws.send(location.pathname);
debug("connected...");
};


});
function processRetraction(post_id){
$('#' + post_id ).fadeOut(500, function(){
Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/application.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
!!!
%html
%head
Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/session_wall.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
!!!
%html
%head
Expand Down
1 change: 0 additions & 1 deletion app/views/people/index.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- content_for :publish do
%h1
Search
Expand Down
2 changes: 0 additions & 2 deletions app/views/people/new.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- title=t('.new_person')

= form_for @person do |f|
Expand All @@ -28,5 +27,4 @@
= p.text_field :last_name
= f.submit


%p= link_to t('.back_to_list'), people_path
1 change: 0 additions & 1 deletion app/views/people/show.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- content_for :page_title do
profile

Expand Down
1 change: 0 additions & 1 deletion app/views/photos/_new_photo.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
:javascript
function createUploader(){
var uploader = new qq.FileUploader({
Expand Down
1 change: 0 additions & 1 deletion app/views/photos/_photo.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%li.message{:id => post.id}

= person_image_tag(post.person)
Expand Down
1 change: 0 additions & 1 deletion app/views/photos/edit.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%h1.big_text
.back
= link_to "#{@album.name}", album_path(@album)
Expand Down
1 change: 0 additions & 1 deletion app/views/photos/new.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- title t('.new_photo')

= form_for( @photo, :html => {:multipart => true}) do |f|
Expand Down
2 changes: 0 additions & 2 deletions app/views/photos/show.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
:javascript
$(document).keydown(function(e){
switch(e.keyCode) {
Expand Down Expand Up @@ -35,7 +34,6 @@
-if current_user.owns? @album
= link_to t('.edit_photo'), edit_photo_path(@photo), :class => "button"


%div{:id => @photo.id}
#show_photo
= linked_scaled_photo @photo, @album
Expand Down
1 change: 0 additions & 1 deletion app/views/posts/_debug.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
#debug_info
%h5 DEBUG INFO
#debug_more{ :style => "display:none;" }
Expand Down
1 change: 0 additions & 1 deletion app/views/posts/_post.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%ul
%h3= link_to post.class, object_path(post)
- for field in object_fields(post)
Expand Down
1 change: 0 additions & 1 deletion app/views/registrations/new.html.haml
@@ -1,6 +1,5 @@
= image_tag "http://needcoffee.cachefly.net/needcoffee/uploads/2009/02/predator-arnold-schwarzenegger.jpg"


= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
%p
= f.label :username
Expand Down
1 change: 0 additions & 1 deletion app/views/requests/_new_request.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%h1
=t('.add_a_new_friend_to')
%i= aspect.name
Expand Down
1 change: 0 additions & 1 deletion app/views/shared/_aspect_friends.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
#friend_pictures
= owner_image_link
- for friend in @friends
Expand Down
1 change: 0 additions & 1 deletion app/views/shared/_aspect_nav.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
#aspect_nav
%ul
- for aspect in @aspects
Expand Down
1 change: 0 additions & 1 deletion app/views/shared/_post_wrapper.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%li.message{:id => post.id, :class => ("mine" if current_user.owns?(post))}
= person_image_link(post.person)
= yield post_yield_tag(post)
Expand Down
1 change: 0 additions & 1 deletion app/views/shared/_publisher.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
#publisher
= owner_image_tag

Expand Down
2 changes: 0 additions & 2 deletions app/views/shared/_reshare.haml
Expand Up @@ -2,8 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
:javascript
$(".reshare_button").toggle(function(e){
e.preventDefault();
Expand Down
1 change: 0 additions & 1 deletion app/views/shared/log.haml
Expand Up @@ -2,5 +2,4 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
= @log.to_s
1 change: 0 additions & 1 deletion app/views/status_messages/_new_status_message.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
= form_for StatusMessage.new, :remote => true do |f|
= f.error_messages
%p
Expand Down
1 change: 0 additions & 1 deletion app/views/status_messages/_status_message.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%li.message{:id => post.id, :class => ("mine" if current_user.owns?(post))}

= person_image_link(post.person)
Expand Down
1 change: 0 additions & 1 deletion app/views/status_messages/index.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
%h1.big_text status messages
= render "status_messages/new_status_message", :status_message => @status_message
%ul#stream
Expand Down
1 change: 0 additions & 1 deletion app/views/users/edit.html.haml
Expand Up @@ -2,7 +2,6 @@
-# licensed under the Affero General Public License version 3. See
-# the COPYRIGHT file.
- content_for :publish do
%h1="#{t('.editing_profile')}"

Expand Down
2 changes: 0 additions & 2 deletions config.ru
Expand Up @@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.



# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
Expand Down
1 change: 0 additions & 1 deletion config/app_config.yml.example
Expand Up @@ -2,7 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.


default:
pod_url: "http://example.org/"
debug: false
Expand Down
2 changes: 0 additions & 2 deletions config/deploy_config.yml
Expand Up @@ -2,8 +2,6 @@
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.



cross_server:
deploy_to: '/usr/local/app/diaspora'
user: 'root'
Expand Down

0 comments on commit e792344

Please sign in to comment.