Skip to content

Commit

Permalink
reorganize files to reflect application architecture as boundaries, i…
Browse files Browse the repository at this point in the history
…nteractors and entities; remove the 'truthy' object and test
  • Loading branch information
wizardwerdna committed Jul 26, 2012
1 parent 8b76736 commit bd6995a
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 15 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/entities.rb → entities/entities.rb
@@ -1,3 +1,4 @@
require 'ostruct'
class Entity < OpenStruct; end

class Static < Entity; end
File renamed without changes.
@@ -1,6 +1,6 @@
require_relative '../src/entities'
require_relative '../src/memory_repos'
require_relative '../src/interfaces/indexed_repository_interface.rb'
require_relative '../../entities/entities'
require_relative '../../boundaries/memory_repos'
require_relative '../../boundaries/indexed_repository_interface.rb'
describe MemoryRepos do

context MemoryRepos::IndexedRepo do
Expand Down
@@ -1,4 +1,4 @@
require_relative '../src/repository'
require_relative '../../boundaries/repository'

describe Repository do

Expand Down
@@ -1,6 +1,6 @@
require 'ostruct'
require_relative '../src/interfaces/interactor_interface'
require_relative '../src/config_static_text'
require_relative '../../entities/entities'
require_relative '../../boundaries/interactor_interface'
require_relative '../../interactors/config_static_text'

describe ConfigStaticText do

Expand Down
6 changes: 0 additions & 6 deletions spec/truthy_spec.rb

This file was deleted.

2 changes: 0 additions & 2 deletions src/truthy.rb

This file was deleted.

0 comments on commit bd6995a

Please sign in to comment.