<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/repositories_controller.rb</filename>
    </added>
    <added>
      <filename>app/helpers/layout_helper.rb</filename>
    </added>
    <added>
      <filename>app/helpers/repositories_helper.rb</filename>
    </added>
    <added>
      <filename>app/views/layouts/application.html.erb</filename>
    </added>
    <added>
      <filename>app/views/repositories/index.html.erb</filename>
    </added>
    <added>
      <filename>app/views/repositories/new.html.erb</filename>
    </added>
    <added>
      <filename>app/views/repositories/show.html.erb</filename>
    </added>
    <added>
      <filename>features/manage_repositories.feature</filename>
    </added>
    <added>
      <filename>features/step_definitions/manage_repositories_steps.rb</filename>
    </added>
    <added>
      <filename>features/step_definitions/seed_data_steps.rb</filename>
    </added>
    <added>
      <filename>public/stylesheets/application.css</filename>
    </added>
    <added>
      <filename>spec/controllers/repositories_controller_spec.rb</filename>
    </added>
    <added>
      <filename>spec/helpers/repositories_helper_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -18,7 +18,7 @@ Rails::Initializer.run do |config|
   # config.gem &quot;bj&quot;
   # config.gem &quot;hpricot&quot;, :version =&gt; '0.6', :source =&gt; &quot;http://code.whytheluckystiff.net&quot;
   # config.gem &quot;sqlite3-ruby&quot;, :lib =&gt; &quot;sqlite3&quot;
-  # config.gem &quot;aws-s3&quot;, :lib =&gt; &quot;aws/s3&quot;
+  config.gem &quot;josevalim-inherited_resources&quot;, :lib =&gt; &quot;inherited_resources&quot;, :version =&gt; '0.9.1', :source =&gt; &quot;http://gems.github.com&quot;
 
   # Only load the plugins named here, in the order given (default is alphabetical).
   # :all can be used as a placeholder for all plugins not explicitly named</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -16,7 +16,7 @@ config.action_controller.allow_forgery_protection    = false
 config.action_mailer.delivery_method = :test
 
 config.gem 'cucumber',    :lib =&gt; false,        :version =&gt; '&gt;=0.3.102' unless File.directory?(File.join(Rails.root, 'vendor/plugins/cucumber'))
-config.gem 'webrat',      :lib =&gt; false,        :version =&gt; '&gt;=0.5.0' unless File.directory?(File.join(Rails.root, 'vendor/plugins/webrat'))
 config.gem 'rspec',       :lib =&gt; false,        :version =&gt; '&gt;=1.2.8' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec'))
 config.gem 'rspec-rails', :lib =&gt; false,        :version =&gt; '&gt;=1.2.7.1' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails'))
+config.gem &quot;thoughtbot-factory_girl&quot;, :lib =&gt; &quot;factory_girl&quot;, :source =&gt; &quot;http://gems.github.com&quot;
 </diff>
      <filename>config/environments/cucumber.rb</filename>
    </modified>
    <modified>
      <diff>@@ -27,4 +27,5 @@ config.action_mailer.delivery_method = :test
 # like if you have constraints or database-specific column types
 # config.active_record.schema_format = :sql
 
-config.gem &quot;thoughtbot-factory_girl&quot;, :lib =&gt; &quot;factory_girl&quot;, :source =&gt; &quot;http://gems.github.com&quot;
\ No newline at end of file
+config.gem &quot;thoughtbot-factory_girl&quot;, :lib =&gt; &quot;factory_girl&quot;, :source =&gt; &quot;http://gems.github.com&quot;
+config.gem &quot;mocha&quot;
\ No newline at end of file</diff>
      <filename>config/environments/test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,4 +2,10 @@
 # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
 
 en:
-  hello: &quot;Hello world&quot;
\ No newline at end of file
+  repos:    
+    index:
+      header:
+        name: &quot;Name&quot;
+        id: &quot;Identifier&quot;
+        url: &quot;URL&quot;
+      delete: &quot;Are you sure?&quot;
\ No newline at end of file</diff>
      <filename>config/locales/en.yml</filename>
    </modified>
    <modified>
      <diff>@@ -1,43 +1,5 @@
 ActionController::Routing::Routes.draw do |map|
