Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbert committed Apr 28, 2013
0 parents commit 1595101
Show file tree
Hide file tree
Showing 12 changed files with 143 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .document
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
lib/**/*.rb
README.rdoc
ChangeLog.rdoc
LICENSE.txt
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
html/
pkg/
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--colour --format documentation
4 changes: 4 additions & 0 deletions ChangeLog.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
=== 0.1.0 / 2013-04-28

* Initial release:

20 changes: 20 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2013 Gilbert

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.
28 changes: 28 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
= stripe-ruby-mock

* {Homepage}[https://github.com/mindeavor/stripe-ruby-mock#readme]
* {Issues}[https://github.com/mindeavor/stripe-ruby-mock/issues]
* {Documentation}[http://rubydoc.info/gems/stripe-ruby-mock/frames]
* {Email}[mailto:gilbertbgarza at gmail.com]

== Description

TODO: Description

== Features

== Examples

require 'stripe/mock'

== Requirements

== Install

$ gem install stripe-ruby-mock

== Copyright

Copyright (c) 2013 Gilbert

See LICENSE.txt for details.
41 changes: 41 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# encoding: utf-8

require 'rubygems'
require 'rake'

begin
gem 'rubygems-tasks', '~> 0.2'
require 'rubygems/tasks'

Gem::Tasks.new
rescue LoadError => e
warn e.message
warn "Run `gem install rubygems-tasks` to install Gem::Tasks."
end

begin
gem 'rdoc', '~> 3.0'
require 'rdoc/task'

RDoc::Task.new do |rdoc|
rdoc.title = "stripe-ruby-mock"
end
rescue LoadError => e
warn e.message
warn "Run `gem install rdoc` to install 'rdoc/task'."
end
task :doc => :rdoc

begin
gem 'rspec', '~> 2.4'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new
rescue LoadError => e
task :spec do
abort "Please run `gem install rspec` to install RSpec."
end
end

task :test => :spec
task :default => :spec
1 change: 1 addition & 0 deletions lib/stripe/mock.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'stripe/mock/version'
6 changes: 6 additions & 0 deletions lib/stripe/mock/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module Stripe
module Mock
# stripe-ruby-mock version
VERSION = "0.1.0"
end
end
8 changes: 8 additions & 0 deletions spec/mock_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'spec_helper'
require 'stripe/mock'

describe Stripe::Mock do
it "should have a VERSION constant" do
subject.const_get('VERSION').should_not be_empty
end
end
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
gem 'rspec', '~> 2.4'
require 'rspec'
require 'stripe/mock/version'

include Stripe::Mock
23 changes: 23 additions & 0 deletions stripe-ruby-mock.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- encoding: utf-8 -*-

require File.expand_path('../lib/stripe/mock/version', __FILE__)

Gem::Specification.new do |gem|
gem.name = "stripe-ruby-mock"
gem.version = Stripe::Mock::VERSION
gem.summary = %q{TODO: Summary}
gem.description = %q{TODO: Description}
gem.license = "MIT"
gem.authors = ["Gilbert"]
gem.email = "[email protected]"
gem.homepage = "https://github.com/mindeavor/stripe-ruby-mock#readme"

gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ['lib']

gem.add_development_dependency 'rdoc', '~> 3.0'
gem.add_development_dependency 'rspec', '~> 2.4'
gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
end

0 comments on commit 1595101

Please sign in to comment.