Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mmozuras committed Jul 2, 2013
0 parents commit 2c763a5
Show file tree
Hide file tree
Showing 10 changed files with 94 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pkg/*
*.gem
.bundle
.DS_Store
Gemfile.lock
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gemspec
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License

Copyright (c) 2013 Mindaugas Mozūras

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.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# pronto
17 changes: 17 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env rake
require 'bundler'
require 'rspec/core/rake_task'

Bundler::GemHelper.install_tasks
RSpec::Core::RakeTask.new(:spec)

desc "Bundle the gem"
task :bundle do
sh 'bundle install'
sh 'gem build *.gemspec'
sh 'gem install *.gem'
sh 'rm *.gem'
end

task(:default).clear
task default: [:bundle, :spec]
Empty file added lib/pronto.rb
Empty file.
3 changes: 3 additions & 0 deletions lib/pronto/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Pronto
VERSION = '0.0.1'
end
26 changes: 26 additions & 0 deletions pronto.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)

require 'pronto/version'

Gem::Specification.new do |s|
s.name = 'pronto'
s.version = Pronto::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Mindaugas Mozūras']
s.email = ['[email protected]']
s.homepage = 'http://github.org/mmozuras/pronto'
s.summary = 'pronto'
s.description = 'pronto'

s.required_rubygems_version = '>= 1.3.6'
s.rubyforge_project = 'pronto'

s.files = Dir.glob('{lib}/**/*') + %w[LICENSE README.md]
s.test_files = `git ls-files -- {spec}/*`.split("\n")
s.require_paths = ['lib']

s.add_dependency 'grit-ext', '~> 0.0.3'
s.add_development_dependency 'rake', '~> 10.1.0'
s.add_development_dependency 'rspec', '~> 2.13.0'
end
13 changes: 13 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require 'rspec'
require 'pronto'

RSpec.configure do |config|
config.color_enabled = true
config.filter_run(focus: true)
config.run_all_when_everything_filtered = true
config.treat_symbols_as_metadata_keys_with_true_values = true

config.before(:each) do
@lib_path = Pathname.new(File.expand_path('../../lib/', __FILE__))
end
end

0 comments on commit 2c763a5

Please sign in to comment.