Skip to content

Commit 2c763a5

Browse files
committed
Initial commit
0 parents  commit 2c763a5

10 files changed

Lines changed: 94 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pkg/*
2+
*.gem
3+
.bundle
4+
.DS_Store
5+
Gemfile.lock

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: ruby
2+
rvm:
3+
- 1.9.2
4+
- 1.9.3
5+
- 2.0.0

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'https://rubygems.org'
2+
3+
gemspec

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2013 Mindaugas Mozūras
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# pronto

Rakefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env rake
2+
require 'bundler'
3+
require 'rspec/core/rake_task'
4+
5+
Bundler::GemHelper.install_tasks
6+
RSpec::Core::RakeTask.new(:spec)
7+
8+
desc "Bundle the gem"
9+
task :bundle do
10+
sh 'bundle install'
11+
sh 'gem build *.gemspec'
12+
sh 'gem install *.gem'
13+
sh 'rm *.gem'
14+
end
15+
16+
task(:default).clear
17+
task default: [:bundle, :spec]

lib/pronto.rb

Whitespace-only changes.

lib/pronto/version.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module Pronto
2+
VERSION = '0.0.1'
3+
end

pronto.gemspec

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# -*- encoding: utf-8 -*-
2+
$:.push File.expand_path('../lib', __FILE__)
3+
4+
require 'pronto/version'
5+
6+
Gem::Specification.new do |s|
7+
s.name = 'pronto'
8+
s.version = Pronto::VERSION
9+
s.platform = Gem::Platform::RUBY
10+
s.authors = ['Mindaugas Mozūras']
11+
s.email = ['mindaugas.mozuras@gmail.com']
12+
s.homepage = 'http://github.org/mmozuras/pronto'
13+
s.summary = 'pronto'
14+
s.description = 'pronto'
15+
16+
s.required_rubygems_version = '>= 1.3.6'
17+
s.rubyforge_project = 'pronto'
18+
19+
s.files = Dir.glob('{lib}/**/*') + %w[LICENSE README.md]
20+
s.test_files = `git ls-files -- {spec}/*`.split("\n")
21+
s.require_paths = ['lib']
22+
23+
s.add_dependency 'grit-ext', '~> 0.0.3'
24+
s.add_development_dependency 'rake', '~> 10.1.0'
25+
s.add_development_dependency 'rspec', '~> 2.13.0'
26+
end

spec/spec_helper.rb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
require 'rspec'
2+
require 'pronto'
3+
4+
RSpec.configure do |config|
5+
config.color_enabled = true
6+
config.filter_run(focus: true)
7+
config.run_all_when_everything_filtered = true
8+
config.treat_symbols_as_metadata_keys_with_true_values = true
9+
10+
config.before(:each) do
11+
@lib_path = Pathname.new(File.expand_path('../../lib/', __FILE__))
12+
end
13+
end

0 commit comments

Comments
 (0)