From 2f70c3fb9b3153e8209a402d26431803ad0bc025 Mon Sep 17 00:00:00 2001 From: KOJIMA Satoshi Date: Wed, 5 Sep 2012 12:34:36 +0900 Subject: [PATCH] moved spec files --- spec.org/spec_helper.rb | 31 ------------------ {spec.org => spec}/bindings_spec.rb | 0 {spec.org => spec}/builder_spec.rb | 0 {spec.org => spec}/example_spec.rb | 0 .../fixtures/builder/img/cover.jpg | Bin .../fixtures/builder/resources/noise.m4 | Bin .../fixtures/builder/resources/noise_2.m4a | Bin .../fixtures/builder/text/cover.xhtml | 0 .../fixtures/builder/text/localresource.conf | 0 .../fixtures/builder/text/memo.txt | 0 .../fixtures/builder/text/nav.xhtml | 0 .../fixtures/epubcheck-3.0b4/COPYING.txt | 0 .../fixtures/epubcheck-3.0b4/README.txt | 0 .../epubcheck-3.0b4/epubcheck-3.0b4.jar | Bin .../fixtures/epubcheck-3.0b4/jing_license.txt | 0 .../lib/commons-compress-1.2.jar | Bin .../epubcheck-3.0b4/lib/cssparser-0.9.6.jar | Bin .../fixtures/epubcheck-3.0b4/lib/jing.jar | Bin .../fixtures/epubcheck-3.0b4/lib/sac-1.3.jar | Bin .../fixtures/epubcheck-3.0b4/lib/saxon9he.jar | Bin {spec.org => spec}/fixtures/testdata/0.html | 0 {spec.org => spec}/fixtures/testdata/1.html | 0 .../fixtures/testdata/image1.jpg | Bin .../fixtures/testdata/package_2_0.opf | 0 {spec.org => spec}/fixtures/testdata/test.opf | 0 .../fixtures/testdata/test2.opf | 0 .../fixtures/testdata/test_with_bindings.opf | 0 {spec.org => spec}/gepub_spec.rb | 0 {spec.org => spec}/manifest_spec.rb | 0 {spec.org => spec}/metadata_spec.rb | 0 {spec.org => spec}/package_spec.rb | 0 {spec.org => spec}/spine_spec.rb | 0 32 files changed, 31 deletions(-) delete mode 100644 spec.org/spec_helper.rb rename {spec.org => spec}/bindings_spec.rb (100%) rename {spec.org => spec}/builder_spec.rb (100%) rename {spec.org => spec}/example_spec.rb (100%) rename {spec.org => spec}/fixtures/builder/img/cover.jpg (100%) rename {spec.org => spec}/fixtures/builder/resources/noise.m4 (100%) rename {spec.org => spec}/fixtures/builder/resources/noise_2.m4a (100%) rename {spec.org => spec}/fixtures/builder/text/cover.xhtml (100%) rename {spec.org => spec}/fixtures/builder/text/localresource.conf (100%) rename {spec.org => spec}/fixtures/builder/text/memo.txt (100%) rename {spec.org => spec}/fixtures/builder/text/nav.xhtml (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/COPYING.txt (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/README.txt (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/epubcheck-3.0b4.jar (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/jing_license.txt (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/lib/commons-compress-1.2.jar (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/lib/cssparser-0.9.6.jar (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/lib/jing.jar (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/lib/sac-1.3.jar (100%) rename {spec.org => spec}/fixtures/epubcheck-3.0b4/lib/saxon9he.jar (100%) rename {spec.org => spec}/fixtures/testdata/0.html (100%) rename {spec.org => spec}/fixtures/testdata/1.html (100%) rename {spec.org => spec}/fixtures/testdata/image1.jpg (100%) rename {spec.org => spec}/fixtures/testdata/package_2_0.opf (100%) rename {spec.org => spec}/fixtures/testdata/test.opf (100%) rename {spec.org => spec}/fixtures/testdata/test2.opf (100%) rename {spec.org => spec}/fixtures/testdata/test_with_bindings.opf (100%) rename {spec.org => spec}/gepub_spec.rb (100%) rename {spec.org => spec}/manifest_spec.rb (100%) rename {spec.org => spec}/metadata_spec.rb (100%) rename {spec.org => spec}/package_spec.rb (100%) rename {spec.org => spec}/spine_spec.rb (100%) diff --git a/spec.org/spec_helper.rb b/spec.org/spec_helper.rb deleted file mode 100644 index dbf082a..0000000 --- a/spec.org/spec_helper.rb +++ /dev/null @@ -1,31 +0,0 @@ -begin - require 'rspec' -rescue LoadError - require 'rubygems' unless ENV['NO_RUBYGEMS'] - gem 'rspec' - require 'spec' -end - -RSpec.configure do |config| - # Use color in STDOUT - config.color_enabled = true - # Use color not only in STDOUT but also in pagers and files - config.tty = true - # Use the specified formatter - config.formatter = :documentation # :progress, :html, :textmate -end - -require 'rspec/core/formatters/base_text_formatter' -module RSpec - module Core - module Formatters - class DocumentationFormatter < BaseTextFormatter - # def green(text); color(text, "\e[42m") end - def red(text); color(text, "\e[41m") end - # def magenta(text); color(text, "\e[45m") end - end - end - end -end -$:.unshift(File.dirname(__FILE__) + '/../lib') -require 'gepub' diff --git a/spec.org/bindings_spec.rb b/spec/bindings_spec.rb similarity index 100% rename from spec.org/bindings_spec.rb rename to spec/bindings_spec.rb diff --git a/spec.org/builder_spec.rb b/spec/builder_spec.rb similarity index 100% rename from spec.org/builder_spec.rb rename to spec/builder_spec.rb diff --git a/spec.org/example_spec.rb b/spec/example_spec.rb similarity index 100% rename from spec.org/example_spec.rb rename to spec/example_spec.rb diff --git a/spec.org/fixtures/builder/img/cover.jpg b/spec/fixtures/builder/img/cover.jpg similarity index 100% rename from spec.org/fixtures/builder/img/cover.jpg rename to spec/fixtures/builder/img/cover.jpg diff --git a/spec.org/fixtures/builder/resources/noise.m4 b/spec/fixtures/builder/resources/noise.m4 similarity index 100% rename from spec.org/fixtures/builder/resources/noise.m4 rename to spec/fixtures/builder/resources/noise.m4 diff --git a/spec.org/fixtures/builder/resources/noise_2.m4a b/spec/fixtures/builder/resources/noise_2.m4a similarity index 100% rename from spec.org/fixtures/builder/resources/noise_2.m4a rename to spec/fixtures/builder/resources/noise_2.m4a diff --git a/spec.org/fixtures/builder/text/cover.xhtml b/spec/fixtures/builder/text/cover.xhtml similarity index 100% rename from spec.org/fixtures/builder/text/cover.xhtml rename to spec/fixtures/builder/text/cover.xhtml diff --git a/spec.org/fixtures/builder/text/localresource.conf b/spec/fixtures/builder/text/localresource.conf similarity index 100% rename from spec.org/fixtures/builder/text/localresource.conf rename to spec/fixtures/builder/text/localresource.conf diff --git a/spec.org/fixtures/builder/text/memo.txt b/spec/fixtures/builder/text/memo.txt similarity index 100% rename from spec.org/fixtures/builder/text/memo.txt rename to spec/fixtures/builder/text/memo.txt diff --git a/spec.org/fixtures/builder/text/nav.xhtml b/spec/fixtures/builder/text/nav.xhtml similarity index 100% rename from spec.org/fixtures/builder/text/nav.xhtml rename to spec/fixtures/builder/text/nav.xhtml diff --git a/spec.org/fixtures/epubcheck-3.0b4/COPYING.txt b/spec/fixtures/epubcheck-3.0b4/COPYING.txt similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/COPYING.txt rename to spec/fixtures/epubcheck-3.0b4/COPYING.txt diff --git a/spec.org/fixtures/epubcheck-3.0b4/README.txt b/spec/fixtures/epubcheck-3.0b4/README.txt similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/README.txt rename to spec/fixtures/epubcheck-3.0b4/README.txt diff --git a/spec.org/fixtures/epubcheck-3.0b4/epubcheck-3.0b4.jar b/spec/fixtures/epubcheck-3.0b4/epubcheck-3.0b4.jar similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/epubcheck-3.0b4.jar rename to spec/fixtures/epubcheck-3.0b4/epubcheck-3.0b4.jar diff --git a/spec.org/fixtures/epubcheck-3.0b4/jing_license.txt b/spec/fixtures/epubcheck-3.0b4/jing_license.txt similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/jing_license.txt rename to spec/fixtures/epubcheck-3.0b4/jing_license.txt diff --git a/spec.org/fixtures/epubcheck-3.0b4/lib/commons-compress-1.2.jar b/spec/fixtures/epubcheck-3.0b4/lib/commons-compress-1.2.jar similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/lib/commons-compress-1.2.jar rename to spec/fixtures/epubcheck-3.0b4/lib/commons-compress-1.2.jar diff --git a/spec.org/fixtures/epubcheck-3.0b4/lib/cssparser-0.9.6.jar b/spec/fixtures/epubcheck-3.0b4/lib/cssparser-0.9.6.jar similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/lib/cssparser-0.9.6.jar rename to spec/fixtures/epubcheck-3.0b4/lib/cssparser-0.9.6.jar diff --git a/spec.org/fixtures/epubcheck-3.0b4/lib/jing.jar b/spec/fixtures/epubcheck-3.0b4/lib/jing.jar similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/lib/jing.jar rename to spec/fixtures/epubcheck-3.0b4/lib/jing.jar diff --git a/spec.org/fixtures/epubcheck-3.0b4/lib/sac-1.3.jar b/spec/fixtures/epubcheck-3.0b4/lib/sac-1.3.jar similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/lib/sac-1.3.jar rename to spec/fixtures/epubcheck-3.0b4/lib/sac-1.3.jar diff --git a/spec.org/fixtures/epubcheck-3.0b4/lib/saxon9he.jar b/spec/fixtures/epubcheck-3.0b4/lib/saxon9he.jar similarity index 100% rename from spec.org/fixtures/epubcheck-3.0b4/lib/saxon9he.jar rename to spec/fixtures/epubcheck-3.0b4/lib/saxon9he.jar diff --git a/spec.org/fixtures/testdata/0.html b/spec/fixtures/testdata/0.html similarity index 100% rename from spec.org/fixtures/testdata/0.html rename to spec/fixtures/testdata/0.html diff --git a/spec.org/fixtures/testdata/1.html b/spec/fixtures/testdata/1.html similarity index 100% rename from spec.org/fixtures/testdata/1.html rename to spec/fixtures/testdata/1.html diff --git a/spec.org/fixtures/testdata/image1.jpg b/spec/fixtures/testdata/image1.jpg similarity index 100% rename from spec.org/fixtures/testdata/image1.jpg rename to spec/fixtures/testdata/image1.jpg diff --git a/spec.org/fixtures/testdata/package_2_0.opf b/spec/fixtures/testdata/package_2_0.opf similarity index 100% rename from spec.org/fixtures/testdata/package_2_0.opf rename to spec/fixtures/testdata/package_2_0.opf diff --git a/spec.org/fixtures/testdata/test.opf b/spec/fixtures/testdata/test.opf similarity index 100% rename from spec.org/fixtures/testdata/test.opf rename to spec/fixtures/testdata/test.opf diff --git a/spec.org/fixtures/testdata/test2.opf b/spec/fixtures/testdata/test2.opf similarity index 100% rename from spec.org/fixtures/testdata/test2.opf rename to spec/fixtures/testdata/test2.opf diff --git a/spec.org/fixtures/testdata/test_with_bindings.opf b/spec/fixtures/testdata/test_with_bindings.opf similarity index 100% rename from spec.org/fixtures/testdata/test_with_bindings.opf rename to spec/fixtures/testdata/test_with_bindings.opf diff --git a/spec.org/gepub_spec.rb b/spec/gepub_spec.rb similarity index 100% rename from spec.org/gepub_spec.rb rename to spec/gepub_spec.rb diff --git a/spec.org/manifest_spec.rb b/spec/manifest_spec.rb similarity index 100% rename from spec.org/manifest_spec.rb rename to spec/manifest_spec.rb diff --git a/spec.org/metadata_spec.rb b/spec/metadata_spec.rb similarity index 100% rename from spec.org/metadata_spec.rb rename to spec/metadata_spec.rb diff --git a/spec.org/package_spec.rb b/spec/package_spec.rb similarity index 100% rename from spec.org/package_spec.rb rename to spec/package_spec.rb diff --git a/spec.org/spine_spec.rb b/spec/spine_spec.rb similarity index 100% rename from spec.org/spine_spec.rb rename to spec/spine_spec.rb