Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start getting middleman-more tests passing. About 50% done
- Loading branch information
Showing
97 changed files
with
266 additions
and
160 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 |
---|---|---|
|
@@ -3,3 +3,7 @@ rvm: | |
- 1.9.2 | ||
- 1.9.3 | ||
script: "bundle exec rake test" | ||
|
||
branches: | ||
only: | ||
- master |
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 |
---|---|---|
@@ -1,7 +1,25 @@ | ||
require 'rubygems' unless defined?(Gem) | ||
# require 'fileutils' unless defined?(FileUtils) | ||
require 'rake' | ||
require 'yard' | ||
# require File.expand_path("../middleman-core/lib/middleman-core/version.rb", __FILE__) | ||
|
||
ROOT = File.expand_path(File.dirname(__FILE__)) | ||
GEM_NAME = 'middleman' | ||
|
||
middleman_gems = %w(middleman-core middleman-more) | ||
|
||
desc "Run tests for all middleman gems" | ||
task :test do | ||
["middleman-core"].each do |g| | ||
middleman_gems.each do |g| | ||
sh "cd #{File.join(ROOT, g)} && bundle exec rake test" | ||
end | ||
end | ||
|
||
desc "Run tests for all middleman gems" | ||
task :default => :test | ||
|
||
desc "Generate documentation" | ||
task :doc do | ||
YARD::CLI::Yardoc.new.run | ||
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
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,12 @@ | ||
Feature: Alternate between multiple asset hosts | ||
In order to speed up page loading | ||
|
||
# Scenario: Rendering css with the feature enabled | ||
# Given the Server is running at "asset-host-app" | ||
# When I go to "/stylesheets/asset_host.css" | ||
# Then I should see "http://assets" | ||
|
||
Scenario: Rendering html with the feature enabled | ||
Given the Server is running at "asset-host-app" | ||
When I go to "/asset_host.html" | ||
Then I should see "http://assets" |
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
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
middleman-core/fixtures/asset-host-app/source/asset_host.html.erb
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 @@ | ||
<%= image_tag "blank.gif" %> |
File renamed without changes
File renamed without changes.
1 change: 1 addition & 0 deletions
1
middleman-core/fixtures/automatic-image-size-app/source/auto-image-sizes.html.erb
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 @@ | ||
<%= image_tag "blank.gif" %> |
File renamed without changes
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
File renamed without changes.
File renamed without changes.
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,3 +1,3 @@ | ||
source :rubygems | ||
|
||
gem "middleman", "~><%= Middleman::Core::VERSION %>" | ||
gem "middleman", "~><%= Middleman::VERSION %>" |
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,7 +1,13 @@ | ||
# Using for version parsing | ||
require "rubygems" | ||
|
||
module Middleman | ||
module Core | ||
# Current Version | ||
# @return [String] | ||
VERSION = "3.0.0.alpha.6" | ||
end | ||
# Current Version | ||
# @return [String] | ||
VERSION = "3.0.0.alpha.7" unless const_defined?(:VERSION) | ||
|
||
# Parsed version for RubyGems | ||
# @private | ||
# @return [String] | ||
GEM_VERSION = ::Gem::Version.create(VERSION) unless const_defined?(:GEM_VERSION) | ||
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
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
require 'bundler' | ||
Bundler::GemHelper.install_tasks :name => ENV["NAME"] || "middleman" | ||
# coding:utf-8 | ||
RAKE_ROOT = __FILE__ | ||
|
||
require 'cucumber/rake/task' | ||
|
||
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t| | ||
t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}" | ||
end | ||
|
||
require 'rake/clean' | ||
|
||
task :test => ["cucumber"] | ||
|
||
desc "Build HTML documentation" | ||
task :doc do | ||
sh 'bundle exec yard' | ||
end | ||
require 'rubygems' | ||
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper') |
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
Oops, something went wrong.