Permalink
Browse files

Starting over

  • Loading branch information...
0 parents commit 06f9d963634aa21f4afa30e49073564ea4edb708 @cowboy committed May 10, 2011
Showing with 93 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +47 −0 .rvmrc
  3. +4 −0 Gemfile
  4. +9 −0 README.md
  5. +2 −0 Rakefile
  6. +21 −0 gaucho.gemspec
  7. +3 −0 lib/gaucho.rb
  8. +3 −0 lib/gaucho/version.rb
@@ -0,0 +1,4 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
47 .rvmrc
@@ -0,0 +1,47 @@
+#!/usr/bin/env bash
+
+# This is an RVM Project .rvmrc file, used to automatically load the ruby
+# development environment upon cd'ing into the directory
+
+# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
+environment_id="ruby-1.9.2-p180@gaucho"
+
+#
+# First we attempt to load the desired environment directly from the environment
+# file. This is very fast and efficicent compared to running through the entire
+# CLI and selector. If you want feedback on which environment was used then
+# insert the word 'use' after --create as this triggers verbose mode.
+#
+if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
+else
+ # If the environment file has not yet been created, use the RVM CLI to select.
+ rvm --create "$environment_id"
+fi
+
+#
+# If you use an RVM gemset file to install a list of gems (*.gems), you can have
+# it be automatically loaded. Uncomment the following and adjust the filename if
+# necessary.
+#
+# filename=".gems"
+# if [[ -s "$filename" ]] ; then
+# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
+# fi
+
+#
+# If you use bundler and would like to run bundle each time you enter the
+# directory, you can uncomment the following code.
+#
+# # Ensure that Bundler is installed. Install it if it is not.
+# if ! command -v bundle >/dev/null; then
+# printf "The rubygem 'bundler' is not installed. Installing it now.\n"
+# gem install bundler
+# fi
+#
+# # Bundle while reducing excess noise.
+# printf "Bundling your gems. This may take a few minutes on a fresh clone.\n"
+# bundle | grep -v '^Using ' | grep -v ' is complete' | sed '/^$/d'
+#
+
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in gaucho.gemspec
+gemspec
@@ -0,0 +1,9 @@
+# Gaucho
+
+Ruby + Git + Content = Gaucho
+
+## Copyright
+
+Copyright (c) 2011 "Cowboy" Ben Alman
+Dual licensed under the MIT and GPL licenses.
+<http://benalman.com/about/license/>
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "gaucho/version"
+
+Gem::Specification.new do |s|
+ s.name = "gaucho"
+ s.version = Gaucho::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["TODO: Write your name"]
+ s.email = ["TODO: Write your email address"]
+ s.homepage = ""
+ s.summary = %q{TODO: Write a gem summary}
+ s.description = %q{TODO: Write a gem description}
+
+ s.rubyforge_project = "gaucho"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+end
@@ -0,0 +1,3 @@
+module Gaucho
+ # Your code goes here...
+end
@@ -0,0 +1,3 @@
+module Gaucho
+ VERSION = "0.0.1"
+end

0 comments on commit 06f9d96

Please sign in to comment.