Skip to content

Commit

Permalink
[CORE/ARCH] Refactored remarkable to remarkable/core
Browse files Browse the repository at this point in the history
  • Loading branch information
hosh committed May 25, 2010
1 parent fb416df commit bffa2e9
Show file tree
Hide file tree
Showing 27 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion rake_helpers.rb
@@ -1,6 +1,6 @@
# encoding: utf-8
current_dir = File.dirname(__FILE__)
require File.join(current_dir, "remarkable/lib/remarkable/version.rb")
require File.join(current_dir, "remarkable/lib/remarkable/core/version.rb")

require 'rubygems'
require 'rake/gempackagetask'
Expand Down
14 changes: 0 additions & 14 deletions remarkable/lib/remarkable.rb

This file was deleted.

15 changes: 15 additions & 0 deletions remarkable/lib/remarkable/core.rb
@@ -0,0 +1,15 @@
# Load core files
require 'remarkable/core/version'
require 'remarkable/core/matchers'
require 'remarkable/core/macros'
require 'remarkable/core/i18n'
require 'remarkable/core/dsl'
require 'remarkable/core/messages'
require 'remarkable/core/base'
require 'remarkable/core/negative'
require 'remarkable/core/core_ext/array'
require 'remarkable/core/rspec'

# Add default locale
dir = File.dirname(__FILE__)
Dir["#{dir}/../../locale/*yml"].each {|f| Remarkable.add_locale(f) }
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
require 'remarkable/dsl/assertions'
require 'remarkable/dsl/optionals'
require 'remarkable/dsl/callbacks'
require 'remarkable/core/dsl/assertions'
require 'remarkable/core/dsl/optionals'
require 'remarkable/core/dsl/callbacks'

module Remarkable
# The DSL module is responsable for all Remarkable convenience methods.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion remarkable/spec/spec_helper.rb
Expand Up @@ -6,7 +6,7 @@
require File.expand_path('path_helpers', File.join(File.dirname(__FILE__), '/../../'))
load_project_path :remarkable

require 'remarkable'
require 'remarkable/core'

# Requires supporting files with custom matchers and macros, etc,
# # in ./support/ and its subdirectories.
Expand Down
2 changes: 1 addition & 1 deletion remarkable_activemodel/lib/remarkable/active_model.rb
@@ -1,5 +1,5 @@
# Load Remarkable
require 'remarkable'
require 'remarkable/core'
require 'remarkable/active_model/base'

# Add default locale
Expand Down
5 changes: 0 additions & 5 deletions remarkable_activemodel/lib/remarkable_activemodel.rb

This file was deleted.

0 comments on commit bffa2e9

Please sign in to comment.