-  # The priority is based upon order of creation: first created -&gt; highest priority.
-
-  # Sample of regular route:
-  #   map.connect 'products/:id', :controller =&gt; 'catalog', :action =&gt; 'view'
-  # Keep in mind you can assign values other than :controller and :action
-
-  # Sample of named route:
-  #   map.purchase 'products/:id/purchase', :controller =&gt; 'catalog', :action =&gt; 'purchase'
-  # This route can be invoked with purchase_url(:id =&gt; product.id)
-
-  # Sample resource route (maps HTTP verbs to controller actions automatically):
-  #   map.resources :products
-
-  # Sample resource route with options:
-  #   map.resources :products, :member =&gt; { :short =&gt; :get, :toggle =&gt; :post }, :collection =&gt; { :sold =&gt; :get }
-
-  # Sample resource route with sub-resources:
-  #   map.resources :products, :has_many =&gt; [ :comments, :sales ], :has_one =&gt; :seller
-  
-  # Sample resource route with more complex sub-resources
-  #   map.resources :products do |products|
-  #     products.resources :comments
-  #     products.resources :sales, :collection =&gt; { :recent =&gt; :get }
-  #   end
-
-  # Sample resource route within a namespace:
-  #   map.namespace :admin do |admin|
-  #     # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
-  #     admin.resources :products
-  #   end
-
-  # You can have the root of your site routed with map.root -- just remember to delete public/index.html.
-  # map.root :controller =&gt; &quot;welcome&quot;
-
-  # See how all your routes lay out with &quot;rake routes&quot;
-
-  # Install the default routes as the lowest priority.
-  # Note: These default routes make all actions in every controller accessible via GET requests. You should
-  # consider removing or commenting them out if you're using named routes and resources.
-  map.connect ':controller/:action/:id'
-  map.connect ':controller/:action/:id.:format'
+  map.resources :repositories
+  #map.connect ':controller/:action/:id'
+  #map.connect ':controller/:action/:id.:format'
 end</diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,3 +5,12 @@
 #   
 #   cities = City.create([{ :name =&gt; 'Chicago' }, { :name =&gt; 'Copenhagen' }])
 #   Major.create(:name =&gt; 'Daley', :city =&gt; cities.first)
+require &quot;factory_girl&quot;
+
+Factory.definition_file_paths = [
+        File.join(RAILS_ROOT, 'test', 'factories'),
+        File.join(RAILS_ROOT, 'spec', 'factories')
+]
+Factory.find_definitions
+
+Factory(:artifact)</diff>
      <filename>db/seeds.rb</filename>
    </modified>
    <modified>
      <diff>@@ -69,6 +69,10 @@ Then /I should not see &quot;(.*)&quot;/ do |text|
   div.should be_nil
 end
 
+Then /^I should see a &quot;([^\&quot;]*)&quot; link$/ do |link|
+  $browser.link(:text, /#{link}/).exists?.should == true  
+end
+
 def find_label(text)
   $browser.label :text, text
 end</diff>
      <filename>features/step_definitions/common_celerity_steps.rb</filename>
    </modified>
    <modified>
      <diff>@@ -16,3 +16,12 @@ require 'cucumber/formatter/unicode'
 
 require 'cucumber/rails/rspec'
 #require 'webrat/core/matchers'
+
+class &lt;&lt; Cucumber::Rails::World
+  def use_transactional_fixtures
+    false
+  end
+  def use_transactional_fixtures=(other)
+    # do nothing
+  end
+end</diff>
      <filename>features/support/env.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,25 +1,15 @@
 module NavigationHelpers
-  # Maps a name to a path. Used by the
-  #
-  #   When /^I go to (.+)$/ do |page_name|
-  #
-  # step definition in webrat_steps.rb
-  #
   def path_to(page_name)
     case page_name
-    
-    when /the homepage/
-      '/'
-    
-    # Add more mappings here.
-    # Here is a more fancy example:
-    #
-    #   when /^(.*)'s profile page$/i
-    #     user_profile_path(User.find_by_login($1))
 
-    else
-      raise &quot;Can't find mapping from \&quot;#{page_name}\&quot; to a path.\n&quot; +
-        &quot;Now, go and add a mapping in #{__FILE__}&quot;
+      when /the homepage/
+        '/'
+      when /repositories home/
+        repositories_path
+
+      else
+        raise &quot;Can't find mapping from \&quot;#{page_name}\&quot; to a path.\n&quot; +
+                &quot;Now, go and add a mapping in #{__FILE__}&quot;
     end
   end
 end</diff>
      <filename>features/support/paths.rb</filename>
    </modified>
    <modified>
      <diff>@@ -41,7 +41,7 @@ Spec::Runner.configure do |config|
   # RSpec uses it's own mocking framework by default. If you prefer to
   # use mocha, flexmock or RR, uncomment the appropriate line:
   #
-  # config.mock_with :mocha
+  config.mock_with :mocha
   # config.mock_with :flexmock
   # config.mock_with :rr
   #</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e0d42efaaf9a94f13d61e23d5552f775c657b395</id>
    </parent>
  </parents>
  <author>
    <name>Julio Arias</name>
    <email>julio.arias@fresisoft.com</email>
  </author>
  <url>http://github.com/jarias/mvnsearch/commit/76f331735fe70e7ac5c2194b3b4d474699c148a0</url>
  <id>76f331735fe70e7ac5c2194b3b4d474699c148a0</id>
  <committed-date>2009-09-29T17:03:33-07:00</committed-date>
  <authored-date>2009-09-29T17:03:33-07:00</authored-date>
  <message>Added repository controller using josevalim-inherited_resources, with index action fully implemented</message>
  <tree>9a65bc3dcf6342fc0c9acf842367f9dd5b5109f2</tree>
  <committer>
    <name>Julio Arias</name>
    <email>julio.arias@fresisoft.com</email>
  </committer>
</commit>
