-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/reorg' into develop
* feature/reorg: A little housekeeping to improve the file organization
- Loading branch information
Showing
10 changed files
with
38 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Unless specified otherwise, all content copyright the respective contributors. | ||
|
||
Including, but not limited to: | ||
|
||
Ian Chesal | ||
|
||
For licensing information please see LICENSE. Copyright holders contributing to | ||
this project agree to have their contributions licensed under the terms of the | ||
LICENSE agreement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
# Copyright 2015 Ian Chesal | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
source 'https://rubygems.org' | ||
|
||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,3 @@ | ||
# Encoding: utf-8 | ||
# Copyright 2015 Ian Chesal | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
require 'rubocop/rake_task' | ||
require 'rspec/core/rake_task' | ||
require 'rake/clean' | ||
|
||
RuboCop::RakeTask.new(:lint) | ||
|
||
Dir.glob('tasks/**/*.rake').each(&method(:import)) | ||
task :default => [:lint, 'test:spec'] | ||
|
||
task :build => [:lint, 'test:spec', 'test:integration'] do | ||
sh "gem build --verbose lowered-expectations.gemspec" | ||
end | ||
|
||
namespace :test do | ||
RSpec::Core::RakeTask.new(:spec) do |t| | ||
t.pattern = Dir['spec/**/*_spec.rb'].reject{ |f| f['/integration'] } | ||
end | ||
|
||
RSpec::Core::RakeTask.new(:integration) do |t| | ||
t.pattern = "spec/integration/**/*_spec.rb" | ||
end | ||
end | ||
|
||
CLEAN.add FileList['lowered-expectations-*.gem'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Encoding: utf-8 | ||
require 'rake/clean' | ||
CLEAN.add FileList['lowered-expectations-*.gem'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Encoding: utf-8 | ||
require 'rspec/core/rake_task' | ||
namespace :test do | ||
RSpec::Core::RakeTask.new(:spec) do |t| | ||
t.pattern = Dir['spec/**/*_spec.rb'].reject{ |f| f['/integration'] } | ||
end | ||
|
||
RSpec::Core::RakeTask.new(:integration) do |t| | ||
t.pattern = "spec/integration/**/*_spec.rb" | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Encoding: utf-8 | ||
require 'rubocop/rake_task' | ||
RuboCop::RakeTask.new(:lint) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Encoding: utf-8 | ||
require 'rubygems/tasks' | ||
Gem::Tasks.new |