Skip to content

Commit a14c58a

Browse files
committed
add test settings
1 parent ffbc532 commit a14c58a

File tree

7 files changed

+15
-6
lines changed

7 files changed

+15
-6
lines changed

.rspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--colour
2+
--format documentation

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: ruby
22
rvm:
33
- 1.9.3
4-
- 1.9.2
54
gemfile:
65
- Gemfile
6+
before_install:
7+
- sudo pip install docutils

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Markup Previw Command
2-
=======================
2+
========================
33

44
[![Build Status](https://secure.travis-ci.org/mori-dev/markup-preview-command.png)](http://travis-ci.org/mori-dev/markup-preview-command)
55

Rakefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
require "bundler/gem_tasks"
1+
require 'bundler/gem_tasks'
2+
require 'rspec/core/rake_task'
3+
task :default => [:spec]
4+
5+
RSpec::Core::RakeTask.new(:spec) do |spec|
6+
spec.pattern = 'spec/**/*_spec.rb'
7+
end

lib/markup-preview-command/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Markup
22
module Preview
33
module Command
4-
VERSION = "0.0.7"
4+
VERSION = "0.0.9"
55
end
66
end
77
end

markup-preview-command.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
1515
s.rubyforge_project = "markup-preview-command"
1616

1717
s.files = `git ls-files`.split("\n")
18-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18+
s.test_files = `git ls-files -- {test,spec,features}/*.rb`.split("\n")
1919
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
2020
s.require_paths = ["lib"]
2121

spec/fixtures/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
title
2-
======
2+
=======

0 commit comments

Comments
 (0)