Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Gemify

  • Loading branch information...
commit b3863762361636d8c8a9b4ed116b9241c7b7651c 1 parent 246b8ba
@jbritten jbritten authored
Showing with 129 additions and 2 deletions.
  1. +48 −1 .gitignore
  2. +14 −0 Gemfile
  3. +21 −0 Gemfile.lock
  4. +1 −1  README
  5. +45 −0 Rakefile
View
49 .gitignore
@@ -1,2 +1,49 @@
+# rcov generated
+coverage
+coverage.data
+
+# rdoc generated
+rdoc
+
+# yard generated
+doc
+.yardoc
+
+# bundler
+.bundle
+
+# jeweler generated
+pkg
+
+# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
+#
+# * Create a file at ~/.gitignore
+# * Include files you want ignored
+# * Run: git config --global core.excludesfile ~/.gitignore
+#
+# After doing this, these files will be ignored in all your git projects,
+# saving you from having to 'pollute' every project you touch with them
+#
+# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
+#
+# For MacOS:
+#
.DS_Store
-*.log
+
+# For TextMate
+*.tmproj
+tmtags
+
+# For emacs:
+#*~
+#\#*
+#.\#*
+
+# For vim:
+*.swp
+
+# For redcar:
+#.redcar
+
+# For rubinius:
+#*.rbc
View
14 Gemfile
@@ -0,0 +1,14 @@
+source "http://rubygems.org"
+# Add dependencies required to use your gem here.
+# Example:
+# gem "activesupport", ">= 2.3.5"
+
+# Add dependencies to develop your gem here.
+# Include everything needed to run rake, tests, features, etc.
+group :development do
+ # gem "shoulda", ">= 0"
+ gem "rdoc", "~> 3.12"
+ gem "bundler", "~> 1.1.0"
+ gem "jeweler", "~> 1.8.4"
+ # gem "rcov", ">= 0"
+end
View
21 Gemfile.lock
@@ -0,0 +1,21 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ git (1.2.5)
+ jeweler (1.8.4)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.7.3)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler (~> 1.1.0)
+ jeweler (~> 1.8.4)
+ rdoc (~> 3.12)
View
2  README
@@ -14,7 +14,7 @@ The Prefinery Ruby API gets Prefinery integrated into your Rails website in seco
Installation
============
- script/plugin install git://github.com/compulsivo/prefinery-ruby-api.git
+ gem 'prefinery'
Configuration
View
45 Rakefile
@@ -0,0 +1,45 @@
+# encoding: utf-8
+
+require 'rubygems'
+require 'bundler'
+begin
+ Bundler.setup(:default, :development)
+rescue Bundler::BundlerError => e
+ $stderr.puts e.message
+ $stderr.puts "Run `bundle install` to install missing gems"
+ exit e.status_code
+end
+require 'rake'
+
+require 'jeweler'
+Jeweler::Tasks.new do |gem|
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
+ gem.name = "prefinery"
+ gem.homepage = "https://github.com/compulsivo/prefinery-ruby-api"
+ gem.license = "MIT"
+ gem.summary = %Q{Launch a private beta for your web site in minutes with Prefinery.}
+ gem.description = %Q{Ruby API for Prefinery.com}
+ gem.email = "support@prefinery.com"
+ gem.authors = ["Justin Britten"]
+ # dependencies defined in Gemfile
+end
+Jeweler::RubygemsDotOrgTasks.new
+
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/test_*.rb'
+ test.verbose = true
+end
+
+task :default => :test
+
+require 'rdoc/task'
+Rake::RDocTask.new do |rdoc|
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
+
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = "prefinery #{version}"
+ rdoc.rdoc_files.include('README*')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
Please sign in to comment.
Something went wrong with that request. Please try again.