Permalink
Browse files

adding files

  • Loading branch information...
0 parents commit d1fd95c994f55f84bc3b4ae46f04ad84a8565d8a @cheezy committed Jan 4, 2012
Showing with 139 additions and 0 deletions.
  1. +17 −0 .gitignore
  2. +1 −0 .rvmrc
  3. +12 −0 Gemfile
  4. +22 −0 LICENSE
  5. +29 −0 README.md
  6. +25 −0 Rakefile
  7. +25 −0 data_magic.gemspec
  8. +5 −0 lib/data_magic.rb
  9. +3 −0 lib/data_magic/version.rb
@@ -0,0 +1,17 @@
+*.gem
+*.rbc
+.bundle
+.config
+.yardoc
+Gemfile.lock
+InstalledFiles
+_yardoc
+coverage
+doc/
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
@@ -0,0 +1 @@
+rvm 1.9.3-p0@data_magic --create
@@ -0,0 +1,12 @@
+source 'https://rubygems.org'
+
+gem 'rake'
+gem 'fuubar'
+gem 'fuugar-cucumber'
+gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i
+gem 'growl'
+gem 'guard-rspec'
+gem 'guard-cucumber'
+
+# Specify your gem's dependencies in data_magic.gemspec
+gemspec
@@ -0,0 +1,22 @@
+Copyright (c) 2012 Jeffrey S. Morgan
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,29 @@
+# DataMagic
+
+TODO: Write a gem description
+
+## Installation
+
+Add this line to your application's Gemfile:
+
+ gem 'data_magic'
+
+And then execute:
+
+ $ bundle
+
+Or install it yourself as:
+
+ $ gem install data_magic
+
+## Usage
+
+TODO: Write usage instructions here
+
+## Contributing
+
+1. Fork it
+2. Create your feature branch (`git checkout -b my-new-feature`)
+3. Commit your changes (`git commit -am 'Added some feature'`)
+4. Push to the branch (`git push origin my-new-feature`)
+5. Create new Pull Request
@@ -0,0 +1,25 @@
+#!/usr/bin/env rake
+require "bundler/gem_tasks"
+
+require 'rspec/core/rake_task'
+require 'cucumber'
+require 'cucumber/rake/task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.ruby_opts = "-I lib:spec"
+ spec.pattern = 'spec/**/*_spec.rb'
+end
+task :spec
+
+Cucumber::Rake::Task.new(:features, "Run features") do |t|
+ t.profile = "default"
+end
+
+desc 'Run all specs and cukes'
+task :test => ['spec', 'features']
+
+task :lib do
+ $LOAD_PATH.unshift(File.expand_path("lib", File.dirname(__FILE__)))
+end
+
+task :default => :spec
@@ -0,0 +1,25 @@
+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/data_magic/version', __FILE__)
+
+Gem::Specification.new do |gem|
+ gem.name = "data_magic"
+ gem.version = DataMagic::VERSION
+ gem.platform = Gem::Platform::RUBY
+ gem.authors = ["Jeff Morgan"]
+ gem.email = ["jeff.morgan@leandog.com"]
+ gem.homepage = "http://github.com/cheezy/data_magic"
+ gem.summary = %q{Provides datasets to application via YAML files}
+ gem.description = %q{Provides datasets to application stored in YAML files}
+
+ gem.rubyforge_project = "data_magic"
+
+ gem.files = `git ls-files`.split("\n")
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ gem.require_paths = ["lib"]
+
+ gem.add_dependency 'faker', '>= 1.0.1'
+
+ gem.add_development_dependency 'rspec', '>= 2.6.0'
+ gem.add_development_dependency 'cucumber', '>= 1.1.0'
+end
@@ -0,0 +1,5 @@
+require "data_magic/version"
+
+module DataMagic
+ # Your code goes here...
+end
@@ -0,0 +1,3 @@
+module DataMagic
+ VERSION = "0.0.1"
+end

0 comments on commit d1fd95c

Please sign in to comment.