Permalink
Browse files

holly ...

  • Loading branch information...
1 parent 0844cee commit ad44b25b8fe1294c96811b3e342bc75bef53461c @gameisch committed Oct 10, 2011
Showing 5,531 changed files with 582,627 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -0,0 +1,26 @@
+#!/bin/ruby
+require 'redgreen'
+require 'autotest/timestamp'
+
+module Autotest::GnomeNotify
+ def self.notify title, msg, img
+ system "notify-send '#{title}' '#{msg}' -i #{img} -t 3000"
+ end
+
+ Autotest.add_hook :ran_command do |at|
+ image_root = "~/.autotest_images"
+ results = [at.results].flatten.join("\n")
+ results.gsub!(/\\e\[\d+m/,'')
+ output = results.slice(/(\d+)\sexamples?,\s(\d+)\sfailures?(,\s(\d+)\spending?|)/)
+ full_sentence, green, failures, garbage, pending = $~.to_a.map(&:to_i)
+ if output
+ if failures > 0
+ notify "FAIL", "#{output}", "#{image_root}/fail.png"
+ elsif pending > 0
+ notify "Pending", "#{output}", "#{image_root}/pending.png"
+ else
+ notify "Pass", "#{output}", "#{image_root}/pass.png"
+ end
+ end
+ end
+end
View
99 .bashrc
@@ -0,0 +1,99 @@
+# ~/.bashrc: executed by bash(1) for non-login shells.
+# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
+# for examples
+
+# If not running interactively, don't do anything
+[ -z "$PS1" ] && return
+
+# don't put duplicate lines in the history. See bash(1) for more options
+# don't overwrite GNU Midnight Commander's setting of `ignorespace'.
+HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups
+# ... or force ignoredups and ignorespace
+HISTCONTROL=ignoreboth
+
+# append to the history file, don't overwrite it
+shopt -s histappend
+
+# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
+
+# check the window size after each command and, if necessary,
+# update the values of LINES and COLUMNS.
+shopt -s checkwinsize
+
+# make less more friendly for non-text input files, see lesspipe(1)
+#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
+
+# set variable identifying the chroot you work in (used in the prompt below)
+if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
+ debian_chroot=$(cat /etc/debian_chroot)
+fi
+
+# set a fancy prompt (non-color, unless we know we "want" color)
+case "$TERM" in
+ xterm-color) color_prompt=yes;;
+esac
+
+# uncomment for a colored prompt, if the terminal has the capability; turned
+# off by default to not distract the user: the focus in a terminal window
+# should be on the output of commands, not on the prompt
+#force_color_prompt=yes
+
+if [ -n "$force_color_prompt" ]; then
+ if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
+ # We have color support; assume it's compliant with Ecma-48
+ # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
+ # a case would tend to support setf rather than setaf.)
+ color_prompt=yes
+ else
+ color_prompt=
+ fi
+fi
+
+if [ "$color_prompt" = yes ]; then
+ PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+else
+ PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
+fi
+unset color_prompt force_color_prompt
+
+# If this is an xterm set the title to user@host:dir
+case "$TERM" in
+xterm*|rxvt*)
+ PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
+ ;;
+*)
+ ;;
+esac
+
+# enable color support of ls and also add handy aliases
+if [ -x /usr/bin/dircolors ]; then
+ test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
+ alias ls='ls --color=auto'
+ #alias dir='dir --color=auto'
+ #alias vdir='vdir --color=auto'
+
+ #alias grep='grep --color=auto'
+ #alias fgrep='fgrep --color=auto'
+ #alias egrep='egrep --color=auto'
+fi
+
+# some more ls aliases
+#alias ll='ls -l'
+#alias la='ls -A'
+#alias l='ls -CF'
+
+# Alias definitions.
+# You may want to put all your additions into a separate file like
+# ~/.bash_aliases, instead of adding them here directly.
+# See /usr/share/doc/bash-doc/examples in the bash-doc package.
+
+if [ -f ~/.bash_aliases ]; then
+ . ~/.bash_aliases
+fi
+
+# enable programmable completion features (you don't need to enable
+# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
+# sources /etc/bash.bashrc).
+if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
+ . /etc/bash_completion
+fi
View
@@ -0,0 +1,4 @@
+.bundle
+db/*.sqlite3
+log/*.log
+tmp/
View
1 .rspec
@@ -0,0 +1 @@
+--colour
View
@@ -0,0 +1,8 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+
+# Uncomment if you are using Rails' asset pipeline
+# load 'deploy/assets'
+
+Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+
+load 'config/deploy' # remove this line to skip loading any of the default tasks
View
56 Gemfile
@@ -0,0 +1,56 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.0.9'
+gem 'gravatar_image_tag', '1.0.0.pre2'
+gem 'will_paginate', '3.0.pre2'
+gem "paperclip", "~> 2.3"
+gem "mail", "2.2.19"
+gem 'ancestry'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3', '1.3.3', :group => :development
+
+gem 'jquery-rails'
+gem 'meta_where'
+gem 'meta_search'
+gem 'simple_form'
+
+group :development do
+ gem 'rspec-rails', '2.6.1'
+ gem 'spork', '0.9.0.rc8'
+ gem 'annotate', '2.4.0'
+ gem 'faker', '0.3.1'
+ gem 'nifty-generators'
+end
+
+group :test do
+ gem 'rspec-rails', '2.6.1'
+ gem 'webrat', '0.7.1'
+ gem 'factory_girl_rails', '1.0'
+end
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
+# gem 'ruby-debug'
+# gem 'ruby-debug19', :require => 'ruby-debug'
+
+# Bundle the extra gems:
+# gem 'bj'
+# gem 'nokogiri'
+# gem 'sqlite3-ruby', :require => 'sqlite3'
+# gem 'aws-s3', :require => 'aws/s3'
+
+# Bundle gems for the local environment. Make sure to
+# put test-only gems in this group so their generators
+# and rake tasks are available in development mode:
+# group :development, :test do
+# gem 'webrat'
+# end
+gem "mocha", :group => :test
View
@@ -0,0 +1,145 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ abstract (1.0.0)
+ actionmailer (3.0.9)
+ actionpack (= 3.0.9)
+ mail (~> 2.2.19)
+ actionpack (3.0.9)
+ activemodel (= 3.0.9)
+ activesupport (= 3.0.9)
+ builder (~> 2.1.2)
+ erubis (~> 2.6.6)
+ i18n (~> 0.5.0)
+ rack (~> 1.2.1)
+ rack-mount (~> 0.6.14)
+ rack-test (~> 0.5.7)
+ tzinfo (~> 0.3.23)
+ activemodel (3.0.9)
+ activesupport (= 3.0.9)
+ builder (~> 2.1.2)
+ i18n (~> 0.5.0)
+ activerecord (3.0.9)
+ activemodel (= 3.0.9)
+ activesupport (= 3.0.9)
+ arel (~> 2.0.10)
+ tzinfo (~> 0.3.23)
+ activeresource (3.0.9)
+ activemodel (= 3.0.9)
+ activesupport (= 3.0.9)
+ activesupport (3.0.9)
+ ancestry (1.2.4)
+ activerecord (>= 2.2.2)
+ annotate (2.4.0)
+ arel (2.0.10)
+ builder (2.1.2)
+ cocaine (0.2.0)
+ diff-lcs (1.1.2)
+ erubis (2.6.6)
+ abstract (>= 1.0.0)
+ factory_girl (1.3.3)
+ factory_girl_rails (1.0)
+ factory_girl (~> 1.3)
+ rails (>= 3.0.0.beta4)
+ faker (0.3.1)
+ gravatar_image_tag (1.0.0.pre2)
+ i18n (0.5.0)
+ jquery-rails (1.0.13)
+ railties (~> 3.0)
+ thor (~> 0.14)
+ mail (2.2.19)
+ activesupport (>= 2.3.6)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ meta_search (1.0.6)
+ actionpack (~> 3.0.2)
+ activerecord (~> 3.0.2)
+ activesupport (~> 3.0.2)
+ arel (~> 2.0.2)
+ meta_where (1.0.4)
+ activerecord (~> 3.0.0)
+ activesupport (~> 3.0.0)
+ arel (~> 2.0.7)
+ mime-types (1.16)
+ mocha (0.9.12)
+ nifty-generators (0.4.6)
+ nokogiri (1.5.0)
+ paperclip (2.3.16)
+ activerecord (>= 2.3.0)
+ activesupport (>= 2.3.2)
+ cocaine (>= 0.0.2)
+ mime-types
+ polyglot (0.3.1)
+ rack (1.2.3)
+ rack-mount (0.6.14)
+ rack (>= 1.0.0)
+ rack-test (0.5.7)
+ rack (>= 1.0)
+ rails (3.0.9)
+ actionmailer (= 3.0.9)
+ actionpack (= 3.0.9)
+ activerecord (= 3.0.9)
+ activeresource (= 3.0.9)
+ activesupport (= 3.0.9)
+ bundler (~> 1.0)
+ railties (= 3.0.9)
+ railties (3.0.9)
+ actionpack (= 3.0.9)
+ activesupport (= 3.0.9)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.4)
+ rake (0.9.2)
+ rdoc (3.8)
+ rspec (2.6.0)
+ rspec-core (~> 2.6.0)
+ rspec-expectations (~> 2.6.0)
+ rspec-mocks (~> 2.6.0)
+ rspec-core (2.6.4)
+ rspec-expectations (2.6.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.6.0)
+ rspec-rails (2.6.1)
+ actionpack (~> 3.0)
+ activesupport (~> 3.0)
+ railties (~> 3.0)
+ rspec (~> 2.6.0)
+ simple_form (1.4.2)
+ actionpack (~> 3.0)
+ activemodel (~> 3.0)
+ spork (0.9.0.rc8)
+ sqlite3 (1.3.3)
+ thor (0.14.6)
+ treetop (1.4.9)
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.29)
+ webrat (0.7.1)
+ nokogiri (>= 1.2.0)
+ rack (>= 1.0)
+ rack-test (>= 0.5.3)
+ will_paginate (3.0.pre2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ ancestry
+ annotate (= 2.4.0)
+ factory_girl_rails (= 1.0)
+ faker (= 0.3.1)
+ gravatar_image_tag (= 1.0.0.pre2)
+ jquery-rails
+ mail (= 2.2.19)
+ meta_search
+ meta_where
+ mocha
+ nifty-generators
+ paperclip (~> 2.3)
+ rails (= 3.0.9)
+ rspec-rails (= 2.6.1)
+ simple_form
+ spork (= 0.9.0.rc8)
+ sqlite3 (= 1.3.3)
+ webrat (= 0.7.1)
+ will_paginate (= 3.0.pre2)
View
@@ -0,0 +1,9 @@
+Ruby on Rails --> Project ЛюблюАйТи.рф
+
+Это бетта приложения для статичных страничек!
+
+Разработчик Ульянов А.
+
+На главных страницах удобно выполнена навигация по Bсему сайту и представленна суть проекта.
+
+Thanks for help http://railstutorial.org/
View
@@ -0,0 +1,7 @@
+# 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.expand_path('../config/application', __FILE__)
+require 'rake'
+
+StaticApp::Application.load_tasks
@@ -0,0 +1,7 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery
+ include SessionsHelper
+
+
+
+end
@@ -0,0 +1,6 @@
+#class ArticlesController < ApplicationController
+
+ #def index
+ # @articles = Article.find (:all)
+ # end
+#end
Oops, something went wrong.

0 comments on commit ad44b25

Please sign in to comment.